From owner-freebsd-ports@freebsd.org Fri Jun 22 20:06:42 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B0741025B0E; Fri, 22 Jun 2018 20:06:42 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx2.enfer-du-nord.net (mx2.enfer-du-nord.net [87.98.149.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08D1D7F046; Fri, 22 Jun 2018 20:06:41 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from [IPv6:2003:e9:7f1b:7801:54b7:5afc:c9f5:e023] (p200300E97F1B780154B75AFCC9F5E023.dip0.t-ipconnect.de [IPv6:2003:e9:7f1b:7801:54b7:5afc:c9f5:e023]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.enfer-du-nord.net (Postfix) with ESMTPSA id 41C8jB2xnwz4gH; Fri, 22 Jun 2018 22:06:38 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.100.0 at mail.enfer-du-nord.net Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: py-fail2ban turned silent after syslogd rollout (r335059, stable/11) From: Michael Grimm In-Reply-To: <851C065F-0E02-425C-B4AF-8FCE0E405F8E@ellael.org> Date: Fri, 22 Jun 2018 22:06:36 +0200 Cc: FreeBSD-STABLE Mailing List , theis@gmx.at, Gleb Smirnoff , "ed@FreeBSD.org" , Mailing List FreeBSD Ports Content-Transfer-Encoding: quoted-printable Message-Id: <1A5B44D8-28B0-49C9-B88D-EE6EBEE8788D@ellael.org> References: <590A1B87-464D-455C-A03D-9908EB7AF286@ellael.org> <20180622155922.GA61217@plan-b.pwste.edu.pl> <697FFEFE-6AFB-45CE-ADCD-4DB10286E68B@ellael.org> <851C065F-0E02-425C-B4AF-8FCE0E405F8E@ellael.org> To: Ed Schouten X-Mailer: Apple Mail (2.3445.8.2) X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.kaan-bock.lan X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2018 20:06:42 -0000 On 22. Jun 2018, at 21:26, Michael Grimm wrote: > On 22. Jun 2018, at 21:11, Ed Schouten wrote: >> Michael, Marek, could you please give this patch a try? Thanks! >=20 > Recompiled world (FreeBSD 11.2-STABLE r335532), substituted syslogd = with the re-compiled one, and: >=20 > Thank you! Your patch is working w.r.t. fail2ban logging to SYSLOG. = Perfect! Now I realised that there is a minor glitch: logfile+logger: Jun 22 19:01:48 HOSTNAME fail2ban.filter: = 2018-06-22 19:01:48,637 fail2ban.actions [85544]: NOTICE = [JAILNAME] Unban x.x.x.x Old syslogd before MFC: May 30 15:39:41 HOSTNAME fail2ban.actions [929]: = NOTICE [JAILNAME] Unban x.x.x.x After applying your patch: Jun 22 21:22:01 HOSTNAME [31033]: NOTICE = [JAILNAME] Unban x.x.x.x Watch: 'fail2ban.actions' -the service- is missing. Regards, Michael