[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #33128] Socket send() and sendto() do not use bound in
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface. |
Date: |
Wed, 20 Apr 2011 07:52:24 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0 |
Follow-up Comment #2, bug #33128 (project lwip):
> Something that doesn't quite make sense to me is that for lwIP
> to be selecting the wrong interface, you must have more than one
> interface that can reach the destination. I.e. overlapping IP
> subnets. This isn't something that lwIP aspires to support.
That's what makes me think the current behaviour is correct: why should
routing consider the source address (wouldn't that make it stateful, which it
isn't?):
a) If there's more than one route than that's currently not supported by lwIP
(or we would need a more complex routing algorithm).
b) If there's only one route to the (remote) address in question, then why
would the local socket be trying to send to that address (if it's not
reachable via its "interface").
My impression of this is that this is not a problem for TCP since a TCP socket
bound to a specific interface simply would not get a connection into a running
state.
Also, the solution with the "bound_if" sounds very much like SO_BINDTODEVICE
to me!
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?33128>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Ken MacKay, 2011/04/19
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Kieran Mansley, 2011/04/20
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface.,
Simon Goldschmidt <=
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Ken MacKay, 2011/04/20
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Simon Goldschmidt, 2011/04/20
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Ken MacKay, 2011/04/20
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Simon Goldschmidt, 2011/04/21
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Kieran Mansley, 2011/04/21
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Bill Auerbach, 2011/04/25
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Bill Auerbach, 2011/04/25