security/sshguard 2.6.0,1 FreeBSD
Protect hosts from brute-force attacks against SSH and other services
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
eeeb4cc3dc- License
- BSD2CLAUSE
- Categories
- security
- Package size
- 396.9 KiB, 1732.3 KiB installed
Description
SSHGuard protects hosts from brute-force attacks against SSH and other services. It aggregates system logs and blocks repeat offenders using one of several firewall backends.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/sshguard | 2.6.0,1 |
| OpenBSD | security/sshguard | 2.6.0 |
| NetBSD | security/sshguard | 2.4.2 |
| DragonFly | security/sshguard | 2.4.3_3,1 |
| MidnightBSD | security/sshguard | 2.5.1 |
| HardenedBSD | security/sshguard | 2.5.1_2,1 |
| GhostBSD | security/sshguard | 2.5.1,1 |
Install
Binary package:
pkg install sshguard
From the ports tree:
cd /usr/ports/security/sshguard/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sshguard>0:security/sshguard
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.5.1_2,1 | 2.5.1_2,1 | 2.4.2_2,1 | 2.5.1,1 | 2.5.1_2,1 |
| FreeBSD:14:quarterly | 2.5.1_2,1 | 2.5.1_2,1 | n/a | 2.5.1,1 | 2.5.1_2,1 |
| FreeBSD:15:latest | 2.5.1_2,1 | 2.5.1_2,1 | n/a | 2.5.1,1 | 2.5.1,1 |
| FreeBSD:15:quarterly | 2.5.1_2,1 | 2.5.1_2,1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.5.1_2,1 | 2.5.1_2,1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
No options to configure.
- Service scripts
sshguard
Message after installing
Files
Manual pages 2
- sshguard(8)
- sshguard-setup(7)
pkg-plist 16
- @sample etc/sshguard.conf.sample
- sbin/sshguard
- libexec/sshg-blocker
- libexec/sshg-fw-firewalld
- libexec/sshg-fw-hosts
- libexec/sshg-fw-ipfilter
- libexec/sshg-fw-ipfw
- libexec/sshg-fw-ipset
- libexec/sshg-fw-iptables
- libexec/sshg-fw-nft-sets
- libexec/sshg-fw-null
- libexec/sshg-fw-pf
- libexec/sshg-logtail
- libexec/sshg-parser
- share/man/man7/sshguard-setup.7.gz
- share/man/man8/sshguard.8.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| sshguard-2.6.0.tar.gz | 990267 | 17cf44e29ce7853bd2df1425785947a097eda1d4f87ffb03a92d4c98bae4654d |
Master sites 1
- SF/sshguard/sshguard/${PORTVERSION}
Commit history 3
| Date | Commit | Credits | Log message |
|---|---|---|---|
eeeb4cc3dc |
Kevin Zheng | security/sshguard: Update 2.5.1 => 2.6.0 Changelog:
https://github.com/SSHGuard/sshguard/blob/v2.6.0/CHANGELOG.rst
PR: 299605
Sponsored by: UNIS Labs (vvd, commit patch) |
|
15f83b9d89 |
SASAKI Katuhiro | security/sshguard: Backport upstream patch To fix HOSTNAME field in syslog header handling.
PR: 298836
Approved by: Kevin Zheng <[email protected]> (maintainer)
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q3 |
|
79e6862d9b |
Kevin Zheng | security/sshguard: Add default "NO" to rcvar Without a default rcvar set to NO, there are warnings like this:
/etc/rc: WARNING: $sshguard_enable is not set properly - see rc.conf(5)?
PR: 298781
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q3 |