tedu nepenthes' prelude support, pointed out naddy@
This commit is contained in:
parent
bebb95258f
commit
fb84f8d022
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.759 2012/07/09 12:58:16 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.760 2012/07/09 13:00:24 sthen Exp $
|
||||
# $FreeBSD: Makefile,v 1.129 1997/11/20 13:47:40 itojun Exp $
|
||||
#
|
||||
|
||||
@ -224,7 +224,6 @@
|
||||
SUBDIR += nemesis
|
||||
SUBDIR += neon
|
||||
SUBDIR += nepenthes
|
||||
SUBDIR += nepenthes,prelude
|
||||
SUBDIR += nepim
|
||||
SUBDIR += net-snmp
|
||||
SUBDIR += netatalk
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.32 2012/04/28 10:51:44 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.33 2012/07/09 13:00:24 sthen Exp $
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= determine the malware activity on a network
|
||||
@ -47,21 +47,8 @@ CONFIGURE_ARGS+=--enable-debug-logging \
|
||||
--disable-capabilities \
|
||||
--with-curl-lib=${PREFIX}/lib
|
||||
|
||||
FLAVORS= prelude
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mprelude}
|
||||
LIB_DEPENDS+= security/prelude/libprelude
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
||||
-I${LOCALBASE}/include/libprelude/" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
||||
WANTLIB+= gcrypt gnutls gpg-error pthread tasn1 prelude>=8
|
||||
CONFIGURE_ARGS+=--enable-prelude
|
||||
MESSAGE= ${PKGDIR}/MESSAGE-prelude
|
||||
.else
|
||||
LIB_DEPENDS+= databases/postgresql
|
||||
WANTLIB += pq>=4
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," \
|
||||
|
@ -2,6 +2,3 @@ Nepenthes can determine the malware activity on a network
|
||||
by deploying a nepenthes sensor (i.e. honeypot). The programm
|
||||
emulates different well known vulnerabilities waiting for
|
||||
malicious connections trying to exploit them.
|
||||
|
||||
Flavors:
|
||||
* prelude - build with prelude support
|
||||
|
@ -1,16 +0,0 @@
|
||||
To start with nepenthes as sensor for prelude, you have to create a
|
||||
starting profile, e.g. "nepenthes" by running on the manager side:
|
||||
|
||||
# prelude-adduser registration-server prelude-manager \
|
||||
--uid=564 --gid=564
|
||||
|
||||
and on the sensor side:
|
||||
|
||||
# prelude-adduser register nepenthes "idmef:w" \
|
||||
<manager address> --uid 564 --gid 564
|
||||
|
||||
Then, enable prelude logging in ${SYSCONFDIR}/nepenthes/nepenthes.conf
|
||||
(uncomment the "logprelude.so" line).
|
||||
|
||||
Eventually, fill in ${SYSCONFDIR}/nepenthes/log-prelude.conf if needed,
|
||||
before starting nepenthes.
|
Loading…
Reference in New Issue
Block a user