Commit Graph

237 Commits

Author SHA1 Message Date
Renato Botelho 89cf3dc0b6 Fix logic to find available next number for limiters and queues. It fixes #3998 2014-11-13 10:09:41 -02:00
Chris Buechler 5274102ea4 Hide burst for limiters, since it doesn't do anything. more details in
ticket #3933
2014-10-29 15:39:15 -05:00
Ermal e02ea742a5 Fixes #3213. Allow up to 2900 limiters. This was set to 30 since limiters are to be controlled by mask and not created manually! 2014-10-15 00:36:27 +02:00
Chris Buechler a061ddb90a no () around qlength here 2014-07-09 00:07:36 -05:00
Chris Buechler c9a88bbd88 qlimit must be included here 2014-07-08 06:47:34 -05:00
Renato Botelho 971de1f98a Convert almost all /sbin/sysctl calls to php functions 2014-07-07 20:06:37 -03:00
jim-p c90d37f356 Remove units from burst as it is always specified in bytes. (Per ipfw(8)).
Worked for me in testing, I watched a file briefly burst until and then be clamped down to the limiter's rate.
2014-05-06 15:58:45 -04:00
Ermal 1c73248c4f Put this here for easier troubleshooting and code reading. Helps with Ticket #3619 2014-04-28 12:37:41 +00:00
Ermal f2c34876ab Use php module calls here to speedup things 2014-04-28 12:36:36 +00:00
Ermal df8e43cc56 Avoid warnings later on if no config for layer7 exists 2014-04-14 13:48:39 +00:00
ayvis 91f026b02c replaced uppercase html tags with lowercase
js files saved as UTF-8 / LF
language="JavaScript" deprecated, replaced with type="text/javascript"
2014-03-19 23:38:56 +01:00
ayvis 8cd558b61b xhtml Compliance
replaced <br>, <br/> and </br> with <br />
2014-03-14 21:24:03 +01:00
Renato Botelho b5388f033c Fix #2302, save custom uploaded l7 pattern files on config.xml and replicate it to slave 2014-02-24 12:25:59 -03:00
Renato Botelho 732b160dba Set variable after make sure it's defined and has elements 2014-02-24 12:25:59 -03:00
Renato Botelho 420b45385a Fix whitespace and indent 2014-02-24 12:25:59 -03:00
Renato Botelho 873c1701a8 Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir 2014-02-04 12:34:41 -02:00
Renato Botelho dda9c67f7f Fix #3259. Save 'packet loss rate' and 'bucket size' for limiter queues 2013-10-21 10:59:02 -02:00
Renato Botelho 0f0f7b2cbe Fix 'Packet loss rate' and 'Bucket Size' range checking 2013-10-11 08:25:29 -03:00
Richard Connon 9f6919e618 Fix codel not being applied on non-priq queue types 2013-09-28 13:12:35 +01:00
Richard Connon c27edf5559 Fixed typo in CoDel wiki link 2013-09-28 12:37:51 +01:00
Renato Botelho ea51e9f8bf Remove call-time pass by reference from traffic shaper files, it should fix #2565 2013-09-12 11:29:21 -03:00
Phil Davis 794195d153 Traffic Shaper GUI text typos
and note the Queue Limit is a number of packets (not packets per second)
2013-09-03 04:45:03 -07:00
Jean Cyr b3e0fedf55 Dummynet does not require burst size specification
Dummynet traffic shaper does not require burst size specification and
assumes 0 if not specified. Allow user to leave burst field blank/
2013-09-02 02:55:09 -04:00
Ermal 6870b5cebe Correct the comments describing the error with correct values 2013-06-19 08:42:15 +00:00
jim-p 6743ab2887 Add a brief description about bandwidth vs bursting. 2013-06-18 13:31:56 -04:00
jim-p f03cf8920b A better fix for conditionally including burst. 2013-06-18 12:01:50 -04:00
jim-p 012cd3ba99 Burst of 0 is also valid 2013-06-18 11:57:20 -04:00
jim-p f1a17b1a08 Only add burst if a burst is defined 2013-06-18 11:53:39 -04:00
Ermal 4981f88105 Include the burst size in the limiter. Submitted-by: http://forum.pfsense.org/index.php/topic,62470.0.html 2013-06-17 13:25:43 +00:00
Jean Cyr 853030ac16 Do not hide IPV6 setting when system->advanced->network->allowipv6 is false 2013-05-28 16:34:39 -04:00
Jean Cyr 2d46e1e4ca Allow IPV6 bandwidth limiter mask 2013-05-21 18:53:48 -04:00
Jean Cyr 8c50a9d818 Bandwidth Limiter - Disable and blank mask bits input field when mask type is 'none'. 2013-05-13 22:42:41 -04:00
Jean Cyr 0b4e754240 Allow explicit mask specification in bandwidth limiter
Allow explicit mask specification in bandwidth limiter. This backwards
compatible and implements ermal suggestions.
2013-05-11 01:26:10 -04:00
Ermal 8edaa92ccb Allow codel to be activated as an option for the specific queues or as its own discipline without any childs 2013-05-06 18:09:24 +00:00
Colin Fleming dda2f35e84 Tidy up "shaper.inc" XHTML
Add missing closing P tag
2013-04-09 11:42:25 +01:00
Michele Di Maria ee02550a56 Fixes Javascript Errors
Fixes the Javascript error that prevents enabling/disabling the objects
in the interface.
2013-04-07 10:52:05 +02:00
Colin Fleming d84848546d Tidy up "shaper.inc" XHTML
Add missing end TR tag
Add missing end TD tag
Add missing end SPAN tag
Move table row start into the PHP IF statement, so that the IF statement
generates the full table row
Remove duplicate ID in INPUT tag
Size parameter in INPUT tag can only be a whole number
Name parameter is not valid for TR tag
Add missing end P tag
2013-04-03 17:08:59 +01:00
Colin Fleming ce0117f78f Update HTML boolean operators
Updated CHECKED, SELECTED and DISABLED boolean operator
2013-03-29 19:25:14 +00:00
Colin Fleming 6f1bcc365a Tidy up "shaper.inc" XHTML
Close INPUT tags
Close IMG tags and add "alt" parameter
Change ONCLICK and ONCHANGE to lowercase
2013-03-25 21:46:22 +00:00
Colin Fleming 7da5315dae Tidy up "shaper" and "firewall shaper" XHTML
Update VALIGN
Deprecated the ampersand in ANCHOR tags
Update TYPE in script
2013-03-23 21:12:13 +00:00
Colin Fleming 0fa05f4530 Tidy up "shaper.inc" XHTML
Add CDATA sections to javascript
Close off the BR tags
2013-03-22 15:47:53 +00:00
Renato Botelho f8dca5a36e Previous attempt to fix #1995 allow to set more than one default queues, prevent it with this change. It should fix #1995 2013-01-21 09:45:36 -02:00
Renato Botelho dbf2dde487 Remove call-time pass-by-reference 2013-01-17 16:57:32 -02:00
Renato Botelho 20f5fce5e4 Allow to edit default queue. Should fix #1995 2013-01-17 16:56:27 -02:00
Ermal 9b10a6eca5 Correct limiter queue rule generation 2012-12-17 23:59:28 +00:00
Ermal 67179472fc Enable io_fast on dummynet to avoid uncessesary loop arounds of packets 2012-11-17 09:48:50 +00:00
Ermal Luçi 02593e372a Correctly mark found configuration.
Fixes http://forum.pfsense.org/index.php/topic,54595.0.html
2012-11-09 10:42:27 +01:00
Ermal 0b3a76caf4 More fixes to the schedules rules 2012-11-08 21:39:03 +00:00
Ermal ec091c89f8 break the loop for none schedule limiters 2012-11-07 15:19:30 +00:00
Ermal fa29a6f012 Mark the pipe/queue with zero(unlimited) bandwidth to allow traffic on the state to flow still or new traffic matching the rule to flow. Dummynet blocks traffic not matchign apipe/flow by default. Reported-by: http://forum.pfsense.org/index.php/topic,54595.msg294734.html#msg294734 2012-10-29 08:22:17 +00:00