pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/honeyd Initial import of honeyd-0.8b, from pk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad1f53203d50
branches:  trunk
changeset: 473461:ad1f53203d50
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Apr 20 09:14:43 2004 +0000

description:
Initial import of honeyd-0.8b, from pkgsrc-wip packaged by Adrian
Portelli with minor changes by me.

Honeyd is a small daemon that creates virtual hosts on a network. The hosts
can be configured to run arbitrary services, and their personality can be
adapted so that they appear to be running certain operating systems. Honeyd
enables a single host to claim multiple addresses - I have tested up to
65536 - on a LAN for network simulation. Honeyd improves cyber security by
providing mechanisms for threat detection and assessment. It also deters
adversaries by hiding real systems in the middle of virtual systems.

diffstat:

 security/honeyd/DESCR            |   7 +++++++
 security/honeyd/Makefile         |  40 ++++++++++++++++++++++++++++++++++++++++
 security/honeyd/PLIST            |  21 +++++++++++++++++++++
 security/honeyd/distinfo         |   5 +++++
 security/honeyd/files/honeyd.sh  |  18 ++++++++++++++++++
 security/honeyd/patches/patch-aa |  26 ++++++++++++++++++++++++++
 6 files changed, 117 insertions(+), 0 deletions(-)

diffs (141 lines):

