Commit Graph

97 Commits

Author SHA1 Message Date
Ermal
5f471c9590 Use the new daemon for status->queues until a proper chart javascript library is availble 2011-10-01 17:52:02 +00:00
Ermal
1309faddc8 <script/> tags are put in the function build_javascript no need to put them here. Prevents errors reported at:http://forum.pfsense.org/index.php/topic,34139.0.html 2011-04-04 15:05:59 +00:00
Scott Ullrich
daab67a170 Fix misc XSS issues from davey b 2010-11-10 09:49:47 -05:00
Renato Botelho
ee9933b6e2 Use <?php instead of the short form 2010-08-12 11:15:26 -03:00
Renato Botelho
270f81d960 Merge remote branch 'mainline/master' into 2_firewall
Conflicts:
	usr/local/www/diag_nanobsd.php
	usr/local/www/diag_packet_capture.php
	usr/local/www/firewall_shaper.php
2010-08-03 10:59:34 -03:00
Ermal
f5e511d3fa Remove priority from HFSC it is a null config option. Center most of the text in the center of a <td> and add some space between objects. 2010-07-21 18:19:11 +00:00
Carlos Eduardo Ramos
2f8fe6af95 Checked gettext() implementation on firewall_shaper.php 2010-07-15 09:39:54 -03:00
Carlos Eduardo Ramos
4e52fac4c8 Corrections gettext implementation on firewall_shaper.php 2010-07-08 14:57:38 -03:00
Vinicius Coque
e336a1956b Fixing gettext() calls on firewall_shaper.php 2010-07-02 17:55:26 -03:00
Vinicius Coque
34f79120e4 Fixing gettext calls on firewall_shaper.php 2010-07-02 16:15:39 -03:00
Jeann
1c52312dc3 Implemment gettext() 2010-06-28 23:25:35 -03:00
jim-p
b9b9b4d8d8 Add status links to shaper pages. 2010-06-02 10:42:11 -04:00
Ermal
34a3694b09 Fix displaying the Enable/Disable checkbox. Previously after a save button click it will show the old saved value. 2010-05-04 16:10:18 +00:00
Ermal Luçi
a5f07f0987 Include rrd.inc for enable_rrd_graphing. 2009-11-24 11:32:42 +00:00
Scott Ullrich
7a927e67a5 Require filter.inc and shaper.inc 2009-11-21 19:28:00 -05:00
Ermal Luçi
f5881023b3 Be more strict on shaper checking and what is written to config. Clean up whitespace while here. 2009-11-03 17:12:29 +00:00
Scott Ullrich
7ac5a4cb18 Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on 2009-09-14 19:14:40 -04:00
Chris Buechler
70b139a3e8 Grammar fixes, patch from Josh Stompro 2009-08-27 19:29:47 -04:00
Ermal Luçi
a368a026db * Reorganize the 'apply' button infrustructure in the GUI.
- Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals.
	- Convert all pages to the new infrustructure
	- This improves a lot the control on this notification
2009-06-30 17:15:22 +00:00
Ermal Luçi
0027de0a54 * Create two new functions lock($subsystem)/unlock() to have more reliable locking using semaphores.
This function can sleep till the resource is free and can help find not well behaving code.
* Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this.
	If any sybsytem wants to lock can do so with its own lock.
* Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant.
	This compenstates for the removal of lock aquiring from the scripts/pages.
