Reconstructing data from PCAP sniff

Posted by Ishi on Stack Overflow See other posts from Stack Overflow or by Ishi
Published on 2010-05-26T20:38:47Z Indexed on 2010/05/26 20:41 UTC
Read the original article Hit count: 472

Filed under:
|
|
|

Hi everyone !!

I am trying to sniff HTTP data through libpcap and get all the http contents (header+payload) after processing the TCP payload.

As per my discussion at http://stackoverflow.com/questions/2905430/writing-an-http-sniffer-or-any-other-application-level-sniffer , I am facing problems due to fragmentation - I need to reconstruct the whole stream (or defragment it) to get a complete HTTP packet, and this is where I need some help.

Thanks in anticipation !!

© Stack Overflow or respective owner

Related posts about http

Related posts about sniffer