Score:0

Using iptables for SSH brute force protection

it flag

10: Limit new TCP connections per second per source IP

53 /sbin/iptables -A INPUT -p tcp -m conntrack --ctstate NEW -m limit --limit 60/s --limit-burst 20 -j ACCEPT

54 /sbin/iptables -A INPUT -p tcp -m conntrack --ctstate NEW -j DROP #This works as it is

How does one perform the same thing, but without using the recent module, or even the limit module and just using conntrack at max.

cn flag
Bob
Please don't ask your homework questions on ServerFault.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.