Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2000 16:01:28 +0200 (EET)
From:      acid@stu.cn.ua
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16294: trafd (BPFT traffic collector) port
Message-ID:  <200001221401.QAA22132@stalker.stu.cn.ua>

next in thread | raw e-mail | index | archive | help

>Number:         16294
>Category:       ports
>Synopsis:       trafd (BPFT traffic collector) port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 22 06:10:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Vasilenko <acid@stu.cn.ua>
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
JSC "CINET"
>Environment:

FreeBSD stalker.stu.cn.ua 3.4-STABLE FreeBSD 3.4-STABLE #0: Sat Jan 22
13:10:49 EET 2000     
root@stalker.stu.cn.ua:/usr/src/sys/compile/STALKER+ALTQ  i386

>Description:

		This is the port of BPFT traffic collector, version 3.0.
		version 2.0 (known as bpft-2.0 - /usr/ports/net/bpft) 
		is old, buggy and should be removed from ports
		collection

>How-To-Repeat:


>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	net/trafd
#	net/trafd/Makefile
#	net/trafd/files
#	net/trafd/files/md5
#	net/trafd/pkg
#	net/trafd/pkg/COMMENT
#	net/trafd/pkg/DESCR
#	net/trafd/pkg/PLIST
#
echo c - net/trafd
mkdir -p net/trafd > /dev/null 2>&1
echo x - net/trafd/Makefile
sed 's/^X//' >net/trafd/Makefile << 'END-of-net/trafd/Makefile'
X# New ports collection makefile for:	trafd
X# Version required:     3.0
X# Date created:         22 January 2000
X# Whom:                 Michael Vasilenko <acid@stu.cn.ua>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	trafd-3.0
XCATEGORIES=	net
XMASTER_SITES=	ftp://ftp.riss-telecom.ru/pub/dev/trafd/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ports@FreeBSD.org
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/bpft
X	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/bpft/README
X.endif
X
X.include <bsd.port.mk>
END-of-net/trafd/Makefile
echo c - net/trafd/files
mkdir -p net/trafd/files > /dev/null 2>&1
echo x - net/trafd/files/md5
sed 's/^X//' >net/trafd/files/md5 << 'END-of-net/trafd/files/md5'
XMD5 (trafd-3.0.tgz) = 7880a8de300414e6afefc8f9fcc1f69e
END-of-net/trafd/files/md5
echo c - net/trafd/pkg
mkdir -p net/trafd/pkg > /dev/null 2>&1
echo x - net/trafd/pkg/COMMENT
sed 's/^X//' >net/trafd/pkg/COMMENT << 'END-of-net/trafd/pkg/COMMENT'
XThe BPF Traffic Collector
END-of-net/trafd/pkg/COMMENT
echo x - net/trafd/pkg/DESCR
sed 's/^X//' >net/trafd/pkg/DESCR << 'END-of-net/trafd/pkg/DESCR'
Xbpft is a superset of trafshow, and extends it by adding a daemon
Xwhich collects data about network connections (src, dst, protocol
Xand length). The resulting data can be dumped to a file for later
Xprocessing.
X
XRead /usr/local/share/doc/bpft/README after installation for more
Xinformation.
X
XTo use bpft, your kernel must be rebuilt with the following line
Xadded to your kernel config file (/sys/i386/conf/<YourMachine>):
X
Xpseudo-device   bpfilter        4       # Berkeley packet filter
X
XThe number after bpfilter is the number of interfaces that can be
Xexamined simultaneously. See section 6.1 of the Handbook for details.
X
XOn FreeBSD 4.0 or later versions, use the following line instead:
X
Xpseudo-device  bpf     4  # Berkeley packet filter
X
X- oddbjorn <oddbjorn@tricknology.org>
END-of-net/trafd/pkg/DESCR
echo x - net/trafd/pkg/PLIST
sed 's/^X//' >net/trafd/pkg/PLIST << 'END-of-net/trafd/pkg/PLIST'
Xbin/trafdump
Xbin/traflog
Xbin/trafsave
Xbin/trafstart
Xbin/trafstat
Xbin/trafstop
Xetc/traflog.format
Xsbin/trafd
Xsbin/trafstatd
Xshare/doc/bpft/README
X@dirrm share/doc/bpft
END-of-net/trafd/pkg/PLIST
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001221401.QAA22132>