Hello,

I'm a new user of tcpreplay tools, under Debian Etch (version 3.0) on
intel platform. After a few days trying to use tcpreplay tools, I still
have a problem.

I have two seperated networks, and I need to capture traffic on the
first network and replay it in real time on the second network. Between
these two networks, I have a Debian server with 2 network cards.

I tried to use tcpdump, tcprewrite and tcpreplay with input/ouput
redirection :

# tcpdump -i eth0 -s0 -w - -U | tcprewrite --portmap=80:8080 --infile=-
--outfile=- | tcpreplay --intf1=eth1 -

The idea is to dump traffic on the first interface, modify port 80 to
8080, and replay it to the second interface. But it doesn't work. When
I use input/output files, it works fine, but not with pipe. Tcprewrite
can not use tcpdump output in real time.

Do you have some ideas ?

I also tried to use tcpbridge, but I'm not sureif I can use it on
promiscuous interface.

If someone can help me to choose the good solution, it will be really
nice. If it's the first one, can you tell me why the tcpdump output
can't be inject in real time to tcprewrite ?

Thank you in advance for your help,

Yann

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users

Reply via email to