Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-users: Antwort: Re: [Ethereal-users] Getting errors by reading from stdin

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Mon, 18 Jul 2005 16:06:07 +0200

Hey!

Thanx for the quick response!

If i do it as described below, i get another error!

1.) Error reading from pipe: Bad address

2.) As no data was captured, closing the temporary capture file

        Cheers! Elvis






> > ssh user@machine "/usr/local/sbin/tcpdump -i qfe1 -xX -w-" |ethereal -i - -n -k -S -l -p

> The parameter "-i -" will not work on all machines, see http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=265
>
> Currently no workaround, sorry.

If that is the -i problem this should work:

$ mkfifo pcap_fifo
$ ethereal -i pcap_fifo -n -k -S -l -p &
$ ssh user@machine "/usr/local/sbin/tcpdump -i qfe1 -xX -w-"  >> pcap_fifo

Luis
--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan

_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users