diff options
21 files changed, 251 insertions, 0 deletions
diff --git a/net-mgmt/bsd-airtools/Makefile b/net-mgmt/bsd-airtools/Makefile new file mode 100644 index 000000000000..a993dd797215 --- /dev/null +++ b/net-mgmt/bsd-airtools/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: bsd-airtools +# Date created: 2002/07/06 +# Whom: Sean Chittenden <sean@chittenden.org> +# +# $FreeBSD$ +# + +PORTNAME= bsd-airtools +PORTVERSION= 0.2 +CATEGORIES= net +MASTER_SITES= http://www.dachb0den.com/projects/bsd-airtools/ +DISTNAME= ${PORTNAME}-v${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= sean@chittenden.org + +CONF_AIRTOOLS= dstumbler +MAKE_AIRTOOLS= dweputils/dwepcrack dweputils/dwepdump \ + dweputils/dwepkeygen prism2ctl prism2dump +INST_AIRTOOLS= ${CONF_AIRTOOLS} ${MAKE_AIRTOOLS} + +WRKSRC= ${WRKDIR}/${PORTNAME} + +.if !exists(/usr/include/dev/wi/if_wavelan_ieee.h) +FORBIDDEN=You need to upgrade +.endif + +do-build: +.for TOOL in ${CONF_AIRTOOLS} + @cd ${WRKSRC}/${TOOL}; ${SH} ${CONFIGURE_SCRIPT}; ${MAKE} +.endfor +.for TOOL in ${MAKE_AIRTOOLS} + @cd ${WRKSRC}/${TOOL}; ${MAKE} +.endfor + +do-install: + ${MKDIR} ${DOCSDIR} +.for TOOL in ${INST_AIRTOOLS} + @cd ${WRKSRC}/${TOOL}; ${MAKE} ${INSTALL_TARGET} + ${INSTALL_DATA} ${WRKSRC}/${TOOL}/README \ + ${DOCSDIR}/README.`${BASENAME} ${TOOL}` +.endfor + +.include <bsd.port.mk> diff --git a/net-mgmt/bsd-airtools/distinfo b/net-mgmt/bsd-airtools/distinfo new file mode 100644 index 000000000000..0568eab9cc80 --- /dev/null +++ b/net-mgmt/bsd-airtools/distinfo @@ -0,0 +1 @@ +MD5 (bsd-airtools-v0.2.tgz) = f4e4378d4bb831e83650ae0c81039e18 diff --git a/net-mgmt/bsd-airtools/files/patch-dstumbler::dstumbler.h b/net-mgmt/bsd-airtools/files/patch-dstumbler::dstumbler.h new file mode 100644 index 000000000000..4ccb56f32ebc --- /dev/null +++ b/net-mgmt/bsd-airtools/files/patch-dstumbler::dstumbler.h @@ -0,0 +1,11 @@ +--- dstumbler/dstumbler.h.orig Sat Jul 6 14:57:30 2002 ++++ dstumbler/dstumbler.h Sat Jul 6 14:57:48 2002 +@@ -47,7 +47,7 @@ + #include <net/if.h> + #include <sys/termios.h> + +-#include <bat/common.h> ++#include <dev/wi/if_wavelan_ieee.h> + + #ifdef __OpenBSD__ + #include <curses.h> diff --git a/net-mgmt/bsd-airtools/files/patch-dweputils::dwepcrack::dstumbler.h b/net-mgmt/bsd-airtools/files/patch-dweputils::dwepcrack::dstumbler.h new file mode 100644 index 000000000000..781e113a053f --- /dev/null +++ b/net-mgmt/bsd-airtools/files/patch-dweputils::dwepcrack::dstumbler.h @@ -0,0 +1,11 @@ +--- dweputils/dwepcrack/dwepcrack.h.orig Sat Jul 6 15:21:15 2002 ++++ dweputils/dwepcrack/dwepcrack.h Sat Jul 6 15:21:32 2002 +@@ -38,7 +38,7 @@ + #include <sys/types.h> + #include <pcap.h> + +-#include <bat/common.h> ++#include <dev/wi/if_wavelan_ieee.h> + + /* + * definitions diff --git a/net-mgmt/bsd-airtools/files/patch-dweputils::dwepdump::dwepdump.c b/net-mgmt/bsd-airtools/files/patch-dweputils::dwepdump::dwepdump.c new file mode 100644 index 000000000000..6877d05c11d5 --- /dev/null +++ b/net-mgmt/bsd-airtools/files/patch-dweputils::dwepdump::dwepdump.c @@ -0,0 +1,11 @@ +--- dweputils/dwepdump/dwepdump.c.orig Sat Jul 6 15:24:30 2002 ++++ dweputils/dwepdump/dwepdump.c Sat Jul 6 15:24:45 2002 +@@ -46,7 +46,7 @@ + #include <errno.h> + + #include <pcap.h> +-#include <bat/common.h> ++#include <dev/wi/if_wavelan_ieee.h> + + /* + * definitions diff --git a/net-mgmt/bsd-airtools/files/patch-prism2ctl::prism2ctl.c b/net-mgmt/bsd-airtools/files/patch-prism2ctl::prism2ctl.c new file mode 100644 index 000000000000..24a6b5f48cb1 --- /dev/null +++ b/net-mgmt/bsd-airtools/files/patch-prism2ctl::prism2ctl.c @@ -0,0 +1,11 @@ +--- prism2ctl/prism2ctl.c.orig Sat Jul 6 15:27:53 2002 ++++ prism2ctl/prism2ctl.c Sat Jul 6 15:28:10 2002 +@@ -50,7 +50,7 @@ + #include <sys/time.h> + #include <net/if.h> + +-#include <bat/common.h> ++#include <dev/wi/if_wavelan_ieee.h> + + #include <string.h> + #include <unistd.h> diff --git a/net-mgmt/bsd-airtools/files/patch-prism2dump::fields_mgmt.c b/net-mgmt/bsd-airtools/files/patch-prism2dump::fields_mgmt.c new file mode 100644 index 000000000000..40c2d9fb94da --- /dev/null +++ b/net-mgmt/bsd-airtools/files/patch-prism2dump::fields_mgmt.c @@ -0,0 +1,10 @@ +--- prism2dump/fields_mgmt.c.orig Sat Jul 6 15:30:42 2002 ++++ prism2dump/fields_mgmt.c Sat Jul 6 15:30:54 2002 +@@ -37,6 +37,7 @@ + + #include <stdio.h> + #include <sys/types.h> ++#include <string.h> + + #include <pcap.h> + diff --git a/net-mgmt/bsd-airtools/pkg-comment b/net-mgmt/bsd-airtools/pkg-comment new file mode 100644 index 000000000000..d60ee30cec1c --- /dev/null +++ b/net-mgmt/bsd-airtools/pkg-comment @@ -0,0 +1 @@ +BSD Wireless Scanning Tools diff --git a/net-mgmt/bsd-airtools/pkg-descr b/net-mgmt/bsd-airtools/pkg-descr new file mode 100644 index 000000000000..16ec2c547493 --- /dev/null +++ b/net-mgmt/bsd-airtools/pkg-descr @@ -0,0 +1,12 @@ +bsd-airtools is a package that provides a complete toolset for +wireless 802.11b auditing. Namely, it currently contains a bsd-based +wep cracking application, called dweputils. It also contains a curses +based ap detection application similar to netstumbler (dstumbler) that +can be used to detect wireless access points and connected nodes, view +signal to noise graphs, and interactively scroll through scanned ap's +and view statistics for each. It also includes a couple other tools to +provide a complete toolset for making use of all 14 of the prism2 +debug modes as well as do basic analysis of the hardware-based +link-layer protocols provided by prism2's monitor debug mode. + +WWW: http://www.dachb0den.com/projects/bsd-airtools.html diff --git a/net-mgmt/bsd-airtools/pkg-plist b/net-mgmt/bsd-airtools/pkg-plist new file mode 100644 index 000000000000..259153606c68 --- /dev/null +++ b/net-mgmt/bsd-airtools/pkg-plist @@ -0,0 +1,13 @@ +bin/dstumbler +bin/dwepcrack +bin/dwepdump +bin/dwepkeygen +bin/prism2ctl +bin/prism2dump +%%PORTDOCS%%share/doc/bsd-airtools/README.dstumbler +%%PORTDOCS%%share/doc/bsd-airtools/README.dwepcrack +%%PORTDOCS%%share/doc/bsd-airtools/README.dwepdump +%%PORTDOCS%%share/doc/bsd-airtools/README.dwepkeygen +%%PORTDOCS%%share/doc/bsd-airtools/README.prism2ctl +%%PORTDOCS%%share/doc/bsd-airtools/README.prism2dump +%%PORTDOCS%%@dirrm share/doc/bsd-airtools diff --git a/net/Makefile b/net/Makefile index 9b7f5d0fdf08..5923fdeda147 100644 --- a/net/Makefile +++ b/net/Makefile @@ -34,6 +34,7 @@ SUBDIR += boclient SUBDIR += bounce SUBDIR += brouted + SUBDIR += bsd-airtools SUBDIR += bsdproxy SUBDIR += cap SUBDIR += cdpd diff --git a/net/bsd-airtools/Makefile b/net/bsd-airtools/Makefile new file mode 100644 index 000000000000..a993dd797215 --- /dev/null +++ b/net/bsd-airtools/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: bsd-airtools +# Date created: 2002/07/06 +# Whom: Sean Chittenden <sean@chittenden.org> +# +# $FreeBSD$ +# + +PORTNAME= bsd-airtools +PORTVERSION= 0.2 +CATEGORIES= net +MASTER_SITES= http://www.dachb0den.com/projects/bsd-airtools/ +DISTNAME= ${PORTNAME}-v${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= sean@chittenden.org + +CONF_AIRTOOLS= dstumbler +MAKE_AIRTOOLS= dweputils/dwepcrack dweputils/dwepdump \ + dweputils/dwepkeygen prism2ctl prism2dump +INST_AIRTOOLS= ${CONF_AIRTOOLS} ${MAKE_AIRTOOLS} + +WRKSRC= ${WRKDIR}/${PORTNAME} + +.if !exists(/usr/include/dev/wi/if_wavelan_ieee.h) +FORBIDDEN=You need to upgrade +.endif + +do-build: +.for TOOL in ${CONF_AIRTOOLS} + @cd ${WRKSRC}/${TOOL}; ${SH} ${CONFIGURE_SCRIPT}; ${MAKE} +.endfor +.for TOOL in ${MAKE_AIRTOOLS} + @cd ${WRKSRC}/${TOOL}; ${MAKE} +.endfor + +do-install: + ${MKDIR} ${DOCSDIR} +.for TOOL in ${INST_AIRTOOLS} + @cd ${WRKSRC}/${TOOL}; ${MAKE} ${INSTALL_TARGET} + ${INSTALL_DATA} ${WRKSRC}/${TOOL}/README \ + ${DOCSDIR}/README.`${BASENAME} ${TOOL}` +.endfor + +.include <bsd.port.mk> diff --git a/net/bsd-airtools/distinfo b/net/bsd-airtools/distinfo new file mode 100644 index 000000000000..0568eab9cc80 --- /dev/null +++ b/net/bsd-airtools/distinfo @@ -0,0 +1 @@ +MD5 (bsd-airtools-v0.2.tgz) = f4e4378d4bb831e83650ae0c81039e18 diff --git a/net/bsd-airtools/files/patch-dstumbler::dstumbler.h b/net/bsd-airtools/files/patch-dstumbler::dstumbler.h new file mode 100644 index 000000000000..4ccb56f32ebc --- /dev/null +++ b/net/bsd-airtools/files/patch-dstumbler::dstumbler.h @@ -0,0 +1,11 @@ +--- dstumbler/dstumbler.h.orig Sat Jul 6 14:57:30 2002 ++++ dstumbler/dstumbler.h Sat Jul 6 14:57:48 2002 +@@ -47,7 +47,7 @@ + #include <net/if.h> + #include <sys/termios.h> + +-#include <bat/common.h> ++#include <dev/wi/if_wavelan_ieee.h> + + #ifdef __OpenBSD__ + #include <curses.h> diff --git a/net/bsd-airtools/files/patch-dweputils::dwepcrack::dstumbler.h b/net/bsd-airtools/files/patch-dweputils::dwepcrack::dstumbler.h new file mode 100644 index 000000000000..781e113a053f --- /dev/null +++ b/net/bsd-airtools/files/patch-dweputils::dwepcrack::dstumbler.h @@ -0,0 +1,11 @@ +--- dweputils/dwepcrack/dwepcrack.h.orig Sat Jul 6 15:21:15 2002 ++++ dweputils/dwepcrack/dwepcrack.h Sat Jul 6 15:21:32 2002 +@@ -38,7 +38,7 @@ + #include <sys/types.h> + #include <pcap.h> + +-#include <bat/common.h> ++#include <dev/wi/if_wavelan_ieee.h> + + /* + * definitions diff --git a/net/bsd-airtools/files/patch-dweputils::dwepdump::dwepdump.c b/net/bsd-airtools/files/patch-dweputils::dwepdump::dwepdump.c new file mode 100644 index 000000000000..6877d05c11d5 --- /dev/null +++ b/net/bsd-airtools/files/patch-dweputils::dwepdump::dwepdump.c @@ -0,0 +1,11 @@ +--- dweputils/dwepdump/dwepdump.c.orig Sat Jul 6 15:24:30 2002 ++++ dweputils/dwepdump/dwepdump.c Sat Jul 6 15:24:45 2002 +@@ -46,7 +46,7 @@ + #include <errno.h> + + #include <pcap.h> +-#include <bat/common.h> ++#include <dev/wi/if_wavelan_ieee.h> + + /* + * definitions diff --git a/net/bsd-airtools/files/patch-prism2ctl::prism2ctl.c b/net/bsd-airtools/files/patch-prism2ctl::prism2ctl.c new file mode 100644 index 000000000000..24a6b5f48cb1 --- /dev/null +++ b/net/bsd-airtools/files/patch-prism2ctl::prism2ctl.c @@ -0,0 +1,11 @@ +--- prism2ctl/prism2ctl.c.orig Sat Jul 6 15:27:53 2002 ++++ prism2ctl/prism2ctl.c Sat Jul 6 15:28:10 2002 +@@ -50,7 +50,7 @@ + #include <sys/time.h> + #include <net/if.h> + +-#include <bat/common.h> ++#include <dev/wi/if_wavelan_ieee.h> + + #include <string.h> + #include <unistd.h> diff --git a/net/bsd-airtools/files/patch-prism2dump::fields_mgmt.c b/net/bsd-airtools/files/patch-prism2dump::fields_mgmt.c new file mode 100644 index 000000000000..40c2d9fb94da --- /dev/null +++ b/net/bsd-airtools/files/patch-prism2dump::fields_mgmt.c @@ -0,0 +1,10 @@ +--- prism2dump/fields_mgmt.c.orig Sat Jul 6 15:30:42 2002 ++++ prism2dump/fields_mgmt.c Sat Jul 6 15:30:54 2002 +@@ -37,6 +37,7 @@ + + #include <stdio.h> + #include <sys/types.h> ++#include <string.h> + + #include <pcap.h> + diff --git a/net/bsd-airtools/pkg-comment b/net/bsd-airtools/pkg-comment new file mode 100644 index 000000000000..d60ee30cec1c --- /dev/null +++ b/net/bsd-airtools/pkg-comment @@ -0,0 +1 @@ +BSD Wireless Scanning Tools diff --git a/net/bsd-airtools/pkg-descr b/net/bsd-airtools/pkg-descr new file mode 100644 index 000000000000..16ec2c547493 --- /dev/null +++ b/net/bsd-airtools/pkg-descr @@ -0,0 +1,12 @@ +bsd-airtools is a package that provides a complete toolset for +wireless 802.11b auditing. Namely, it currently contains a bsd-based +wep cracking application, called dweputils. It also contains a curses +based ap detection application similar to netstumbler (dstumbler) that +can be used to detect wireless access points and connected nodes, view +signal to noise graphs, and interactively scroll through scanned ap's +and view statistics for each. It also includes a couple other tools to +provide a complete toolset for making use of all 14 of the prism2 +debug modes as well as do basic analysis of the hardware-based +link-layer protocols provided by prism2's monitor debug mode. + +WWW: http://www.dachb0den.com/projects/bsd-airtools.html diff --git a/net/bsd-airtools/pkg-plist b/net/bsd-airtools/pkg-plist new file mode 100644 index 000000000000..259153606c68 --- /dev/null +++ b/net/bsd-airtools/pkg-plist @@ -0,0 +1,13 @@ +bin/dstumbler +bin/dwepcrack +bin/dwepdump +bin/dwepkeygen +bin/prism2ctl +bin/prism2dump +%%PORTDOCS%%share/doc/bsd-airtools/README.dstumbler +%%PORTDOCS%%share/doc/bsd-airtools/README.dwepcrack +%%PORTDOCS%%share/doc/bsd-airtools/README.dwepdump +%%PORTDOCS%%share/doc/bsd-airtools/README.dwepkeygen +%%PORTDOCS%%share/doc/bsd-airtools/README.prism2ctl +%%PORTDOCS%%share/doc/bsd-airtools/README.prism2dump +%%PORTDOCS%%@dirrm share/doc/bsd-airtools |