Dette scriptet er ikke testet samt DoS bør hindres på kernel nivå!
A simple rule-based DoS attack-prevention shell script. However, the proposed shell script is not a perfect tool for preventing DoS attacks, but a powerful tool for alleviating DoS attacks overheads of the Linux servers significantly.
(more…)
Tags: awk, bash, grep, iptables, script, sed
Posted by Hans-Henry Jakobsen
In RedHat/Fedora you can define firewall rules in the file /etc/sysconfig/iptables.
By adding this line you open ports in the range 5920-5960
-A RH-Firewall-1-INPUT -p tcp --destination-port 5920:5960 -j ACCEPT
Tags: Fedora, firewall, iptables
Posted by Hans-Henry Jakobsen