Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add switch to extract_packets.py to extract only the layer payload #1304

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 20, 2024

  1. Add switch to extract_packets.py to extract only the layer payload

    This allows, for example, to extract from a CoAP
     capture the payload of inet.UDP to obtain the
     CoAP messages.
    
    Tested with:
    ```
    wget  https://gitlab.com/wireshark/wireshark/-/wikis/uploads/__moin_import__/attachments/SampleCaptures/coap-cbor.pcap
    extract_packets.py --payload inet.UDP coap-cbor.pcap samples/
    rflx validate -v samples/ specs/coap.rflx CoAP::CoAP_Message
    ```
    mgrojo committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    e2ec336 View commit details
    Browse the repository at this point in the history