Update to 0.7; submitted by maintainer Vincent Derrien <vincent@derrien.org>.

This commit is contained in:
naddy 2002-01-30 23:23:41 +00:00
parent bf54d96348
commit 10c193e213
6 changed files with 11 additions and 64 deletions

View File

@ -1,30 +1,30 @@
# $OpenBSD: Makefile,v 1.2 2001/11/02 00:51:04 lebel Exp $
COMMENT= "pcap based IP traffic monitor"
VERSION= 0.6
VERSION= 0.7
DISTNAME= ipband-${VERSION}
CATEGORIES= net
NEED_VERSION= 1.488
EXTRACT_SUFX= .tgz
NEED_VERSION= 1.504
HOMEPAGE= http://ipband.sourceforge.net/
MASTER_SITES= http://ipband.sourceforge.net/
MAINTAINER= Vincent Derrien <hyzzod@free.fr>
MAINTAINER= Vincent Derrien <vincent@derrien.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tgz
NO_REGRESS= Yes
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ipband ${PREFIX}/bin/ipband
${INSTALL_DATA} ${WRKSRC}/ipband.1 ${PREFIX}/man/man1/ipband.1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ipband/
${INSTALL_DATA} ${WRKSRC}/ipband.sample.conf \
${PREFIX}/share/examples/ipband/ipband.sample.conf
${PREFIX}/share/examples/ipband/ipband.sample.conf
.include <bsd.port.mk>

3
net/ipband/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (ipband-0.7.tgz) = 1ae87f999420c1fe2c83f2b9624dc6b9
RMD160 (ipband-0.7.tgz) = 79d9f9bfefe2629b22ac1e0ada30cd29099f77ef
SHA1 (ipband-0.7.tgz) = f44280f440bdb0c911a7d7ad67cc5e3e0b583a46

View File

@ -1,3 +0,0 @@
MD5 (ipband-0.6.tgz) = b2fe952c16384e301de9794096c69f51
RMD160 (ipband-0.6.tgz) = 5df8cbb16552cd990829475015554884f62d9813
SHA1 (ipband-0.6.tgz) = 3714b9d2772040dd1ced183bf05405c4bdf797be

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-ipband_1,v 1.1.1.1 2001/10/30 20:45:29 lebel Exp $
--- ipband.1.orig Wed Oct 3 14:33:59 2001
+++ ipband.1 Tue Oct 30 15:31:39 2001
@@ -68,13 +68,13 @@ a partial ip address such as 192.168.1.0
Here is a list of arguments to \-L along with the corresponding range.
- COMMAND: \fBipband eth0 \-l 137.99.11\fR
+ COMMAND: \fBipband ne0 \-l 137.99.11\fR
RANGE: 137.99.11.0\-137.99.11.255
- COMMAND: \fBipband eth0 \-L 137.99.11:127.0.5/23\fR
+ COMMAND: \fBipband ne0 \-L 137.99.11:127.0.5/23\fR
RANGE: 137.99.11.0\-137.99.11.255,127.0.4.0\-127.0.5.255
- COMMAND: \fBipband eth0 \-L 127.1.5.17\-127.1.7.131\fR
+ COMMAND: \fBipband ne0 \-L 127.1.5.17\-127.1.7.131\fR
RANGE: 127.1.5.17\-127.1.7.131
@@ -178,7 +178,7 @@ Like \-L option, determines which range(
Specifies which subnets \fBipband\fR should work with and sets individual bandwidth thresholds for them \- one subnet option per line (subnet mask is set by \fImaskbits\fR option). This option is only available through a configuration file. Setting it limits data collection and reporting to the specified subnets.
.SH "EXAMPLES"
.TP
-.B ipband eth0 \-f "net 10.10.0.0/16" \-m 24 \-a 300 \-r 900
+.B ipband ne0 \-f "net 10.10.0.0/16" \-m 24 \-a 300 \-r 900
Will capture packets from/to ip addresses matching 10.10.0.0/255.255.0.0, tally traffic by the third octet,calculate bandwidth utilization every 5 minutes and report per host traffic every 15 minutes.

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-ipband_c,v 1.1.1.1 2001/10/30 20:45:29 lebel Exp $
--- ipband.c.orig Wed Oct 3 14:33:59 2001
+++ ipband.c Tue Oct 30 15:31:32 2001
@@ -457,7 +457,7 @@ void print_usage(void) {
printf(" with highest byte count. Default is no limit.\n");
printf(" -v - Print version and exit.\n");
printf("\nExample:\n");
- printf(" ipband eth0 -f \"net 10.10.0.0/16\" -m 24 -a 300 -r 900\n");
+ printf(" ipband ne0 -f \"net 10.10.0.0/16\" -m 24 -a 300 -r 900\n");
printf("\tWill capture packets from/to ip addresses matching\n");
printf("\t10.10.0.0/255.255.0.0, tally traffic by the third octet,\n");
printf("\tcalculate bandwidth utilization every 5 minutes and report\n");

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-ipband_sample_conf,v 1.1 2001/10/30 20:49:45 lebel Exp $
--- ipband.sample.conf.orig Wed Oct 3 14:33:59 2001
+++ ipband.sample.conf Tue Oct 30 15:42:46 2001
@@ -7,7 +7,7 @@
#debug 0
#
# Interface to listen on
-#interface eth0
+#interface ne0
#
# Use promiscuous mode on the network interface? Default is yes.
#promisc yes