FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
denyhosts 2.6_6 security on this many watch lists=32 search for ports that depend on this port
Script to thwart ssh attacks
Maintained by: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 11 Nov 2005 06:46:55
License: GPLv2


DenyHosts is a script intended to be run by *ix system administrators to 
help thwart ssh server attacks.

If you've ever looked at your ssh log (/var/log/auth.log ) you may be alarmed 
to see how many hackers attempted to gain access to your server. 
Denyhosts helps you:
- Parses /var/log/auth.log to find all login attempts
- Can be run from the command line, cron or as a daemon (new in 0.9)
- Records all failed login attempts for the user and offending host
- For each host that exceeds a threshold count, records the evil host
- Keeps track of each non-existent user (eg. sdada) when a login attempt failed.
- Keeps track of each existing user (eg. root) when a login attempt failed.
- Keeps track of each offending host (hosts can be purged )
- Keeps track of suspicious logins 
- Keeps track of the file offset, so that you can reparse the same file
- When the log file is rotated, the script will detect it 
- Appends /etc/hosts.allow
- Optionally sends an email of newly banned hosts and suspicious logins.
- Resolves IP addresses to hostnames, if you want

WWW: http://denyhosts.sourceforge.net/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Required To Build:
  1. devel/py-setuptools27
  2. lang/python27
  3. lang/python2
Required To Run:
  1. devel/py-setuptools27
  2. lang/python27
  3. lang/python2
There are no ports dependent upon this port

To install the port: cd /usr/ports/security/denyhosts/ && make install clean
To add the package: pkg install security/denyhosts


Configuration Options
===> The following configuration options are available for denyhosts-2.6_6:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings

Master Sites:
  1. http://aarnet.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  2. http://distcache.FreeBSD.org/ports-distfiles/
  3. http://downloads.sourceforge.net/project/denyhosts/denyhosts/2.6/
  4. http://freefr.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  5. http://garr.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  6. http://heanet.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  7. http://hivelocity.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  8. http://ignum.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  9. http://internode.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  10. http://iweb.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  11. http://jaist.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  12. http://kaz.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  13. http://kent.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  14. http://master.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  15. http://nchc.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  16. http://ncu.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  17. http://netcologne.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  18. http://sunet.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  19. http://superb-dca3.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  20. http://switch.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  21. http://tenet.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  22. http://ufpr.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/
  23. http://waix.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/

Number of commits found: 23

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
30 Aug 2014 02:53:44
Original commit files touched by this commit  2.6_6
Revision:366587
sunpoet search for other commits by this committer
- Add missing OPTIONS_DEFINE
- Convert PYDISTUTILS_AUTOPLIST and USE_PYDISTUTILS to USE_PYTHON
- Remove python from SHEBANG_LANG
- Add REINPLACE_ARGS
- Move .bak/.orig removal from pre-install: to post-patch:
- Use @sample
- Bump PORTREVISION for package change
- Take maintainership
21 Aug 2014 13:34:25
Original commit files touched by this commit  2.6_5
Revision:365559
marino search for other commits by this committer
Security/denyhosts: Limit to python 2.x and reset maintainer

The maintainer has not been responsive and multiple PRs have timed out.
Convert USE_PYTHON=yes to USES=python:2 as this application will not
run on Python 3.x

