tcpdump mailing list archives

Cross-compiling tcpdump with ipv6 enabled


From: Xiufeng Xie <xxie28 () wisc edu>
Date: Wed, 17 Dec 2014 16:11:46 -0600

Hi,

  Currently I need to capture ipv6 packets on Android phone. On my PC,
tcpdump works well with ipv6 traffic, so I also want to try it on the
phone.

  However, when I cross-compile tcpdump for ARM platform with ipv6 enabled,
it is forced to give the warning about buggy getaddrinfo() function and
then exit. I comment out this test to complete compiling (with ipv6
enabled). The resulting binary works well when monitoring ipv4 packets on
my phone, but still captures 0 packets on the Verizon ipv6 lTE network.

  Any suggestion for the solution? Also why the configure script is
designed to force disabling ipv6 when doing cross-compiling?

Best Regards,
Xiufeng
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: