2 removed irrelevant tag + code in text
source | link

iptables -I INPUT -i eth1 -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name DEFAULT --rsource

iptables -I INPUT -i eth1 -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name DEFAULT --rsource

I understand the first half of the command but have no idea what the second half (after -m state) does. I have read a couple of resources online and looked at 'man iptables' and although I have an idea of what each individual switch does, I don't know how to make sense of it together.

iptables -I INPUT -i eth1 -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name DEFAULT --rsource

I understand the first half of the command but have no idea what the second half (after -m state) does. I have read a couple of resources online and looked at 'man iptables' and although I have an idea of what each individual switch does, I don't know how to make sense of it together.

iptables -I INPUT -i eth1 -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name DEFAULT --rsource

I understand the first half of the command but have no idea what the second half (after -m state) does. I have read a couple of resources online and looked at 'man iptables' and although I have an idea of what each individual switch does, I don't know how to make sense of it together.

1
source | link

Iptables: what does this command do?

iptables -I INPUT -i eth1 -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name DEFAULT --rsource

I understand the first half of the command but have no idea what the second half (after -m state) does. I have read a couple of resources online and looked at 'man iptables' and although I have an idea of what each individual switch does, I don't know how to make sense of it together.