emanuele-f / PCAPdroid

No-root network monitor, firewall and PCAP dumper for Android
https://emanuele-f.github.io/PCAPdroid
GNU General Public License v3.0
2.43k stars 286 forks source link

Add network interface information #438

Open Qpp0 opened 6 months ago

Qpp0 commented 6 months ago

Can network interface information be added to the Trailer? Now the phone supports network diversion, such as using data network + wlan or wlan0 + wlan1, but now the captured IP addresses are the same, and the underlying interface information cannot be distinguished. I hope it can be considered to add

emanuele-f commented 6 months ago

This will be added to the PCAPNG dump, see #434 . In particular, this should be implemented via an interface description block. The PCAPdroid trailer is not efficient in terms of disk space, adding an interface name (15 B per packet) to it it's not a good idea.