| Securing and Optimizing Linux: RedHat Edition -A Hands on Guide | ||
|---|---|---|
| Prev | Chapter 5. General System Security | Next | 

| 
              [root@deep] /#echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
               | 
Edit the /etc/sysctl.conf file and add the following line:

| 
              # Enable bad error message Protection
              net.ipv4.icmp_ignore_bogus_error_responses = 1
               | 
| 
              [root@deep] /# /etc/rc.d/init.d/network restart
              Setting network parameters 	[  OK  ]
              Bringing up interface lo		[  OK  ]
              Bringing up interface eth0	[  OK  ]
              Bringing up interface eth1	[  OK  ]
               |