Bug#805614: linux: PCAP filter "ether host" === "ether dst" when capture on a dummy interface
Source: linux
Version: 4.2.6-1
Severity: normal
Hello,
Not found with 4.2.5
Found with 4.3
Step to reproduce:
1. ip link add name test0 mtu 65535 type dummy
2. ip link set test0 up
3. Capture traffic on test0
tcpdump -i test0 "ether host <MAC Address>"
4. Use tcpreplay to replay some traffic
tcpreplay -i test0 --pktlen -M 20 <saved pcapng file>
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'work'), (500, 'testing-updates'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: