Selaa lähdekoodia

Drop all icmp

Bob Mottram 11 vuotta sitten
vanhempi
commit
5211e85d4f
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3
    3
      beaglebone.txt

+ 3
- 3
beaglebone.txt Näytä tiedosto

597
 iptables -A syn_flood -j DROP
597
 iptables -A syn_flood -j DROP
598
 
598
 
599
 # Limiting the incoming icmp ping request:
599
 # Limiting the incoming icmp ping request:
600
-iptables -A INPUT -p icmp -m limit --limit  1/s --limit-burst 1 -j ACCEPT
601
-iptables -A INPUT -p icmp -m limit --limit 1/s --limit-burst 1 -j LOG --log-prefix PING-DROP:
600
+#iptables -A INPUT -p icmp -m limit --limit  1/s --limit-burst 1 -j ACCEPT
601
+#iptables -A INPUT -p icmp -m limit --limit 1/s --limit-burst 1 -j LOG --log-prefix PING-DROP:
602
 iptables -A INPUT -p icmp -j DROP
602
 iptables -A INPUT -p icmp -j DROP
603
-iptables -A OUTPUT -p icmp -j ACCEPT
603
+#iptables -A OUTPUT -p icmp -j ACCEPT
604
 
604
 
605
 # Save the settings
605
 # Save the settings
606
 iptables-save > /etc/firewall.conf
606
 iptables-save > /etc/firewall.conf