Date: Tue, 18 Apr 2023 11:18:49 -0700 From: Doug Hardie <bc979@lafn.org> To: questions@freebsd.org Cc: Norman Gray <gray@nxg.name>, Michael Grimm <trashcan@ellael.org> Subject: Re: Blacklistd Issues - Problem Identified Message-ID: <D948DD4E-4842-4D1B-B7D0-42EC5E8B1F8A@sermon-archive.info> In-Reply-To: <F025AE6A-A820-412E-A0F1-F551D719E319@ellael.org> References: <C632EC86-6745-42F9-A5EE-FE604C7A8599@sermon-archive.info> <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> <F025AE6A-A820-412E-A0F1-F551D719E319@ellael.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Apr 18, 2023, at 04:21, Michael Grimm <trashcan@ellael.org> wrote: >=20 > Norman Gray <gray@nxg.name> 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 = <https://github.com/freebsd/freebsd-src/tree/main/usr.sbin/blacklistd>, = 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D948DD4E-4842-4D1B-B7D0-42EC5E8B1F8A>