diff -r 92a3396783c6 -r ad1f53203d50 security/honeyd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/honeyd/DESCR     Tue Apr 20 09:14:43 2004 +0000
@@ -0,0 +1,7 @@
+Honeyd is a small daemon that creates virtual hosts on a network. The hosts 
+can be configured to run arbitrary services, and their personality can be 
+adapted so that they appear to be running certain operating systems. Honeyd 
+enables a single host to claim multiple addresses - I have tested up to 
+65536 - on a LAN for network simulation. Honeyd improves cyber security by 
+providing mechanisms for threat detection and assessment. It also deters 
+adversaries by hiding real systems in the middle of virtual systems.
diff -r 92a3396783c6 -r ad1f53203d50 security/honeyd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/honeyd/Makefile  Tue Apr 20 09:14:43 2004 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/20 09:14:43 xtraeme Exp $
+#
+
+DISTNAME=      honeyd-0.8b
+CATEGORIES=    security net
+MASTER_SITES=  http://niels.xtdnet.nl/honeyd/
+
+MAINTAINER=    adrianp%stindustries.net@localhost
+HOMEPAGE=      http://niels.xtdnet.nl/honeyd/index.php
+COMMENT=       Small daemon that creates virtual hosts on a network
+
+DEPENDS+=       honeyd-arpd>=0.2:../../security/honeyd-arpd
+
+GNU_CONFIGURE=         yes
+USE_BUILDLINK3=                yes
+USE_LIBTOOL=           yes
+USE_PKGINSTALL=                yes
+PKG_SYSCONFSUBDIR=     honeyd
+RCD_SCRIPTS=           honeyd
+
+DIST_CONF_FILES=       nmap.assoc xprobe2.conf nmap.prints \
+                       config.ethernet pf.os
+EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
+DOCDIR=                        ${PREFIX}/share/doc/${PKGBASE}
+
+.for f in ${DIST_CONF_FILES}
+CONF_FILES+=           ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
+.endfor
+.undef f
+
+post-install:
+       ${INSTALL_DATA_DIR} ${DOCDIR}
+       ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../net/libdnet/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r 92a3396783c6 -r ad1f53203d50 security/honeyd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/honeyd/PLIST     Tue Apr 20 09:14:43 2004 +0000
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/20 09:14:43 xtraeme Exp $
+bin/honeyd
+bin/honeydctl
+etc/rc.d/honeyd
+include/honeyd/debug.h
+include/honeyd/hooks.h
+include/honeyd/plugins.h
+include/honeyd/plugins_config.h
+lib/honeyd/libhoneyd.so
+man/man1/honeydctl.1
+man/man8/honeyd.8
+share/doc/honeyd/README
+share/examples/honeyd/config.ethernet
+share/examples/honeyd/config.sample
+share/examples/honeyd/nmap.assoc
+share/examples/honeyd/nmap.prints
+share/examples/honeyd/pf.os
+share/examples/honeyd/xprobe2.conf
+@dirrm share/examples/honeyd
+@dirrm lib/honeyd
+@dirrm include/honeyd
diff -r 92a3396783c6 -r ad1f53203d50 security/honeyd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/honeyd/distinfo  Tue Apr 20 09:14:43 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/20 09:14:43 xtraeme Exp $
+
+SHA1 (honeyd-0.8b.tar.gz) = fe8054847b98003d52ec50a8376e51a9f76d41e5
+Size (honeyd-0.8b.tar.gz) = 523808 bytes
+SHA1 (patch-aa) = 8f6330238715a19951731372f70fefcea85e5df9
diff -r 92a3396783c6 -r ad1f53203d50 security/honeyd/files/honeyd.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/honeyd/files/honeyd.sh   Tue Apr 20 09:14:43 2004 +0000
@@ -0,0 +1,18 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: honeyd.sh,v 1.1.1.1 2004/04/20 09:14:43 xtraeme Exp $
+#
+
+# PROVIDE: honeyd
+# REQUIRE: DAEMON
+# AFTER:  honeydarpd
+
+. /etc/rc.subr
+
+name="honeyd"
+rcvar=$name
+command="@PREFIX@/bin/${name}"
+pidfile="/var/run/${name}.pid"
+
+load_rc_config $name
+run_rc_command "$1"
diff -r 92a3396783c6 -r ad1f53203d50 security/honeyd/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/honeyd/patches/patch-aa  Tue Apr 20 09:14:43 2004 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/20 09:14:43 xtraeme Exp $
+
+--- Makefile.in.orig   2004-04-20 11:00:09.000000000 +0200
++++ Makefile.in        2004-04-20 11:01:05.000000000 +0200
+@@ -109,10 +109,10 @@
+ libhoneyd_DATA = libhoneyd.so
+ 
+ # Configuration files for Honeyd
+-honeyddatadir = $(datadir)/honeyd
++honeyddatadir = $(datadir)/examples/honeyd
+ honeydlibdir = $(libdir)/honeyd
+ honeydincludedir = $(includedir)/honeyd
+-honeyddata_DATA = README nmap.assoc xprobe2.conf nmap.prints config.sample            config.ethernet pf.os
++honeyddata_DATA = nmap.assoc xprobe2.conf nmap.prints config.sample config.ethernet pf.os
+ 
+ 
+ honeydplugins = @PLUGINS@
+@@ -146,7 +146,7 @@
+ honeydctl_INCLUDES = @EDITINC@
+ honeydctl_CFLAGS = -O2 -Wall
+ 
+-CFLAGS = -O2 -Wall -g         -DPATH_HONEYDINCLUDE="\"$(honeydincludedir)\""  -DPATH_HONEYDDATA="\"$(honeyddatadir)\""        -DPATH_HONEYDLIB="\"$(honeydlibdir)\""  
-DHONEYD_PLUGINS_DECLARE="$(honeydpluginsdeclare)"      -DHONEYD_PLUGINS="$(honeydplugins)"
++CFLAGS += -DPATH_HONEYDINCLUDE="\"$(honeydincludedir)\""      -DPATH_HONEYDDATA="\"$(sysconfdir)\""   -DPATH_HONEYDLIB="\"$(honeydlibdir)\""  -DHONEYD_PLUGINS_DECLARE="$(honeydpluginsdeclare)"      
-DHONEYD_PLUGINS="$(honeydplugins)"
+ 
+ 
+ INCLUDES = -I$(top_srcdir)/@DNETCOMPAT@ -I$(top_srcdir)/compat        @PYTHONINC@ @EVENTINC@ @PCAPINC@ @DNETINC@



Home | Main Index | Thread Index | Old Index