disable the ping request from remote maching
Disable :-
# iptables -I INPUT -p icmp -d 192.168.1.51 -j DROP
Enable :-
# iptables -I INPUT -p icmp -d 192.168.1.51 -j ACCEPT
disable the ping request from remote maching
Disable :-
# iptables -I INPUT -p icmp -d 192.168.1.51 -j DROP
Enable :-
# iptables -I INPUT -p icmp -d 192.168.1.51 -j ACCEPT
What do you think - is it safe / good to disable ping?
I thing that someone wants to slow my server and ping it all the time. When I would disable it, would it have any bad sides?
How can I do this in FreeBSD ?
man ipfwOriginally posted by Web4uHosting
How can I do this in FreeBSD ?
Originally posted by gopal
disable the ping request from remote maching
Disable :-
# iptables -I INPUT -p icmp -d 192.168.1.51 -j DROP
Enable :-
# iptables -I INPUT -p icmp -d 192.168.1.51 -j ACCEPT
This is -not- a good idea. In the above example you are totally denying all ICMP. ICMP protos like source-quench,
destination unreachable, time exceeded etc are necessary.
You should really read the RFC before blocking entire protocols.
"....ICMP is actually an integral part of IP, and must be implemented by every IP module."
How can I disable ping to a domain on a safe way?Originally posted by netwrkr
This is -not- a good idea. In the above example you are totally denying all ICMP. ICMP protos like source-quench,
destination unreachable, time exceeded etc are necessary.
You should really read the RFC before blocking entire protocols.
"....ICMP is actually an integral part of IP, and must be implemented by every IP module."![]()
Originally posted by Web4uHosting
How can I disable ping to a domain on a safe way?![]()
Are you trying to disable incoming ping requests or users using the 'ping' command? If the former then just block icmp proto echo-request. If the latter chmod 000 ping.