notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
denyhosts Script to thwart ssh and imap attacks
3.1.2 security on this many watch lists=27 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.1.2Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2005-11-11 06:46:55
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
People watching this port, also watch:: libiconv, m4, expat, gmake, gettext
License: GPLv2
WWW:
https://github.com/denyhosts/denyhosts
Description:
DenyHosts is a utility developed by Phil Schwartz and maintained by a number of developers which aims to thwart sshd (ssh server) brute force 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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • denyhosts-py39>0:security/denyhosts
To install the port:
cd /usr/ports/security/denyhosts/ && make install clean
To add the package, run one of these commands:
  • pkg install security/denyhosts
  • pkg install denyhosts-py39
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: denyhosts-py39
Package flavors (<flavor>: <package>)
  • py39: denyhosts-py39
distinfo:
TIMESTAMP = 1598627070 SHA256 (DenyHosts-3.1.2.tar.gz) = cfae79a11ce27e0e8a7a9915139d4c6b68df1022e447432d589e8fbb8e1aa9e7 SIZE (DenyHosts-3.1.2.tar.gz) = 53086

Packages (timestamps in pop-ups are UTC):
denyhosts-py37
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--3.1.2---3.1.2-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

denyhosts-py39
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.1.23.1.2-3.1.23.1.2---
FreeBSD:13:quarterly3.1.23.1.23.1.23.1.23.1.23.1.23.1.23.1.2
FreeBSD:14:latest3.1.23.1.23.1.23.1.23.1.23.1.2-3.1.2
FreeBSD:14:quarterly3.1.23.1.2-3.1.23.1.23.1.23.1.23.1.2
FreeBSD:15:latest3.1.23.1.2n/a3.1.2n/a3.1.23.1.23.1.2
FreeBSD:15:quarterly--n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-ipaddr>=0 : devel/py-ipaddr@py39
  2. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  3. python3.9 : lang/python39
  4. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  5. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-ipaddr>=0 : devel/py-ipaddr@py39
  2. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  3. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
security_denyhosts
USES:
cpe python shebangfix
pkg-message:
For install:
To run denyhosts from startup, add denyhosts_enable="YES" in your /etc/rc.conf. Configiration options can be found in /usr/local/etc/denyhosts.conf In order to proper working of denyhosts 1. edit your /etc/hosts.allow file and add: sshd : /etc/hosts.deniedssh : deny sshd : ALL : allow 2. issue the following command if /etc/hosts.deniedssh does not exist yet touch /etc/hosts.deniedssh Warning: syslogd should ideally be run with the -c option; this will ensure that denyhosts notices multiple repeated login attempts. To do this, add syslogd_flags="-c" to /etc/rc.conf
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/denyhosts/denyhosts/releases/download/v3.1/
Collapse this list.

Number of commits found: 42

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.1.2
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
3.1.2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.1.2
20 Jul 2022 14:22:56
commit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fe files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
security: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Kapranoff <kappa@rambler-co.ru>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexander Kriventsov <avk@vl.ru>
  *  Alexander Leidinger <netchild@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.1.2
16 Oct 2021 07:09:16
commit hash: 434797e9e71a8f6d589ffff59b6b04153e7fff68commit hash: 434797e9e71a8f6d589ffff59b6b04153e7fff68commit hash: 434797e9e71a8f6d589ffff59b6b04153e7fff68commit hash: 434797e9e71a8f6d589ffff59b6b04153e7fff68 files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
security/denyhosts: fix whitespace in pkg-descr.
3.1.2
06 Apr 2021 14:31:13
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
3.1.2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.1.2
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
3.1.2
30 Aug 2020 07:14:07
Revision:546989Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 3.1.2

- Use upstream release tarball
- Update manpage location (r523104)

Changes:	https://github.com/denyhosts/denyhosts/releases
		https://github.com/denyhosts/denyhosts/commits/master
3.1_1
24 Jul 2020 18:59:17
Revision:543284Original commit files touched by this commit
sunpoet search for other commits by this committer
Fix AttributeError error

- Bump PORTREVISION for package change

Reported by:	Frank Bartels <freebsd@knarf.de>
Obtained
from:	https://github.com/denyhosts/denyhosts/commit/d4cdd64d2e3b2c395193a141db8d3c5cbda91f28
3.1
13 Nov 2019 23:47:43
Revision:517540Original commit files touched by this commit
sunpoet search for other commits by this committer
Simplify Makefile

