Ethereal-users: Re: [Ethereal-users] Interception of TCP/IP traffic

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

From: Hartmut Mueller <hartmut@xxxxxxxxxxxxxxxxx>
Date: Fri, 16 Feb 2001 11:11:02 +0100
Hi,

I don't know if "netcat" compiles under your OS, but on a Unix box it would 
be the quickest solution.
On Friday, 16. February 2001 09:14, Balaji Kumar Dasari wrote:
> 1. Only my program will receive all the incoming data at port 5000.
You could start netcat in listen mode,

> 2. All other applications even though they are listening at that port 5000,
> they should not get any data.
... netcat intercepts all data to that port...

> 3. My program after analysing the data, should retransmit the data so that
> the other programs listening at port 5000 can receive the data.
... and starts your analyser with all incoming data via one provided exec 
parameter.

You find a scripts in the netcat documentation which addresses your problem.

Yours, Hartmut