* config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too.
2009-05-08 18:42:37 +00:00
Helder Pereira
f63d5b66b4 This patch adds the initial support for layer7 protocol inspection gui. 2008-12-20 23:57:09 +00:00
Ermal Luçi
9d5b21c6b8 Change frontend part to show friendly interface names on shaper. 2008-11-16 17:48:27 +00:00
Matthew Grooms
6b07c15ad8 Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Ermal Luçi
6d0c07eaff Rename for not confusing people! 2008-07-16 22:06:25 +00:00
Ermal Luçi
48d418e829 Reread the config after the new settings are saved. 2008-07-16 20:49:18 +00:00
Ermal Luçi
d3e5e7df15 Make dummynet page visible in the frontend under the "Virtual Interfaces" tab.
So people can think of pipes as virtual interfaces as it seem easier to grok.
2008-07-16 19:33:25 +00:00
Ermal Luçi
c563b7a84e Make FAIRQ visible in the GUI. 2008-04-21 22:50:14 +00:00
Ermal Luçi
5e1531d9e4 Show enable when adding new root queue. 2008-03-30 09:23:19 +00:00
Ermal Luçi
bdb0d47937 When adding a queue build the neccesary javascript 2008-03-27 18:30:51 +00:00
Ermal Luçi
a843b04f40 * Unbreak By Queues view (it even allows full interface cloning now)
* Allow queues to be created safely
* Fix a typo on tab links for the traffic shaper tabs
2008-03-27 17:08:16 +00:00
Ermal Luçi
96b777d6f1 Remove rrd files every time the wizard changes(for now). 2008-03-19 00:00:52 +00:00
Ermal Luçi
07f35d576e Rename the tab to just "Wizards", and modify all pages to send to the new page when selecting the shaper wizards tab. 2008-03-17 22:21:00 +00:00
Ermal Luçi
8f8a97c8fc Make the killing of pfctl work. 2008-02-28 23:55:43 +00:00
Ermal Luçi
1b2c6c2941 Insert the ability to kill pfctl if we come from the Queue->Status page 2008-02-28 22:47:19 +00:00
Ermal Luçi
58dc3a0386 Typo fixes and some bug fixing mostly at the frontend part. 2008-02-27 22:54:44 +00:00
Ermal Luçi
7af2fa41c9 Root queues do not have a meaning for default as normal queues do. 2008-02-26 17:12:16 +00:00
Ermal Luçi
fce824608b * Fix some bugs when deleteing queues
* Remove Manuel from firewall_shaper.php copyright this has nothing to do with him
* Apply fixes to show the actions taken on queues directly(you needed a refresh to display those), though we pay some penalty for this now
2008-02-21 18:22:00 +00:00
Scott Ullrich
176735aaf1 Add page title. 2008-02-20 17:44:51 +00:00
Ermal Luçi
96d1d4adee Do not allow a user to add or remove childs on a default queue.
Better prevent them from doing this than dealing with other situarions.
2008-02-18 20:51:08 +00:00
Ermal Luçi
cedae3d316 * Unbreak creation of new queues
* Fix input validation for bandwidth
2008-02-18 20:40:49 +00:00
Ermal Luçi
37f5fcf658 Use buttons for queue action instead of images. 2008-01-22 22:16:43 +00:00
Ermal Luçi
26dfbf8091 * Insert a "Remove Shaper" button to the GUI.
* Make the wizard gnerate a better policy for the shaper.
2008-01-21 22:38:42 +00:00
Ermal Luçi
502c545d58 Cosmetic change. Move the Queue and Interface tab on the top level instead of providing a second level tab section for them. 2008-01-20 21:35:16 +00:00
Ermal Luçi
92125c97b9 * Fix many bugs itroduced with the new shaper code import.
* Introduce a new tab to the Firewall - Rules section called "floating rules" where you can create rules with direction/tag/tagged/quick keywords of PF.
* Improve input validation on the shaper code and the wizard.
* Change the logic in filter.inc by allowing the rules without the quick keyword to work propperly.
* ALso begin changing the logic of filter.inc default rulesto not use the quick keyword so they can be overriden in the GUI.
2008-01-16 22:52:27 +00:00
Ermal Luçi
197bfe966c Bring in the new traffic shaper.
It is capable of multi interface shaping.

Also bring the wizard up-to-date. Now it is capable of doing multi interface too.
2008-01-11 21:07:25 +00:00
Scott Ullrich
d88c6a9fdf Switch over to array style page titles. Obtained-from: m0n0wall 2007-11-16 00:48:53 +00:00
Scott Ullrich
8b9e5e6826 Do not filter_configure() in wipe_magic() 2006-03-25 00:14:06 +00:00
Scott Ullrich
73335292bb Configure filter after removing shaper.
Could be related to Ticket #856
2006-03-25 00:12:26 +00:00
Scott Ullrich
e295675f8f MFC
Shaper fixes from BillM
2006-02-26 00:27:08 +00:00
Scott Ullrich
664c2cb5e0 During traffic shaper wizard rewire the logo to remove shaper rules to basically abort the incremental shaper process 2006-01-20 04:47:31 +00:00