[Winpcap-users] Is it possible to use the wincap as
the Tx/Rxdatapath of my own TCP/IP protocol stack?
simonmychen at pchome.com.tw
Mon Oct 31 07:37:14 GMT 2005
Thanks to you that provide me such important informations. My TCP/IP
protocol stack includes the ARP, etherent implementation. I will follow your
guide to solve my problem. Thanks again.
----- Original Message -----
From: "Guy Harris" <guy at alum.mit.edu>
To: <winpcap-users at winpcap.org>
Sent: Friday, October 28, 2005 1:55 PM
Subject: Re: [Winpcap-users] Is it possible to use the wincap as the
Tx/Rxdatapath of my own TCP/IP protocol stack?
> simonmychen wrote:
>> Thanks to guy's response! I know the winpcap's main application is for
>> network packet capture and analysis. Because I need to find the soultion
>> that can verify my TCP/IP protocol stack in PC simulation, I just wanna
>> discuss the possibility of my need by winpcap. Does anyone have tried
>> this method? If I set the different IP addresses to winsocks and my own
>> TCP/IP protocol stack, does the network run correctly(two IP in one MAC
> Probably not. You might try it, but don't be at all surprised if it
> doesn't work - just because an IP packet goes to WinPcap, that doesn't
> mean that it won't *also* go to the host's IP stack (WinPcap is not
> *supposed* to arrange that packets it receives not go to the host's
> networking stack - it's supposed to arrange that that they *DO* go to the
> host's networking stack, so that WinPcap-based applications can be used to
> watch the traffic to and from the host without disrupting what the host is
> doing with the traffic).
> You might try picking a *different* MAC address and having WinPcap run in
> promiscuous mode, and set a capture filter that accepts only
> multicast/broadcast packets and packets being sent to that other MAC
> address (at a previous company we used that technique for running our
> software inside a UN*X process for development and testing, rather than on
> our hardware).
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> SkypeOut ¥´¬ü¥[0.7¤¸/¤À ¥´¤j³°0.9¤¸/¤À ¥ß§YÁÊ¶R>>
More information about the Winpcap-users