Mon Feb 11 06:55:06 2013 UTC ()
Initial import of the SI6 ipv6-toolkit, a security assessment and
troubleshooting package for ipv6, into the Packages Collection. This is version
1.3b.

	The SI6 Networks' IPv6 toolkit is a set of IPv6
	security/trouble-shooting tools, that can send arbitrary IPv6-based
	packets.

	flow6:	A tool to perform a security asseessment of the IPv6 Flow Label.
	frag6:  A tool to perform IPv6 fragmentation-based attacks and to
		perform a security assessment of a number of fragmentation-related
		aspects.
	icmp6:	A tool to perform attacks based on ICMPv6 error messages.
	jumbo6:	A tool to assess potential flaws in the handling of IPv6 Jumbograms.
	na6:	A tool to send arbitrary Neighbor Advertisement messages.
	ni6:	A tool to send arbitrary ICMPv6 Node Information messages, and
		assess possible flaws in the processing of such packets.
	ns6:	A tool to send arbitrary Neighbor Solicitation messages.
	ra6:	A tool to send arbitrary Router Advertisement messages.
	rd6:	A tool to send arbitrary ICMPv6 Redirect messages.
	rs6:	A tool to send arbitrary Router Solicitation messages.
	scan6:	An IPv6 address scanning tool.
	tcp6:	A tool to send arbitrary TCP segments and perform a variety of
		TCP-based attacks.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(agc)
diff -r0 -r1.1.1.1 pkgsrc/security/ipv6-toolkit/Makefile
diff -r0 -r1.1.1.1 pkgsrc/security/ipv6-toolkit/DESCR
diff -r0 -r1.1.1.1 pkgsrc/security/ipv6-toolkit/PLIST
diff -r0 -r1.1.1.1 pkgsrc/security/ipv6-toolkit/distinfo
diff -r0 -r1.1.1.1 pkgsrc/security/ipv6-toolkit/patches/patch-aa

File Added: pkgsrc/security/ipv6-toolkit/Makefile
# $NetBSD: Makefile,v 1.1.1.1 2013/02/11 06:55:05 agc Exp $

DISTNAME=	ipv6-toolkit-v1.3b
PKGNAME=	ipv6-toolkit-1.3b
CATEGORIES=	security net
MASTER_SITES=	http://www.si6networks.com/tools/ipv6toolkit/

MAINTAINER=	agc@NetBSD.org
HOMEPAGE=	http://www.si6networks.com/tools/ipv6toolkit
COMMENT=	IPv6 security assessment and troubleshooting tool
LICENSE=	gnu-gpl-v3

USE_TOOLS+=	gmake
AUTO_MKDIRS=	yes

BINS=		flow6 frag6 icmp6 jumbo6 na6 ni6 ns6 ra6 rd6 rs6 scan6 tcp6
MAN1=		flow6.1 frag6.1 icmp6.1 scan6.1
MAN5=		ipv6toolkit.conf.5
PDFS=		flow6-manual.pdf frag6-manual.pdf icmp6-manual.pdf jumbo6-manual.pdf
PDFS+=		na6-manual.pdf ni6-manual.pdf ns6-manual.pdf ra6-manual.pdf
PDFS+=		rd6-manual.pdf rs6-manual.pdf scan6-manual.pdf tcp6-manual.pdf

do-install:
	for f in ${BINS}; do						\
		${INSTALL_PROGRAM} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/bin/$$f; \
	done
	for f in ${MAN1}; do						\
		${INSTALL_MAN} ${WRKSRC}/manuals/$$f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$$f; \
	done
	for f in ${MAN5}; do						\
		${INSTALL_MAN} ${WRKSRC}/manuals/$$f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/$$f; \
	done
	for f in ${PDFS}; do						\
		${INSTALL_DATA} ${WRKSRC}/manuals/$$f ${DESTDIR}${PREFIX}/share/doc/ipv6-toolkit/$$f; \
	done

