Robert Thornthwaite wrote:
If I turn off promiscuous mode, the NICs won't receive the packets from the network and my bridge would be useless.Goran,
Turn off promiscuous mode.
Look at the flags for the new pcap_open() function or if you are using one of the other functions there is a similar parameter you can use.
Robert Thornthwaite
I'm working on a very simple software ethernet bridge using winpcap. It uses only two NICs. Packets received on the first NIC will be sent out on the other and vice versa.
Now, due to the 'loopback' mechanism, everytime I forward a packet, the same packet is then received later on the same nic that it was sent on (which will be forwarded to the first device, which will receive it again and so on...).
================================================================ This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use mailto: [EMAIL PROTECTED]
================================================================
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================
