Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Re:Highly annoying (Score 1) 360

I've been running it thru cron at rather short intervals for 6 months now, and dropped 340 ips into hosts.deny.

One possible improvement -- have your script run whenever there's an ssh login:

hosts.allow
-----------
sshd: ALL EXCEPT /etc/ssh/sshd_deny_list \
: spawn (/etc/cron.d/check_for_ssh_scans) & \
: ALLOW

Where the script "check_for_ssh_scans" adds any offending IPs it finds to /etc/ssh/sshd_deny_list.

Slashdot Top Deals

We all like praise, but a hike in our pay is the best kind of ways.

Working...