RecordFlux
RecordFlux copied to clipboard
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 -p inet.UDP coap-cbor.pcap samples/
rflx validate -v samples/ specs/coap.rflx CoAP::CoAP_Message
Thanks for this improvement, @mgrojo! The code looks good to me. We just need a signed CLA from you to be able to merge it.
OK. The need to sign a CLA wasn't documented, but ok, the CLA Is now signed.
Thanks again for your contribution! This change has been added to main in a603ffad3fc4b13c72fb64b70907046472942a47.