mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Roberto Nibali <ratz@drugphish.ch>
To: Narancs v1 <narancs@narancs.tii.matav.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: net/ipv4/conf/* config order
Date: Mon, 13 May 2002 09:36:00 +0200	[thread overview]
Message-ID: <3CDF6CE0.4080604@drugphish.ch> (raw)
In-Reply-To: <Pine.LNX.4.44.0205130845570.2881-100000@helka>

Hello,

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

> 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 linux-net@vger.kernel.org.
-- 
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc


  reply	other threads:[~2002-05-13  7:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13  6:51 Narancs v1
2002-05-13  7:36 ` Roberto Nibali [this message]
2002-05-13  8:39   ` Thomas 'Dent' Mirlacher
2002-05-13  8:55   ` Narancs v1

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CDF6CE0.4080604@drugphish.ch \
    --to=ratz@drugphish.ch \
    --cc=linux-kernel@vger.kernel.org \
    --cc=narancs@narancs.tii.matav.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®