From nobody Tue Apr 18 18:46:38 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q1CZM5qPGz45W0p for ; Tue, 18 Apr 2023 18:46:51 +0000 (UTC) (envelope-from gray@nxg.name) Received: from mx2.mythic-beasts.com (mx2.mythic-beasts.com [IPv6:2a00:1098:0:82:1000:0:2:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1CZL6Nlbz3Fsk for ; Tue, 18 Apr 2023 18:46:50 +0000 (UTC) (envelope-from gray@nxg.name) Authentication-Results: mx1.freebsd.org; none Received: by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1poqLn-00AodF-Kj; Tue, 18 Apr 2023 19:46:48 +0100 From: Norman Gray To: Doug Hardie Cc: questions@freebsd.org, Michael Grimm Subject: Re: Blacklistd Issues - Problem Identified Date: Tue, 18 Apr 2023 19:46:38 +0100 X-Mailer: MailMate (1.14r5818) Message-ID: In-Reply-To: References: <8B1C1DCE-75CA-4CE9-A589-329519FB792E@sermon-archive.info> <4E4A4B99-D8DF-4C5C-9700-C56F354A9991@sermon-archive.info> <24171551-4181-49C8-B1DE-2C3D9A00DC4C@sermon-archive.info> <6BD45EAE-D626-4B16-8C24-197FFE34E601@ellael.org> <8FEE687C-E342-49CF-B3D9-118D7ADB84AA@nxg.name> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-BlackCat-Spam-Score: 24 X-Spam-Status: No, score=2.4 X-Rspamd-Queue-Id: 4Q1CZL6Nlbz3Fsk X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:44684, ipnet:2a00:1098::/32, country:GB] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Doug, hello. On 18 Apr 2023, at 19:18, Doug Hardie wrote: > Quick answers as I have to leave very soon. > > Blacklistd source is in /usr/src/contrib/blacklistd/bin > > Apply the patch there. > > To recompile it go to /usr/src/usr.sbin/blacklistd and do the make the= re. Aha! Thanks. The stock version builds OK, so ... onward to step 2! > To find the new execuitable go to /usr/obj/usr/src/amd64.amd64/usr.sbi= n/blacklistd and put the blacklistd there into /usr/libexec In my install, the products end up in the same directory, rather than in = /usr/obj. I could presumably tweak that (MAKEOBJDIRPREFIX in the environ= ment?), but will forbear to do so for the moment. I note Michael's point about the config file format. I do remember looki= ng in the blacklistd source before, trying to understand how it was parse= d (or indeed mis-parsed), and I recall that the parsing was a bit... magi= c. Best wishes, Norman -- = Norman Gray : https://nxg.me.uk