Re: [RFC] inetd(8) changes proposal

2023-06-02 Thread tlaronde
Le Fri, Jun 02, 2023 at 10:59:04PM +0200, Rhialto a écrit : > On Wed 31 May 2023 at 00:18:26 +0700, Robert Elz wrote: > > Date:Tue, 30 May 2023 16:11:55 +0200 > > From:tlaro...@polynum.com > > Message-ID: > > > > > > | -c check a config file (and does not exec

Re: [RFC] inetd(8) changes proposal

2023-06-02 Thread Rhialto
On Wed 31 May 2023 at 00:18:26 +0700, Robert Elz wrote: > Date:Tue, 30 May 2023 16:11:55 +0200 > From:tlaro...@polynum.com > Message-ID: > > > | -ccheck a config file (and does not execute). Returns 0 on > success and > | ENOENT or EINVAL on error. >

Re: [RFC] inetd(8) changes proposal

2023-06-02 Thread tlaronde
Le Fri, Jun 02, 2023 at 07:35:54AM +0930, Brett Lymn a écrit : > On Thu, Jun 01, 2023 at 09:08:52AM +0200, tlaro...@polynum.com wrote: > > > > But for now, it will be far simpler to only modify the NetBSD source > > without trying to merge something external. > > > > It isn't external - the mods

Re: inetd(8): continue or exit on error?

2023-06-02 Thread tlaronde
Le Fri, Jun 02, 2023 at 07:01:40AM +, David Holland a écrit : > On Mon, May 29, 2023 at 10:11:09AM +0200, tlaro...@polynum.com wrote: > > There are infelicities in /usr/src/usr.sbin/inetd/parse.c and I will > > send a PR with patches attached. > > > > The question is what to do in case of

Re: bl*cklist configuration, ssh only

2023-06-02 Thread Michael van Elst
> 172800 seconds is 48 hours as per > > # grep ssh /etc/blocklistd.conf > ssh stream * * * 3 48h > > The login attempts are well spaced out in time, so probably not "races". > > # blocklistctl dump -a | grep 62.122.184.124 > 62.122.184.124/32:22

Re: bl*cklist configuration, ssh only

2023-06-02 Thread Patrick Welche
On Thu, Jun 01, 2023 at 07:21:40PM +0200, Michael van Elst wrote: > On Thu, Jun 01, 2023 at 05:05:16PM +0100, Patrick Welche wrote: > > > > What puzzles me is: > > > > # blocklistctl dump -a | wc > > 53 2182497 > > > > BUT: > > > > # npfctl rule blocklistd list | wc > >3

Re: inetd(8): continue or exit on error?

2023-06-02 Thread David Holland
On Mon, May 29, 2023 at 10:11:09AM +0200, tlaro...@polynum.com wrote: > There are infelicities in /usr/src/usr.sbin/inetd/parse.c and I will > send a PR with patches attached. > > The question is what to do in case of a config file not found (this is > the initial problem: the realpath() retu