Thanks for the feedback, Glenn. On 12/07/2009, at 14:30, Glenn Millhauser wrote:
> Hi Folks, > From a bit of poking around, I found that the problem was with the > files in the /sw/share/denyhosts-py25/data directory. Apparently, at > a certain size threshold -- around 300K -- they no longer work well > with denyhosts. For a temporary fix, I refreshed the data directory. > Specifically, I did the following: > > cd /sw/share/denyhosts-py25 > mv data data_old > > and then restarted the daemon (sudo denyhosts-py25.py -c /sw/etc/ > denyhosts-py25/denyhosts.cfg -- daemon). > > This just renames the old data directory, and the daemon then rebuilds > a fresh directory. It's working fine now, once again logging brute > force ssh attempts to my hosts.deny file. Also, generating a new data > directory had no affect on my existing hosts.deny file -- whew. > > I don't know why there is a size limit on files within the /sw/share/ > denyhosts-py25/data directory. Of course, maybe one of my files got > corrupted and it really isn't a size issue. I scanned the /sw/etc/ > denyhosts-py25/denyhosts.cfg to see if there are any file size > settings, but didn't see anything obvious (at least to my untrained > eyes). So, until this is addressed in a more general fashion, one > should periodically check that the daemon is running and logging > correctly. If not, renewing the data directory might be an easy fix. > > glenn > > > On Jul 9, 2009, at 9:09 PM, Glenn Millhauser wrote: > >> Hi All, >> I've been using denyhosts-py25 for over a year now with great >> success. Catches and logs all kinds of break in attempts. However, >> at the end of last month it stopped working. When the daemon goes >> to start up it hangs at the point: >> >> 2009-07-09 18:49:58,518 - prefs : INFO WORK_DIR: [/sw/ >> share/denyhosts-py25/data] >> >> The daemon never starts up. I haven't changed anything and have not >> done any Fink or package updates in months. >> >> I did remove the denyhosts-py25.pid file and tried to restart the >> daemon, but no luck. >> >> I never clear out any of the log files, thus keeping a never ending >> list of break in attempts. >> >> Any ideas? >> >> I'm running 10.5.7. Back a year ago, denyhosts had been dormant for >> a while, so it took a bit of tinkering to get it running in 10.5. >> But it looks like the maintainer is active again, or there is a new >> maintainer. >> >> thanks, >> glenn > Glenn Millhauser > Department of Chemistry & Biochemistry > UC Santa Cruz > Santa Cruz, CA 95064 > > 831 459 2176 voice > 831 459 2935 fax > 831 566 3337 cell > > [email protected] > http://chemistry.ucsc.edu/~glennm -- monipol http://finkers.wordpress.com Submitting a Fink bug report? Read this: http://www.finkproject.org/doc/netiquette/index.php http://finkers.wordpress.com/2009/06/03/bug-reports/ ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
