Commit Graph

445 Commits

Author SHA1 Message Date
jim-p
bd4c21fe57 Don't skip "lan" as a possible WAN for shaper, since someone could have renamed/repurposed it. Someone may shoot themselves in the foot if they pick it accidentally, but otherwise some valid configs may be prevented accidentally. 2012-05-23 15:47:08 -04:00
Chris Buechler
b1aa904f77 fix typo 2012-05-09 21:57:00 -04:00
smos
2ce660ad4d Unbreak a number of explode() replacements which required preg_split() 2012-01-20 12:18:13 +01:00
smos
cfbfd9412b The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings
2012-01-19 20:33:41 +01:00
Ermal
a9a5b9570f Fix multi_all wizard to properly verify VoIP bandwidth specified. 2010-12-29 16:53:25 +00:00
Warren Baker
769891b5a4 variable is not yet available so rebrands get a blank page on the last step in the setup wizard 2011-11-30 14:31:24 +02:00
jim-p
fe4780a238 When making a server certificate in the wizard, make sure we specify it must be a server certificate. 2011-11-29 15:17:35 -05:00
Ermal
e1fd8311bd Fixes #1948. Do not specify an interface for the Voip rules that intend a source ip. 2011-10-15 12:04:35 +00:00
jim-p
d3ce6a8be3 Revert "Another try at prventing panic on reconfig of ppp type wans. Ticket #1696"
This reverts commit afe88d6923.
2011-09-12 19:20:13 -04:00
jim-p
b8c8820bd1 Revert "Be correct on teh variable scope"
This reverts commit 106646b420.
2011-09-12 19:20:08 -04:00
Ermal
106646b420 Be correct on teh variable scope 2011-09-12 22:35:47 +00:00
Ermal
afe88d6923 Another try at prventing panic on reconfig of ppp type wans. Ticket #1696 2011-09-12 22:30:52 +00:00
jim-p
8678130da6 If we are coming from a PPPoE/PPTP WAN type, grab the old physical interface first to avoid assigning a ppp interface to itself. Fixes pppoe->pppoe wizard run as well as changing pppoe->dhcp. Fixes #1696 2011-09-12 17:06:51 -04:00
Ermal
43d8f1cc9c Fixes #1696. Do not store temporary information under interfaces section during wizards since this might generate a message to netgraph that triggers a panic. 2011-09-12 12:05:11 +00:00
Ermal
d78df7b98c Make the checks during step4 and step5 actually work. 2011-08-09 21:00:50 +00:00
Ermal
b0d088eb6f Correctly check the values for VoIP on multi_lan traffic shaper wizard. Reported-by: http://forum.pfsense.org/index.php/topic,32833.15.html. Ticket #1728 2011-08-02 21:17:30 +00:00
Ermal
eea89a5c1b Declare the arrays as global since that is what they are. Correct the name of asterisk in the global defniition. 2011-08-02 08:00:13 +00:00
Ermal
b3795cb988 Correct battlenet data to not be overriden. Reported-by: http://forum.pfsense.org/index.php/topic,39176.0.html 2011-08-02 07:47:33 +00:00
Ermal
1f33a7128b Correct priority number to not have clashes with PRIQ which do not allow same priority numbers for two different queues. 2011-07-28 08:17:01 +00:00
Ermal
8fd84f8778 Ticket #749. Make the rules of the traffic shaper wizard select the wan side of the interfaces to not make the intra-lan traffic classifible in this way. 2011-07-22 17:27:51 +00:00
Vinicius Coque
d1d0a1ad1b makes correct use of printf and gettext
removes variables names and replace it with '%s'
2011-07-18 14:33:20 -03:00
Ermal
f171573896 Actually increase the default queue length for the new default queue 2011-07-15 19:22:19 +00:00
Ermal
058a4f1c03 Respect the p2p catchall setting. 2011-07-15 19:17:59 +00:00
Ermal
ed7c364d3a Re-enable downstream queues but with the difference that the default queue now tries to use all the link when possible and the bandwidth limit is specified on a subqueue instead of the interface. 2011-07-15 19:08:15 +00:00
Ermal
b2608f7276 Re-enable downstream queues but with the difference that the default queue now tries to use all the link when possible and the bandwidth limit is specified on a subqueue instead of the interface. 2011-07-15 19:02:22 +00:00
Ermal
6fd23d7a46 Revert "Ticket #749. Do not create the queues at LAN side for traffic_shaper_wizard_dedicated. Since we cannot control bandwidth its useless to try to handle it(ALTQ was built with this concept in mind)."
This reverts commit cd3346e205.
2011-07-15 18:20:48 +00:00
Ermal
1750ed78d6 Re-enable downstream queues but with the difference that the default queue now tries to use all the link when possible and the bandwidth limit is specified on a subqueue instead of the interface. 2011-07-15 18:19:58 +00:00
Ermal
746fc9ec0a Revert "Ticket #749. Do not create the queues at LAN side for traffic_shaper_wizard and traffic_shaper_wizard_multi_all. Since we cannot control bandwidth its useless to try to handle it(ALTQ was built with this concept in mind."
This reverts commit 4447358371.
2011-07-15 17:36:16 +00:00
jim-p
10f5d53cbf Reconfigure wan/lan when finishing wizard, or the new IPs will not be applied. 2011-07-07 15:57:39 -04:00
Scott Ullrich
eb06ca8eb8 Revert this change. reload_all() already sends a reload message. Unfortunately there is still something else lurking that causes a delay when loading the wizard step 2011-05-12 13:03:40 -04:00
Scott Ullrich
9545fe7a4e Use send_event() 2011-05-12 11:41:50 -04:00
Scott Ullrich
602e98063d Use send_message and issue the reload all operation in the background 2011-05-12 11:38:52 -04:00
Scott Ullrich
b148ab813f Skip step #9 for non pfSense branded installations 2011-05-11 16:40:45 -04:00
Scott Ullrich
51b9e41d9e Reload the wizard and then redirect to a wizard completed step. Prompt the user to donate to the project. 2011-05-11 15:26:11 -04:00
jim-p
c7ac47fd2d Misc fixes to make the openvpn wizard stop re-creating a CA previously made via the wizard if you re-ran the wizard and chose a CA instead. Fixes #1512 2011-05-07 16:07:58 -04:00
jim-p
6be90004d4 Ensure the protocol on the firewall rule from the OpenVPN wizard ends up lower case, or it causes some GUI irregularities. Seen http://forum.pfsense.org/index.php/topic,33865.0.html and elsewhere. 2011-03-03 09:24:04 -05:00
jim-p
566193a579 Only make gateway changes if we have been given a new gateway IP. 2011-02-28 12:25:33 -05:00
jim-p
d7b4e38faa Setup gateway monitoring since we just altered a gateway. 2011-02-28 12:21:22 -05:00
jim-p
e121bebdce Fix gateway handling in setup wizard. 2011-02-28 12:16:10 -05:00
Ermal
c54c9d15d3 Remove direction from traffic shaper generated rules now that the match action is present to correctly put packets on proper queues. Before it was not possible since this would have also open firewall ports/holes. 2011-02-22 22:31:29 +00:00
Erik Fonnesbeck
97bc0bcc31 The doubled "$rule = array();" lines are probably a copy/paste error. Probably meant to paste the line that sets the rule type to the match action like the rest of what was added in the affected commit. 2011-02-13 01:15:46 -07:00
Ermal
bd25957187 Correctly verify the input on bandwith at voip step for traffic shaper wizards. Reported-by: http://forum.pfsense.org/index.php/topic,32833.0.html 2011-02-12 21:07:36 +00:00
Ermal
b3205cc39e Convert the shapers to the match action so the generated rules do not impact the filtering policy implemented. 2011-02-11 17:32:10 +00:00
Ermal
4994645524 Do proper input validation on traffic shaper wizards to not allow empty fiedls. 2011-01-24 16:54:25 +00:00
Ermal
8d9c3f7610 Properly check empty fields when specifying bandwidth values. 2011-01-24 16:38:43 +00:00
jim-p
0e01b3c623 Fix OpenVPN wizard. 2011-01-21 15:13:55 -05:00
jim-p
582c58ae1e Add drop-down to select OpenVPN hardware crypto (finds usable devices from "openssl engine" list) for clients and servers. 2011-01-20 17:19:34 -05:00
jim-p
bca35cff46 Add a checkbox for duplicate-cn on OpenVPN servers. 2011-01-20 12:33:39 -05:00
jim-p
528992bec1 Fix OpenVPN NetBIOS settings not propagating from the wizard to the server instance. 2010-12-27 11:41:03 -05:00
Ermal
cd3346e205 Ticket #749. Do not create the queues at LAN side for traffic_shaper_wizard_dedicated. Since we cannot control bandwidth its useless to try to handle it(ALTQ was built with this concept in mind). 2010-12-22 20:51:07 +00:00