{"id":79,"date":"2009-04-15T21:23:38","date_gmt":"2009-04-16T01:23:38","guid":{"rendered":"http:\/\/www.willhackforsushi.com\/blog\/?page_id=79"},"modified":"2009-09-18T07:03:34","modified_gmt":"2009-09-18T11:03:34","slug":"wlan2eth","status":"publish","type":"page","link":"https:\/\/www.willhackforsushi.com\/?page_id=79","title":{"rendered":"wlan2eth"},"content":{"rendered":"<p>A simple tool to convert packet captures in 802.11 format to Ethernet format.  Lots of tools can only understand Ethernet link types, so I wrote this tool to convert captures to a format that they can understand.  Note that this tool is really only useful for encrypted traffic.<\/p>\n<hr \/>\n<h2>News<\/h2>\n<p>Sept. 18 2009<\/p>\n<p>Robin Wood on the <a href=\"http:\/\/www.securityfocus.com\/cgi-bin\/index.cgi?c=11&#038;op=display_threads&#038;ListID=137&#038;limit=30&#038;offset=0&#038;date=2009-09-11&#038;mode=threaded\" target=\"_blank\">WiFiSec<\/a> mailing list asked about converting wireless packet captures to Ethernet format.\u00a0 I suggested he use wlan2eth, but he ran into trouble with the lack of support for PPI headers.\u00a0 Problem solved in wlan2eth 1.3 which includes support for the PPI header format, available in the download section below.<\/p>\n<p>May 13 2009<\/p>\n<p>Adrian Crenshaw on the <a href=\"http:\/\/mail.pauldotcom.com\/cgi-bin\/mailman\/listinfo\/pauldotcom\" target=\"_blank\">PaulDotCom Mailing List<\/a> asked about a problem with using wlan2eth where it converted 0 packets.  Turns out, I never added support for any link type other than DLT_IEEE802_11, so I&#8217;ve updated the tool to convert other link types as well, as well as converting  ad-hoc network traffic too.  Grab the new version in the download section, below.<\/p>\n<hr \/>\n<h2>Screenshots<\/h2>\n<div id=\"attachment_251\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.willhackforsushi.com\/wp-content\/uploads\/2009\/04\/wlan2eth1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-251\" class=\"size-medium wp-image-251\" title=\"wlan2eth example\" src=\"http:\/\/www.willhackforsushi.com\/wp-content\/uploads\/2009\/04\/wlan2eth1-300x116.jpg\" alt=\"Downloading, extracting, building and using wlan2eth\" width=\"300\" height=\"116\" srcset=\"https:\/\/www.willhackforsushi.com\/wp-content\/uploads\/2009\/04\/wlan2eth1-300x116.jpg 300w, https:\/\/www.willhackforsushi.com\/wp-content\/uploads\/2009\/04\/wlan2eth1.jpg 675w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-251\" class=\"wp-caption-text\">Downloading, extracting, building and using wlan2eth<\/p><\/div>\n<hr \/>\n<h2>Documentation<\/h2>\n<p>This is a very simple tool.  To build the source, type &#8220;make&#8221;.  This will produce a binary called &#8220;wlan2eth&#8221;.  Run the command with no arguments to get basic help information:<\/p>\n<p><code><br \/>\n$ .\/wlan2eth<br \/>\nThis tool re-writes 802.11 captures into standard Ethernet frames. Version 1.2.<br \/>\nUsage: wlan2eth infile outfile<br \/>\n<\/code><\/p>\n<p>Specify a wireless packet capture as an input file, and the name of the desired Ethernet-format output file.  Wlan2eth will only convert data frames to the output file, which will likely result in a significantly smaller output packet capture file.  Note that wlan2eth will only convert unencrypted frames (if there is a reason you would want to convert encrypted frames to Ethernet format, please <a href=\"http:\/\/www.willhackforsushi.com\/about\">let me know<\/a>).<\/p>\n<hr \/>\n<h2>Download<\/h2>\n<p><strong>wlan2eth 1.3<\/strong><br \/>\n<a href=\"http:\/\/www.willhackforsushi.com\/code\/wlan2eth\/wlan2eth-1.3.tgz\">Linux source<\/a> (8K, MD5: 3112bf518f2478940e8103ca716d6b57)<\/p>\n<p><strong>wlan2eth 1.2<\/strong><br \/>\n<a href=\"http:\/\/www.willhackforsushi.com\/code\/wlan2eth\/wlan2eth-1.2.tgz\">Linux source<\/a> (5K, MD5: f537a782003ff39d776381cb6c017ff0)<\/p>\n<p><strong>wlan2eth 1.0<\/strong><br \/>\n<a href=\"http:\/\/www.willhackforsushi.com\/code\/wlan2eth\/wlan2eth-0.1-src.tgz\">Linux source<\/a> (5K, MD5: eab34c7d77a23e8175ac3a6a8b93517f)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A simple tool to convert packet captures in 802.11 format to Ethernet format. Lots of tools can only understand Ethernet link types, so I wrote this tool to convert captures to a format that they can understand. Note that this &hellip; <a href=\"https:\/\/www.willhackforsushi.com\/?page_id=79\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":17,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-79","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.willhackforsushi.com\/index.php?rest_route=\/wp\/v2\/pages\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.willhackforsushi.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.willhackforsushi.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.willhackforsushi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.willhackforsushi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":11,"href":"https:\/\/www.willhackforsushi.com\/index.php?rest_route=\/wp\/v2\/pages\/79\/revisions"}],"predecessor-version":[{"id":248,"href":"https:\/\/www.willhackforsushi.com\/index.php?rest_route=\/wp\/v2\/pages\/79\/revisions\/248"}],"up":[{"embeddable":true,"href":"https:\/\/www.willhackforsushi.com\/index.php?rest_route=\/wp\/v2\/pages\/17"}],"wp:attachment":[{"href":"https:\/\/www.willhackforsushi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}