Can libpcap reassemble TCP segments

后端 未结 4 1639
南笙
南笙 2021-01-20 05:30

I need to sniff TCP traffic into my application.

Can libpcap reassemble TCP segments or I have to do it manually?

The home page says \"Full documentation is

4条回答
  •  攒了一身酷
    2021-01-20 06:20

    No, libpcap will not do TCP segment reassembly - libpcap captures packets, but processing the packet data is left up to the application or a library used by the application.

    As for the man pages, older versions of libpcap just have the pcap(3) man page, newer versions have, in addition to pcap(3PCAP), a bunch of other man pages for particular routines.

提交回复
热议问题