Linux Sunucularda Ping Engelleme
Linux DDos ve Syn Saldırılarını Engelleme
Ping erişimini hata mesajı ile kapatma
Kod:
iptables -A INPUT -p icmp --icmp-type echo-request -j REJECT
Kod:
64 bytes from 212.5.32.xxx: icmp_seq=467 ttl=53 time=17.9 ms
64 bytes from 212.5.32.xxx: icmp_seq=468 ttl=53 time=19.2 ms
64 bytes from 212.5.32.xxx: icmp_seq=469 ttl=53 time=19.5 ms
64 bytes from 212.5.32.xxx: icmp_seq=470 ttl=53 time=15.1 ms
From 212.5.32.xxx icmp_seq=471 Destination Port Unreachable
From 212.5.32.xxx icmp_seq=472 Destination Port Unreachable
From 212.5.32.xxx icmp_seq=473 Destination Port Unreachable
From 212.5.32.xxx icmp_seq=474 Destination Port Unreachable
From 212.5.32.xxx icmp_seq=475 Destination Port Unreachable
Kod:
iptables -D INPUT -p icmp --icmp-type echo-request -j REJECT