diff options
author | wollman <wollman@FreeBSD.org> | 2004-02-23 12:42:13 +0800 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2004-02-23 12:42:13 +0800 |
commit | b1f2d52d41b7f3f3e16cb344aec8fc6fb87ae4e5 (patch) | |
tree | 2dc9acb632ecc46bca726cc393a4e61d09bdb699 /net/flowscan | |
parent | b4d7849f0df91e8dd12f3ba8bbe9df8021bb7ef2 (diff) | |
download | freebsd-ports-gnome-b1f2d52d41b7f3f3e16cb344aec8fc6fb87ae4e5.tar.gz freebsd-ports-gnome-b1f2d52d41b7f3f3e16cb344aec8fc6fb87ae4e5.tar.zst freebsd-ports-gnome-b1f2d52d41b7f3f3e16cb344aec8fc6fb87ae4e5.zip |
Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.
Approved in principle by: marcus
Diffstat (limited to 'net/flowscan')
-rw-r--r-- | net/flowscan/distinfo | 1 | ||||
-rw-r--r-- | net/flowscan/files/cflowd.sh | 37 | ||||
-rw-r--r-- | net/flowscan/files/flowscan.sh | 39 | ||||
-rw-r--r-- | net/flowscan/pkg-descr | 9 | ||||
-rw-r--r-- | net/flowscan/pkg-message | 35 | ||||
-rw-r--r-- | net/flowscan/pkg-plist | 31 |
6 files changed, 0 insertions, 152 deletions
diff --git a/net/flowscan/distinfo b/net/flowscan/distinfo deleted file mode 100644 index bbc3e808e600..000000000000 --- a/net/flowscan/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (FlowScan-1.006.tar.gz) = 3c687ae0ffab82dadeb4086f122bcee5 diff --git a/net/flowscan/files/cflowd.sh b/net/flowscan/files/cflowd.sh deleted file mode 100644 index ae9b46a6fa54..000000000000 --- a/net/flowscan/files/cflowd.sh +++ /dev/null @@ -1,37 +0,0 @@ -#! /bin/sh - -# rc script for cflowd -# modified to use proper commandline options for flowscan -# Andreas Klemm <andreas@FreeBSD.org>, So 25 Mär 2001 12:46:10 CEST -# $FreeBSD$ - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -'start') - [ -x $PREFIX/sbin/cflowdmux -a -s $PREFIX/etc/cflowd.conf ] \ - && $PREFIX/sbin/cflowdmux $PREFIX/etc/cflowd.conf \ - && echo -n " cflowdmux" - sleep 2 - [ -x $PREFIX/sbin/cflowd -a -s $PREFIX/etc/cflowd.conf ] \ - && $PREFIX/sbin/cflowd -s 300 -O 0 -m $PREFIX/etc/cflowd.conf \ - && echo -n " cflowd" - sleep 2 - [ -x $PREFIX/sbin/cfdcollect -a -s $PREFIX/etc/cfdcollect.conf ] \ - && $PREFIX/sbin/cfdcollect $PREFIX/etc/cfdcollect.conf \ - && echo -n " cfdcollect" - ;; - -'stop') - for i in cfdcollect cflowd cflowdmux - do - sleep 2 - killall -15 $i && echo "graceful shutdown of $i" - done - ;; -esac - -exit 0 diff --git a/net/flowscan/files/flowscan.sh b/net/flowscan/files/flowscan.sh deleted file mode 100644 index 08e88d0a35a8..000000000000 --- a/net/flowscan/files/flowscan.sh +++ /dev/null @@ -1,39 +0,0 @@ -#! /bin/sh - -# rc script for flowscan -# Andreas Klemm <andreas@FreeBSD.org>, So 25 Mär 2001 12:46:10 CEST -# $FreeBSD$ - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -awk=/usr/bin/awk -bindir=$PREFIX/var/db/flows/bin -grep=/usr/bin/grep -kill=/bin/kill -logfile=$PREFIX/var/db/flows/flowscan.log -perl=/usr/bin/perl -scandir=$PREFIX/var/db/flows - -case "$1" in -'start') - [ -x $bindir/flowscan ] \ - && ( cd $scandir \ - && $perl $bindir/flowscan \ - >> $logfile 2>&1 </dev/null \ - > /dev/null & ) \ - && echo -n " flowscan" - ;; - -'stop') - pid=`ps -ax | $grep "$perl $bindir/flowscan" | $awk '{ print $1 }'` - if [ -n "$pid" ]; then - echo "killing flowscan" - $kill $pid - fi - ;; -esac - -exit 0 diff --git a/net/flowscan/pkg-descr b/net/flowscan/pkg-descr deleted file mode 100644 index a45b99b0aff7..000000000000 --- a/net/flowscan/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -FlowScan is a tool to monitor and graph flow information from -Cisco, Juniper and Riverstone routers in near real-time. - -Amonst many other things, FlowScan can measure and graph traffic -for applications such as Napster. - -A sample of what FlowScan can do is at: http://wwwstats.net.wisc.edu - -WWW: http://net.doit.wisc.edu/~plonka/FlowScan/ diff --git a/net/flowscan/pkg-message b/net/flowscan/pkg-message deleted file mode 100644 index f7709b2877c2..000000000000 --- a/net/flowscan/pkg-message +++ /dev/null @@ -1,35 +0,0 @@ -This is not an "easy" port. You have to take many things into consideration, -what flow data to collect (disk space, etc), how and when to remove unneeded -flow files. And you have to know, what it is all about. If you don't know -Cisco NetFlow switching and its data export feature, then I recommend you -to deinstall this port. - -Prerequisites: -A) You need to read the installation instructions closely, see: - ${PREFIX}/share/doc/flowscan/INSTALL - -B) You need to configure your Cisco Router, to enable Netflow Switching - and Netflow data export (version 5 flow export format). - -PLEASE NOTE, YOU HAVE TO KNOW EXACTLY, IF YOU REALLY WANT TO ENABLE NETFLOW -SWITCHING ON YOUR CISCO CORE OR DISTRIBUTION ROUTERS, WHAT PERFORMANCE IMPACT -MIGHT BE INVOLVED WHEN DOING THIS, WITH THE GOAL, NOT TO LOOSE YOUR ROUTING/ -SWITCHING PERFORMANCE. BE WARNED !!! - -C) You need to configure SNMP on your Cisco Router. - -Post-installation tasks involve: -a) Configure cflowd properly for your needs, see above mentioned docu ! - Example files reside in ${PREFIX}/etc, files: - cflowd.conf.example and cfdcollect.conf -b) Configure flowscan, see above mentioned docu ! - Example files reside in ${PREFIX}/var/db/flows/bin, files: - "foo".sample ... -c) Customize and install crontab file, example see: - ${PREFIX}/share/doc/flowscan/crontab.sample -d) Activate flowscan startscript by renaming it as usual, see example in: - ${PREFIX}/etc/rc.d/flowscan.sh.sample -e) Create graphs using make by customizing the sample Makefile, see docu ! - ${PREFIX}/var/db/flows/graphs/Makefile.sample - Please note, that the Makefile has to be reconfigured if you add - or remove protocols in ${PREFIX}/var/db/flows/bin/CampusIO.cf ! diff --git a/net/flowscan/pkg-plist b/net/flowscan/pkg-plist deleted file mode 100644 index f7cc316fe16f..000000000000 --- a/net/flowscan/pkg-plist +++ /dev/null @@ -1,31 +0,0 @@ -etc/rc.d/cflowd-flowscan.sh.sample -var/db/flows/bin/flowscan -var/db/flows/bin/FlowScan.pm -var/db/flows/bin/CampusIO.pm -var/db/flows/bin/SubNetIO.pm -var/db/flows/bin/locker -var/db/flows/bin/add_ds.pl -var/db/flows/bin/add_txrx -var/db/flows/bin/event2vrule -var/db/flows/bin/ip2hostname -var/db/flows/bin/CampusIO.cf.sample -var/db/flows/bin/Napster_subnets.boulder.sample -var/db/flows/bin/SubNetIO.cf.sample -var/db/flows/bin/flowscan.cf.sample -var/db/flows/bin/local_nets.boulder.sample -var/db/flows/bin/our_subnets.boulder.sample -var/db/flows/graphs/Makefile.sample -share/doc/flowscan/README -share/doc/flowscan/README.html -share/doc/flowscan/INSTALL -share/doc/flowscan/INSTALL.html -share/doc/flowscan/TODO -share/doc/flowscan/crontab.sample -share/doc/flowscan/cflowd.sample -share/doc/flowscan/flowscan.sample -@dirrm var/db/flows/graphs -@dirrm var/db/flows/bin -@dirrm var/db/flows -@unexec rmdir %D/var/db 2>/dev/null || true -@unexec rmdir %D/var 2>/dev/null || true -@dirrm share/doc/flowscan |