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.08k stars 260 forks source link

Add network interface information #438

Open Qpp0 opened 1 month ago

Qpp0 commented 1 month 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 1 month 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.