Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-17-2008, 06:38 PM   #1
LQ Newbie
Registered: May 2008
Distribution: fedora core 8
Posts: 5

Rep: Reputation: 0
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.

Old 05-18-2008, 03:10 AM   #2
Senior Member
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Check out wireshark


http, raw, socket

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Raw socket programming with C arabindav Programming 17 06-09-2011 11:58 AM
Raw socket programming homePBX Linux - Networking 6 05-02-2008 12:25 PM
Raw Socket Programing djgerbavore Programming 2 08-18-2004 12:58 PM
Socket Raw linuxanswer Programming 1 04-01-2004 09:43 PM
raw socket permition moonloader Linux - Networking 2 12-08-2003 09:20 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration