Jump to content

Help with my xt_state problem


Monkuar

Recommended Posts

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 ?

 

Link to comment
https://forums.phpfreaks.com/topic/267992-help-with-my-xt_state-problem/
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.