egorovandreyrm / pcap-remote

Non-root network sniffer app that features supporting Wireshark sshdump tool
GNU General Public License v3.0
76 stars 27 forks source link

Error: Capturing has unexpectedly stopped: Cannot set address #3

Open cmonty14 opened 4 years ago

cmonty14 commented 4 years ago

Hi,

I get this error message on any device that I administrate: Pixel 3a with Android 10 OnePlus 5T with Android 9 OnePlus 5T with Android 10

Please advice how to fix it.

THX photo_2020-03-29_16-47-09

egorovandreyrm commented 4 years ago

Intercepting Ipv6 traffic is always enabled in the current implementation. If Ipv6 is hard-disabled (using apps that use root access for example) on a device, PCAP Remote can not start the VPN Service. The error rendered in this case is in the screenshot.

To fix the issue or improve the situation, I will implement the following features/points:

1: The app will try to identify if ipv6 is supported

2: The app will provide a way to disable ipv6 in the app settings

3: The app will render an error message suggesting trying enabling ipv6 / disabling ipv6 in the app settings