Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Search Forums:



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-02-2009
Registered User
 

Join Date: Jan 2009
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
processing tcpflow output

I'm using tcpflow to analyze traffic traces. When I launch tcpflow with -r option it creates some files, one for each flow. The problem is that some of these files are not readable. I tryed to process them with awk, but also using it i cannot visualize them correctly. Can anyone suggest me a solution?
Sponsored Links
    #2  
Old 02-02-2009
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,419
Thanks: 0
Thanked 6 Times in 6 Posts
Hello, while looking at the internet man page for tcpflow, -r switch means "Read packets from file, which was created using the -w option of tcpdump". Are you sure that you've got the right ones ? When you run "file" against the files, what does it say ?
Sponsored Links
    #3  
Old 02-02-2009
Registered User
 

Join Date: Jan 2009
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
I solved it running tcpflow -r filename.pcap -s. Thanks anyway
    #4  
Old 04-18-2009
Registered User
 

Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Connection packets seperation

I want to separate each tcp or udp connection packets into a separate file, is there any tool available which can do this.
Sponsored Links
    #5  
Old 04-19-2009
Registered User
 

Join Date: Jan 2009
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
try wireshark
Sponsored Links
    #6  
Old 04-20-2009
Registered User
 

Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
wireshark does not separate the connection packets, but has an option to manually ask it to that. I have a very huge file containing 40-50 k connections. manually separating is just infeasible.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
processing tab-formated output of command w/bash sweede Shell Programming and Scripting 2 05-23-2008 09:17 PM
how to make a line BLINKING in output and also how to increase font size in output mail2sant Shell Programming and Scripting 3 04-14-2008 07:30 AM



All times are GMT -4. The time now is 11:38 PM.