Re: net/ipv4/conf/* config order

Thomas 'Dent' Mirlacher (dent@cosy.sbg.ac.at)
Mon, 13 May 2002 10:39:21 +0200 (MET DST)


--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/