[CentOS] udp stream multiply

Jure Pečar pegasus at nerv.eu.org
Wed Feb 17 11:05:18 UTC 2010


Hello,

Not strictly a CentOS question, but I hope someone can hint me in the right direction ...

I have an incoming udp data stream to public interface that I want to duplicate and multipy to three or more destinations on the internal interface.

Currently I've managed to put together netcat listener with output to pipe and socat reading from that pipe to a single destination. I hoped I could have more than one socat reader from the pipe, but that does not seem to be the case. So I'm able to only redirect stream to a single destination on lan.

I'd also like to avoid this mess of shell tools and pipes and am looking for a cleaner solution.

Any hints?


-- 

Jure Pečar
http://jure.pecar.org


More information about the CentOS mailing list