Date: Sun, 24 Jul 2016 12:58:25 -0400 From: Paul Pathiakis <ppathiakis@mail.atlantisservices.net> To: freebsd-questions@freebsd.org Subject: Re: Fail2ban python regex issue Message-ID: <f4bd4e28-b763-7073-77d2-7d9b52580d14@mail.atlantisservices.net> In-Reply-To: <20160724165545.0e784017@gumby.homeunix.com> References: <1b35e652-1540-6eb3-9a6e-47a0cf4ce97a@yahoo.com> <20160724165545.0e784017@gumby.homeunix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I've tried it with and without. It still doesn't match. :-( P. On 07/24/2016 11:55, RW via freebsd-questions wrote: > On Sat, 23 Jul 2016 17:06:53 -0400 > pathiaki2 via freebsd-questions wrote: > >> Hi, >> >> I'm extending fail2ban to catch things on FreeBSD. >> ... >> Jul 23 00:02:48 <machine FQDN> dovecot: auth: >> ldap(valeria,91.200.12.148): unknown user (SHA1 of given password: >> e557ee1b78fd6978af5ea1f614597f79dc13c40e) >> >> I'm trying this: >> >> ^%(__prefix_line)s(: auth: ldap\(\S+,<HOST>\):) unknown user\s*$ >> >> What am I missing? There's no error with the interpreter, it's just >> not matching the line. > I don't use fail2ban, so I may have misunderstood something, but the > obvious answer is that the "\s*$" on the end of the regex shouldn't be > there. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f4bd4e28-b763-7073-77d2-7d9b52580d14>