Encode shaper queue name before printing. Issue #9294
Validation is already present and prevents bad values from beingentered.
Update copyright notices to 2019. Happy New Year
Make the WF2Q+ the default scheduler for the dummynet limiters.
The WF2Q+ was the default scheduler in previous versions, it is well tested and support dynamic queues.
Add a note for the FIFO scheduler to make clear that it does not support dynamic queues (by design) and as such, it is working as intended....
Fix #9121: Initialize arrays to prevent PHP 7 errors
Fix Limiter validation check, which allows old queues to display. Fixes #8956
The AQM defaults to droptail when empty, but empty was being rejected asinvalid even though it was handled in the code.
PHP7 related, cast bandwitdh to int to make sure it is a numeric value Fixes #8757
Fix shaper "non-numeric value" errors
Merge pull request #3941 from mattund/master
Fixing @jim-p's change requests
Fixing GitHub reported issues
PHP7 fixed illegal string offset
Fixed #8515 fixed error in queue defintion where it would repeat
It should now create a new definition for each queue. Queues shouldnow show up under status > queues.
1. I rewound src/etc/inc/config.inc back to you guys' base. It was some funny EOL stuff that happened.2. Unwrapped gettext()3. Agreed. Sanitized.4. Unwrapped gettext()5. Took out input_errors item6. Took out input_errors item7. I like the idea of this. I would love to add heavier validation; unless I just affix for datatype I would need to know the constraints on which the parameters live for the AQM/scheds. Maybe that's documented. I can revisit this....
Fixed #8515 Queues should now be added either through manually creating them or through the wizard
PHP7 - Resolve count() error
Allow multiple Queues to be displayed for Limiters part of PHP 7.2 Migration
Also delete scheduler on cleanup
Setters and getters for $aqm/sched params (anticipating a review will request that)
Fix command syntax in format_parameters
CRLF
Fix newlines back
- Fix an incorrect assumption where I thought the sysctls were measured in ms. they appear to be microseconds instead (thanks Harvy66) - Fix a problem where I was recursively assigning parameters in FormatParameters(), but that was not an ideal method (using vsprintf instead)...
Merge branch 'master' of gitlab.netgate.com:pfsense/pfsense
Change back to PHP7 compliance
- Fixed a bug where you could not get an ECN-incapable scheduler or AQM to work: noecn was appended in rules.limiter. - Made a change to an array reference that was breaking my test
Wrote to wrong file.
Add dummynet AQM and scheduler configuration support to pfSense Limiters through the GUI. Only shaper.inc was changed.
Presently, the traffic shaper is versatile however outbound shaping can be tricky. This patch aims to solve that, allowing not only outgoing shaping through dummynet pipes but also enabling users to attach configurable shaping to virtually any interface. Right now, altq does not support LAGG ifaces, ixgbe, among others....
Remove references for new classes instances adding a temporary variable. We will revisit it later
PHP7 - Resolve illegal offset error
Revert "Do not assign classes with =& to make PHP 7 happy"
This reverts commit e33c96162a33b52a9152ce0b05dba8b25f1dc2b4.
Do not assign classes with =& to make PHP 7 happy
Fixed #8091 Force Integers in GUIIt will use the ceil() function to always use the ceiling after loading a config.Also onchange of bandwidth will call the ceil function to put in a whole number.
off-by-one fix in an error text.
No functional change.
Update the Copyright notice for pfSense.
Merge pull request #3792 from PiBa-NL/20170731-status_queues-realtime
Ensure that the value passed to ipfw pipes is always an integer, no matter the source. Fixes #8097
status_queues, provide 'realtime' statistics-retrieve 'current' numbers from pfSense
not using qstats provides the following advantages:-no long lag which requires 18 updates to get 90% accurate values on screen-showing queue's in 2 browsers does not show half the value...
Crudely fixed #7786 by eliminating check of parent bandwidth when children are sepcified in %
shaper, hfsc cannot use priority, as such don't show the field in the webgui.Also for the other shapers 0 is a valid priorityWhile fairq causes a error loading rules with a priority above 7 so prevent that.
Fixed #7231
This avoids the problem rather than fixing it by requiring the user to remove any queues from the if before deleting
Remove HTML from translated shaper setHelp
and sections must not be translated - examples of IP address formats 255.255.255.255 and so on.
Require Name field in Shaper
Correct part of #6779Setting input "step" value to "any" alows hte element to accept decimal (float) values, not just integers.
OpenBSD removed the pf FAQ page for shaping, so link to the proper page on archive.org since they offer no current equivalent and no other suitable replacement page is immediately available. Fixes #6781
Rework captive portal to run with stock IPFW (round 1)
- Remove use of IPFW context- Create a rule that will skip to proper rule for each cp zone- Use new PHP module functions wherever is possible
Move copyright from ESF to Netgate
Allow section header to be omitted by specifying "NOTITLE" as the section title.
Fixed #6437
Move to Apache License 2.0
Review license / copyright on all files (final round)
Review license / copyright on all files (1st round)
Set pipe_slot_limit to the maximum configured qlimit value. Move the set_sysctl out if the block where it only gets run if dummynet isn't already loaded. Ticket #6553
Clean up limiter text. Remove old commented out bit.
Customize limiter info message
The $dn_default_shaper_msg is what is displayed on the Limiters tab. It needs to talk about "limiter" rather than "queue".This code builds up each message using the same base template sentences, inserting "queue" or "limiter" in the appropriate place.
Miscellaneous Textual Correction - Firewall / Shaper
Fix trivial GUI typo.
TRB should be TBR for "Token Bucket Regulator".
Includes - Remove Personalizations
Remove "you" personalizations.
Fix the sum of child bandwidth.
Now percentages are correctly handled.
Remove commented and unused old code supposed to do the same.
Ticket #5721
Disable the check of subqueues bandwidth until it is fixed.
Pass the correct variable to get_interface_bandwidth(). Fixes the boot crash reported by JimP.
Spotted by: Jorge OliveiraTicket #5721
Band-aid to stop this from breaking the firewall. Ticket #5721
Add paren here for clarity, suggested by Phil Davis.
Force the existence of bandwidth on root queue.
If the bandwidth is not set the speed of root queue is set by media status.
In this case a ruleset which contains queues with speeds higher than 100Mb/s will fail to be loaded when the root interface is connected to a fast ethernet port (100Mb/s) - but works fine on a gigabit ethernet port....
More icon/button inconsistencies. Ticket #5965
Internationalize etc inc i through s
Convert section titles to title case
Gbps isn't interpreted correctly by ipfw for limiters, remove the option. Ticket #4325
Typo
Fixed #5834
Fixed #5789
HTML Compliance - Firewall / Traffic Shaper / Limiter
Bad value button for attribute type on element a: Subtype missing.(only used if href attribute set)
The font element is obsolete. Use CSS instead.
Shaper use full bandwidth units of measure
In 2.2.* the shaper bandwidth type dropdowns show "Bit/s", "Kbit/s"... but in 2.3-BETA they are just showing "b", "Kb"...That is fixed in the various array() definitions here.I also added GetBwscaleText() function that will return the full text "Bit/s" etc associated with the current bandwidth type. Then call that in a couple of places that were displaying just the "raw" bandwidthtype on the screen. e.g. firewall_shaper_queues.php was displaying just "Kb" etc and now it will display "Kbit/s". That "issue" was in 2.2.* also - so that is an "enhancement".
Further fix on saving shaper->queue->mask
Fixed #5733
Fixes issue where limiter mask does not save (from forum)
Code style and white space in etc
Fixed #5540
Fix codel checkbox label
Tidy up traffice shaper
shaper.incRemove stray closing B tag
firewall_shaper.phpRemove self closing element, not required in HTML5
Tidy up Boolean operators for HTML5
Remove the XHTML standard Boolean operators (makes reading HTML muchsimpler).
Fixed #5540 (probably)Requires more testing please
Remove layer7 components. Ticket #5508
etc inc delete $Id comments
and bits of white space.Note: There are plenty of files still with old-format copyright sectionsin here.
Copyright updates ( 3 of 3)
White space and minor bits in etc
Cleaner version of https://github.com/pfsense/pfsense/pull/1846
Integrate bootstrap etc/inc with master
This applies the little changes in etc/inc master to the bootstrapbranch so that etc/inc in bootstrap will now just have the realdifferences that are due to real bootstrap changes.
Fixed #5019Percent choice restored to selectors
Fixed #5018Added column headers (Actually footers)
Merge branch 'master' into bootstrap
Move main pfSense content to src/