-
-
Notifications
You must be signed in to change notification settings - Fork 89
Comparing changes
Open a pull request
base repository: gopacket/gopacket
base: v1.3.1
head repository: gopacket/gopacket
compare: v1.4.0
- 20 commits
- 34 files changed
- 16 contributors
Commits on Dec 2, 2024
-
Make pcapgo EthernetHandle use runtime poller (#99)
* Make pcapgo EthernetHandle use runtime poller This allows pcapgo to cooperate with the Go runtime poller to not block entire OS thread on operations. * Use close-on-exec in pcapgo The close-on-exec flag should always be used, where possible. The Go standard library does that everywhere, so it makes sense to use it here, too.
Configuration menu - View commit details
-
Copy full SHA for fa916e7 - Browse repository at this point
Copy the full SHA fa916e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b43272a - Browse repository at this point
Copy the full SHA b43272aView commit details
Commits on Dec 21, 2024
-
pcapng: support read and write Enhanced Packet Block (EPB) options (#58)
* pcapng: support read and write Enhanced Packet Block (EPB) options * no longer set LinkLayerErr for the epb.pcapng
Configuration menu - View commit details
-
Copy full SHA for 61c6261 - Browse repository at this point
Copy the full SHA 61c6261View commit details
Commits on Dec 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e371646 - Browse repository at this point
Copy the full SHA e371646View commit details
Commits on Jan 24, 2025
-
Cleanup endian conversion helpers (#108)
Rename "htons" package to "endian". Htons stands for "host to network short (uint16)". If we ever add helpers for other integer widths, "htons" for the package name would not fit. Rewrite Htons itself without unsafe, making the code easier to follow and helping the compiler generate tighter code. Signed-off-by: Nick Zavaritsky <mejedi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4bc8c8e - Browse repository at this point
Copy the full SHA 4bc8c8eView commit details -
fix time resolution of pcap/pcapgo (#102)
original appears to return the reversed results
Configuration menu - View commit details
-
Copy full SHA for e9c78bd - Browse repository at this point
Copy the full SHA e9c78bdView commit details -
feat: support icmp6 option RecursiveDNSServer (#105)
* feat: support icmp6 option RecursiveDNSServer * making the consts consistent --------- Co-authored-by: Ali Mosajjal <hi@n0p.me>
Configuration menu - View commit details
-
Copy full SHA for b8b13d7 - Browse repository at this point
Copy the full SHA b8b13d7View commit details
Commits on Feb 6, 2025
-
endian: fix big endian detection (#110)
The prior implementation of Htons attempted big endian detection via comparison of binary.NativeEndian.String() with binary.BigEndian.String(). It turns out that the former always returns "NativeEndian", hence it didn't work as intended. Rewrite endian detection by passing []byte{0x12, 0x34} through Endian.Uint16(). Add test to ensure that detection works both on little and big endian CPUs.
Configuration menu - View commit details
-
Copy full SHA for 9c54b11 - Browse repository at this point
Copy the full SHA 9c54b11View commit details
Commits on Feb 14, 2025
-
Configuration menu - View commit details
-
Copy full SHA for de38b3e - Browse repository at this point
Copy the full SHA de38b3eView commit details
Commits on Mar 13, 2025
-
Bump golang.org/x/net from 0.35.0 to 0.36.0 (#114)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.35.0 to 0.36.0. - [Commits](golang/net@v0.35.0...v0.36.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1864a57 - Browse repository at this point
Copy the full SHA 1864a57View commit details
Commits on Apr 13, 2025
-
Making SIP parsing a bit more strict (#109)
Adding truncated indication if header section is not complete, and return an error if first line is empty, and tests to tests these scenarios. Tests have been updated to test for truncated indicator, and test helper-functions are now marked as such.
Configuration menu - View commit details
-
Copy full SHA for f3aec87 - Browse repository at this point
Copy the full SHA f3aec87View commit details -
geneve: implement DecodingLayer (#115)
Before this patch, the Geneve layer would not fully implement DecodingLayer. This would prevent Geneve to be added as a DecodingLayer to gopacket.NewDecodingLayerParser(): cannot use &Geneve{} (value of type *Geneve) as gopacket.DecodingLayer value in argument to gopacket.NewDecodingLayerParser: *Geneve does not implement gopacket.DecodingLayer (missing method CanDecode) This patch implements (*Geneve).CanDecode() and a test to ensure Geneve can be used as a DecodingLayer. Signed-off-by: Alexandre Perrin <alex@isovalent.com>
Configuration menu - View commit details
-
Copy full SHA for 2b39da4 - Browse repository at this point
Copy the full SHA 2b39da4View commit details -
Enable decoding/encoding additional RadioTap namespaces and Vendor na…
…mespaces (#116) * Enable parsing additional RadioTap namespaces and Vendor namespaces * A few more test checks
Configuration menu - View commit details
-
Copy full SHA for 9e6e05d - Browse repository at this point
Copy the full SHA 9e6e05dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86eba08 - Browse repository at this point
Copy the full SHA 86eba08View commit details
Commits on May 11, 2025
-
gtpv1u: check message type when decoding payload (#112)
GTPv1U has different message types. Data (255) carries nested IPv4, IPv6 or PPP packet. Other messages such as Echo Request / Response don't. Check the message type first and only parse payload as IPv4 / IPv6 / PPP in data PDUs.
Configuration menu - View commit details
-
Copy full SHA for eec1516 - Browse repository at this point
Copy the full SHA eec1516View commit details
Commits on May 13, 2025
-
Potential fix for code scanning alert no. 5: Workflow does not contai…
…n permissions (#118) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b23ac34 - Browse repository at this point
Copy the full SHA b23ac34View commit details
Commits on Jul 21, 2025
-
add ability to handle pointers in layerString (#121)
* add ability to handle pointers in layerString * copilot suggestions
Configuration menu - View commit details
-
Copy full SHA for 578eb20 - Browse repository at this point
Copy the full SHA 578eb20View commit details -
Configuration menu - View commit details
-
Copy full SHA for be3fffa - Browse repository at this point
Copy the full SHA be3fffaView commit details
Commits on Aug 1, 2025
-
ipsec: implement DecodingLayer (#117)
* ipsec: implement DecodingLayer Before this patch, the IPSecAH and IPSecESP layer would not fully implement DecodingLayer. This would prevent them to be added as a DecodingLayer to gopacket.NewDecodingLayerParser(): cannot use &IPSecAH{} (value of type *IPSecAH) as gopacket.DecodingLayer value in argument to gopacket.NewDecodingLayerParser: *IPSecAH does not implement gopacket.DecodingLayer (missing method CanDecode) This patch implements (*IPSecAH).CanDecode() and (*IPSecESP).CanDecode() and a test to ensure they can be used as a DecodingLayer. Signed-off-by: Simone Magnani <simone.magnani@isovalent.com> * Update layers/ipsec.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: Simone Magnani <simone.magnani@isovalent.com> Co-authored-by: Ali <hi@n0p.me> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1b6e82a - Browse repository at this point
Copy the full SHA 1b6e82aView commit details -
Feature/add serialize to ipv6 routing (#111)
* add SerializeTo IPv6Routing Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com> * add SerializeTo IPv6Routing Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com> * Update layers/ip6.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com> Co-authored-by: Ali <hi@n0p.me> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2e40d04 - Browse repository at this point
Copy the full SHA 2e40d04View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.3.1...v1.4.0