Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gopacket/gopacket
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.0
Choose a base ref
...
head repository: gopacket/gopacket
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.1
Choose a head ref
  • 4 commits
  • 4 files changed
  • 5 contributors

Commits on May 4, 2023

  1. Configuration menu
    Copy the full SHA
    44b8a6a View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Support removing BPF filter from AF_PACKET socket (#18)

    Do a setsockopt with SO_DETACH_FILTER when TPacket.SetBPF() is called
    with a empty BPF instruction list.
    
    Co-authored-by: Simeon Miteff <simeon.miteff@corelight.com>
    simeonmiteff and Simeon Miteff authored Jun 2, 2023
    Configuration menu
    Copy the full SHA
    8df6dd2 View commit details
    Browse the repository at this point in the history
  2. added promisc enablement function on afpacket

    Co-authored-by: Nadirbek Nurlybekov <nurlybekovnt@gmail.com>
    mosajjal and nurlybekovnt committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    9e29b47 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Fixes for Geneve option flags/length field (#17)

    * Fix Geneve option flags/length field decoding
    
    The option header length is 5 bits, not 4, so fix the bit shift for
    decoding flags, and fix the mask for decoding the length. This also adds
    a unit test for decoding a max length option (124 byte payload).
    
    * Fix Geneve option flags/length field serialization
    
    OR-assigning the flag bits into the byte offset for the Geneve option
    header flags/length field produced corrupt packets because the buffer
    returned by PrependBytes is not guaranteed to be zeroed out. Since this
    is the first time that offset is touched, just assign instead.
    
    ---------
    
    Co-authored-by: Simeon Miteff <simeon.miteff@corelight.com>
    simeonmiteff and Simeon Miteff authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    4472aec View commit details
    Browse the repository at this point in the history
Loading