PDA

Bekijk de volledige versie : tcpdump with --enable-ipv6



sodb
25-05-2005, 13:05
I'd like to dump ipv6 packets on the 6over4 tunnel interface. Has anyone successfully compiled tcpdump (e.g. version 3.8.3) with ipv6 enabled? I looked in the wl500g firmware source of oleg (1.9.2.7-5a) how tcpdump and libpcap were compiled, but couldn't find it. Is the executable just put in the root filesystem?

Libpcap 0.8.3. seems to compile after making a small change in the ./configure script where it checks for linux version.

Tcpdump configure script probes local ipv6 config instead of that of the cross compiled system.

Any ideas?

Oleg
25-05-2005, 13:39
use ipkg version, the one in the 5a would be removed.

sodb
25-05-2005, 18:50
Ipkg version does not support v6 either. Donwloaded it form http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/. See output while doing a ping6:

[admin@asus bin]$ ./tcpdump -i sixtun
tcpdump: WARNING: sixtun: no IPv4 address assigned
tcpdump: listening on sixtun
19:49:13.271622 unknown ip 6
19:49:13.285552 unknown ip 6
19:49:14.271611 unknown ip 6
19:49:14.285591 unknown ip 6