Displaying 2 results from an estimated 2 matches for "_severity".
Did you mean:
severity
2023 Nov 09
1
2.8.1 build buglet: sockdebug.c
...it is some alternate implementation?
Looks like 7.4, as amended in NetBSD over the years. Looks like the
original. tcpd.h has
/*
* @(#) tcpd.h 1.5 96/03/19 16:22:24
*
* Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
*/
$ nm -g /usr/lib/libwrap.so|egrep _severity
U allow_severity
U deny_severity
The man page says
The allow_severity and deny_severity variables determine how accepted
and rejected requests may be logged. They must be provided by the
caller and may be modified by rules in the access cont...
2023 Nov 09
1
2.8.1 build buglet: sockdebug.c
...CC sstate.o
> CC desc.o
> CC netget.o
> CC netmisc.o
> CC netlist.o
> CC netuser.o
> CC netset.o
> CC netinstcmd.o
> CCLD sockdebug
> ld: /usr/lib/libwrap.so: undefined reference to `deny_severity'
> ld: /usr/lib/libwrap.so: undefined reference to `allow_severity'
> *** [sockdebug] Error code 1
>
> as I understand it, the tcprappers interface requires those variables to
> exist. Nut does define them:
>
> work/nut-2.8.1/server/upsd.c:int allow_severi...