Commit Graph

19236 Commits

Author SHA1 Message Date
Darren Embry
4dfd930ee9 cleanup: code for building arrays for autocompleted fields 2012-05-10 15:17:18 -04:00
Scott Ullrich
c9649cf848 Merge pull request #106 from irvingpop/master
max_procs adjustments for small memory systems, attempt 2
2012-05-10 11:25:57 -07:00
Irving Popovetsky
98f20e3577 max_procs adjustments for small memory systems, attempt 2
Per Jim P's feedback,  move max_procs completely out of
system_webgui_start()  and move all of the memory/procs decision logic
to system_generate_lighty_config().

Adjust the captive portal max_procs to reflect the low memory
conditions like ALIX which tends to run out of memory quickly due to
piggy PHP processes.

In real life testing, each PHP process (with APC) can consume up to
64MB RAM.

128MB ALIX systems show an available RAM of 107 MB.
256MB ALIX systems show an available RAM of 228 MB.

The logic here is that <128MB systems should never be running more than
1 PHP process,  and <256MB systems should run 1 by default,  or 2 if
captive portal is running.

Also give the top-end captive portal 1 more PHP process (6 now)
although I think very busy captive portals will probably need more.
2012-05-10 11:17:55 -07:00
Darren Embry
5b84bd652e add autocomplete for port (PEV-394754) 2012-05-10 14:00:23 -04:00
Darren Embry
04d4bcdf93 use get_alias_list for port field in load_balancer_pool_edit 2012-05-10 13:51:41 -04:00
Darren Embry
a0539faabe prep work: function get_alias_list()
I wrote this function primarily to remove a lot of duplicate code
that's there because of a lot of those autocomplete fields.
2012-05-10 13:48:31 -04:00
Darren Embry
a1f7723876 add autocomplete to load_balancer_pool_edit.php (PEV-394754)
we also enable the json extension here.
2012-05-10 12:39:15 -04:00
Darren Embry
9b420daf9b fix a bug in anti-clickjack that made all pages blank
babac37a3b
2012-05-10 12:05:35 -04:00
Darren Embry
f3d7f30e0c update help text in port fields to Firewall -> Aliases (PEV-394754) 2012-05-10 11:54:25 -04:00
Scott Ullrich
babac37a3b Add click jacking support. Ticket #2419 2012-05-10 11:51:09 -04:00
Warren Baker
06f746c35c Add _ to the list of are allowed characters 2012-05-10 09:02:08 +02:00
Chris Buechler
b1aa904f77 fix typo 2012-05-09 21:57:00 -04:00
jim-p
2f65de893d Add initial support for subjectAltName - still needs some select love for the "type" field, freetext for now for testing (it does work, cert gets the specified subjectAltName). 2012-05-09 16:55:43 -04:00
jim-p
ca88c37ed5 Include TCP flags in CLI filter parser output (if present) 2012-05-09 13:25:50 -04:00
Warren Baker
49ddf9a10f Handle HTTPOnly and Secure flags on cookies 2012-05-09 19:08:17 +02:00
jim-p
23b1fc49ec Update zoneinfo using latest zones from FreeBSD 2012-05-08 15:42:51 -04:00
jim-p
8493104624 Back out duplicated fix from 107e8acc - Ticket #1917 was already fixed before this was added. 2012-05-08 15:02:59 -04:00
Warren Baker
7ff663d3a8 Respect ['upload_path'] for upload_tmp_dir for PHP 2012-05-08 19:15:04 +02:00
jim-p
76ac460bd4 $realif only exists on apply, which this code path would never touch. Change to use the configured interface instaed. Fixes #2212 2012-05-08 12:49:13 -04:00
jim-p
76db94c28d Add last check timestamp to gateway status (actually just fix it, since the code was there, but not functional) Fixes #1155 2012-05-08 11:37:10 -04:00
jim-p
8358b34154 Whoops, typo. Fixed now. 2012-05-07 15:57:54 -04:00
jim-p
e5e8840356 Don't pass a shell escaped version of $realifl to pfSense_bridge_add_member(). Fixes bridging 2012-05-07 15:00:40 -04:00
Scott Ullrich
9a1a0facc0 Merge pull request #100 from marcelloc/patch-7
Stop service needs to wait process to be stopped before trying to restar...
2012-05-07 10:27:49 -07:00
Marcello Coutinho
6ae78f0808 Stop service needs to wait process to be stopped before trying to restart/start it. 2012-05-07 12:53:15 -03:00
Chris Buechler
89341b505e fix vouchers 2012-05-06 14:07:42 -04:00
jim-p
5db4d1eb56 Test if this is an array before using it as an array. 2012-05-06 12:02:07 -04:00
Jim P
18e89fd650 Merge pull request #99 from znerol/feature/master/dns-host-alias
Support name based aliasing via CNAMEs or some other mechanism.
2012-05-06 05:06:43 -07:00
Lorenz Schori
85d1b51b1a Fix whitespace: use spaces in services_dnsmasq_edit.php in order to match coding style of surrounding html 2012-05-05 21:47:55 +02:00
Lorenz Schori
5a2a83493c Add support for aliases in DNS Forwarder, fixes #2410 2012-05-05 13:07:04 +02:00
Darren Embry
a52706d5d8 missed a spot for #2407 2012-05-03 12:48:17 -04:00
Darren Embry
470d24a39d implement #2407: create config option for captive portal listening port 2012-05-03 12:34:12 -04:00
Darren Embry
6b2d4b5a05 fix for #2356 'track interface'
convert pulldown for ipv6 prefix id to a textbox.  validation is
implemented.
2012-05-03 10:54:38 -04:00
jim-p
331103ae15 Fix syntax error in bogons update 2012-05-03 10:53:33 -04:00
jim-p
aa11af0768 When the "OpenVPN" users type was commented out of the drop-down, this function wasn't adjusted so it was off by one in its counts, making the URL table update frequency box disabled. 2012-05-02 08:29:31 -04:00
jim-p
e0c45357b2 Move routing (radvd, routed, ospf, bgp) to its own log since these daemons can be really spammy at times. 2012-05-01 16:00:10 -04:00
jim-p
3a1e12cfd9 Add some safety belt checks to status_queues.php to prevent exec blocking or infinite redirection loops. Better error display when things go wrong. 2012-05-01 14:25:28 -04:00
Chris Buechler
eedd093a38 correct hostname variable, and use FQDN 2012-05-01 01:32:50 -04:00
Chris Buechler
a1a0cd4622 fix saving of hard timeout 2012-05-01 00:41:56 -04:00
Chris Buechler
402ffa9687 fix text 2012-05-01 00:29:57 -04:00
jim-p
60dd7649d0 Move the stop_packages code to a function, and call the function from the shell script, and call the function directly for a reboot. Fixes #2402 and ticket #1564 2012-04-30 15:32:47 -04:00
jim-p
15855fbc5b Better error handling for crypt_data and also better password argument handling 2012-04-30 10:08:56 -04:00
Erik Fonnesbeck
3f76f90e65 Add note to NAT Reflection helper indicating where it works. 2012-04-28 02:30:04 -06:00
Erik Fonnesbeck
8c06bd69b0 Change description of 1:1 NAT Reflection setting to be more accurate. 2012-04-28 02:12:40 -06:00
Erik Fonnesbeck
f9053c0c5f Restore protection for the "destination any" case for port forward NAT Reflection, which was forgotten when shuffling around code before committing. Also add a couple other missing checks. 2012-04-28 01:38:59 -06:00
Erik Fonnesbeck
43fd29dfa2 Fix preservation of the selection of interfaces on input errors for floating rules. 2012-04-27 21:59:22 -06:00
Erik Fonnesbeck
c5d8b1f441 Use !empty instead of isset to prevent accidental deletion of the last used repository URL when firmware update gitsync settings have been saved without a repository URL. 2012-04-26 19:47:57 -06:00
Erik Fonnesbeck
f122c1a3d7 Add a space between Note: and the message. Also move the period into the gettext string, since punctuation is not language-independent. 2012-04-26 19:37:03 -06:00
Chris Buechler
d372a32dcb fix text. ticket #2399 2012-04-26 18:36:24 -04:00
Darren Embry
0637b0a989 fix for Bug #2253 Quality Graphs not generated after 'Reset RRD Data'
Seth Mos wrote:
> This needs to call setup_gateways_monitor() in after
> enable_rrd_graphing() to fix.

Also note: $retval of enable_rrd_graphing() at this point in the code
was never used, to my knowledge.
2012-04-26 18:04:15 -04:00
Chris Buechler
10c1352e59 Merge pull request #97 from alowther/master
Additional RIP options
2012-04-25 20:26:03 -07:00