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_5 security on this many watch lists=32 search for ports that depend on this port
Script to thwart ssh attacks
Maintained by: jmohacsi@bsd.hu 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 required dependencies information. Optional dependencies are not covered.

Required To Build:
  1. devel/py-setuptools27
  2. lang/python27
Required To Run:
  1. devel/py-setuptools27
  2. lang/python27
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
     No options to configure

Master Sites:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
  2. http://downloads.sourceforge.net/project/denyhosts/denyhosts/2.6/

Number of commits found: 21

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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: 21

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
i2pJul 28
i2pJul 28
i2pJul 28
bugzilla44Jul 25
apache22Jul 24
apache22-event-mpmJul 24
apache22-itk-mpmJul 24
apache22-peruser-mpmJul 24
apache22-worker-mpmJul 24
firefoxJul 23
firefox-develJul 23
firefox-esrJul 23
firefox10Jul 23
firefox15Jul 23
firefox3Jul 23

11 vulnerabilities affecting 34 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 24398
Broken 181
Deprecated 824
Ignore 516
Forbidden 16
Restricted 263
No CDROM 101
Vulnerable 28
Expired 1
Set to expire 811
Interactive 13
new 24 hours 4
new 48 hours7
new 7 days17
new fortnight39
new month105

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