[Winpcap-users] WinPCAP as a loopback device
Paal Tamas
paal_to at freemail.hu
Tue Aug 18 07:17:55 PDT 2009
Hi!
A system restart helped a lot... (It is a bit strange.)
Finally, after I restarted the PC, my two applications (running on the same PC) can communicate to eachother using a physical ethernet device (that is connected to a HUB to have a live link).
However, it is still not working over the Microsoft Loopback device. Do you have any experience with this loopback device?
Thanks,
Tamas
írta:
> Hi!
>
> I'd like to use WinPCap as a communication channel between applications running on the same PC. I tried this, but it did not work.
> 1. As a first try I started two applications (of mine) that open the same physical ethernet card (using WinPCAP 4.0.2). The first application sent out a frame (I was able to capture it using Wireshark running on another machine, connected to the ethernet card in use), but I was not able to receive this frame by my other application (running on the same PC as the sender).
>
> 2. As a second try, I installed the Microsoft Loopback device, and tried the same as before, with the same (un)luck. (There was no Wireshark on the other end, since there is no other end in this case...)
>
> 3. If I try to capture the traffic using Wireshark on the same PC as the sender is, it captures nothing.
>
> I use the ethernet device in PROMISCUOUS mode by setting only the PCAP_OPENFLAG_PROMISCUOUS flag for pcap_ope n(). Why am I not able to capture the packet ,sent by my 1st application, in my 2nd application on the same PC? Is it a theoretical problem, or I have a configuration issue?
>
> Certainly this all is only a test. I will use PCAP and the ethernet card as an interface between several machines in the future, but it would be nice if I could create a "Virtual system" on a single PC too.
>
> Thank you in advance.
> Tamas
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090818/feeb3302/attachment.htm
More information about the Winpcap-users
mailing list