Closed GoogleCodeExporter closed 9 years ago
by the way, my python version is Python 2.4.3
Original comment by cuiheng....@gmail.com
on 13 Apr 2011 at 1:28
dpkt doesn't do any TCP stream reassembly. You need to do that yourself.
Here's an example:
http://code.google.com/p/dsniff/source/browse/trunk/dsniff/lib/reasm.py
If you're doing it live, you need to do your own stream parsing instead, e.g.
dsniff's HTTP stream parser:
http://code.google.com/p/dsniff/source/browse/trunk/dsniff/lib/http.py
Good luck!
Original comment by dugsong
on 13 Apr 2011 at 1:51
thanks dubsong,
in this case, maybe dpkt is not the best option for the http response parsing.
do you have any ideas which python modules may be a better choice in the http
parsing in given a libpcap file?
Original comment by cuiheng....@gmail.com
on 13 Apr 2011 at 2:29
Original issue reported on code.google.com by
cuiheng....@gmail.com
on 13 Apr 2011 at 1:11