View previous topic :: View next topic |
Author |
Message |
Kingoftherings Guru
Joined: 04 May 2008 Posts: 328
|
Posted: Sat Apr 03, 2010 8:06 pm Post subject: Can't find out why DenyHosts crashes. |
|
|
Whenever I start denyhosts using /etc/init.d/denyhosts start, and I check the status it says it's crashed.
Code: |
gentoobox / # /etc/init.d/denyhosts stop
* Stopping DenyHosts daemon ... [ ok ]
gentoobox / # /etc/init.d/denyhosts start
* Starting DenyHosts daemon ... [ ok ]
gentoobox / # /etc/init.d/denyhosts status
* status: crashed
gentoobox / #
|
How can I get some more useful information from it?
I'm using app-admin/denyhosts-2.6-r1
I reinstalled denyhosts, and I'm using the default /etc/denyhosts.conf file. Before it was only slightly modified. |
|
Back to top |
|
|
Kingmilo Apprentice
Joined: 29 Apr 2005 Posts: 173 Location: South Africa
|
Posted: Tue Apr 06, 2010 8:51 am Post subject: |
|
|
Why not use the hosts.deny / hosts.allow, its a lot simpler, or is there functionality you require that this does not provide? _________________ trample the weak, hurdle the dead.. . |
|
Back to top |
|
|
Alcap0ne n00b
Joined: 09 Sep 2004 Posts: 43
|
Posted: Tue Apr 06, 2010 6:38 pm Post subject: |
|
|
It's the normal behaviour : the process isn't continously running, it's only invoked hourly or whatever you've set in the config file. Even if the status is "crashed", the program is working fine.
Kingmilo : denyhosts parses ssh log file to detect intrusion attempts and then add the source ip address to hosts.deny |
|
Back to top |
|
|
Kingoftherings Guru
Joined: 04 May 2008 Posts: 328
|
Posted: Tue Apr 06, 2010 11:46 pm Post subject: |
|
|
Alcap0ne wrote: | It's the normal behaviour : the process isn't continously running, it's only invoked hourly or whatever you've set in the config file. Even if the status is "crashed", the program is working fine.
Kingmilo : denyhosts parses ssh log file to detect intrusion attempts and then add the source ip address to hosts.deny |
Ah thanks.
And yeah, I would never remember to periodically check my ssh log, so denyhosts does it for me. |
|
Back to top |
|
|
Kingmilo Apprentice
Joined: 29 Apr 2005 Posts: 173 Location: South Africa
|
Posted: Wed Apr 07, 2010 2:24 pm Post subject: |
|
|
Super! Please add SOLVED to heading. _________________ trample the weak, hurdle the dead.. . |
|
Back to top |
|
|
|