Packet Mirroring
conn itnel
connintel1 at gmail.com
Tue Jun 27 15:02:00 CEST 2006
Hello friends,
I have three NIC on my pc, eth0,eth1 and eth2 respectively. The eth0
is directly connected with the internet.
I want the traffic that comes on eth0 will reach eth1 and also eth2
respectively.
For example, If Packet P1 comes to eth0, It duplicates itself and then
should reach to eth1 and eth2.
For that i have searched on the net and tryied Libipq library. By
using "ipq_read" I can easily get the packets at user level but how to
resend the packets back to eth1 and eth2 is not known.
So any one can through some light how to send packets to specific
interface using netfilter or any other way round..
Thank You in Advance..
Have a Nice Time and Good Day ahead..
Regards
Ankur. :-)
More information about the netfilter
mailing list