Closed
Description
Describe the bug
When using tls -m pcap mode, arp packets are found in the obtained pcap file . There is a problem with specifying or not specifying capture filter parameters. Is this a bug?
To Reproduce
./ecapture tls -m pcap -i ens1f0 --pcapfile=all.pcap
# tcpdump -nn -r all.pcap 'arp'
reading from file all.pcap, link-type EN10MB (Ethernet)
dropped privs to tcpdump
15:52:03.990048 ARP, Request who-has 192.168.10.108 tell 192.168.10.1, length 46
15:52:05.003197 ARP, Request who-has 192.168.10.108 tell 192.168.10.1, length 46
15:52:07.003957 ARP, Request who-has 192.168.10.108 tell 192.168.10.1, length 46
15:52:07.324029 ARP, Request who-has 192.168.10.108 tell 192.168.10.1, length 46
os info
# cat /etc/os-release
NAME="openEuler"
VERSION="22.03 (LTS-SP4)"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 (LTS-SP4)"
ANSI_COLOR="0;31"
# uname -a
Linux zhm-cd-vm 5.10.0-216.0.0.115.oe2203sp4.x86_64 #1 SMP Thu Jun 27 15:13:44 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
# ecapture -v
eCapture version: linux_amd64:v0.8.9:6.5.0-1025-azure