Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 486730

Summary: app-admin/denyhosts - add a purge option to the init.d script
Product: Gentoo Linux Reporter: Curtis Hacker <hakcenter>
Component: [OLD] ServerAssignee: Pavlos Ratis (RETIRED) <dastergon>
Status: RESOLVED FIXED    
Severity: enhancement CC: hakcenter
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Curtis Hacker 2013-10-01 23:58:51 UTC
It doesn't really have a reliable way to purge without going to user prompt. It is very simple to add.


extra_stopped_commands="purge"

purge() {
        ebegin "Purging hosts.deny"
        start-stop-daemon --start --exec /usr/bin/denyhosts.py --pidfile /var/run/denyhosts.pid -- --purge
        eend $?
}
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2014-01-06 01:53:42 UTC
+*denyhosts-2.6-r9 (06 Jan 2014)
+
+  06 Jan 2014; Christoph Junghans <ottxor@gentoo.org> +denyhosts-2.6-r9.ebuild,
+  +files/denyhosts-2.6-cve-2013-6890.patch, +files/denyhosts.init-r2,
+  metadata.xml:
+  fixed remote denial of ssh service (CVE-2013-6890, bug #495130), added purge
+  command to init.d script (bug #486730) and added me as maintainer
+