>>>>> "Raghu" == Raghu Uppalli <[EMAIL PROTECTED]> writes:
Raghu> I have two raw tcpdump files with inbound and outbound traffic
Raghu> separated. I now need to merge them so as to run a tool like tcp-reduce.
Raghu> I did (on linux) : paste -d "\n" file1 file2 > file_new.
Raghu> (i couldnt find a binary merge.)
There are no such things as "binary" vs "text" files on Unix, you can just
just do:
cat file1 file2 >file_new
Raghu> When i do tcpdump -r file_new, i get a couple of lines and then get this
Raghu> error:
Raghu> tcpdump: pcap_loop: bogus savefile header.
However, tcpdump/libpcap has a header on each file, so you can not just
concatenate files. Changint his has been on the todo list.
] ON HUMILITY: to err is human. To moo, bovine. | firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe