LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2010, 04:00 PM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
ICMP Disable


How can I disable ICMP messages through the configuration file of
/proc/sys/net/ipv4/ICMP_echo_ignore_all

Also how the above file can be edited ?

Thanks
 
Old 09-23-2010, 04:06 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Files such as that one, you don't really 'edit', rather you echo stuff into them and it 'sticks' (for example you would echo a 0 or a 1 for false or true respectively, or you might echo a yes or a no into it, or some other thing, depending on exactly what file, and for what subsystem, you're changing.).. For example:

Code:
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
That means "icmp_echo_ignore_broadcasts = TRUE", so it will ignore them.

Note that only root can usually write to such files.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable Text-to-speechmanager on startup, and disable fsck after 20 boots Kristian2 Slackware 2 02-25-2009 11:55 AM
dbx command for corrosponding commands disable or disable on gdb bshankha AIX 0 09-26-2006 10:38 AM
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 09:30 AM
ICMP traffic archives/writing ICMP traffic in a file maia_1 Programming 0 07-20-2004 04:43 AM
What is ICMP? codedv Linux - Networking 2 01-04-2004 11:12 AM


All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration