Project

General

Profile

Actions

Bug #254

closed

http.log doesn't log all the Http Get Requests

Added by Peter Manev over 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

It seems that http.log doesn't log all the Http Get Requests. At least when compared to a tcpdump or tshark pcap file.
Most of the requests that http.log is missing are:
*.jpg
*.js
*.css
*.png
**.swf

Please find attached a small script that I wrote to compare a pcap with http.log. Please make sure you have tshark installed.
basic usage is :
./tcomppcaphttplog pcap_file http.log result
You can open up a couple of web pages to compare the different outputs.


Files

tcomppcaphttplog (4.5 KB) tcomppcaphttplog Peter Manev, 12/16/2010 07:25 AM
http.log (59 KB) http.log http.log from Suricata Peter Manev, 01/06/2011 03:19 AM
tsharkdump (4.2 MB) tsharkdump pcap file generated using tshark Peter Manev, 01/06/2011 03:19 AM
unmatchedhttp.log (1.44 KB) unmatchedhttp.log unmatched http_get requests in the http.log file - not found in the tshark pcap Peter Manev, 01/06/2011 03:19 AM
unmatchedhttpgettsharkdump (4.29 KB) unmatchedhttpgettsharkdump unmatched http_get requests in the tshark pcap file - not found in the http.log Peter Manev, 01/06/2011 03:19 AM
result (124 KB) result matched http_get requests - found in both tshark pcap and http.log Peter Manev, 01/06/2011 03:19 AM
Actions

Also available in: Atom PDF