I would like to write code in c++ that reassemble http request response packets and save then in some container..
so I downloaded the wireshark source code and found the
I tried to look for the actual parts that using this code to reassemble the TCP packets and get the HTTP request\response- but with no success.
It will be very helpful if someone could direct me to this HTTP request\response dissector, or to some code example for that matter.
What are the set of commands to "filetr" HTTP and where is the "pointer"\data structure that holds that request\response?
asked 15 Jul '17, 05:31
edited 15 Jul '17, 06:07
TCP reassembly is carried out via several routines in packet-tcp.c and epan/reassemble.c. Note that the code is C, not C++ and is very complicated and unlikely to be easily extractable.
The code is licensed under GPL2, so please observe the license conditions.
answered 15 Jul '17, 07:40