At 03:03 PM 4/26/2006, Peter Ruprecht wrote:
On Wed, 26 Apr 2006, Timothy Meader wrote:
> Hello all, I'm trying to get denyhosts setup properly on a group of
> three Solaris 8 servers, but I'm having a bit of a problem. I've
> gotten everything seemingly up and running (though it might not hurt
> to add to the FAQ that the "hosts.evil" feature does not appear to
> work with tcp_wrappers under Solaris... any attempt to use this
> throws a syntax error under hosts.allow. ie the "EXCEPT
> /etc/hosts.evil" part)... but the allowed-hosts feature is giving me trouble.
>
> I've tried both putting in full IPs into the allowed-hosts file, as
> well as IPs in the form 111.222.*, but neither form matches. I've
> tried copying the allowed-hosts file into /etc as well as
> /usr/share/denyhosts itself instead of just the WORK_DIR
> "/usr/share/denyhosts/data". The permissions on the file are 744, so
> that shouldn't be an issue.
>
> My setup is Solaris 8, with the February recommended patch cluster
> and python (along with tcl and tk) installed from the precompiled
> packages on sunfreeware.
>
> Finally, running denyhosts in debug mode shows no output related to
> allowed-hosts at all. I can see denyhosts adding new IPs to
> /etc/hosts.deny... but there is never an entry showing what's
> currently in the allowed-hosts list.
>
> Thanks in advance for any and all help.
>
> PS - almost forgot, I'm running denyhosts 2.4b from sourceforge.
>
> Thanks.
>
I have found in the past that it often helped to stop denyhosts (when
running in daemon mode), clear all files except for allowed-hosts out
of WORKDIR, and restart, in order for any changes to the allowed-hosts
file to take effect. I'm not sure whether this is necessary with the
newest versions, but it might be worth a try.
-Peter
Tim Meader
CNE Internet Services
NetCommerce Corporation
[EMAIL PROTECTED]
(301) 286-8013
