LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   disabling source routing in Suse (https://www.linuxquestions.org/questions/linux-newbie-8/disabling-source-routing-in-suse-731838/)

deepak_cucek 06-10-2009 12:18 AM

disabling source routing in Suse
 
Hi guys

in /etc/syscl.conf i add the entry net.ipv4.conf.all.mc_forwarding =0

and refresh sysctl using "sysctl -p" but am getting an error

"operation not permitted setting the value for net.ipv4.conf.all.mc_forwarding"

what will be the reason

rikxik 06-10-2009 12:45 AM

You need to run that root?

deepak_cucek 06-10-2009 12:47 AM

Quote:

Originally Posted by rikxik (Post 3568785)
You need to run that root?

sorry i didnt get ur query..?

deepak_cucek 06-10-2009 01:09 AM

Quote:

Originally Posted by rikxik (Post 3568785)
You need to run that root?


one more point is that the file /proc/sys/net/ipv4/conf/all/mc_forwarding

is having the permission 444 by default , and the value in that file is always 0 and system is not allowing to change the content of the file...

rikxik 06-10-2009 02:39 AM

I meant, are you running these commands as root?

deepak_cucek 06-10-2009 03:22 AM

Quote:

Originally Posted by rikxik (Post 3568871)
I meant, are you running these commands as root?

yes

linuxlover.chaitanya 06-10-2009 04:01 AM

You can not change values /proc permanently. You need to change the values /etc/sysctl.conf.
Though you can change the values for a session using echo command.

echo 1 >> /proc/sys/net/ipv4/conf/all/mc_forwarding

deepak_cucek 06-10-2009 04:59 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3568934)
You can not change values /proc permanently. You need to change the values /etc/sysctl.conf.
Though you can change the values for a session using echo command.

echo 1 >> /proc/sys/net/ipv4/conf/all/mc_forwarding

that is exactly i done after failing the command....
but am not able to change the entry... [see the 4th post]

Tinkster 06-10-2009 11:40 AM

What I don't understand is why you think that disabling multi-casts
is the same as disabling source routing. What you want to set to 0
has nothing to do with source routing.

Check
/proc/sys/net/ipv4/conf/all/accept_source_route



Cheers,
Tink

deepak_cucek 06-10-2009 11:42 PM

Quote:

Originally Posted by Tinkster (Post 3569378)
What I don't understand is why you think that disabling multi-casts
is the same as disabling source routing. What you want to set to 0
has nothing to do with source routing.

Check
/proc/sys/net/ipv4/conf/all/accept_source_route



Cheers,
Tink

yes i got the point...i was checking some wrong entry.....

thanx..

but can somebody explain me why root user cant alter the value in "mc_forwarding"


All times are GMT -5. The time now is 11:53 AM.