In-kernel packet forwarding from one port to multiple ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

on a Linux-based system I need data incoming on a TCP port to be
automatically redirected to other 50 local ports without going through
user-space's send/recv. Each port needs to receive a copy of all
incoming traffic. All ports are local to the same machine.

I've discarded the splice syscall due to the limit of one endpoint
being a file. I guess that iptables is the right tool for this
purpose, but I can't figure out the right syntax for this purpose.

Can you please me an advice about to set-up tjhe iptables rules ?

Many thanks and best regards,

             Claudio
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux