Commit Graph

10327 Commits

Author SHA1 Message Date
Ermal
aec0f2fd54 If extra bw attributes are supplied during reauthentication apply and log them 2012-05-22 20:59:40 +00:00
Ermal
5c0b5f64f2 Unlock if error occurs 2012-05-22 19:18:47 +00:00
smos
5a61fd69c9 Make sure that we match multiple characters.
Ticket #2415
2012-05-22 08:13:50 +02:00
smos
e7de69fbd5 First round of CARP vip renaming changes
Ticket #2415
2012-05-22 07:49:49 +02:00
smos
44b054ce5c Add the address family tag to the gateway groups array 2012-05-21 18:57:29 +02:00
smos
2b095a3323 Correct the rrd update command 2012-05-21 15:41:56 +02:00
smos
852171dd30 Read in the correct interface file 2012-05-21 15:35:33 +02:00
smos
5e5896856a Add 3G statistics for Huawei modems, split the Cellular stats out to per interface instead of global. 2012-05-21 15:31:02 +02:00
Erik Fonnesbeck
612f519852 Modify the tar parameters to exclude .git 2012-05-20 17:52:38 -06:00
smos
96cd928ba2 Allow saving on system.php if the gateways are down. 2012-05-20 20:57:05 +02:00
smos
793d3c961d Attempt to Eject the CD device on 3G sticks for Huawei and ZTE devices. 2012-05-20 20:01:39 +02:00
smos
1de3cd8749 Act on wireless interfaces too for linkup.
Redmine ticket #2440
2012-05-20 20:01:39 +02:00
jim-p
03f7925a18 Fix variable test 2012-05-20 11:51:44 -04:00
smos
2a210730dc Initialize variable if it's not set 2012-05-20 14:50:07 +02:00
smos
3930a9c0ea Prevent duplicate gateways from showing up if the interface is down. Redmine ticket #2442 2012-05-20 13:13:03 +02:00
smos
d23ef852b3 Set the retry value to 60 seconds, this is not attempts, this is seconds before it needs a reply. So if the DHCP server was any sort of slow it would fail to aquire a lease. This was true for my wireless network at home. Plus, on various other lossy links, even cable modems this could be true.
Redmine ticket #2440

retry time;
	     The retry statement determines the time that must pass after the
	     client has determined that there is no DHCP server present before
	     it tries again to contact a DHCP server.  By default, this is
	     five minutes.
2012-05-20 12:38:44 +02:00
smos
b2ff5d17ba Add the PPP automatic interface type. This would show the _PPP gateways. 2012-05-20 12:09:28 +02:00
Ermal
1346306cf7 Allow 802.1p tags to be controlled from firewall rules edit screen 2012-05-18 19:49:41 +00:00
Darren Embry
c1361a9f8b feature #2413 Allow IPv6 interface configuration from the menu 2012-05-17 20:17:48 -04:00
Darren Embry
416e1530bd normalize indentation 2012-05-17 19:17:01 -04:00
Darren Embry
8dcca9b51b - also rename $section arg to $section_name in some functions to clarify
- also robustify parsing for <tagname> and bulletproof the handling of
  certain errors
2012-05-17 17:32:04 -04:00
Darren Embry
428c289fb4 allow null to be passed as 2nd arg to parse_config_xml*
in which case entire config is returned
2012-05-17 17:30:24 -04:00
Darren Embry
ff9fbc7b3c fix 'XML error: no Array object found!' errors 2012-05-17 17:14:04 -04:00
Darren Embry
5d51f00ec7 log_error if rrdtool restore calls fail 2012-05-17 15:22:29 -04:00
Darren Embry
7a865f0344 add -f to 'rrdtool restore' call 2012-05-17 15:13:46 -04:00
jim-p
b61e89600e Teach mwexec and mwexec_bg how to optionally clear signal masks, and use that when launching ntp or ntpdate. 2012-05-16 14:03:24 -04:00
jim-p
0b8e9d38d8 On its own, ntpd does not sync fast enough at bootup, so bring back the ntpdate sync but improve it so it can't get stuck forever. 2012-05-16 10:48:26 -04:00
jim-p
7dab8995dd Clear process signals before exec() or ntpd misbehaves if called from PHP on i386. 2012-05-15 16:37:07 -04:00
Erik Fonnesbeck
ae26412f3d Move git package name/URL to the configuration variables section. 2012-05-15 13:26:38 -06: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
42135f0786 Use FreeBSD's ntpd instead in the backend 2012-05-14 15:44:37 -04:00
jim-p
ffc7d2c416 Fix ntp name here too 2012-05-14 14:17:11 -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
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
4dfd930ee9 cleanup: code for building arrays for autocompleted fields 2012-05-10 15:17:18 -04: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
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
Scott Ullrich
babac37a3b Add click jacking support. Ticket #2419 2012-05-10 11:51:09 -04:00
Warren Baker
49ddf9a10f Handle HTTPOnly and Secure flags on cookies 2012-05-09 19:08:17 +02: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
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
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
jim-p
5db4d1eb56 Test if this is an array before using it as an array. 2012-05-06 12:02:07 -04:00
Lorenz Schori
5a2a83493c Add support for aliases in DNS Forwarder, fixes #2410 2012-05-05 13:07:04 +02:00