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
275 B
Makefile
13 lines
275 B
Makefile
# $NetBSD: options.mk,v 1.1.1.1 2010/12/09 16:47:06 rhaamo 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
|