Jim Klimov <[email protected]> writes:
> By the way, on the NUT CI farm the libwrap is present on some (though not
> all) systems - covering linux, freebsd, openindiana... and neither
> complained about `sockdebug` :\
>
> What version do you have? Maybe 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 control tables.
and indeed see lines 68/89 of server/upsd.c which does exactly that.
_______________________________________________
Nut-upsdev mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev