Files: 24612835c321c98661423fe9766c2d494b495ff5 / scripts / fail2ban / sslh-ssh.conf
500 bytesRaw
1 | # Add the following to you fail2ban configuration file |
2 | # In Debian it'd go in /etc/fail2ban/filter.d/sslh-ssh.conf |
3 | |
4 | |
5 | # Fail2Ban filter for sslh demultiplexed ssh |
6 | # |
7 | # Doesn't (and cannot) detect auth errors, |
8 | # but many connection attempts from the same |
9 | # origin is reason enough to block. |
10 | # |
11 | # Verion: 2014-03-28 |
12 | |
13 | [INCLUDES] |
14 | |
15 | # no includes |
16 | |
17 | [Definition] |
18 | |
19 | failregex = ^.+ sslh\[.+\]: connection from <HOST>:.+ to .+ forwarded |
20 | from .+ to .+:ssh\s*$ |
21 | |
22 | ignoreregex = |
23 | |
24 | # Author: Evert Mouw <post@evert.net> |
25 | |
26 |
Built with git-ssb-web