Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't find out why DenyHosts crashes.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Kingoftherings
Guru
Guru


Joined: 04 May 2008
Posts: 328

PostPosted: Sat Apr 03, 2010 8:06 pm    Post subject: Can't find out why DenyHosts crashes. Reply with quote

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
View user's profile Send private message
Kingmilo
Apprentice
Apprentice


Joined: 29 Apr 2005
Posts: 173
Location: South Africa

PostPosted: Tue Apr 06, 2010 8:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Alcap0ne
n00b
n00b


Joined: 09 Sep 2004
Posts: 43

PostPosted: Tue Apr 06, 2010 6:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kingoftherings
Guru
Guru


Joined: 04 May 2008
Posts: 328

PostPosted: Tue Apr 06, 2010 11:46 pm    Post subject: Reply with quote

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. :D

And yeah, I would never remember to periodically check my ssh log, so denyhosts does it for me.
Back to top
View user's profile Send private message
Kingmilo
Apprentice
Apprentice


Joined: 29 Apr 2005
Posts: 173
Location: South Africa

PostPosted: Wed Apr 07, 2010 2:24 pm    Post subject: Reply with quote

Super! Please add SOLVED to heading.
_________________
trample the weak, hurdle the dead.. .
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum