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 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Denyhosts-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/denyhosts-user
