lwIP - A Lightweight TCP/IP stack - Bugs: bug #33128, Socket send() and sendto() do not...
You are not allowed to post comments on this tracker with your current authentication level.
bug #33128: Socket send() and sendto() do not use bound interface.
Submitter: | Ken MacKay <kmackay> | ||
Submitted: | Tue 19 Apr 2011 08:33:53 PM UTC | ||
Category: | sockets/netconn | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Invalid |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | CVS Head |
Jump to the original submission
Mon 25 Apr 2011 06:22:42 PM UTC, comment #8: |
Bill Auerbach <billauerbach> |
Mon 25 Apr 2011 06:04:43 PM UTC, comment #7:
|
Bill Auerbach <billauerbach> |
Thu 21 Apr 2011 05:25:37 AM UTC, comment #6:
|
Simon Goldschmidt <goldsimon> |
Wed 20 Apr 2011 09:33:58 PM UTC, comment #5: OK. You are correct that we have a bad routing setup issue.
|
Ken MacKay <kmackay> |
Wed 20 Apr 2011 06:53:23 PM UTC, comment #4:
|
Simon Goldschmidt <goldsimon> |
Wed 20 Apr 2011 04:38:32 PM UTC, comment #3: Sorry, I don't have a reference, so possibly it's not supposed to work.
|
Ken MacKay <kmackay> |
Wed 20 Apr 2011 07:52:24 AM UTC, comment #2:
|
Simon Goldschmidt <goldsimon> |
Wed 20 Apr 2011 07:36:58 AM UTC, comment #1: For completeness, do you have a reference for the behaviour you require? I expect it is correct, but having a reference would save me testing and looking for it, so make the fix much quicker.
|
Kieran Mansley <kieranm> |
Tue 19 Apr 2011 08:33:53 PM UTC, original submission:
This is an issue we have noted with UDP sockets, but I believe it applies to all socket types. We have multiple IP interfaces on our device, and we open one socket per interface (and bind the socket to the interface). When we call sendto() on a socket, we expect that the packet will be sent over the interface that we bound the socket to. However, since udp_sendto() (called by the sockets API) uses ip_route() to find an interface, the packet will always be sent either over the first netif with a matching address/netmask, or the default netif if there is no match.
|
Ken MacKay <kmackay> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2011-04-21 | kieranm | Status | None | Invalid | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-4448.
Corresponding source code
Didn't I essentially post this bug back in Oct. 2010?
https://savannah.nongnu.org/bugs/index.php?31367