1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/net/kippo/files/kippo.in
Frederic Culot 8012880232 Kippo is a medium interaction SSH honeypot designed to log brute force
attacks and, most importantly, the entire shell interaction performed
by the attacker.

WWW: http://code.google.com/p/kippo/
2013-02-22 16:22:49 +00:00

34 lines
754 B
Bash

#!/bin/sh
# $FreeBSD$
#
# PROVIDE: kippo
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable kippo:
#
# kippo_enable (bool): Set to NO by default.
# Set it to YES to enable kipppo
# kippo_logfile (path): Set to /tmp/kippo.log by default.
# kippo_pidfile (path): Set to /tmp/kippo.pid by default.
. /etc/rc.subr
name=kippo
rcvar=kippo_enable
load_rc_config $name
: ${kippo_enable:=no}
: ${kippo_logfile="/tmp/kippo.log"}
: ${kippo_pidfile="/tmp/kippo.pid"}
kippo_user="kippo"
kippo_chdir="%%DATADIR%%"
pidfile=$kippo_pidfile
command="%%LOCALBASE%%/bin/twistd"
command_args="-y %%DATADIR%%/kippo.tac --pidfile $pidfile --logfile $kippo_logfile"
command_interpreter="%%PYTHON%%"
run_rc_command "$1"