PADListener
PADListener copied to clipboard
Add IPv6 support
I'm using PADListener in iptables mode, and data doesn't get captured when the phone is using an IPv6 address. If I force my phone to connect via GPRS (very slow), it obtains an IPv4 address and data gets captured and synced fine.
I looked at superuser logs and saw that PADListener invokes iptables when setting up the filters. In order for the app to capture data sent to IPv6 addresses ip6tables should also be invoked. My suggestion is to set up both IPv4 and IPv6 filters.
You should be able to change your APN settings to obtain an IPv4 address instead of IPv6, rather than changing the connection mode.
Settings -> Wireless & Networks (more) -> Cellular Networks -> Access Point Names -> <Pick your active APN> -> Change APN Protocol to IPv4.