Better HN
topnewbestaskshowjobs
Log inSign up

cacheline

43 karma · joined Dec 19, 2024 (1y ago) · 4 submissions

Submissions

comment 1y ago · link · parent

yep. For Wireshark/Tshark, display filters (including "frame.comment contains ...") can be used as usual. Of course, if your pcap file contains only frames with the same comment, that expression is not particularly useful, but you can merge multiple files with e.g. mergecap.

The pcap subcommand, though, will be extended to allow extracting packets from multiple probes in a single run.

comment 1y ago · link · parent

the pcap-ng file will contain packets (l2/l3/l4 and so forth, but up to 255 bytes), each annotated with a comment that tells you from what kernel function or tracepoint the packet was "captured" from. For the time being you can generate pcapng files filtering packets based on a single probe (e.g. all filtered/tracked packets hitting `net:net_dev_start_xmit`). You can then use wireshark (or any tool you prefer) to dissect and further process. Custom dissectors should not be required.

comment 1y ago · link · parent

It would definitely be useful. This is part of the plan and we started exploring different possibilities (early stage, at the moment). Thank you for the feedback and for filing the feature request on GH.

4.

Tracing packets in the Linux kernel networking stack and friends(github.com ↗)

109 points · by cacheline · 1y ago · 9 comments