Ethereal

Re: [Ethereal-dev] While writing to a pipe, getting some errorneous extra bytes between packets ?!?
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: January 2006


Ulf Lamping wrote:
Guy Harris wrote:

Ulf Lamping wrote:

I'm calling the following (under cygwin):

./tethereal -i 3 -c 10 -a duration:30 -F libpcap -w - >
./testout.pcap 2>./testout.txt


But it works OK if you do

    ./tethereal -i 3 -c 10 -a duration:30 -F libpcap -w testout.pcap

?
Yes, the test case "directly writing to a file" is working well.
Any ideas what is going on?


It is possible that stdout is not being set to binmode by ethereal. I do not have a Cygwin system set up with a compiler to test it, but maybe that is at least part of the issue.

--john



--
John McDermott, CCP
Writer, Educator, Consultant
jjm@xxxxxxxxxx        www.jkintl.com
V: +1 505/377-6293  F: +1 505/377-6313


Powered by MHonArc 2.6.10