[CentOS] udp stream multiply

Wed Feb 17 11:41:02 UTC 2010
Simon Billis <simon at houxou.com>

Jure Pečar sent a missive on 2010-02-17:

> 
> 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?
> 
>

Perhaps retransmitting to a multicast address?