buglwIP - A Lightweight TCP/IP stack - Bugs: bug #2240, UDP server accepts packets from...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #2240: UDP server accepts packets from only one client

Submitted by:  Ed Sutter <esutter>
Submitted on:  Fri 17 Jan 2003 01:26:48 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None
lwIP version: None

Wed 22 Jan 2003 04:25:43 PM UTC, comment #3:

A fix is in CVS:UDP pcb-s keep a connection flag which is checked in sendto to see whether to reconnect to a former peer or disconnect after a tempoarry connection.The flag is also checked in udp_input and for disconnected pcb's it allows any
remote which matches local port/IP.
The fix is pretty large because it had to involve the socket layer and the netconn layer too so there's a new oeration disconnect.If a simpler implementation is found great.
A socket layer directly above the raw API would make it so much simpler......
Closing bug.

Jani Monoses <jani>
Project Member
Fri 17 Jan 2003 02:54:20 PM UTC, comment #2:

This behaviour corresponds with accept() or connect(). The fix probably implements recvfrom() behaviour.

None of both is wrong, but we should make both available and especially well documented.

Discussion started on lwip-users mailing list.

Leon Woestenberg <likewise>
Project Member
Fri 17 Jan 2003 02:51:01 PM UTC, comment #1:

This behaviour corresponds with accept() or connect(). The fix probably implements recvfrom() behaviour.

None of both is wrong, but we should make both available and especially well documented.

Discussion started on lwip-users mailing list.

Leon Woestenberg <likewise>
Project Member
Fri 17 Jan 2003 01:26:48 PM UTC, original submission:

A UDP server appears to "lock on" to the IP address of
the first client that communicates with it. After the first
client transaction, no other client (different IP) can
communcate with that server. Assuming that it is agreed
by all that this is a bug, I have what I think is a
fix for this and will submit a patch.

Ed Sutter <esutter>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 22 Jan 2003 04:25:43 PM UTCjaniStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1