Re: Port Mirroring in Linux



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jeniffer wrote:

thanks for the reply but No, I dont have to set up a bridge.A bridge
looks at its table's entry and says that packets with the mac 'Mi'
must be forwarding to interface X.Bridge does flooding,learning and
forwarding.
I need a behavior where I say that all packets coming and going on an
interface X must be given to another interface Y.

You mean having something like an interface "eth1" which has all the
traffic "eth0" has. So if you wanted to sniff activity on "eth0", you can
simply sniff on "eth1", right...

- --
Ashish Shukla
http://wahjava.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHJynoHy+EEHYuXnQRAkZGAKCbZ3spzOVrNFzipNn+SlieWrbvVACgrvQM
3tmI9T5iZgcIMG6Lp6/1Zg8=
=/rJJ
-----END PGP SIGNATURE-----
.



Relevant Pages

  • Re: A weird routing question.
    ... , and whichever the incoming interface, ... interface in respect to the current routing policy. ... like to do a special treatment on packets incoming via eth0 and whose ... be re-emitted through eth1. ...
    (comp.os.linux.networking)
  • A weird routing question.
    ... , and whichever the incoming interface, ... interface in respect to the current routing policy. ... like to do a special treatment on packets incoming via eth0 and whose ... be re-emitted through eth1. ...
    (comp.os.linux.networking)
  • Re: GRE keepalives, again
    ... same thing - forwarding packets with local addresses. ... real need to ever forward packets coming with local source address. ... GRE tunnel. ... The only way to "enable IP" on IP_GRE interface is to ...
    (Linux-Kernel)
  • Re: Make a DHCP server using Fedora - Help
    ... avoid it if you run a nameserver and squid proxy on the host ... need the host to route the packets if you have a NAT gateway ... the source address of the client will be replaced with the address of the forwarding interface and the host performing this will maintain a table of connections to do the reverse mapping as the reply packets come back. ...
    (Fedora)
  • Re: A weird routing question.
    ... interface in respect to the current routing policy. ... like to do a special treatment on packets incoming via eth0 and whose ... output via interface eth1. ...
    (comp.os.linux.networking)