> > What do you want to change?
> > /proc may not be the place to edit.
> > /proc is more of a read only or status directory.
> I want to change the value of a file in /proc/sys/nsy/ipv4
> I know that /proc is a particular filesystem. That's why
> I want to know wich program should I use to modify a file in it.
> Surely a configuration program, not an editor.
> The file I want to modify is /proc/sys/net/ipv4/icmp_echo_ignore_all
You want 'echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all', or
similar. To make the change permanent, put this into one of your
network startup scripts, like /etc/rc.d/init.d/network.
Think of /proc as a means of communicating with your kernel. Reads
from and writes to "files" in /proc tend to get translated into system
calls, so thinking of them as files is probably unhelpful.
Be aware that if you change this, then ping to your machine will stop
working, which may make debugging network problems difficult, and
might break one or two other things.
Colin Watson [cjw44 at cam.ac.uk]
Trinity College, Cambridge, and Computer Science [riva.ucam.org]
"On Usenet, pedantry is not in the service of beauty. It's not even
in the service of truth. It's in the service of EVEN MORE PEDANTRY."