diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-07-18 18:19:57 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-07-18 18:19:57 +0000 |
commit | 3ad1a6651fb146296c8948cadb2ead71917cbdd5 (patch) | |
tree | dc84e06d87db57a76bf9ff53658235ab5b8c35ad /net-analyzer/honeyd | |
parent | Removal (bug #333099). (diff) | |
download | gentoo-2-3ad1a6651fb146296c8948cadb2ead71917cbdd5.tar.gz gentoo-2-3ad1a6651fb146296c8948cadb2ead71917cbdd5.tar.bz2 gentoo-2-3ad1a6651fb146296c8948cadb2ead71917cbdd5.zip |
Removal (bug #333099).
Diffstat (limited to 'net-analyzer/honeyd')
-rw-r--r-- | net-analyzer/honeyd/files/honeyd-1.5c-CVE-2008-3928.patch | 20 | ||||
-rw-r--r-- | net-analyzer/honeyd/files/honeyd.confd | 17 | ||||
-rw-r--r-- | net-analyzer/honeyd/files/honeyd.initd | 61 |
3 files changed, 0 insertions, 98 deletions
diff --git a/net-analyzer/honeyd/files/honeyd-1.5c-CVE-2008-3928.patch b/net-analyzer/honeyd/files/honeyd-1.5c-CVE-2008-3928.patch deleted file mode 100644 index 2813fdad1537..000000000000 --- a/net-analyzer/honeyd/files/honeyd-1.5c-CVE-2008-3928.patch +++ /dev/null @@ -1,20 +0,0 @@ -=== modified file 'scripts/test.sh' ---- scripts/test.sh 2008-09-15 14:25:25 +0000 -+++ scripts/test.sh 2008-09-15 14:26:26 +0000 -@@ -1,8 +1,13 @@ -+#!/bin/sh -+# Test script for Honeyd - DATE=`date` --echo "$DATE: Started From $1 Port $2" >> /tmp/log -+LOGDIR=/var/log/honeypot/ -+[ ! -e "$LOGDIR" ] && LOGDIR=/tmp -+LOGFILE=$LOGDIR/log_test -+echo "$DATE: Started From $1 Port $2" >> $LOGFILE - echo SSH-1.5-2.40 - while read name - do -- echo "$name" >> /tmp/log -+ echo "$name" >> $LOGFILE - echo "$name" - done - diff --git a/net-analyzer/honeyd/files/honeyd.confd b/net-analyzer/honeyd/files/honeyd.confd deleted file mode 100644 index b36825e21bfa..000000000000 --- a/net-analyzer/honeyd/files/honeyd.confd +++ /dev/null @@ -1,17 +0,0 @@ -# Config file for /etc/init.d/honeyd - -# Set Network address -#HONEYD_NET="10.0.0.0/8" - -HONEYD_IF="lo" - -HONEYD_LOG="/var/log/honeyd.log" - -# Set to 1 to enable (>=honeyd-1.0) -HONEYD_HTTPD=0 -HONEYD_HTTPD_PORT=80 -HONEYD_HTTPD_ROOT="/usr/share/honeyd/webserver/htdocs" - -# Set preferred options here -HONEYD_OPTS="-f /etc/honeyd.conf -p /usr/share/honeyd/nmap.prints \ - -x /usr/share/honeyd/xprobe2.conf -a /usr/share/honeyd/nmap.assoc" diff --git a/net-analyzer/honeyd/files/honeyd.initd b/net-analyzer/honeyd/files/honeyd.initd deleted file mode 100644 index 0a6595b05817..000000000000 --- a/net-analyzer/honeyd/files/honeyd.initd +++ /dev/null @@ -1,61 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/honeyd/files/honeyd.initd,v 1.3 2007/01/28 15:02:47 pva Exp $ - -depend() { - need net -} - -start() { - local options - - ebegin "Starting honeyd" - - if [[ -z "${HONEYD_NET}" ]] ; then - eerror "HONEYD_NET variable must be set in /etc/conf.d/honeyd" - eend 1 - return 1 - fi - - # add route - for HNET in ${HONEYD_NET} ; do - if ! netstat -arn | egrep "^${HNET}[[:space:]]*127.0.0.1" ; then - route add -net ${HNET} gw 127.0.0.1 - fi - done - - if [[ -n "${HONEYD_LOG}" ]] ; then - options="${options} -l ${HONEYD_LOG}" - # create logdir if it doesn't exist - [[ ! -d "${HONEYD_LOG%/*}" ]] && mkdir ${HONEYD_LOG%/*} - fi - - # supports webserver feature? - if [[ "$(/usr/sbin/honeyd --help 2>&1 | grep webserver)" != "" ]] ; then - # run webserver? - if [[ ${HONEYD_HTTPD} -eq 1 ]] ; then - options="${options} --webserver-port ${HONEYD_HTTPD_PORT} \ - --webserver-root ${HONEYD_HTTPD_ROOT} --fix-webserver-permissions" - else - options="${options} --disable-webserver" - fi - fi - - options="${options} -i ${HONEYD_IF:-lo} ${HONEYD_OPTS}" - - start-stop-daemon --start --quiet --exec /usr/sbin/honeyd \ - -- ${options} ${HONEYD_NET} >/dev/null 2>&1 - eend $? -} - -stop() { - ebegin "Stopping honeyd" - start-stop-daemon --stop --quiet --retry 5 --exec /usr/sbin/honeyd - retval=$? - for HNET in ${HONEYD_NET} ; do - route del -net ${HNET} gw 127.0.0.1 - done - eend ${retval} -} - |