Drop the tcpd FLAVOR.
ok sthen@
This commit is contained in:
parent
6c4e537ec6
commit
73a7684a80
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2014/01/27 15:49:15 kirby Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2014/03/25 12:31:50 ajacoutot Exp $
|
||||
|
||||
COMMENT= protect against brute force attacks on sshd and others
|
||||
|
||||
DISTNAME= sshguard-1.5
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
CATEGORIES= security
|
||||
|
||||
# BSD
|
||||
@ -18,13 +18,6 @@ EXTRACT_SUFX= .tar.bz2
|
||||
CONFIGURE_STYLE=gnu
|
||||
NO_TEST= Yes
|
||||
|
||||
FLAVORS = tcpd
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:Mtcpd}
|
||||
CONFIGURE_ARGS = --with-firewall=hosts
|
||||
.else
|
||||
CONFIGURE_ARGS = --with-firewall=pf
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,20 +1,12 @@
|
||||
$OpenBSD: README,v 1.1 2014/01/27 15:49:15 kirby Exp $
|
||||
$OpenBSD: README,v 1.2 2014/03/25 12:31:50 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
To use sshguard with:
|
||||
|
||||
* pf:
|
||||
|
||||
you must add the following to /etc/pf.conf:
|
||||
To use sshguard with pf(4), add the following to /etc/pf.conf:
|
||||
|
||||
table <sshguard> persist
|
||||
|
||||
block in quick on egress proto tcp from <sshguard> \
|
||||
to any port ssh label "ssh bruteforce"
|
||||
|
||||
* tcpd:
|
||||
|
||||
hosts.allow(5) must be present under /etc.
|
||||
|
Loading…
x
Reference in New Issue
Block a user