Re: Port Mirroring in Linux



Rick Jones wrote:

jeniffer <zenith.of.perfection@xxxxxxxxx> wrote:
I have to implement port mirroring feature in linux.ie All inbound-
outbound packets of a particular interface are mirrored to another
interface. I need to implement it in both the bridging and routing
paths.Is there any utility in linux which helps to do this?

A bit of coding around libpcap to sniff traffic on one or more
interfaces and then just dump them out the desired interface sounds
like it would do the trick. If the mirror interface is also being
sniffed it might require a bit more logic to avoid loops.

Something like tcpbridge?
.



Relevant Pages