| To: | Mark Frazer <mark@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [RFC][PATCH] new sysctl net/ipv4/ip_default_bind |
| From: | Andi Kleen <ak@xxxxxx> |
| Date: | Thu, 17 Jan 2002 23:41:03 +0100 |
| Cc: | davem@xxxxxxxxxx, ak@xxxxxx, kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx> |
| In-reply-to: | <20020117172713.A1893@somanetworks.com>; from mark@somanetworks.com on Thu, Jan 17, 2002 at 11:27:13PM +0100 |
| References: | <20020117172713.A1893@somanetworks.com> |
| Sender: | owner-netdev@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.16i |
On Thu, Jan 17, 2002 at 11:27:13PM +0100, Mark Frazer wrote: > The following patch applies against 2.4.17 and creates a new sysctl > node /proc/sys/net/ipv4/ip_default_bind. The purpose of the control > is to allow a default IP address to be selected by the sysadmin for > outgoing connections. That is, for sockets which do not bind(2) the > local end of the socket before calling connect(2). You can already do that using the 'from' attribute in iproute2 aka prefered source address per route. Just set it for your default route. -Andi |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [RFC][PATCH] new sysctl net/ipv4/ip_default_bind, David S. Miller |
|---|---|
| Next by Date: | Re: [RFC][PATCH] new sysctl net/ipv4/ip_default_bind, Mark Frazer |
| Previous by Thread: | Re: [RFC][PATCH] new sysctl net/ipv4/ip_default_bind, David S. Miller |
| Next by Thread: | Re: [RFC][PATCH] new sysctl net/ipv4/ip_default_bind, Mark Frazer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |