Debian Patches

Status for golang-github-gopacket-gopacket/1.3.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.patch Fix 64-bit time type
In https://github.com/gopacket/gopacket/commit/94ad652445d73076cfbf84a5b6d3674828565dd2#diff-e963922b33de3b0f70ae29706d57ad1eadd3543e0921daa6ec64b18e461626cdR120
an #ifdef was added to check for the existence of a type, but as far as I am
aware, ifdef cannot be used that way.
Stephen Gelman <ssgelm@debian.org> yes upstream 2024-10-14

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

Links