summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2013-02-11 06:55:05 +0000
committeragc <agc@pkgsrc.org>2013-02-11 06:55:05 +0000
commit6fe3e391c6fc916a633086ecc1f3a34fc5613bd4 (patch)
treef04b921ebe71eec4c93f7f3008e2a82e1864ba9a /security
parent15c2814079f83f9e75614594df5cd5d0a43c606b (diff)
downloadpkgsrc-6fe3e391c6fc916a633086ecc1f3a34fc5613bd4.tar.gz
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.
Diffstat (limited to 'security')
-rw-r--r--security/ipv6-toolkit/DESCR20
-rw-r--r--security/ipv6-toolkit/Makefile39
-rw-r--r--security/ipv6-toolkit/PLIST30
-rw-r--r--security/ipv6-toolkit/distinfo6
-rw-r--r--security/ipv6-toolkit/patches/patch-aa15
5 files changed, 110 insertions, 0 deletions
diff --git a/security/ipv6-toolkit/DESCR b/security/ipv6-toolkit/DESCR
new file mode 100644
index 00000000000..0decf2af16a
--- /dev/null
+++ b/security/ipv6-toolkit/DESCR
@@ -0,0 +1,20 @@
+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.
diff --git a/security/ipv6-toolkit/Makefile b/security/ipv6-toolkit/Makefile
new file mode 100644
index 00000000000..009297b0313
--- /dev/null
+++ b/security/ipv6-toolkit/Makefile
@@ -0,0 +1,39 @@
+# $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"
diff --git a/security/ipv6-toolkit/PLIST b/security/ipv6-toolkit/PLIST
new file mode 100644
index 00000000000..61501a937f2
--- /dev/null
+++ b/security/ipv6-toolkit/PLIST
@@ -0,0 +1,30 @@
+@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
diff --git a/security/ipv6-toolkit/distinfo b/security/ipv6-toolkit/distinfo
new file mode 100644
index 00000000000..b93adcdeb0f
--- /dev/null
+++ b/security/ipv6-toolkit/distinfo
@@ -0,0 +1,6 @@
+$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
diff --git a/security/ipv6-toolkit/patches/patch-aa b/security/ipv6-toolkit/patches/patch-aa
new file mode 100644
index 00000000000..9ce638f8593
--- /dev/null
+++ b/security/ipv6-toolkit/patches/patch-aa
@@ -0,0 +1,15 @@
+$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++;