IPv6 packet creation tool
swmike at swm.pp.se
Sat Sep 17 14:05:34 CEST 2011
On Sat, 17 Sep 2011, Marc Heuse wrote:
> Hi Mikael,
> I do not think there is an out of the box tool for this. You can use
> scapy, which would be easy to script.
> but maybe its easier if you just patch this thc_add_hdr_fragment line:
> thc_add_hdr_fragment(pkt, &pkt_len, 175, 1, getpid());
> into trace6.c from the thc-ipv6 (www.thc.org/thc-ipv6) just after the
> thc_create_ipv6() call.
Thanks, that seems to definitely be interesting. It doesn't really work
(it sees no packets), but from tcpdump I can see the TTL expired messages
in from all the hops so it still helps me!
I gave Scapy a shot before this and it seems that it should be able to do
what I want as well (thanks to the others who suggested it), but after 15
minutes I hadn't figured out how to make it do what I want. I'm putting
learning it on my "todo" list though, it seems extremely powerful.
Mikael Abrahamsson email: swmike at swm.pp.se
More information about the ipv6-ops