Much obliged.
And it looked like I accidentally added a leading space to the quoted string
in daemon-control for the lock file. The "stop" command seems to work now.
Thanks!
Matt
On 1/9/07, Phil Schwartz <[EMAIL PROTECTED]> wrote:
To cleanse the IP address from DenyHosts do the following:
- Stop DH
- cd to your DH WORK_DIR
- edit each file containing the ip address (grep "THE_IP_ADDR" *)
- remove the ip from each file, save them
- Start DH
Eventually, I'll add a remove IP facility (or add'l script to perform this
for you in an easier way).
As for the "isn't running" issue:
(1)
What is the path of DENYHOSTS_LOCK is daemon-control (approx line 15 of
the script)?
(2)
What is the value of the LOCK_FILE in your denyhosts.cfg?
If (1) and (2) aren't the same, modify one to match the other.
Regards,
Phil
On Tue, 9 Jan 2007, Belorion wrote:
> I started using DenyHosts a couple of weeks ago. Fantastic software,
thank
> you very much for it's creation.
>
> I have a problem where an account holder failed numerous login attempts,
and
> had their IP black listed. I assumed that to remove them from this
> black-list I could:
>
> 1) Remove their ip from /etc/hosts.deny
> 2) Have them re-attempt login, thinking the successful login would reset
> their failed count.
>
> However, even after a successful login, they are again blacklisted when
> DenyHosts runs again.
>
> I tried adding their IP's to the hosts-valid file in /data, but that
doesn't
> seem to work either. It is almost like DenyHosts is parsing the whole
log
> file in it's entirety, and sees the old failed attempts and black-lists
> them.
>
> What exactly are the steps one should take to remove one from the
> black-list? (have been running in daemon mode)
>
> As an aside, when I tried shutting off the daemon running in the
background
> with 'deamon-control stop', I get a message the DenyHosts isn't running,
> even though there is a PID file and I see it in the process list. The
only
> way I am able to stop and restart it is by killing it and removing the
PID
> file.
>
> Thanks.
>
> Matt
>
> p.s. In case it's helpful, am running Suse 9.2 with a fairly bare-bones
> installation.
>
--
Regards,
Phil Schwartz
- http://www.phil-schwartz.com
Open Source Projects:
- DenyHosts: http://www.denyhosts.net
- Kodos: http://kodos.sourceforge.net
- ReleaseForge: http://releaseforge.sourceforge.net
- Scratchy: http://scratchy.sourceforge.net
- FAQtor: http://faqtor.sourceforge.net
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user