[ipv6hackers] IPv6 security tools released

Josef Pojsl jp at tns.cz
Wed Jul 4 09:05:06 CEST 2012


Hello,

thanks for the great tools. I tried to compile ipv6-toolkit-v1.1 on Mac
OS X 10.7.4:

$ uname -a
Darwin mcpepa 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15
PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64

na6, ns6, ra6, rs6, scan6 compile smoothly.
icmp6, rd6 and tcp6 need a tiny change in their headers, see below.
All those tools compile and show a help page. I have not tried them too
hard.

Of the other tools, the following ones need the same tiny change in ther
respective headers in order to compile smoothly: flow6-v1.0, frag6-v1.0,
jumbo6-v1.0.

icmp6-attack-v1.0 and rd-attack-v1.0 need the same change, they compile,
but there are several warnings, all of them of the same kind:

icmp6-attack.c: In function ‘send_packet’:
icmp6-attack.c:1707: warning: format ‘%u’ expects type ‘unsigned int’,
but argument 2 has type ‘size_t’
rd-attack.c: In function ‘send_packet’:
rd-attack.c:1822: warning: format ‘%u’ expects type ‘unsigned int’, but
argument 2 has type ‘size_t’

I can send the entire output if you like.

ni6-v1.0 does not compile even after the change in its header:

$ gcc ni6.c -Wall -lpcap -o ni6
In file included from ni6.c:60:
ni6.h:180: error: redefinition of ‘struct icmp6_namelookup’
ni6.h:194: error: redefinition of ‘struct icmp6_nodeinfo’
In file included from ni6.c:60:
ni6.h:214:1: warning: "NI_SUPTYPE_FLAG_COMPRESS" redefined
In file included from ni6.c:50:
/usr/include/netinet/icmp6.h:417:1: warning: this is the location of the
previous definition
In file included from ni6.c:60:
ni6.h:215:1: warning: "NI_FQDN_FLAG_VALIDTTL" redefined
In file included from ni6.c:50:
/usr/include/netinet/icmp6.h:418:1: warning: this is the location of the
previous definition
In file included from ni6.c:60:
ni6.h:222:1: warning: "NI_NODEADDR_FLAG_TRUNCATE" redefined
In file included from ni6.c:50:
/usr/include/netinet/icmp6.h:447:1: warning: this is the location of the
previous definition
In file included from ni6.c:60:
ni6.h:223:1: warning: "NI_NODEADDR_FLAG_ALL" redefined
In file included from ni6.c:50:
/usr/include/netinet/icmp6.h:448:1: warning: this is the location of the
previous definition
In file included from ni6.c:60:
ni6.h:224:1: warning: "NI_NODEADDR_FLAG_COMPAT" redefined
In file included from ni6.c:50:
/usr/include/netinet/icmp6.h:449:1: warning: this is the location of the
previous definition
In file included from ni6.c:60:
ni6.h:225:1: warning: "NI_NODEADDR_FLAG_LINKLOCAL" redefined
In file included from ni6.c:50:
/usr/include/netinet/icmp6.h:450:1: warning: this is the location of the
previous definition
In file included from ni6.c:60:
ni6.h:226:1: warning: "NI_NODEADDR_FLAG_SITELOCAL" redefined
In file included from ni6.c:50:
/usr/include/netinet/icmp6.h:451:1: warning: this is the location of the
previous definition
In file included from ni6.c:60:
ni6.h:227:1: warning: "NI_NODEADDR_FLAG_GLOBAL" redefined
In file included from ni6.c:50:
/usr/include/netinet/icmp6.h:452:1: warning: this is the location of the
previous definition
In file included from ni6.c:60:
ni6.h:228:1: warning: "NI_NODEADDR_FLAG_ANYCAST" redefined
In file included from ni6.c:50:
/usr/include/netinet/icmp6.h:453:1: warning: this is the location of the
previous definition
ni6.h:239: error: redefinition of ‘struct ni_reply_fqdn’

-- 
Josef


On 03.07.12 14:20, Fernando Gont wrote:
> The tools compile & run on Linux and *BSD, and I'm planning to port them
> to Mac OS too (if only I had such a box... sigh :-) ).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: macosx.patch
URL: <http://lists.si6networks.com/pipermail/ipv6hackers/attachments/20120704/ce1a565a/attachment.ksh>


More information about the Ipv6hackers mailing list