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

> 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

> so does it mean, that source routed packets are all dropped in all
> interfaces, or does it mean that all accepted?

They will be dropped on all interfaces since /all/accept_source_route=0.
Now you need to know that:

/all/${var} means: enable this feature ${var}
/default/${var} means: inherit /all/${var} on newly instances of a
physical interface

> Yes, I want to disable it, and some other parameters, too, so shall I set
> all of them respectively to 0 or 'all' = 0 will do the task?

all=0 should do the task.

Best regards,
Roberto Nibali, ratz

ps.: I don't think this question belongs to lkml, next time you should
maybe choose
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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