PR:		187408
Submitted by:	corsmith (gmail)
Approved by:	maintainer timeout
05 Apr 2014 19:44:15
Original commit files touched by this commit  2.6_5
Revision:350260
ohauer search for other commits by this committer
- add stage support
- use PYDISTUTILS_AUTOPLIST
- rename patch files to reflect `make makepatch' naming
- fix possible DOS
  reported on: http://seclists.org/oss-sec/2013/q4/535

PR:		ports/185141
Submitted by:	ohauer
Approved by:	maintainer timeout
20 Sep 2013 22:55:26
Original commit files touched by this commit  2.6_4
Revision:327769
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
security)
09 Jan 2013 19:50:06
Original commit files touched by this commit  2.6_4
Revision:310162
tabthorpe search for other commits by this committer
- Change MAINTAINER address
- Trim headers while I am here
- Clean up some trailing whitespace
14 Jan 2012 08:57:23
Original commit files touched by this commit  2.6_4
dougb search for other commits by this committer
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
15 Jul 2011 18:38:34
Original commit files touched by this commit  2.6_4
beech search for other commits by this committer
- Add support for new PAM based log formats in the config file
- Bump portrevision

PR:             ports/158913
Submitted by:   Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
03 Jul 2011 14:03:52
Original commit files touched by this commit  2.6_3
ohauer search for other commits by this committer
-remove MD5
27 Mar 2010 00:15:24
Original commit files touched by this commit  2.6_3
dougb search for other commits by this committer
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
01 Feb 2010 17:43:23
Original commit files touched by this commit  2.6_3
pgollucci search for other commits by this committer
- Fix command_interpreter in the rc.d script

PR:             ports/143053
Submitted by:   Frank Wall <fw@moov.de>
Tweaked by:     Janos Mohacsi <mohacsi@niif.hu> (maintainer)
Corrected by:   pgollucci (myself)
22 Aug 2009 00:35:32
Original commit files touched by this commit  2.6_2
  Sanity Test Failure
amdmi3 search for other commits by this committer
- Switch SourceForge ports to the new File Release System: categories starting
with P,R,S
27 Nov 2008 02:46:41
Original commit files touched by this commit  2.6_2
wxs search for other commits by this committer
- Add a patch to correct the location of nologin.
- Bump PORTREVISION.

PR:             ports/129186
Submitted by:   Till Klampaeckel <till@php.net>
Approved by:    maintainer
30 Jul 2007 09:42:28
Original commit files touched by this commit  2.6_1
alexbl search for other commits by this committer
 - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:      pointyhat runs
Approved by:    pav (portmgr)
Most work by:   perky
Thanks to:      pav
29 Jun 2007 12:11:11
Original commit files touched by this commit  2.6_1
miwi search for other commits by this committer
- Update message file to display rc.conf
- Use SUB_FILES

PR:             113944
Submitted by:   Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
23 Jun 2007 06:35:16
Original commit files touched by this commit  2.6_1
rafan search for other commits by this committer
- Fix a DoS issue

PR:             ports/113942
Security:       http://www.ossec.net/en/attacking-loganalysis.html#denyhosts
Submitted by:   David Bestor <freebsd1 at indenial.com>
Approved by:    Janos Mohacsi <mohacsi at niif.hu> (maintainer)
30 Dec 2006 17:20:46
Original commit files touched by this commit  2.6
miwi search for other commits by this committer
- Update to 2.6

PR:             ports/107326
Submitted by:   Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
23 Nov 2006 06:43:34
Original commit files touched by this commit  2.5_1
clsung search for other commits by this committer
- Move patch from pre-configure to post-patch.
- Use denyhost.conf (FreeBSD's default config file) instead of denyhost.cfg.
- Bump PORTREVISION.

PR:             ports/105305
Submitted by:   Gea-Suan Lin <gslin_AT_gslin dot org>
Approved by:    maintainer (Mohacsi Janos)
07 Oct 2006 17:03:40
Original commit files touched by this commit  2.5
shaun search for other commits by this committer
Add a note to pkg-message warning users about potential problems
relating to default syslogd(8) behavior.

PR:             ports/102605
Submitted by:   Jeremie Le Hen <jeremie@le-hen.org>
Approved by:    maintainer timeout (5 weeks)
30 Jun 2006 17:13:22
Original commit files touched by this commit  2.5
garga search for other commits by this committer
- Update to 2.5
  * ADMIN_EMAIL pref can now contain multiple email addresses delimited by a
    comma (white space is optional). eg. foo@bar.com, bar@foo.com,
    foobar@foo.com
  * fixed bug in denyfileutil: 'timestamp' is now initialized properly
  * daemon-control-dist: modified to work w/ non-default python versions.  You
    must change the PYTHON_BIN and #!/bin/env/python references if appropriate.
  * added a debug message when loading allowed-hosts fails.
  * fixed bug when reporting suspicious login activity.

PR:             ports/99636
Submitted by:   maintainer
19 May 2006 23:47:45
Original commit files touched by this commit  2.4.b
mnag search for other commits by this committer
- Update to 2.4b
- Add new rc.d script

PR:             96824
Submitted by:   Rui Lopes <rgl___ruilopes.com>
Approved by:    maintainer timeout (14 days)
13 May 2006 04:15:53
Original commit files touched by this commit  2.2
edwin search for other commits by this committer
Remove USE_REINPLACE from all categories starting with S
31 Mar 2006 03:43:05
Original commit files touched by this commit  2.2
ijliao search for other commits by this committer
upgrade to 2.2

PR:             95044
Submitted by:   maintainer
11 Nov 2005 06:45:58
Original commit files touched by this commit  1.1.2
vanilla search for other commits by this committer
Add denyhosts 1.1.2, script to thwart ssh attacks.

PR:             ports/88781
Submitted by:   Janos Mohacsi <janos.mohacsi.at.bsd.hu>

Number of commits found: 23

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
asterisk11Oct 21
libxml2Oct 18
drupal7Oct 16
firefox*Oct 16
firefox-esr*Oct 16
libxul*Oct 16
linux-firefox*Oct 16
linux-seamonkey*Oct 16
linux-thunderbird*Oct 16
seamonkey*Oct 16
thunderbird*Oct 16
linux-c6-opensslOct 15
mingw32-opensslOct 15
opensslOct 15
foreman-proxyOct 09

7 vulnerabilities affecting 29 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24262
Broken 100
Deprecated 30
Ignore 357
Forbidden 2
Restricted 205
No CDROM 93
Vulnerable 19
Expired 0
Set to expire 26
Interactive 0
new 24 hours 2
new 48 hours5
new 7 days27
new fortnight48
new month243

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.