Monkuar Posted September 4, 2012 Share Posted September 4, 2012 Hey, I am trying to run the following code: (Debian 6, 32 bit) OPENVZ. iptables -A INPUT -p tcp --dport 80 -m state --state NEW -m recent --set --name DDOS But I receive iptables: No chain/target/match by that name. Which I found out that xt_state needs to be enabled on the node. So I asked my host to do this. I Still receieve the same damn iptable error... I am trying to run this basic firewall: iptables -A INPUT -p tcp --dport 80 -m state --state NEW -m recent --set --name DDOS iptables -A INPUT -p tcp --dport 80 -m state --state NEW -m recent --update --seconds 10 --hitcount 20 --rttl --name DDOS -j DROP Anyone got any ideas why it wont let me do this? Yes I am on openVZ Also when I run : cat /proc/net/ip_tables_matches I get: mark mark owner limit owner length ttl tcpmss multiport multiport tos tos dscp icmp state udplite udp tcp Shouldn't state, be xt_state? my host said he enabled the xt_state module, wat is the problem ? Quote Link to comment Share on other sites More sharing options...
Monkuar Posted September 5, 2012 Author Share Posted September 5, 2012 This is solved.. looked like my host forgot to enable the ipt_recent module.. give me a Freaking break jee willy. Quote Link to comment Share on other sites More sharing options...
phpfreak Posted September 22, 2012 Share Posted September 22, 2012 Hehe... if you have any more problems, check my signature! we can rock you some VPS hosting Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.