Commit Graph

19258 Commits

Author SHA1 Message Date
Erik Fonnesbeck
ae26412f3d Move git package name/URL to the configuration variables section. 2012-05-15 13:26:38 -06:00
Jim P
da5b3e837a Merge pull request #107 from bcyrill/patch-1
correct closing tags
2012-05-15 11:27:38 -07:00
bcyrill
ec18e696a3 correct closing tags 2012-05-15 21:22:48 +03:00
jim-p
e37eeb4973 Only process this if it's an array 2012-05-15 13:45:56 -04:00
jim-p
c886fed9ba As suggested by wagonza, using SAMEORIGIN for X-Frame-Options is sufficient here, and does allow the traffic graphs to work. Fixes #2419 2012-05-15 11:44:38 -04:00
jim-p
29c2c1db15 Fix quoting - can't use ' if we want to expand a variable inside the string. 2012-05-15 11:11:51 -04:00
jim-p
25890c507b Use a text description instead of a code. 2012-05-15 10:35:45 -04:00
jim-p
e078c88207 Add NTP status page using ntpq. 2012-05-14 16:30:07 -04:00
jim-p
42135f0786 Use FreeBSD's ntpd instead in the backend 2012-05-14 15:44:37 -04:00
jim-p
a8543b59bd With FreeBSD's ntpd, the current options are irrelevant, but we can have a nice status page 2012-05-14 14:50:44 -04:00
jim-p
ffc7d2c416 Fix ntp name here too 2012-05-14 14:17:11 -04:00
jim-p
ae2c143a70 s/OpenNTPD/NTP/ for log pages and menu entry, to save space (and make it easier if we switch) 2012-05-14 14:11:01 -04:00
jim-p
547c56c4fb Create $altnames earlier, and also fix a bracing issue with this if statement. Fixes certificate importing. 2012-05-14 12:39:56 -04:00
jim-p
e052047dd8 Whoops, don't flip these since I negated the test. 2012-05-14 12:27:42 -04:00
jim-p
d9c96fb1ed Flip this test around since it's safer to assume the dev mode is tun. Ticket #2432 2012-05-14 11:09:55 -04:00
smos
e32cb5d08d Make the ppp-linkup script understand both address families. 2012-05-14 14:54:04 +02:00
jim-p
e6b16f8945 Fix redirect when saving settings in the widget, it was landing on the widget page instead of returning to the dashboard. 2012-05-14 10:02:21 -04:00
Darren Embry
bbdc5919f7 remove the stuff triggering display of relay protocol row 2012-05-11 12:49:39 -04:00
Darren Embry
06d84cf398 allow port in virtual servers to be left blank
in which case listening port would be inherited from the pool
2012-05-11 12:49:38 -04:00
Darren Embry
183ea34ce0 allow aliases for the ipaddr field in virtual servers (PEV-394754) 2012-05-11 12:49:37 -04:00
Warren Baker
62fc138e70 make use of the correct file to send notifications 2012-05-11 17:12:06 +02:00
Darren Embry
937cec84c0 fix for bug #2422 could not remove entries from CP Allowed Hostnames 2012-05-11 11:04:52 -04:00
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