From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9325,c37d7514abbf197e X-Google-Attributes: gidf9325,public X-Google-Thread: 1164f8,c37d7514abbf197e X-Google-Attributes: gid1164f8,public X-Google-Thread: f9391,c37d7514abbf197e X-Google-Attributes: gidf9391,public X-Google-ArrivalTime: 2002-10-14 01:36:09 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: g000ze@gmx.net (gooze) Newsgroups: comp.sys.dec,comp.unix.bsd.openbsd.misc,comp.protocols.tcp-ip Subject: Re: need binary file from tcpdump ascii logfile Date: 14 Oct 2002 01:36:08 -0700 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 81.6.20.140 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1034584569 27245 127.0.0.1 (14 Oct 2002 08:36:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 14 Oct 2002 08:36:09 GMT Xref: archiver1.google.com comp.sys.dec:14523 comp.unix.bsd.openbsd.misc:20681 comp.protocols.tcp-ip:19936 Doc wrote in message news:... > On 11 Oct 2002 04:43:28 -0700, gooze wrote: > > Doc wrote in message news:... > >> On 9 Oct 2002 05:06:11 -0700, gooze wrote: > >> > is there a way to make a binary tcpdump output file out from the ascii > >> > output file? (next time i will run tcpdump command with the "tcpdump > >> > -w outputfile" instead the "tcpdump > outputfile" option). > >> > >> "man tcpdump" > > > > oh, thanx a lot mr. smart. can you give me the exact line number where > > this feature of tcpdump is explained? hope you are not searching for > > 10 hours. smile > > My bad, and my apologies. First reading missed that you already _have_ > the ascii file. I was referring to the "-w" option. > You're pretty much stuck with a visual analysis, AFAIK. You might be able > to use sed or grep to extract what's relevant. > > Doc thank you all for your messages. that confirms what i was actually worrying about. there is no way to reconstruct a binary file from an ascii file. what a pitti. i will try to help myself with sed, grep and awk cheers, gooze