Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] dropping any IP that tries port 22?
- Date: Fri, 19 Jan 2007 16:56:40 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: [tlug] dropping any IP that tries port 22?
- References: <52599.210.168.237.209.1169184208.squirrel@example.com>
scott@example.com writes: > I was thinking of running some other service on port 22 that would simply > write the IP address of anything that pinged it or whatever to a logfile, > then have fail2ban scan that logfile and ban all the IPs within > indefinately. iptables -I INPUT 1 -d yo.ur.i.p --proto tcp --dport 22 --syn -j LOG (You then need to use position 1 for the bans, otherwise the same script kiddie gets banned a couple thousand times.)
- References:
- [tlug] dropping any IP that tries port 22?
- From: scott
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] dropping any IP that tries port 22?
- Next by Date: [tlug] Web server access
- Previous by thread: Re: [tlug] dropping any IP that tries port 22?
- Next by thread: Re: [tlug] dropping any IP that tries port 22?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links