cupsd does not read hosts.allow/deny properly
I am running SUSE 10.2. If I try to add a printer in YaST2, or use the cups admin GUI, cupsd starts spewing our GBs of error messages, and I have to turn it off.
I need to have hosts.allow to filter out every site except where I work and my local net so that I do not get attacked on my ssh port. The two hosts. files work fine with sshd.
But for cupsd, I get messages like:
Jan 2 10:07:12 romeja cupsd: warning: /etc/hosts.allow, line 62: Unable to handle client address: unknown
Jan 2 10:07:12 romeja cupsd: warning: /etc/hosts.allow, line 64: Unable to handle client address: unknown
Jan 2 10:07:12 romeja cupsd: warning: /etc/hosts.allow, line 65: Unable to handle client address: unknown
Jan 2 10:07:12 romeja cupsd: warning: /etc/hosts.allow, line 66: Unable to handle client address: unknown
Jan 2 10:07:12 romeja cupsd: warning: /etc/hosts.deny, line 5: Unable to handle client address: unknown
Jan 2 10:07:12 romeja cupsd: warning: /etc/hosts.deny, line 5: Unable to handle client address: unknown
My hosts.allow has
ALL : 192.168.1. : ALLOW
ALL : .mycompany.org : ALLOW
ALL : 127.0.0.1, localhost : ALLOW
cupsd : 192.168.1.10 : ALLOW
cupsd : 127.0.0.1 : ALLOW
hosts.deny has:
ALL : ALL EXCEPT 192.168.1., 127.0.0.1, LOCAL
I have tried numerous variations on these with no success.
The cups log gives a zillion lines like:
[26/Dec/2006:22:11:14 -0500] tcp_wrappers refused connection from unknown. See /etc/hosts.allow and /etc/hosts.deny.
I am stuck. Please help.
Jim
|