Modify

Opened 15 years ago

Closed 15 years ago

#1206 closed Bug (Wont Fix)

UDPRecv Only sees RAW packets with UDPBind

Reported by: MrBeatnik <palebluecreations@…> Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description

Hi,

The UDP Functions seem to only look at raw packets.
Under certain circumstances, the raw packets are not picked up, however if listening on NDIS bindings, packets can be received. It would be nice if we could specifiy what to bind to when listening with UDPBind().

In particular, I am attempting to listen for a packet in Windows PE (PE3 - Windows 7). I can't find anywhere that says that PE isn't supported? However, it would still be a nice feature in other versions of Windows.

I have two autoit scripts.
One sends packets, the other listens.
If both scripts are run on Windows XP machines, the data is received. However if the listening script is run on Windows PE, then it is never received by the script.

On the Windows PE machine:
If I run wireshark on the port, I can see the data being received.
If I run a tool in PE and switch to NDIS sniffing (IPTools - http://erwan.l.free.fr/), I can see the data being received.

This seems to be a limitation in the UDP functions where it only binds to RAW and allows us no choice? NOTE This does not affect sending via UDP - Sending in PE works fine, it is just receive that has the problem.

Attachments (2)

UDPListen.au3 (1.2 KB) - added by MrBeatnik <palebluecreations@…> 15 years ago.
This is the receiving script - listening for UDP packets.
UDPSend.au3 (741 bytes) - added by MrBeatnik <palebluecreations@…> 15 years ago.
This is the sending script. Need to change IP address.

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by MrBeatnik <palebluecreations@…>

This is the receiving script - listening for UDP packets.

Changed 15 years ago by MrBeatnik <palebluecreations@…>

This is the sending script. Need to change IP address.

comment:1 Changed 15 years ago by MrBeatnik <palebluecreations@…>

The debug information shows:
Environment = 3.3.0.0 Compiled under WIN_VISTA X86

comment:2 Changed 15 years ago by MrBeatnik <palebluecreations@…>

This problem also shows with 3.3.1.1

comment:3 Changed 15 years ago by Nutster

  • Resolution set to Wont Fix
  • Status changed from new to closed

Windows PE has only some drivers, including network drivers, enabled. To prevent Windows PE from being used as a server, most listeners, including UDF, are not enabled under Windows PE.

See http://technet.microsoft.com/en-us/library/cc766093(WS.10).aspx for information.

So in summary, this is an operating system limitation, not an AutoIt limitation, so we can't change this behaviour.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.