fail2ban/config
Kevin Locke 36919d9f97 ssh.conf: Fix disconnect "Auth fail" matching
The regex for matching against "Auth fail" disconnect log message does
not match against current versions of ssh.  OpenSSH 5.9 introduced
privilege separation of the pre-auth process, which included
[logging through monitor.c](http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/monitor.c.diff?r1=1.113&r2=1.114)
which adds " [preauth]" to the end of each message and causes the log
level to be prepended to each message.

It also fails to match against clients which send a disconnect message
with a description that is either empty or includes a space, since this
is the content in the log message after the disconnect code, per
[packet.c:1785](http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/packet.c?annotate=1.215),
which was matched by \S+.  Although I have not observed this yet, I
couldn't find anything which would preclude it in [RFC
4253](https://tools.ietf.org/html/rfc4253#section-11.1) and since the
message is attacker-controlled it provides a way to avoid getting
banned.

This commit fixes both issues.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2015-10-02 15:46:29 -07:00
..
action.d Added CloudFlare API error codes URL 2015-09-30 16:07:45 +02:00
filter.d ssh.conf: Fix disconnect "Auth fail" matching 2015-10-02 15:46:29 -07:00
fail2ban.conf Use syslogsocket value "auto" to determine syslog socket's path 2015-02-06 19:14:09 -05:00
jail.conf ENH: allow to split ignoreip by space and/or comma (Closes #1197) 2015-09-23 12:13:52 -04:00
paths-common.conf Define roundcube_errors_log in paths-common.conf 2015-07-04 14:46:31 -04:00
paths-debian.conf Define roundcube_errors_log in paths-common.conf 2015-07-04 14:46:31 -04:00
paths-fedora.conf Update regex to work with roundcube 1.0.5 on CentOS 6 2015-07-04 11:02:04 -04:00
paths-freebsd.conf typos of paths-common (Thanks @chtheis, partial fix to #682) 2014-04-10 23:17:30 -04:00
paths-opensuse.conf Added configuration for opensuse path 2015-08-26 15:25:59 +02:00
paths-osx.conf typos of paths-common (Thanks @chtheis, partial fix to #682) 2014-04-10 23:17:30 -04:00