.include "../../net/libpcap/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/security/ipv6-toolkit/DESCR
The SI6 Networks' IPv6 toolkit is a set of IPv6
security/trouble-shooting tools, that can send arbitrary IPv6-based
packets.

flow6:	A tool to perform a security asseessment of the IPv6 Flow Label.
frag6:  A tool to perform IPv6 fragmentation-based attacks and to
	perform a security assessment of a number of fragmentation-related
	aspects.
icmp6:	A tool to perform attacks based on ICMPv6 error messages.
jumbo6:	A tool to assess potential flaws in the handling of IPv6 Jumbograms.
na6:	A tool to send arbitrary Neighbor Advertisement messages.
ni6:	A tool to send arbitrary ICMPv6 Node Information messages, and
	assess possible flaws in the processing of such packets.
ns6:	A tool to send arbitrary Neighbor Solicitation messages.
ra6:	A tool to send arbitrary Router Advertisement messages.
rd6:	A tool to send arbitrary ICMPv6 Redirect messages.
rs6:	A tool to send arbitrary Router Solicitation messages.
scan6:	An IPv6 address scanning tool.
tcp6:	A tool to send arbitrary TCP segments and perform a variety of
	TCP-based attacks.

File Added: pkgsrc/security/ipv6-toolkit/PLIST
@comment $NetBSD: PLIST,v 1.1.1.1 2013/02/11 06:55:05 agc Exp $
bin/flow6
bin/frag6
bin/icmp6
bin/jumbo6
bin/na6
bin/ni6
bin/ns6
bin/ra6
bin/rd6
bin/rs6
bin/scan6
bin/tcp6
man/man1/flow6.1
man/man1/frag6.1
man/man1/icmp6.1
man/man1/scan6.1
man/man5/ipv6toolkit.conf.5
share/doc/ipv6-toolkit/flow6-manual.pdf
share/doc/ipv6-toolkit/frag6-manual.pdf
share/doc/ipv6-toolkit/icmp6-manual.pdf
share/doc/ipv6-toolkit/jumbo6-manual.pdf
share/doc/ipv6-toolkit/na6-manual.pdf
share/doc/ipv6-toolkit/ni6-manual.pdf
share/doc/ipv6-toolkit/ns6-manual.pdf
share/doc/ipv6-toolkit/ra6-manual.pdf
share/doc/ipv6-toolkit/rd6-manual.pdf
share/doc/ipv6-toolkit/rs6-manual.pdf
share/doc/ipv6-toolkit/scan6-manual.pdf
share/doc/ipv6-toolkit/tcp6-manual.pdf

File Added: pkgsrc/security/ipv6-toolkit/distinfo
$NetBSD: distinfo,v 1.1.1.1 2013/02/11 06:55:05 agc Exp $

SHA1 (ipv6-toolkit-v1.3b.tar.gz) = 23eb49f459a63dfeb421c22d52e77e3cd1d10e40
RMD160 (ipv6-toolkit-v1.3b.tar.gz) = 0f01796288d6b2f01b710d22bb989776d807d88d
Size (ipv6-toolkit-v1.3b.tar.gz) = 2481483 bytes
SHA1 (patch-aa) = 299979b709f57c7e7a6d1ed85859de0938eed01c

File Added: pkgsrc/security/ipv6-toolkit/patches/patch-aa
$NetBSD: patch-aa,v 1.1.1.1 2013/02/11 06:55:05 agc Exp $

quieten warnings on ctype macros

--- tools/scan6.c	2013/02/10 06:36:34	1.1
+++ tools/scan6.c	2013/02/10 06:37:02
@@ -2173,7 +2173,7 @@
 		j=0;
 
 		while(j < buscars){
-			if(toupper(buscar[j]) != toupper(buffer[i+j]))
+			if(toupper((unsigned char)buscar[j]) != toupper((unsigned char)buffer[i+j]))
 				break;
 
 			j++;