Re: Disable source routing on RH9 (2.4.20-9)

From: armin walland (geschrei_at_gmx.at)
Date: 05/11/03


Date: Sun, 11 May 2003 12:36:09 GMT

Michael Siebke <ms-news@q-vadis.net> wrote:
> Hi,
>
> I want to disable source routing on a Linux server running RH9 (kernel
> revision 2.4.20-9). My experience from Sun Solaris is that there must be
> a flag disabled in the ip settings on the machine.
>
> As far as I understood the docs about source routing under Linux, there
> is no source routing active by default. As far as all
>
> /proc/sys/net/ipv4/conf/*/accept_source_route
>
> files are empty (size == 0), anything is fine an no source routing is
> allowed.

sorry i cannot help you with source routing but another thing.
the files under /proc are special files whose contents is generated on
access...this means those files may be zero sized but if you "cat" them
they still contain information:

armin $ cd /proc/sys/net/ipv4/conf/eth0/

armin $ ll accept_source_route
-rw-r--r-- 1 root root 0 May 11 14:34 accept_source_route

armin $ cat !$
cat accept_source_route
1

greetz, armin

-- 
life, the universe and everything
http://www.dtch.org

Quantcast