[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 18:53:24 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0 |
Follow-up Comment #4, bug #33128 (project lwip):
> The reason is that there is a check to see if the packet's
> source address is equal to the netif's address (around line 560 in udp.c
Now that's what I call a bug: the code selects an interface to send to and
some lines below rejects its own choice :-) We should fix that...
> This would be bad because the 10.0.0.254 gateway is not
> connected to the internet
This is a common routing problem: you just have the default-netif wrong. If
you have 2 netifs where one should be used for unknown (internet-) traffic,
than that should be the default netif, not the other one. You get that problem
under windows or linux, too. On windows, for example, you have to adjust the
interface metric to adjust the routing table. And yes, you do get these
strange wireshark logs where you see the source address of interface A while
logging interface B.
To me that's not an lwIP problem but simply a routing issue. However, due to
lwIP's limited routing "table", routing is more limited than on other stacks.
_______________________________________________________
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, 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 <=
- [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