I wonder if there is some way to set win 7 network behavior compatible with xp.Try to solve the problem with least modification<br><br><div class="gmail_quote">On Wed, Mar 2, 2011 at 9:37 PM, Alberto Avanzi <span dir="ltr"><<a href="mailto:alberto.avanzi@keeneo.com">alberto.avanzi@keeneo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<font face="Calibri">Hi,<br>
<br>
I found some time ago a problem similar to yours, that make me
think that yes, network behavior changed from<br>
XP to Win7.<br>
<br>
In my case, packets emitted on a multicast socket using standard
winsock2 API AND with TTL=0 are NOT SEEN by winpcap <br>
(that runs on the same host because of TTL=0). Changing TTL to 1
allows winpcap to receive them on the local host or on<br>
a remote host on the same network.<br>
<br>
This has changed from XP, where TTL=0 packets were seen and
captured by winpcap.<br>
<br>
Someone suggested that probably win7 does not inject datagrams
with TLL=0 into the network adapter, but uses a<br>
somehow different distribution system.<br><font color="#888888">
<br>
A.<br>
</font></font><div><div></div><div class="h5"><br>
On 02/03/2011 13:46, you yuan wrote:
<blockquote type="cite">Hi,Thanks for help.<br>
According to the test, it's ok for transmitting on different
computers. <br>
I have written a simple cmd program using winpcap's api to receive
packets from the loopback adapter. It shows capture is ok.<br>
So I think maybe something changed for xp and win7 loopback
adapter system.<br>
The winpcap's api and winsock's mechanism behave differently on xp
and win 7?<br>
<br>
<div class="gmail_quote">On Wed, Mar 2, 2011 at 2:02 PM, Gianluca
Varenni <span dir="ltr"><<a href="mailto:Gianluca.Varenni@riverbed.com" target="_blank">Gianluca.Varenni@riverbed.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Do the same packets get send on a standard non-loopback
adapter (i.e. transmitter and receiver on different
computers)?<br>
<br>
Have a nice day<br>
GV<br>
<br>
________________________________________<br>
From: <a href="mailto:winpcap-users-bounces@winpcap.org" target="_blank">winpcap-users-bounces@winpcap.org</a>
[<a href="mailto:winpcap-users-bounces@winpcap.org" target="_blank">winpcap-users-bounces@winpcap.org</a>]
On Behalf Of you yuan [<a href="mailto:yuanprivacy@gmail.com" target="_blank">yuanprivacy@gmail.com</a>]<br>
Sent: Sunday, February 27, 2011 3:39 AM<br>
To: <a href="mailto:winpcap-users@winpcap.org" target="_blank">winpcap-users@winpcap.org</a><br>
Subject: [Winpcap-users] win 7 loopback adapter with winpacp
pcap_sendpacket sending multicast packets<br>
<div>
<div><br>
HI,everyone<br>
Recently I have come across a problem concerning winpcap
sending multicast packets on windows 7 loopback adapter.<br>
Here have an application with two componets.One componet
is a<br>
simulator using winpcap to send and receive multicast
packets on<br>
windows networks adapters with fixed ip(i.e,192.10.x.x).
Another is a net module using winsock's
setsockopt,ioctlsocket, recvfrom etc<br>
functions to receive multicast packets sent by the first
componet.<br>
My problem is when I use windows 7 loopback adapter with
fixed ip,the first compent can send packet out(see it from
the wireshark), But the net module component can't receive
any packets. However, the same application really works on
windows XP.<br>
I rarely know anything winpcap packet sending mechanisms
with<br>
windows loopback adapter.I don't know how to fix the
problem under windows 7.<br>
I have searched many times but gain nothing.Does anyone
have the similar problem or know something or some
keywords about this, please help. Thanks in advance.<br>
<br>
</div>
</div>
_______________________________________________<br>
Winpcap-users mailing list<br>
<a href="mailto:Winpcap-users@winpcap.org" target="_blank">Winpcap-users@winpcap.org</a><br>
<a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
Winpcap-users mailing list
<a href="mailto:Winpcap-users@winpcap.org" target="_blank">Winpcap-users@winpcap.org</a>
<a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a>
</pre>
</blockquote>
</div></div></div>
<br>_______________________________________________<br>
Winpcap-users mailing list<br>
<a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br>
<a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
<br></blockquote></div><br>