#695031 openbsd-inetd: service exceeds -R limit but inetd doesn't log it in syslog

Package:
openbsd-inetd
Source:
openbsd-inetd
Description:
OpenBSD Internet Superserver
Submitter:
Andrzej Dzik
Date:
2023-01-02 14:06:02 UTC
Severity:
normal
#695031#5
Date:
2012-12-03 12:37:06 UTC
From:
To:
Service exceeds -R limit but
if service listens on ports below 1024 I can see '...(looping)...' in syslog.
if service listens on ports above 1024 there isn't any entry in syslog.

#695031#10
Date:
2014-01-03 09:27:18 UTC
From:
To:
This is a feature, but I do not understand its rationale:

                                if (sep->se_family == AF_INET &&
                                    ntohs(sep->se_ctrladdr_in.sin_port) >=
                                    IPPORT_RESERVED) {
                                        /*
                                         * Cannot close it -- there are
                                         * thieves on the system.
                                         * Simply ignore the connection.
                                         */

#695031#15
Date:
2023-01-02 14:03:07 UTC
From:
To:
This change was made by Theo de Raadt in 1997, maybe he can explain the
rationale?
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/inetd/inetd.c.diff?r1=1.38&r2=1.39&f=h

I do not understand why the errors are suppressed for non-reserved
ports, and also only for AF_INET but not AF_INET6 or AF_UNIX.