User loginNavigationNew forum topicsPollSearchRecent blog posts |
Stopping script-kiddies using iptablesRecently this server has become the victim of some very amateurish script kiddies, doing brute force common user/dictionary attacks. Here's a couple ideas for stopping the noise. Using iptables:
The first line basically says "add this source IP to a 'recent' list", so it builds a dynamic list of IP addresses hitting port 22. The second line says if four of those IP's in the 'recent' list hit port 22 within 120 seconds, dump any subsequent packets from this IP. |
Recent comments
1 week 5 days ago
41 weeks 2 days ago
41 weeks 4 days ago
41 weeks 4 days ago
1 year 13 weeks ago
1 year 14 weeks ago
1 year 15 weeks ago
1 year 15 weeks ago
2 years 6 weeks ago
2 years 28 weeks ago