----- Original Message ----- From: "Goran B" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 24, 2004 10:45 PM Subject: [WinPcap-users] Disable capturing of outgoing packets
> Hello Everybody, > > 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...). > > I'm using Windows XP Professional and I've tried to modify the NPF > driver to set the NDIS_FLAGS_DONT_LOOPBACK on outgoing packets but it > does not work. > I've also tried to set NDIS_FLAGS_DONT_LOOPBACK|0x400 which is supposed > to be an undocumented feature of win2k but that didn't work either. Hi. If I remember well, the right flag under Windows XP is NDIS_FLAGS_SKIP_LOOPBACK. I've answered a similar question some time ago on this mailing list, it's archived here http://www.mail-archive.com/[EMAIL PROTECTED]/msg00832.html Have a nice day GV > > Have you experienced similar problems? Is there any solution to this? > > > > ================================================================== > 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] ==================================================================
