
Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Peter,
Thanx for the quick reply. I came across winpcap, and sharppcap, in the course of further research. But, unfortunately, winpcap (and
hence sharppcap) don't support transmitting across PPP WAN connections (they're primarily focused on monitoring ethernet
connections, after all).
So I'm back to square one trying to use raw sockets myself.
One thing that concerns me, though, was that I read WinXP SP2 dropped support for raw sockets. Do you know if that's correct?
- Mark
"Peter Huang" [MSFT] - 04 Jan 2006 08:24 GMT
Hi
Yes, it seems there are more restriction for the RAW socket support in XP
SP2 due to security concern.
http://www.interact-sw.co.uk/iangblog/2004/08/12/norawsockets
Changes to Functionality in Microsoft Windows XP Service Pack 2
Part 2: Network Protection Technologies
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2netwk.mspx
What new functionality is added to this feature in Windows XP Service Pack
2?
Restricted traffic over raw sockets
Detailed description
A very small number of Windows applications make use of raw IP sockets,
which provide an industry-standard way for applications to create TCP/IP
packets with fewer integrity and security checks by the TCP/IP stack. The
Windows implementation of TCP/IP still supports receiving traffic on raw IP
sockets. However, the ability to send traffic over raw sockets has been
restricted in two ways:
? TCP data cannot be sent over raw sockets.
? UDP datagrams with invalid source addresses cannot be sent over raw
sockets. The IP source address for any outgoing UDP datagram must exist on
a network interface or the datagram is dropped.
For detailed information I think you may to post in the newsgroup below.
There would be more network experts there.
microsoft.public.win32.programmer.networks
Thanks for your understanding!
Best regards,
Peter Huang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.