Add daemonlogger 0.9, a packet sniffer capable of running as a daemon
and as a software tap. PR: ports/111465 Submitted by: Wesley Shields <wxs at atarininja.org> Approved by: clsung (mentor)
This commit is contained in:
@@ -85,6 +85,7 @@
|
||||
SUBDIR += cvsupchk
|
||||
SUBDIR += cvsync
|
||||
SUBDIR += cyphesis
|
||||
SUBDIR += daemonlogger
|
||||
SUBDIR += danamics
|
||||
SUBDIR += dante
|
||||
SUBDIR += datapipe
|
||||
|
||||
23
net/daemonlogger/Makefile
Normal file
23
net/daemonlogger/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
# New ports collection makefile for: daemonlogger
|
||||
# Date created: 10 April 2007
|
||||
# Whom: Wesley Shields <wxs@atarininja.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= daemonlogger
|
||||
PORTVERSION= 0.9
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.snort.org/dl/daemonlogger/
|
||||
|
||||
MAINTAINER= wxs@atarininja.org
|
||||
COMMENT= A packet sniffer capable of running as a daemon and as a software tap
|
||||
|
||||
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_RC_SUBR= daemonlogger.sh
|
||||
|
||||
PLIST_FILES= bin/daemonlogger
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
net/daemonlogger/distinfo
Normal file
3
net/daemonlogger/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 (daemonlogger-0.9.tar.gz) = 1cd38b25bf597a0fbf797f0a48ff0122
|
||||
SHA256 (daemonlogger-0.9.tar.gz) = 4f58284026f1df19457b365d9088976a00ccf188bb193bfd3567325dc6b41b46
|
||||
SIZE (daemonlogger-0.9.tar.gz) = 107994
|
||||
26
net/daemonlogger/files/daemonlogger.sh.in
Normal file
26
net/daemonlogger/files/daemonlogger.sh.in
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PROVIDE: daemonlogger
|
||||
# REQUIRE: NETWORKING
|
||||
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to enable daemonlogger:
|
||||
# daemonlogger_enable (bool): Set to "NO" by default.
|
||||
# Set it to "YES" to enable daemonlogger
|
||||
# daemonlogger_flags (string): Set to "-d -l" by default.
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="daemonlogger"
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command_args=" > /dev/null 2>&1"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${daemonlogger_enable:="NO"}
|
||||
: ${daemonlogger_flags:="-d -l /var/log"}
|
||||
|
||||
command=%%PREFIX%%/bin/daemonlogger
|
||||
|
||||
run_rc_command "$1"
|
||||
9
net/daemonlogger/pkg-descr
Normal file
9
net/daemonlogger/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
A packet sniffer designed to run as a daemon with automatic log rotation.
|
||||
It will also act as a software tap injecting packets onto a second
|
||||
interface if configured as such.
|
||||
|
||||
WWW: http://www.snort.org/dl/daemonlogger/
|
||||
|
||||
-- WXS
|
||||
Wesley Shields
|
||||
wxs@csh.rit.edu
|
||||
Reference in New Issue
Block a user