I am using jNetPcap library to extract packet information from an offline Pcap file.When I capture packets on Wi-fi network with Microsoft Interface I am able to extract the Http header with all fields. However with Intel Interface(i.e when I am on Proxy Connection), I am unable to get the complete http header, certain fields such as RequestURl,Request Version,RequestMethod are missing, Although they are visible in my Pcap file. Kindly let me know why this happens.
And the output is :
Http: ******* Http offset=54 (0x36) length=463 protocol suite=TCP/IP
Http:
Http: HOST = google.com
Http: PROXY-CONNECTION = keep-alive
Http: USER-AGENT = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7
Http: ACCEPT = text/html,application/xhtml+xml,applic(etc..)
Http: REFERER = http://googleads.g.doubleclick.net/pagead/drt/s
Http: ACCEPT-ENCODING = gzip,deflate,sdch
Http: ACCEPT-LANGUAGE = en-US,en;q=0.8
Http: ACCEPT-CHARSET = ISO-8859-1,utf-8;q=0.7,*;q=0.3
asked
20 Feb '12, 12:03
Rhiya
0●3●3●5
accept rate:
0%
And exactly how does this relate to Wireshark?