Bug 179095 - [NEW PORT] net-mgmt/wlan2eth: Convert packet captures in 802.11 format to Ethernet format
Summary: [NEW PORT] net-mgmt/wlan2eth: Convert packet captures in 802.11 format to Eth...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-30 01:10 UTC by nemysis
Modified: 2013-10-16 22:40 UTC (History)
1 user (show)

See Also:


Attachments
.shar (2.78 KB, text/plain)
2013-05-30 01:10 UTC, nemysis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-05-30 01:10:00 UTC
wlan2eth

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.

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.

WWW: http://www.willhackforsushi.com/?page_id=79

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_6 (mode: new)

How-To-Repeat: 
Build log

https://redports.org/buildarchive/20130529232300-55983/
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-05-30 01:10:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Rusmir Dusko freebsd_committer freebsd_triage 2013-10-08 19:18:28 UTC
Responsible Changed
From-To: beech->nemysis

I'll take it.
Comment 3 Rusmir Dusko freebsd_committer freebsd_triage 2013-10-16 22:37:04 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-10-16 22:37:47 UTC
Author: nemysis
Date: Wed Oct 16 21:37:38 2013
New Revision: 330548
URL: http://svnweb.freebsd.org/changeset/ports/330548

Log:
  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.
  
  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.
  
  WWW: http://www.willhackforsushi.com/?page_id=79
  
  PR:		ports/179095
  Submitted by:	nemysis (self)
  Approved by:	wg/pawel (mentors)

Added:
  head/net/wlan2eth/
  head/net/wlan2eth/Makefile   (contents, props changed)
  head/net/wlan2eth/distinfo   (contents, props changed)
  head/net/wlan2eth/files/
  head/net/wlan2eth/files/pkg-message.in   (contents, props changed)
  head/net/wlan2eth/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Wed Oct 16 21:36:39 2013	(r330547)
+++ head/net/Makefile	Wed Oct 16 21:37:38 2013	(r330548)
@@ -1244,6 +1244,7 @@
     SUBDIR += wired-tracker
     SUBDIR += wireshark
     SUBDIR += wireshark-lite
+    SUBDIR += wlan2eth
     SUBDIR += wmlj
     SUBDIR += wmnd
     SUBDIR += wmnet

Added: head/net/wlan2eth/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wlan2eth/Makefile	Wed Oct 16 21:37:38 2013	(r330548)
@@ -0,0 +1,32 @@
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	wlan2eth
+PORTVERSION=	1.3
+CATEGORIES=	net security
+MASTER_SITES=	http://www.willhackforsushi.com/code/${PORTNAME}/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	nemysis@FreeBSD.org
+COMMENT=	Convert packet captures in 802.11 format to Ethernet format
+
+LICENSE=	GPLv2
+
+PORTDOCS=	THANKS
+SUB_FILES=	pkg-message
+
+PLIST_FILES=	bin/${PORTNAME}
+
+OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|CFLAGS		=|CFLAGS	?=|' \
+		${WRKSRC}/Makefile
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/net/wlan2eth/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wlan2eth/distinfo	Wed Oct 16 21:37:38 2013	(r330548)
@@ -0,0 +1,2 @@
+SHA256 (wlan2eth-1.3.tgz) = a6b9f4a9f0407f79e61571de73e800785d4047019d66b891a569ff75cc5fe774
+SIZE (wlan2eth-1.3.tgz) = 8242

Added: head/net/wlan2eth/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wlan2eth/files/pkg-message.in	Wed Oct 16 21:37:38 2013	(r330548)
@@ -0,0 +1,9 @@
+===============================================================================
+
+wlan2eth has been installed.
+
+For more information about wlan2eth visit:
+
+http://www.willhackforsushi.com/?page_id=79
+
+===============================================================================

Added: head/net/wlan2eth/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wlan2eth/pkg-descr	Wed Oct 16 21:37:38 2013	(r330548)
@@ -0,0 +1,11 @@
+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.
+
+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.
+
+WWW: http://www.willhackforsushi.com/?page_id=79
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"