From 31a27823e70a54d431c5fa2d1b69bdd1db8881fe Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 4 Feb 2007 07:57:54 +0000 Subject: Adding bandwidthd pacakged --- packages/bandwidthd/bandwidthd.inc | 155 +++++++++++++++++++++++++++++++++++++ packages/bandwidthd/bandwidthd.xml | 89 +++++++++++++++++++++ pkg_config.xml | 14 ++++ 3 files changed, 258 insertions(+) create mode 100644 packages/bandwidthd/bandwidthd.inc create mode 100644 packages/bandwidthd/bandwidthd.xml diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc new file mode 100644 index 00000000..45ddb457 --- /dev/null +++ b/packages/bandwidthd/bandwidthd.inc @@ -0,0 +1,155 @@ + "bandwidthd.sh", + "start" => "/usr/local/bandwidthd/bandwidthd /usr/local/bandwidth/etc/bandwidthd.conf", + "stop" => "/usr/bin/killall bandwidthd" + ) + ); + +} + +?> \ No newline at end of file diff --git a/packages/bandwidthd/bandwidthd.xml b/packages/bandwidthd/bandwidthd.xml new file mode 100644 index 00000000..c74902ce --- /dev/null +++ b/packages/bandwidthd/bandwidthd.xml @@ -0,0 +1,89 @@ + + + bandwidthd + 1.0 + installedpackages->package->bandwidthd + Bandwidthd + + Bandwidthd + +
Services
+ http://$myurl:3000 +
+ + + BandwidthD + /pkg_edit.php?xml=bandwidthd.xml&id=0 + + + + /pkg_edit.php?xml=bandwidthd.xml&id=0 + + /usr/local/pkg/ + 077 + http://www.pfsense.com/packages/config/bandwidthd/bandwidthd.inc + + + bandwidthd_install_config(); + + + + + + /usr/local/pkg/bandwidthd.inc + + + skipintervals + Skip intervals + + input + 1024 + + + graphcutoff + Graph cutoff + Graph cutoff is how many k must be transfered by an ip before we bother to graph it + input + 1024 + + + promiscuous + promiscuous + Put interface in promiscuous mode to score to traffic that may not be routing through the host machine. + checkbox + + + output_cdf + output_cdf + Log data to cdf file htdocs/log.cdf + checkbox + + + recover_cdf + recover_cdf + Read back the cdf file on startup + checkbox + + + filter + filter + Libpcap format filter string used to control what bandwidthd see's. Please always include "ip" in the string to avoid strange problems. + input + ip + + + drawgraphs + Draw Graphs + This default to true to graph the traffic bandwidthd is recording. Usually set this to false if you only want cdf output or you are using the database output option. Bandwidthd will use very little ram and cpu if this is set to false. + checkbox + checked + + + meta_refresh + Meta Refresh + Set META REFRESH seconds (default 150, use 0 to disable). + input + 150 + + +
diff --git a/pkg_config.xml b/pkg_config.xml index 0099231e..c0b7fd89 100644 --- a/pkg_config.xml +++ b/pkg_config.xml @@ -398,6 +398,20 @@ http://www.pfsense.org/packages/config/freeradius.xml freeradius.xml + + bandwidthd + http://bandwidthd.sourceforge.net/ + + System + + BETA + 2.0 + + ftp://ftp2.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/All/ + ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/ + http://www.pfsense.org/packages/config/freeradius.xml + bandwidthd.xml + stunnel http://www.stunnel.org/ -- cgit v1.2.3