This is a not simple problem: it is possible to modify the winpcap driver so that the packets sent are not captured again.
Unfortunately, this behaviour is possible only under Win2000 (through an undocumented feature of NDIS) or XP (through a documented NDIS AP); it is impossible under 9x/ME and NT4 OSes.
 
You can find some hints of how to deal with this problem here
 
 
(sorry for the length of the links, they are messages on the MS DDK newsgroup)
 
GV
 
----- Original Message -----
Sent: Monday, April 22, 2002 9:23 AM
Subject: [WinPcap-users] Winpcap problem

Hi ALL !!

I am using the WinPcap Library(ver 2.3) in order to send and receive ETH traffic through the network adapter (E100B-100).

I have a problem that I receive all traffic that I send even if the network adapter is open (has no connection on it).

When the network adapter has a loop, I receive every packet twice.

I think that the WinPcap is automatically captures every packet that it sends, And when there is a loop on the network adapter I see the same packet twice - The one that was captured automatically, and the one that it receives through the loop.

It also happens when I run the examples (traffic generation and testapp).

Is there a way to avoid the automatic capture of outgoing frames ?

If anyone has a solution to my problem please response.(I work under Windows 98).

Regard's

Parancher Semion
Automatic Test Equipment Development Dep.
RAD Data Communications Ltd.
Phone: +972-3-6455145
Fax : +972-3-6488785
Email: semion_p@rad.co.il

 

Reply via email to