Hi All!
Does any one know if it is possible to copy all incoming packets on an ethernet interface to another interface without any other processing of the packets?
What I'm trying to do is that I want to use libpcap to capture all incoming traffic on an interface, while still be able to send out packets on that interface without them to be recevied by pcap.
So I thought that I should set up a tap0 interface and use iptables to copy all traffic incoming on eth0 to tap0 and then I can use pcap on the tap0 interface, while sending raw frames on eth0.
Do I make any sense? Ideas anyone?
/Örjan Gustavsson
- : 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