1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

New port: A traffic analysis command-line utility

Approved by:	roberto (mentor)
This commit is contained in:
Michael Landin 2003-08-22 13:38:56 +00:00
parent 588b4fec0e
commit 41407446e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87502
9 changed files with 99 additions and 0 deletions

32
net-mgmt/rate/Makefile Normal file
View File

@ -0,0 +1,32 @@
# New ports collection makefile for: rate
# Date created: Thu Aug 21 18:12:35 GMT 2003
# Whom: mich@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= rate
PORTVERSION= 0.9
CATEGORIES= net
MASTER_SITES= http://s-tech.elsat.net.pl/bmtools/
MAINTAINER= mich@FreeBSD.org
COMMENT= A traffic analysis command-line utility
USE_REINPLACE= YES
LDFLAGS+= -lcompat
CFLAGS+= -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH
post-patch:
@${REINPLACE_CMD} -e \
's|^CFLAGS.*$$|CFLAGS=${CFLAGS}|g ; \
s|^LDFLAGS.*$$|LDFLAGS=${LDFLAGS}|g ; \
s|gcc|${CC}|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rate ${PREFIX}/bin/rate
${INSTALL_MAN} ${WRKSRC}/doc/rate.1 ${PREFIX}/man/man1
MAN1= rate.1
.include <bsd.port.mk>

1
net-mgmt/rate/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (rate-0.9.tar.gz) = 5689ff8b6e0bb8f78dec9184623c5800

15
net-mgmt/rate/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
Rate is a swiss-army-knife command-line traffic analysis tool, designed
to help a network administrator to see what is happening at a router at
the moment. Unlike tcpdump(1), rate uses statistical and stream-oriented
methods, and will never produce an output stream at a speed beyond human
perception. The output is less accurate, however. Rate features four
different operating modes, designed to perform the following tasks:
estimating overall traffic rates, determining nodes generating the
highest traffic, determining connections and flows generating the highest
traffic and extracting strings from packets.
WWW: http://s-tech.elsat.net.pl/
AUTHOR: <mtg@elsat.net.pl>
- Michael L. Hostbaek
mich@FreeBSD.org

1
net-mgmt/rate/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/rate

View File

@ -584,6 +584,7 @@
SUBDIR += radreport
SUBDIR += radvd
SUBDIR += rancid
SUBDIR += rate
SUBDIR += rboot
SUBDIR += rdesktop
SUBDIR += rdist6

32
net/rate/Makefile Normal file
View File

@ -0,0 +1,32 @@
# New ports collection makefile for: rate
# Date created: Thu Aug 21 18:12:35 GMT 2003
# Whom: mich@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= rate
PORTVERSION= 0.9
CATEGORIES= net
MASTER_SITES= http://s-tech.elsat.net.pl/bmtools/
MAINTAINER= mich@FreeBSD.org
COMMENT= A traffic analysis command-line utility
USE_REINPLACE= YES
LDFLAGS+= -lcompat
CFLAGS+= -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH
post-patch:
@${REINPLACE_CMD} -e \
's|^CFLAGS.*$$|CFLAGS=${CFLAGS}|g ; \
s|^LDFLAGS.*$$|LDFLAGS=${LDFLAGS}|g ; \
s|gcc|${CC}|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rate ${PREFIX}/bin/rate
${INSTALL_MAN} ${WRKSRC}/doc/rate.1 ${PREFIX}/man/man1
MAN1= rate.1
.include <bsd.port.mk>

1
net/rate/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (rate-0.9.tar.gz) = 5689ff8b6e0bb8f78dec9184623c5800

15
net/rate/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
Rate is a swiss-army-knife command-line traffic analysis tool, designed
to help a network administrator to see what is happening at a router at
the moment. Unlike tcpdump(1), rate uses statistical and stream-oriented
methods, and will never produce an output stream at a speed beyond human
perception. The output is less accurate, however. Rate features four
different operating modes, designed to perform the following tasks:
estimating overall traffic rates, determining nodes generating the
highest traffic, determining connections and flows generating the highest
traffic and extracting strings from packets.
WWW: http://s-tech.elsat.net.pl/
AUTHOR: <mtg@elsat.net.pl>
- Michael L. Hostbaek
mich@FreeBSD.org

1
net/rate/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/rate