Port details on branch 2022Q2 |
- denyhosts Script to thwart ssh and imap attacks
- 3.1.2_1 security =27 3.1.2_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2005-11-11 06:46:55
- Last Update: 2024-03-23 14:30:47
- Commit Hash: f76cd2c
- 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
- ¦ ¦ ¦ ¦
- 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>)
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-ipaddr>=0 : devel/py-ipaddr@py39
- 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
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|