Re: WinXP and raw sockets ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: QNils_O=2E_Sel=E5sdal=22?= (NOS_at_Utel.no)
Date: 02/17/05


Date: Thu, 17 Feb 2005 13:22:31 +0100

Arkady Frenkel wrote:
> Yes in SP2 using TCP in raw sockets forbidden , on the contrary you do can
> use UDP but only if IP in the packet is of your machine. That struggle with
> DOS-attackers.
> No workaround , but you really can implement your protocol ( NDISPROT in
> DDK ) and send data with proprietary IOCTLs
> Arkady
Note that I said SCTP. There is no sending/receiving of TCP or UDP packets..
Oh, I can btw send the SCTP packets, seems to work. But the code
that works fine on SP1 and older doesn't receive anything..

> ""Nils O. Selåsdal"" <NOS@Utel.no> wrote in message
> news:oiZQd.9287$IW4.222358@news2.e.nsc.no...
>
>>Now, we have an implementation of the SCTP (RFC2690) on top of raw
>>sockets. To my surprise the code that ran fine on older windows versions
>>stopped working on a WinXP machine with Service Pack 2 installed.
>>(it seems to be able to send packets, but not receive).
>>A little digging around sigguests Microsoft disabled/removed various
>>features regarding raw sockets. Anyone have some more techincal pointers
>>on this ?
>>And, what alternatives do we now have to implement our own protocols in
>>userspace, on top of IP ?
>>
>>--
>>Nils O. Selåsdal
>>www.utelsystems.com
>
>
>

-- 
Nils O. Selåsdal
www.utelsystems.com


Relevant Pages

  • Re: WinXP and raw sockets ?
    ... IMHO they look for SCTP as TCP in service provider, ... > Arkady Frenkel wrote: ... There is no sending/receiving of TCP or UDP ... > Oh, I can btw send the SCTP packets, seems to work. ...
    (microsoft.public.win32.programmer.networks)
  • Re: UPD better than TCP in streaming video/audio ?
    ... > UDP gains speed over TCP because it carries no information that would ... it doesn't even know that packets were lost. ... which is perfect for UDP. ... > Finally, there's the possibility of multicast data - for instance, a live ...
    (microsoft.public.win32.programmer.networks)
  • Re: Linux equivalent for ioctlsocket(FIONREAD) on datagram sockets
    ... Imagine that fast CPU sends a burst of UDP ... spirit of UDP standard should do in that particular case? ... blocking a clling thread until the NIC hardware ... reads one or more packets from socket's send buffer freeing up space ...
    (comp.os.linux.development.apps)
  • Re: NTP and Firewall help needed.
    ... >>port 123 for udp and tcp. ... The action here is applied for packets that fall off ... > - ACCEPT any and all traffic coming from the localhost interface ...
    (comp.os.linux.setup)
  • Re: Possible bug in .Net 2.0 udp sockets?
    ... You won't miss any UDP packets with a buffer that large! ... R> I called BeginReceiveFrom() several times on purpose, ... If you don't do that, indeed, UDP stack can drop packets. ... it stores it in the queue. ...
    (microsoft.public.dotnet.framework)