IP_FREEBIND and CAP_NET_ADMIN (was: Re: [PATCH/RFC 05/10] Remove local address check on IP output)

2007-02-06 Thread KOVACS Krisztian
On Wednesday 10 January 2007 07:47, Patrick McHardy wrote: > KOVACS Krisztian wrote: > > ip_route_output() contains a check to make sure that no flows with > > non-local source IP addresses are routed. Unfortunately this check > > makes it completely impossible to use non-local bound sockets as no

Re: [PATCH/RFC 05/10] Remove local address check on IP output

2007-01-10 Thread KOVACS Krisztian
Hi, On Wednesday 10 January 2007 07:47, Patrick McHardy wrote: > > diff --git a/net/ipv4/route.c b/net/ipv4/route.c > > index 537b976..bb1158a 100644 > > --- a/net/ipv4/route.c > > +++ b/net/ipv4/route.c > > @@ -2498,11 +2498,6 @@ #endif > > ZERONET(oldflp->fl4_src)) > >

Re: [PATCH/RFC 05/10] Remove local address check on IP output

2007-01-09 Thread Patrick McHardy
KOVACS Krisztian wrote: > ip_route_output() contains a check to make sure that no flows with > non-local source IP addresses are routed. Unfortunately this check > makes it completely impossible to use non-local bound sockets as no > outbound packets will make through the stack. > > This patch mov

[PATCH/RFC 05/10] Remove local address check on IP output

2007-01-03 Thread KOVACS Krisztian
ip_route_output() contains a check to make sure that no flows with non-local source IP addresses are routed. Unfortunately this check makes it completely impossible to use non-local bound sockets as no outbound packets will make through the stack. This patch moves the interface lookup to the multi