RecordFlux icon indicating copy to clipboard operation
RecordFlux copied to clipboard

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

Open mgrojo opened this issue 1 year ago • 3 comments

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

mgrojo avatar Oct 20 '24 19:10 mgrojo

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 23 '24 09:10 CLAassistant

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.

treiher avatar Oct 23 '24 10:10 treiher

OK. The need to sign a CLA wasn't documented, but ok, the CLA Is now signed.

mgrojo avatar Oct 24 '24 20:10 mgrojo

Thanks again for your contribution! This change has been added to main in a603ffad3fc4b13c72fb64b70907046472942a47.

treiher avatar Oct 28 '24 12:10 treiher