iptables syn flood countermeasure
- by Penegal
I'm trying to adjust my iptables firewall to increase the security of my server, and I found something a bit problematic here : I have to set INPUT policy to ACCEPT and, in addition, to have a rule saying iptables -I INPUT -i eth0 -j ACCEPT.
Here comes my script (launched manually for tests) :
#!/bin/sh
IPT=/sbin/iptables
echo "Clearing…