View Single Post

  #8 (permalink)  
Old 11-23-2006, 04:47 PM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

It appears that vps is not loaded with iptables syn module or support is not included. Just remove following 4 lines from script and reload again

Code:
# Stop  flood 
iptables -N flood 
iptables -A INPUT -p tcp --syn -j flood 
iptables -A flood -m limit --limit 1/s --limit-burst 3 -j RETURN 
iptables -A flood -j DROP
Just start fw again
Code:
/root/fw.start
Verify that iptables loaded
Code:
iptables -L -n
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote