Bug 71505 - configuring rp_filter for an interface that is added after boot
Summary: configuring rp_filter for an interface that is added after boot
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts   
(Show other bugs)
Version: 7.3
Hardware: All Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-14 15:02 UTC by D. Hugh Redelmeier
Modified: 2014-03-17 02:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-29 20:13:51 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description D. Hugh Redelmeier 2002-08-14 15:02:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020313

Description of problem:
/proc/sys/net/ipv4/conf/eth0/rp_filter controls the (poorly documented) reverse
path filter feature for eth0.  The user can control this through
/etc/sysctl.conf, but sysctl(8) is only run automatically at boot time.  Since
interfaces are brought up at other times, the right control would be a new
variable within /etc/sysctl/network-scripts/ifcfg-*. ifup should implement this.


Version-Release number of selected component (if applicable):
initscripts-6.67-1

How reproducible:
Always

Steps to Reproduce:
On a notebook with eth0 on a PCMCIA card
On a notebook where eth0 is a PCMCIA card:
1.in /etc/sysctl.conf, place "net.ipv4.conf.eth0.rp_filter = 0"
  but leave net.ipv4.conf.default.rp_filter = 1
2.reboot machine
3.insert eth0
4.examine /proc/sys/net/ipv4/conf/eth0/rp_filter.  It will be 1 but should be 0.
	

Actual Results:  /proc/sys/net/ipv4/conf/eth0/rp_filter is 1

Expected Results:  /proc/sys/net/ipv4/conf/eth0/rp_filter is 0

Additional info:

rp_filter should be better documented.  It does not seem to be mentioned in the
man pages.  It is described in the kernel source files:
Documentation/filesystems/proc.txt Documentation/networking/ip-sysctl.txt

Comment 1 Bill Nottingham 2005-09-29 20:13:51 UTC
Closing bugs on older, no longer supported, releases. Apologies for any lack of
response.

Realistically, the best way to support this is probably via a udev rule on
device creation in current releases.


Note You need to log in before you can comment on or make changes to this bug.