Re: packet copy/forward with iptables

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

 



Sven Schuster wrote:
Hi,

On Wed, Jan 26, 2005 at 04:34:57PM +0100, Örjan Gustavsson told us:

That is why I came up with the idea of using a 'shadow' device like a tap device and copy all incoming packets to that interface, while sending on the 'real' interface.


you might want to take a look at netfilter patch-o-matic-ng. There's
a target called "ROUTE" to which not long ago an option "tee" was
added. This option will mirror the packets and send it out to the
given destination.  See
http://marc.theaimsgroup.com/?l=netfilter-devel&m=110120039531252&w=2


HTH

Sven



Thanks for the tip.

Hmm.. Does this work only on L3? I actually need to be able to handle all sorts of packets, not only IP.

/Örjan

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux