hii, I want to capture all the http packets having all the response information like message type(GET/POST),etc. Also if the method is POST then postbody also I want to capture. I am using Net::Pcap for achieving this. The filter string that I am using is "port 80". But the output I am getting is not desirable. I am getting a lot of extra unwanted data along with the required HTTP data. Even the HTTP data that I am getting does not give me postbody which is a must for me. I am using a Unix machine. I posted this problem earlier and was suggested to use tcpdump. It does not capture requests(GET/POST) from local LAN(http://192.168.1.111/xxx.php). So even using that does not give me proper HTTP analysis. Ideally, I want a perl based solution.
Can somebody please suggest a solution for this. thanks, Mihir
