![]() |
DenyHosts stop problem
Apparently my Denyhosts stopped automatically adding intrusion attempts though SSH to the hosts.deny file So now I have to add them mannually what a pain. How should I fix this without breaking the denial? I guess a better questions is is DenyHosts still working properly or should I assume that the whole thing is broken?:o
|
Do you get any error messages when you restart DenyHosts?
|
That was it!
Falko,
Thanks so much for your help. DenyHosts wasn't even running. Imagine that. I had rebooted the computer and forgot to start Deny Hosts. Is there any way to set my server to boot it automatically on start up? :D |
What I discovered about DenyHosts...
So I was searching for a way to tweak my server so that DenyHosts starts up on boot up of the server and I discovered that I have an older version of Deny Hosts and would like to upgrade to the newest version that came out this month. How should I go about upgrading? Should I install right on top of the old installation? Will it delete my hosts.deny file? I wouldn't like that much. Let me know what you suggest.:confused:
|
Quote:
Code:
update-rc.d denyhosts defaultsQuote:
Quote:
|
I run Fedora Core 4
Quote:
What would be the command for that. My concern is that my version is a little dated Code:
[root@ccs02 ]# denyhosts.py --version |
Quote:
Code:
chkconfig --levels 235 denyhosts onQuote:
|
Problems Compiling new version from sources
Falko,
I installed the new version right on top of the older version without any problems, follows directions on the tutorial. Although the tutorial is designed for Debian I am installing it on Fedora Core 4. Now when I run: Code:
[root@ccs02 denyhosts]# denyhosts.py --versionCode:
[root@ccs02 denyhosts]# /etc/init.d/denyhosts start |
Problem Solved!
Falko,
This is what I did, and I don't recommend anyone from repeating this at all. I overwrote the denyhosts.cfg with the new 2.4b denyhost.cfg-dist file. Not the wisest of decisions. So to remedy the situation I just took the old denyhost.cfg-dist file from the 2.0 version replaced the working denyhosts.cfg file and added a parameter Code:
DENY_THRESHOLD_RESTRICTED = 1Thank you for your advice. Jorge |
| All times are GMT +2. The time now is 23:21. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.