[Nut-upsdev] [PATCH] upsd tcp_wrappers parsing and logging

Arjen de Korte nut+devel at de-korte.org
Fri Dec 3 21:51:43 UTC 2010

Citeren Stephen Beahm <stephenbeahm op comcast.net>:

> Parsing bug summary
> -------------------
> working /etc/hosts.allow:
> 	upsd [::1]	: ALLOW
> broken in /etc/hosts.allow:
> 	upsd	localhost	: ALLOW
> It looks like upsd originally intended to match nut username with system
> username?

No. We want to match the NUT username (as configured in upsd.users).  
The reason why has been discussed before on this list.

> This is not the case now.

This is intentional.

The change from RQ_CLIENT_ADDR to RQ_FILE will probably do away with  
some confusion for administrators setting this up, so I'll include  
that part of the patch. Whether or not we want additional logging,  
remains to be seen. It could help people setting up the server, but on  
the other hand might also lead to syslog flooding when logging failed  
attempts. At the moment I'm not convinced that we need more logging.

Best regards, Arjen
Please keep list traffic on the list (off-list replies will be rejected)

More information about the Nut-upsdev mailing list