Networking Forums

Networking Forums > Computer Networking > Linux Networking > Duplicate and forward udp traffic

Reply
Thread Tools Display Modes

Duplicate and forward udp traffic

 
 
triangle
Guest
Posts: n/a

 
      07-01-2004, 02:57 PM
Hi all,

I am looking for a tool that listens on a specific port for incoming
udp traffic and forwards and duplicates this incoming traffic to
***two*** destination hosts/ports. The udp traffic is just one-way
traffic, thus, the traffic flows only in one direction.

Unfortunately, tools such as netcat and netcatv6
(http://www.deepspace6.net/projects/netcat6.html) do not provide this
capability.

Can anybody help?

Thanks, David
 
Reply With Quote
 
 
 
 
Robert E A Harvey
Guest
Posts: n/a

 
      07-01-2004, 09:33 PM
(E-Mail Removed) (triangle) wrote in message news:<(E-Mail Removed). com>...
> Hi all,
>
> I am looking for a tool that listens on a specific port for incoming
> udp traffic and forwards and duplicates this incoming traffic to
> ***two*** destination hosts/ports. The udp traffic is just one-way
> traffic, thus, the traffic flows only in one direction.
>
> Unfortunately, tools such as netcat and netcatv6
> (http://www.deepspace6.net/projects/netcat6.html) do not provide this
> capability.


you might be able to do something with socat and tee -
http://www.dest-unreach.org/socat/

failing that, use a perl script. Read lines from one input (or std
input using socat) and print lines to two outputs.
 
Reply With Quote
 
triangle
Guest
Posts: n/a

 
      07-14-2004, 11:12 AM
Robert,

Thanks for your reply.

I did not know "socat" before and I got to love it in the meantime.

For the records:

I tried to solve my problem with "socat"
(http://www.dest-unreach.org/socat/) and "tpipe"
(http://www.eurogaran.com/downloads/tpipe/) but I did not get it
working reliably.

I then found "flow-fanout"
(http://www.splintered.net/sw/flow-to...low-tools.html) which
does exactly what I was looking for, since I am duplicating NetFlow
traffic.

Now I tried "samplicator"
(http://www.switch.ch/tf-tant/floma/sw/samplicator/) which - after a
quick test - seems to duplicate ***any*** kind of UDP traffic.

Kind regards, David
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Should traffic control root qdisc & child class limit traffic? Washington Ratso Linux Networking 1 02-25-2011 06:48 PM
Duplicate TZanolo Windows Networking 1 02-03-2006 07:22 PM
how to forward all incoming traffic to new server Dica Windows Networking 6 11-11-2005 12:51 PM
Duplicate IP error when there is no Duplicate IP =?Utf-8?B?YWNvcm4=?= Windows Networking 7 11-19-2004 01:25 AM
PLEASE HELP - trying to forward web traffic through firewall w/IPTABLES Justin Morgan Linux Networking 2 08-18-2003 09:24 AM



1 2 3 4 5 6 7 8 9 10 11