diff options
author | agc <agc@pkgsrc.org> | 2013-08-24 16:12:24 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2013-08-24 16:12:24 +0000 |
commit | de894f6661ccc032a9b09b243cdf80bba58dc07c (patch) | |
tree | 6efcd2d86ace4750e7dd7cf47aaf19ff78cb9dc4 | |
parent | a704d10ffbfbdeaab83cd2de3e76bce1c2f7d0fc (diff) | |
download | pkgsrc-de894f6661ccc032a9b09b243cdf80bba58dc07c.tar.gz |
Update ipv6-toolkit to version 1.4 from 1.3.4
Pkgsrc changes:
+ quieten warnings from gcc 4.5.3 about uninitialised variables
Distribution changes:
SI6 Networks' IPv6 Toolkit v1.4 release
* frag6: Fixed the flooding option
Fixed the fragment size used when employing the flooding option. It was
prevously sending fragment sizes that where not a multiple of eight, and
hence these fragments were dropped.
* scan6: Added support for 64-bit encoding of IPv4 addresses
Option "--tgt-ipv4" was augmented to support both encodings (32 bit
and 64 bit) of embedded IPv4 addresses.
* tcp6: Fixed response to Neighbor Solicitations
tcp6 was not responding to incomming Neighbor Solicitations. Hence, when
packets were sent from spoofed addresses, tcp6 would never receive the
response packets, because the NSs sent by the local router or target node
would never be responded.
* tcp6: Added support for TCP Window-based attacks
tcp6 can now close the window after sending an app-layer command, and
also "modulate" the TCP window to circumvent trivial mitigations for these
attacks ("--window-mode" and "--win-modulate" options).
* tcp6: Support for multiple connection-establishment types
tcp6 can now cause e.g. TCP simultaneous opens (see the "--open-mode"
option).
* tcp6: Support for multiple connection-termination types
tcp6 can now perform multiple connection-termination types (see the
"--close-mode" option).
* tcp6: Support for sending application layer requests
tcp6 can now send application-layer requests with the "--data" option.
* Many improvements to the manual pages.
Fixed the troff encoding of many manual pages. Added ipv6toolkit(7), that
describes a general description of the toolkit.
* All: Fixed bug in link-layer destination address selection
Tools now try to find a local router or perform Neighbor Discovery only
when necessary (i.e., underlying link-layer is *not* loopback or tunnel,
destination address is *not* link-local, and a link-layer destination
address has *not* been specified).
* All: Fixed bug in option handling
Incorrect data type was used for the return value of getopt_long(), thus
leading to problems in some architectures.
* All: Fixed a number of issues with pcap_next_ex()
The timeout parameter of pcap_next_ex() is now based on the platform (the
previous constant value had different semantics in different platforms).
Additionally, handle the case where pcap_next_ex() returns no packets.
* All: General improvements and clean-up
The development process now includes building the toolkit with the clang
compiler (in addition to gcc), which has lead to the identification of a
number of issues.
* All: Improved support for building the toolkit.
The toolkit now contains one makefile for pmake, and another for GNU make.
Added support for the DESTDIR variable. Appropriate paths are selected
based on the value of a number of variables. Configuration file is
dynamically generated, with the right path to the oui.txt file.
-rw-r--r-- | security/ipv6-toolkit/Makefile | 4 | ||||
-rw-r--r-- | security/ipv6-toolkit/distinfo | 11 | ||||
-rw-r--r-- | security/ipv6-toolkit/patches/patch-Makefile | 12 | ||||
-rw-r--r-- | security/ipv6-toolkit/patches/patch-tools__tcp6.c | 16 |
4 files changed, 30 insertions, 13 deletions
diff --git a/security/ipv6-toolkit/Makefile b/security/ipv6-toolkit/Makefile index 0ebf50be934..8517403a5e0 100644 --- a/security/ipv6-toolkit/Makefile +++ b/security/ipv6-toolkit/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.6 2013/04/18 04:23:17 agc Exp $ +# $NetBSD: Makefile,v 1.7 2013/08/24 16:12:24 agc Exp $ -DISTNAME= ipv6-toolkit-v1.3.4 +DISTNAME= ipv6toolkit-v1.4 PKGNAME= ${DISTNAME:C/-v/-/} CATEGORIES= security net MASTER_SITES= http://www.si6networks.com/tools/ipv6toolkit/ diff --git a/security/ipv6-toolkit/distinfo b/security/ipv6-toolkit/distinfo index d5563d4812e..848bb910db3 100644 --- a/security/ipv6-toolkit/distinfo +++ b/security/ipv6-toolkit/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.6 2013/05/11 21:15:55 agc Exp $ +$NetBSD: distinfo,v 1.7 2013/08/24 16:12:24 agc Exp $ -SHA1 (ipv6-toolkit-v1.3.4.tar.gz) = c9428aff0de23960de1b3385caac689e25b06aab -RMD160 (ipv6-toolkit-v1.3.4.tar.gz) = 22c26424d4af075bc23c35ea85343d706af32b25 -Size (ipv6-toolkit-v1.3.4.tar.gz) = 1052088 bytes -SHA1 (patch-Makefile) = 2b5938a09f8daf3183d08c41bc73412cf31221cf +SHA1 (ipv6toolkit-v1.4.tar.gz) = 0120041b7f844f49ef6b516e8b1ffbeeb1427788 +RMD160 (ipv6toolkit-v1.4.tar.gz) = 32cb518551e0a1898e5400b9b1468658617ce83b +Size (ipv6toolkit-v1.4.tar.gz) = 481920 bytes +SHA1 (patch-Makefile) = 217b9e8cf7b8478773bbc7ee8971d1fccfde2909 SHA1 (patch-aa) = 594fb41b77258cae0d3ba81a78144c312728faa8 +SHA1 (patch-tools__tcp6.c) = 72363dc25ebea5acb7dedd91a8fda1abad5242ad diff --git a/security/ipv6-toolkit/patches/patch-Makefile b/security/ipv6-toolkit/patches/patch-Makefile index 5b80892c041..ea862ea05e3 100644 --- a/security/ipv6-toolkit/patches/patch-Makefile +++ b/security/ipv6-toolkit/patches/patch-Makefile @@ -1,15 +1,15 @@ -$NetBSD: patch-Makefile,v 1.1 2013/05/11 21:15:55 agc Exp $ +$NetBSD: patch-Makefile,v 1.2 2013/08/24 16:12:24 agc Exp $ Take ${CC} from environment --- Makefile 2013/05/11 20:47:52 1.1 +++ Makefile 2013/05/11 20:48:02 -@@ -1,7 +1,7 @@ - # - # SI6 Networks' IPv6 toolkit Makefile - # +@@ -18,7 +18,7 @@ + # typically employed by package developers. + + -CC= gcc +CC?= gcc CFLAGS+= -Wall LDFLAGS+= -lpcap -lm - MANPATH= /usr/share/man + diff --git a/security/ipv6-toolkit/patches/patch-tools__tcp6.c b/security/ipv6-toolkit/patches/patch-tools__tcp6.c new file mode 100644 index 00000000000..46d6e94de6e --- /dev/null +++ b/security/ipv6-toolkit/patches/patch-tools__tcp6.c @@ -0,0 +1,16 @@ +$NetBSD: patch-tools__tcp6.c,v 1.1 2013/08/24 16:12:24 agc Exp $ + +Avoid uninitialised warnings + +--- tools/tcp6.c 2013/08/22 16:58:54 1.1 ++++ tools/tcp6.c 2013/08/22 17:00:42 +@@ -286,6 +286,9 @@ + hoplimit=255; + init_iface_data(&idata); + ++ pktinterval = 0; ++ memset(&lastprobe, 0x0, sizeof(lastprobe)); ++ + while((r=getopt_long(argc, argv, shortopts, longopts, NULL)) != -1) { + option= r; + |