From nobody Tue Apr 18 18:18:49 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 4Q1ByG44gNz45TB4 for ; Tue, 18 Apr 2023 18:19:02 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4Q1ByG24Y1z3NmX for ; Tue, 18 Apr 2023 18:19:02 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4Q1ByC749Bz2g8d6; Tue, 18 Apr 2023 11:18:59 -0700 (PDT) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: Blacklistd Issues - Problem Identified From: Doug Hardie In-Reply-To: Date: Tue, 18 Apr 2023 11:18:49 -0700 Cc: Norman Gray , Michael Grimm Content-Transfer-Encoding: quoted-printable Message-Id: 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> To: questions@freebsd.org X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Virus-Scanned: clamav-milter 1.0.1 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4Q1ByG24Y1z3NmX X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:5650, ipnet:47.181.128.0/18, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > On Apr 18, 2023, at 04:21, Michael Grimm wrote: >=20 > Norman Gray wrote: >>=20 >> On 18 Apr 2023, at 11:08, Michael Grimm wrote: >=20 >>> This has been discussed before [1], and I will definitely support = your patch or a solution that makes BADUSER configurable. >>=20 >> I'd be willing to have a go at implementing a configurable version of = this change, for consideration (I'm the one who raised the query on the = list earlier). >=20 > Yes, I remember. >=20 >> However, that would be my first time with the FreeBSD sources. Is = there a standard process for this? >=20 > I am not an expert either, but I would first of all open a PR. Their = you can publish your patches against sources. Someone else will later = commit your patch if accepted. >=20 >> I notice that the blacklistd sources aren't in = , = so I'm stuck at step 1. >=20 > The sources are at: >=20 > /usr/src/contrib/blacklist >=20 > In /usr/src/contrib/blacklist/bin you'll find blacklistd.conf and the = config files in /usr/src/contrib/blacklist/etc >=20 >> Is there an upstream this comes from? I don't see any mention of = such a thing in that directory, but I'm very aware I may be looking in = completely the wrong location at this point. >=20 > I am using a git repository (STABLE) to recompile world and kernel = from sources.=20 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 = there. To find the new execuitable go to = /usr/obj/usr/src/amd64.amd64/usr.sbin/blacklistd and put the blacklistd = there into /usr/libexec Note the amd64.amd64 directory will be different if you are not on an = amd64 machine. There will probably be only one directory there and it = will be the right one. -- Doug=