> are there any workaround for this? or any other libraries which can capture
> packets destined to a specific local port?

There exist several more involved sniffers (based on libpcap) that do IP
fragmentation reassembly (and often also TCP reordering). They may be more
complex to use that tcpdump, though.

If all you want is to capture packets then your best guess is probably tshark.

_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to