Sniff HTTP session using RAW socket
I'd like to be able to sniff all HTTP sessions on the network.
If possible i'd like to get also the ip and tcp header.
Can I do it using TCP RAW socket?
What about HTTP messages that need to be reassembled?
Actual source will be highly appreciated.