Ethereal-users: [Ethereal-users] pdumpq output through pipe

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

From: Charly Baker <cbaker@xxxxxxxxxxxx>
Date: Sun, 24 Mar 2002 12:35:09 -0500
I am using pdumpq to capture output from the QUEUE target in iptables.
The pdumpq docs suggest that the syntax:

pdumpq - | tethereal -nr /dev/stdin

should provide a real time picture of the packets that are logged
through the QUEUE mechanism, but when I try it, nothing is ever printed.

The following does work:

pdumpq - |  tcpdump -nr -

so it seems the pdumpq - | part is OK, and the problem seems just to be
that tethereal doesn't like to get its input from /dev/stdin.

Is there any way to make this work?  I would really like to be able to
see the packets that are rejected by an iptables firewall script in a
format not as ugly as the iptables log format.  I know that I could send
them to a pcap file and then see them later in batches but what I am
looking for is a way to see these packets in real time.

Thank You

Charly Baker