Networking Forums

Networking Forums > Computer Networking > Linux Networking > how to capture raw data from socket

Reply
Thread Tools Display Modes

how to capture raw data from socket

 
 
Christian Bongiorno
Guest
Posts: n/a

 
      10-28-2004, 04:08 AM
I am curious if there is a commandline way to capture a raw socket
stream and pipe it to a file, or vice versa.

Hopefully some linux Guru has the answer

Christian
 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      10-30-2004, 08:38 PM
Christian Bongiorno wrote:
> I am curious if there is a commandline way to capture a raw socket
> stream and pipe it to a file, or vice versa.
>
> Hopefully some linux Guru has the answer
>
> Christian


tcpdump -w

man tcpdump.

The main tool for packet capture is libpcap. It's also
the engine in tcpdump and ethereal.

HTH

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tcpump/tethereal scripts to capture and archive data guser@packetstorm.org Linux Networking 1 08-07-2006 07:52 PM
How to capture tcpdump data to simulate connections from multiple IPs? draghuram@gmail.com Linux Networking 3 06-24-2006 01:38 AM
Capture network traffic, without the data component of TCP packets. Nick Windows Networking 2 03-19-2005 09:14 PM
Data capture capability for MN-500 Al Broadband Hardware 1 11-16-2004 06:21 AM
Network cable to capture data.. BWGames Linux Networking 2 04-30-2004 08:31 AM



1 2 3 4 5 6 7 8 9 10 11