08431a1378
Fail2Ban scans log files like /var/log/pwdfail and bans IP that makes too many password failures. It updates firewall rules to reject the IP address. Theses rules can be defined by the user. Fail2Ban can read multiple log files such as sshd or Apache web server ones.
13 lines
269 B
Makefile
13 lines
269 B
Makefile
# $NetBSD: options.mk,v 1.1 2015/02/09 10:05:25 nils Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.fail2ban
|
|
PKG_SUPPORTED_OPTIONS= gamin
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Use Gamin
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mgamin)
|
|
DEPENDS+= gamin>=0.0.21:../../sysutils/gamin
|
|
.endif
|