TCP/IP traffic logging tool

Submitted by:	Brian Caswell <bmc@mitre.org>
This commit is contained in:
danh 2001-01-05 10:16:18 +00:00
parent cab4062703
commit 0fad03629c
8 changed files with 94 additions and 0 deletions

27
net/iplog/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/01/05 10:16:18 danh Exp $
DISTNAME= iplog-2.2.2
CATEGORIES= net security
NEED_VERSION= 1.348
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ojnk
HOMEPAGE= http://ojnk.sourceforge.net
MAINTAINER= Brian Caswell <bmc@mitre.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/iplog
${INSTALL_DATA} ${WRKSRC}/example-iplog.conf \
${PREFIX}/share/examples/iplog/iplog.conf
.include <bsd.port.mk>

3
net/iplog/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (iplog-2.2.2.tar.gz) = 1b16a73f9495065d72d8126a195c330a
SHA1 (iplog-2.2.2.tar.gz) = 6e2f3f2cbe7a8f00736e3e18e3fe31cf441b1996
RMD160 (iplog-2.2.2.tar.gz) = 5dd6e1416693ad5f80227ed7b0b70a49f2fdb00a

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-example-iplog_conf,v 1.1.1.1 2001/01/05 10:16:18 danh Exp $
--- example-iplog.conf.orig Mon Jul 3 14:32:42 2000
+++ example-iplog.conf Wed Jan 3 18:01:03 2001
@@ -32,11 +32,11 @@ set log_dest false
# Ignore DNS traffic from nameservers in /etc/resolv.conf.
set ignore_dns
-# Listen on eth0 and eth1
-interface eth0,eth1
+# Listen on xl0 and xl0
+# interface xl0,xl1
# Operate in promiscuous mode and watch the 192.168.0.x network
-promisc 192.168.0.0/24
+# promisc 192.168.0.0/24
/*
** Ignore DNS traffic from nameservers.

1
net/iplog/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
TCP/IP traffic logging tool

25
net/iplog/pkg/DEINSTALL Normal file
View File

@ -0,0 +1,25 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/01/05 10:16:18 danh Exp $
#
# iplog de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR}/iplog.conf
if [ -e $CONFIG_FILE ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| this step as root:"
echo "|"
echo "| rm -f $CONFIG_FILE"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi
exit 0

7
net/iplog/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
iplog is a TCP/IP traffic logger. Currently, it is capable of
logging TCP, UDP and ICMP traffic, though adding support for other
protocols should be relatively easy. iplog contains a built-in
packet filter, allowing for logging or excluding packets that fit a
given set of criteria.
WWW: ${HOMEPAGE}

7
net/iplog/pkg/MESSAGE Normal file
View File

@ -0,0 +1,7 @@
+------------
| A sample configuration file has been installed already. You can
| find it in ${PREFIX}/share/examples/iplog. To get started quickly,
| you can copy this to /etc and edit it appropriately.
|
| See iplog.conf(5) also for more information.
+------------

6
net/iplog/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/05 10:16:18 danh Exp $
man/man5/iplog.conf.5
man/man8/iplog.8
sbin/iplog
share/examples/iplog/iplog.conf
@dirrm share/examples/iplog