aboutsummaryrefslogtreecommitdiffstats
path: root/config/bandwidthd/bandwidthd.inc
Commit message (Collapse)AuthorAgeFilesLines
* bandwidthd - code style and major improvementsdoktornotor2015-08-151-2/+4
| | | Only write upgraded config if there was something actually upgraded.
* bandwidthd - code style and major improvementsdoktornotor2015-08-151-200/+220
| | | | | | | | | | | | | | | | | | - Update copyright headers - Fix code style and indentation - Provide input validation for most of the configuration options -- Check for IPv4 configured on selected interfaces -- Check for PPPoE type interfaces -- Require relevant options to be filled in when PostgreSQL is enabled (also check that the hostname is valid) -- Require sane numeric input for graphs options -- Limit Sensor ID to sane chars - PostgreSQL DB password is now base64-encoded to deal with special chars and not break config.xml - The filtering moved to advanced options, also base64-encoded - The stats interface(s) are now a multiselect instead of asking users to type subnets directly - Upgrade function provided to preserve the old settings - Use {start,stop,restart}_service() functions instead of calling the rc script directly - Probably other small things...
* bandwidthd.inc - remove useless config_(un)lock callsdoktornotor2015-08-111-4/+0
| | | This function does nothing but return.
* Sanitize bandwidthd version, add port_category, run_depends and fix pbi checkingRenato Botelho2015-04-281-6/+5
|
* bandwidthd for 2.2 full installPhil Davis2014-06-261-1/+3
| | | | Thanks to charliem https://forum.pfsense.org/index.php?topic=78175.msg428321#msg428321 for this patch to make bandwidthd find the right library environment on 2.2 full install. I also tested on 2.1.4 full install in a VM, as this change does change the way bandwidthd is run in the 2.1.n series - it works.
* bandwidthd for 2.2 on nanoBSDPhil Davis2014-04-221-2/+9
| | | | | I installed bandwidthd on a 2.2 nanoBSD Alix2D13. The new path to the executable has an extra "/local" in it, and it needs an LD_LIBRARY_PATH to know where to find some of its libraries. With this, it installs, runs and comes up again after a reboot. These changes should all be backward-compatible and make no difference to what happens when installed on older 1.2 2.0 and 2.1 series systems.
* bandwidthd belts and braces checks when generating confphildd2013-12-291-8/+28
| | | | | Forum: http://forum.pfsense.org/index.php/topic,68477.0.html Allows users to put "0" in various fields and have it come through validly into the bandwidthd conf file. Previously bare "0"s would appear in the conf file, which were wrong.
* bandwidthd - whitespace formattingPhil Davis2013-09-141-24/+24
|
* bandwidthd - check for interface subnet also specified by userPhil Davis2013-09-091-5/+14
| | | | | Check for the case where a user specifies the interface subnet to listen on in the "subnet" box, which is actually not required. In this case, do not put the subnet into the config twice. It fixes a GUI data entry confusion that is reported from time to time in the forum, e.g. http://forum.pfsense.org/index.php/topic,49165.msg320801.html#msg320801 http://forum.pfsense.org/index.php/topic,66354.0.html
* corrected typo for log_errorIndividual IT Services2013-08-141-1/+1
|
* added posibility to use postgreSQL database to store resultsIndividual IT Services2013-08-131-0/+29
|
* bandwidthd add enable optionPhil Davis2013-03-311-36/+51
|
* bandwidthd - rotate log files when output_cdf is enabledPhil Davis2013-03-151-2/+16
|
* bandwidthd on nanobsd - put logo and legend files in placePhil Davis2013-03-131-1/+6
| | | legend.gif and logo.gif were missing from the report/graph page. They need to be put in /var/bandwidthd/htdocs
* bandwidthd robust filesystem creationPhil Davis2013-03-031-9/+49
| | | Make the code that starts bandwidthd check for the correct dirs and symlinks, leave them alone if they are already there, and put them in place if they are missing. This fixes some places where some commands were generating "already exists" warnings, and generally makes sure that whatever someone does at the command line to mess with bandwidthd dirs and links, they will be put back when bandwidthd starts.
* bandwidthd for nanobsdphildd2013-03-011-12/+43
| | | Make bandwidth on nanobsd write graph files and cdf log files to /var/bandwidthd rw memory filesystem, so it can run with /usr mounted read-only
* bandwidthd - replace deprecated split with explodePhil Davis2012-10-311-1/+1
| | | | The split function is deprecated in PHP 5.3. For this simple use, the explode function does the same thing. http://forum.pfsense.org/index.php/topic,55187.0.html
* Fix inconsistent field namesPhil Davis2012-10-021-2/+5
|
* Bandwidthd skip_intervals typo prevented this param from being effective.Phil Davis2012-07-241-1/+1
|
* Put standard pfsense version check logic so it will default correctly for ↵Phil Davis2012-07-151-7/+16
| | | | | future versions of pfsense. Previously, promiscuous mode was always stuck on - the bandwidthd default is "promiscuous true" and the code assumed the default was "false". This fix always specifies promiscuous mode explicitly so that it does not matter what the default is, the setting will always follow whatever the user has selected in the GUI check box. See forum thread http://forum.pfsense.org/index.php/topic,50878.0.html
* Whoops, set proper architecture here.jim-p2012-06-231-1/+1
|
* Adapt bandwidthd to use the right dir on 2.1, work around the fact that you ↵jim-p2012-06-231-8/+17
| | | | can't specify a proper custom config path.
* Only print a subnet line for bandwidthd if it's a valid subnet, to avoid ↵jim-p2011-03-301-1/+2
| | | | generating an invalid configuration file.
* Add support for multiple subnets custom on config formlgcosta2011-03-061-1/+9
|
* Do not pkg_deleteScott Ullrich2010-11-301-1/+0
|
* References aren't needed if you aren't modifying the new variable. Remove &.jim-p2010-10-051-1/+1
|
* fix text. cvstrac 1639Chris Buechler2010-08-071-1/+1
|
* mv packages to config dir to match web layoutBill Marquette2009-02-061-0/+201