lkml.org 
[lkml]   [2002]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: net/ipv4/conf/* config order
--snip/snip

> > sysctl -a|grep source
> > net/ipv4/conf/eth2/accept_source_route = 1
> > net/ipv4/conf/eth1/accept_source_route = 1
> > net/ipv4/conf/eth0/accept_source_route = 1
> > net/ipv4/conf/lo/accept_source_route = 1
> > net/ipv4/conf/default/accept_source_route = 1
> > net/ipv4/conf/all/accept_source_route = 0
>
> Basically, accept_source_route says how to handle packets with the SRR
> option set. If 1 (default for a router) it accepts those packets, if 0
> (default for a host) it will drop them. [This is actually written in
> ../Documentation/networking/ip-sysctl.txt]

--snip/snip
> ps.: I don't think this question belongs to lkml, next time you should
> maybe choose linux-net@vger.kernel.org.

beside your explanation, IMHO this belongs to the ML, since the
implementation generates confusion for the user.

wouldn't it be better to implement something like

/all/* = -1 means i don't have set this for all

and if i set something for /all/* this should be reflected in the individual
entries as well?

just my $0.02

tm

--
in some way i do, and in some way i don't.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.041 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site