- Remove no-op shebang fix
- Remove .bak/.orig cleanup which does not affect the package

PR:		241806
Submitted by:	amdmi3
3.1
01 Oct 2019 19:17:00
Revision:513524Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 3.1

- Change MASTER_SITES from SF to GitHub
- Add LICENSE_FILE
- Relax USES=python
- Update CPE
- Update WWW

Changes:	https://github.com/denyhosts/denyhosts/releases
PR:		200837 (based on)
Submitted by:	Jesse Smith <jsmith@resonatingmedia.com>
2.6_7
14 Aug 2019 12:16:13
Revision:508909Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories s)
2.6_7
14 Mar 2018 06:11:13
Revision:464459Original commit files touched by this commit
yuri search for other commits by this committer
security/denyhosts: Unbreak by fixing shebang

Another file needed daemon-control-dist.
Also added NO_ARCH.

Approved by:	portmgr (port compliance, infrastructure)
2.6_7
19 Feb 2018 11:10:43
Revision:462307Original commit files touched by this commit
antoine search for other commits by this committer
Reduce dependency on the python2 metaport

PR:		225752
Submitted by:	Yasuhiro KIMURA
2.6_6
19 May 2016 11:09:14
Revision:415503Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-messages

Approved by:	portmgr blanket
2.6_6
19 May 2016 10:53:06
Revision:415500Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [p-x]*

Approved by:	portmgr blanket
2.6_6
22 May 2015 20:34:29
Revision:387082Original commit files touched by this commit
mat search for other commits by this committer
Remove $FreeBSD$ from patches files everywhere.

With hat:	portmgr
Sponsored by:	Absolight
2.6_6
23 Apr 2015 20:16:47
Revision:384607Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add CPE info

Approved by:	portmgr blanket
2.6_6
30 Aug 2014 02:53:44
Revision:366587Original commit files touched by this commit
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
2.6_5
21 Aug 2014 13:34:25
Revision:365559Original commit files touched by this commit
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
2.6_5
05 Apr 2014 19:44:15
Revision:350260Original commit files touched by this commit
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
2.6_4
20 Sep 2013 22:55:26
Revision:327769Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
security)
2.6_4
09 Jan 2013 19:50:06
Revision:310162Original commit files touched by this commit
tabthorpe search for other commits by this committer
- Change MAINTAINER address
- Trim headers while I am here
- Clean up some trailing whitespace
2.6_4
14 Jan 2012 08:57:23
Original commit files touched by this commit
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.
2.6_4
15 Jul 2011 18:38:34
Original commit files touched by this commit
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)
2.6_3
03 Jul 2011 14:03:52
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
2.6_3
27 Mar 2010 00:15:24
Original commit files touched by this commit
dougb search for other commits by this committer
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2.6_3
01 Feb 2010 17:43:23
Original commit files touched by this commit
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)
2.6_2
22 Aug 2009 00:35:32
Original commit files touched by this commit 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
2.6_2
27 Nov 2008 02:46:41
Original commit files touched by this commit
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
2.6_1
30 Jul 2007 09:42:28
Original commit files touched by this commit
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
2.6_1
29 Jun 2007 12:11:11
Original commit files touched by this commit
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)
2.6_1
23 Jun 2007 06:35:16
Original commit files touched by this commit
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)
2.6
30 Dec 2006 17:20:46
Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 2.6

PR:             ports/107326
Submitted by:   Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
2.5_1
23 Nov 2006 06:43:34
Original commit files touched by this commit
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)
2.5
07 Oct 2006 17:03:40
Original commit files touched by this commit
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)
2.5
30 Jun 2006 17:13:22
Original commit files touched by this commit
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
2.4.b
19 May 2006 23:47:45
Original commit files touched by this commit
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)
2.2
13 May 2006 04:15:53
Original commit files touched by this commit
edwin search for other commits by this committer
Remove USE_REINPLACE from all categories starting with S
2.2
31 Mar 2006 03:43:05
Original commit files touched by this commit
ijliao search for other commits by this committer
upgrade to 2.2

PR:             95044
Submitted by:   maintainer
1.1.2
11 Nov 2005 06:45:58
Original commit files touched by this commit
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: 42