ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Terechkov Evgenii <evg@evg-krsk.dyndns.org>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] 2.6.38 и rp_filter
Date: Tue, 24 May 2011 18:56:27 +0800
Message-ID: <m3k4dg2wpw.fsf@evg.evg-krsk.dyndns.org> (raw)
In-Reply-To: <201105241147.34973.a_s_y@sama.ru>

On Tue, 24 May 2011 11:47:34 +0400, Sergey <a_s_y@sama.ru> wrote:
> Что-то такое впечатление, что логика поменялась в работе. То ли
> сломали, то ли, наоборот, починили... 
> /proc/sys/net/ipv4/conf/all/rp_filter = 0
> /proc/sys/net/ipv4/conf/default/rp_filter = 1
> /proc/sys/net/ipv4/conf/eth0/rp_filter = 1
> прочие интерфейсы - тоже = 1
> с ядрами по 2.6.27 приоритет имеет, похоже, all, а вот при обновлении
> до 2.6.38 rp filter, внезапно, начинает работать. Приходится, где надо,
> ставить 0 для интерфейса. 

Скорее поменяли. В старых (2003-ий год) доках было так:

conf/all/rp_filter must also be set to TRUE to do source validation
on the interface

В текущем kernel-doc-std-def так:

The max value from conf/{all,interface}/rp_filter is used
when doing source validation on the {interface}.

-- 
                                                С уважением, Терешков
                                                Евгений.

      parent reply	other threads:[~2011-05-24 10:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24  7:47 Sergey
2011-05-24 10:40 ` Anton Farygin
2011-05-24 10:56 ` Terechkov Evgenii [this message]

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=m3k4dg2wpw.fsf@evg.evg-krsk.dyndns.org \
    --to=evg@evg-krsk.dyndns.org \
    --cc=sysadmins@lists.altlinux.org \
    /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

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git