linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Oddity with /proc/sys/net/ipv4/conf/all
@ 2001-03-03  3:26 Nate Eldredge
  0 siblings, 0 replies; only message in thread
From: Nate Eldredge @ 2001-03-03  3:26 UTC (permalink / raw)
  To: linux-kernel

According to Documentation/networking/ip-sysctl.txt:

conf/all/* is special and changes the settings for all interfaces.

However, I did this:

mercury:~# echo 1 >/proc/sys/net/ipv4/conf/all/log_martians 
mercury:~# cat /proc/sys/net/ipv4/conf/all/log_martians 
1
mercury:~# cat /proc/sys/net/ipv4/conf/lo/log_martians 
0
mercury:~# cat /proc/sys/net/ipv4/conf/eth0/log_martians 
0

So it looks like the changes are not reflected in the individual
interfaces.  What's going on?

Also, can anyone tell me how to test whether these options are
working?  (For instance, how can I send myself a martian packet, to
see if it is logged?)  I considered the possibility that the option
really is on, and sysctl just doesn't report it, but I didn't know how
to find out.

This is kernel 2.4.2-ac7.

-- 

Nate Eldredge
neldredge@hmc.edu

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-03  3:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-03  3:26 Oddity with /proc/sys/net/ipv4/conf/all Nate Eldredge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).