Debian Patches

Status for golang-github-gopacket-gopacket/1.2.0-2

Patch Description Author Forwarded Bugs Origin Last update
0001-Skip-comparing-libpcap-output-in-TestBPFInstruction.patch Skip comparing libpcap output in TestBPFInstruction
The test just ensures libpcap doesn't change its bpf output
over the time.

(Patch refreshed on 2023-12-20 for github.com/gopacket/gopacket v1.2.0)

Now libpcap 1.10.2 changes:

Previously:

(000) ldh [12]
(001) jeq #0x86dd jt 2 jf 7
(002) ldb [20]
(003) jeq #0x11 jt 10 jf 4
(004) jeq #0x2c jt 5 jf 11
(005) ldb [54]
(006) jeq #0x11 jt 10 jf 11
(007) jeq #0x800 jt 8 jf 11
(008) ldb [23]
(009) jeq #0x11 jt 10 jf 11
(010) ret #262144
(011) ret #0

Now:

$ tcpdump -d udp
(000) ldh [12]
(001) jeq #0x800 jt 2 jf 4
(002) ldb [23]
(003) jeq #0x11 jt 10 jf 11
(004) jeq #0x86dd jt 5 jf 11
(005) ldb [20]
(006) jeq #0x11 jt 10 jf 7
(007) jeq #0x2c jt 8 jf 11
(008) ldb [54]
(009) jeq #0x11 jt 10 jf 11
(010) ret #262144
(011) ret #0
Shengjing Zhu <zhsj@debian.org> yes debian upstream 2023-02-08
0002-Skip-TestEthernetHandle_Close_With-Timeout-Cancel.patch Skip TestEthernetHandle_Close_With{Timeout,Cancel}
These tests in pcapgo/capture_test.go need root access and would give
"netlink.LinkAdd() error = operation not permitted" otherwise.
Anthony Fok <foka@debian.org> no 2023-12-20
0003-fix-time-type-with-__USE_TIME_BITS64.patch fix time type with __USE_TIME_BITS64 Shengjing Zhu <zhsj@debian.org> yes 2024-03-28

All known versions for source package 'golang-github-gopacket-gopacket'

Links