1 |
Bernhard Egger a écrit : |
2 |
|
3 |
> exactly. I would prefer a solution where an IP is automatically blocked |
4 |
> for a limited amount of time after, say, 3 failed login attempts. |
5 |
> I don't know how to do this, but maybe somebody already has a script for |
6 |
> something like that? |
7 |
|
8 |
This is exactly what fail2ban do. It's a very nice script written in |
9 |
python that can block an IP for an amount of time after several login |
10 |
attempts. It can monitor ssh and apache. Look at |
11 |
http://sourceforge.net/projects/fail2ban or directly emerge it as it is |
12 |
allready in Portage. I have it running for a couple of months and I must |
13 |
say that I'm very satisfied. |
14 |
|
15 |
-- |
16 |
Christophe Garault |
17 |
|
18 |
|
19 |
|
20 |
-- |
21 |
gentoo-security@g.o mailing list |