Oddity with /proc/sys/net/ipv4/conf/all

Oddity with /proc/sys/net/ipv4/conf/all

Post by Nate Eldredg » Sun, 04 Mar 2001 12:30:05



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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. ipv4: move proc stuff from net/ipv4/af_inet.c to net/ipv4/proc.c


   Date: Tue, 29 Oct 2002 11:42:07 -0200 (BRDT)

        Please consider pulling from:

   kernel.bkbits.net:/home/acme/net-2.5

Pulled, thanks.

I just did a push to Linus, so this will go show up in the next round.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. SMP problems

3. Which controls packet forwarding - sysctl.conf or /proc/sys/net/ipv4/ip_forward ?

4. Difficulties updating SUSE 7.2 to kde2.2.

5. New: Divide by zero (/proc/sys/net/ipv4/neigh/DEV/base_reachable_time)

6. Listing users logged on.

7. /proc/sys/net/ipv4/ip_forward problem

8. Group asking, what is best SHELL for scripting?

9. What's the equivalent of /proc/sys/net/ipv4/ip_always_defrag in v2.3?

10. echo 0 > /proc/sys/net/ipv4/tcp_timestamps per [session, reboot, connection]?

11. WHAT IS /proc/sys/net/ipv4/ipfrag_low_thresh

12. connect() timeout decreased with /proc/sys/net/ipv4/* ?

13. /proc/sys/net/ipv4/ip_forward being turned off