FS#15820 - [denyhosts] --purge option for start

Attached to Project: Arch Linux
Opened by ugaciaka (ugaciaka) - Wednesday, 05 August 2009, 21:38 GMT
Last edited by Aaron Griffin (phrakture) - Monday, 10 August 2009, 18:24 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Douglas Soares de Andrade (dsa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


My request is to create a file /etc/conf.d/denyhosts that will be read from /etc/rc.d/denyhosts to be able to start with denyhosts.py with other flag. For example --purge.

from http://denyhosts.sourceforge.net/faq.html#purge: DenyHosts v0.8.0 (and greater) offers the ability to remove old entries from the HOSTS_DENY file (eg. /etc/hosts.deny). You must set the PURGE_DENY parameter in your configuration file and invoke DenyHosts with the --purge command line flag:

$ denyhosts.py --purge


Additional info:
* package version(s): 2.6-4
This task depends upon

Closed by  Aaron Griffin (phrakture)
Monday, 10 August 2009, 18:24 GMT
Reason for closing:  None
Additional comments about closing:  See comments
Comment by Aaron Griffin (phrakture) - Wednesday, 05 August 2009, 23:29 GMT
Not sure why I'm the maintainer of denyhosts, heh... Eric and dsa were the last to touch it. Not sure if you guys want to maintain it or not (I can orphan it). If not, let me know and I can get to this
Comment by Eric Belanger (Snowman) - Thursday, 06 August 2009, 00:08 GMT
I don't want to maintain it. I just built the x86_64 package.
Comment by ugaciaka (ugaciaka) - Thursday, 06 August 2009, 08:38 GMT
sorry, I see this

$ denyhosts.py --daemon Note:
The following command line flags are ignored when --daemon is used: --file, --verbose, --migrate, --purge

I think that my request is stupid :-p
Comment by Aaron Griffin (phrakture) - Thursday, 06 August 2009, 18:02 GMT
Hmmm, so a conf.d file might not be all that useful. Should we close this report then?
Comment by Eric Belanger (Snowman) - Friday, 07 August 2009, 05:20 GMT
sure. Most of the options (including the one in this request) don't work with the daemon.