Renato Botelho
e75a787fca
Fix number of WAN / LAN interfaces detection for dedicated wizard
2014-07-24 18:28:01 -03:00
Renato Botelho
46cbc96e09
Try to guess number of WANs
2014-07-24 18:28:01 -03:00
Renato Botelho
3ab6aff78d
Try to guess number of WANs and LANs
2014-07-24 18:28:01 -03:00
Renato Botelho
dad05dac23
Fix number of WAN and LAN connections check
2014-07-24 18:28:01 -03:00
Renato Botelho
070aeff3b7
Just show right type of interfaces (LAN/WAN) on traffic shapper wizards, it fixes #3535
2014-07-24 18:28:00 -03:00
Renato Botelho
c1d09bfe11
Remove 'multi lan/single wan' and 'multi wan/single lan' traffic shaper wizards, multi lan/wan can be used to replace any of them
2014-07-24 18:28:00 -03:00
Renato Botelho
71802285e5
Replace exec() and system() calls by internal functions
2014-07-24 18:28:00 -03:00
Renato Botelho
ba782be206
Fix indent and whitespaces
2014-07-24 18:28:00 -03:00
Renato Botelho
4844813b3e
Fix indent and whitespaces
2014-07-24 18:28:00 -03:00
Renato Botelho
d69332134b
Fix indent and whitespaces
2014-07-24 18:28:00 -03:00
Matt Smith
1f2acda12f
Fix for bug 3769
2014-07-23 11:19:18 -05:00
Renato Botelho
bc53fec62d
Use SERVER_NAME instead of HTTP_HOST env var, it doesn't have port, then it avoids wizard end point to wrong IPv6 address. It should fix #3550
2014-07-22 16:39:43 -03:00
Renato Botelho
1b37ae46e7
Fix #983 - Add IP aliases subnets to interface subnet macro on GUI, since I'm here also fix not rules for PPTP clients macro.
2014-07-22 13:13:48 -03:00
Renato Botelho
ef74c9e4e4
Concat var before call escapeshellarg
2014-07-21 18:57:08 -03:00
Renato Botelho
604623a136
Make dhcpleases use unbound pid when it's configured
2014-07-21 18:56:07 -03:00
Renato Botelho
9d83d01ff2
Fix shell script syntax, it should fix #3361
2014-07-21 18:54:57 -03:00
Renato Botelho
9775c69d65
Merge pull request #1252 from N0YB/XHTML_Compliance_System_Menu
2014-07-19 08:56:45 -03:00
N0YB
de467f0038
System: Firmware: Settings
...
Updater Settings Tab
system_firmware_settings.php
Line 488, Column 43: value of attribute "type" cannot be "input"; must be one of "text", "password", "checkbox", "radio", "submit", "reset", "file", "hidden", "image", "button"
<input name="repositoryurl" type="input" class="formfld url" id="repositoryurl"…
Line 494, Column 36: value of attribute "type" cannot be "input"; must be one of "text", "password", "checkbox", "radio", "submit", "reset", "file", "hidden", "image", "button"
<input name="branch" type="input" class="formfld unknown" id="branch" size="…
2014-07-18 21:01:31 -07:00
Renato Botelho
dd030de935
Detect when protocol changes and invalidate session to get a new cookie with secure flag set according. It fixes #3714
2014-07-18 14:18:50 -03:00
Renato Botelho
639567b8f0
Merge pull request #1247 from DasTestament/master
2014-07-18 13:21:16 -03:00
Renato Botelho
d806061cb4
Merge pull request #1232 from N0YB/Widget_Gateways
2014-07-18 10:33:45 -03:00
Renato Botelho
f4b7591239
Merge pull request #1235 from N0YB/Mixed_Case_Hostname
2014-07-18 10:32:22 -03:00
Renato Botelho
5847917c85
Merge pull request #1236 from N0YB/Widget_Services_Status
2014-07-18 10:31:15 -03:00
Renato Botelho
34bb3ffc28
Merge pull request #1237 from N0YB/XHTML_Compliance_System_Menu
2014-07-18 10:29:42 -03:00
Renato Botelho
bee27ca1e7
Merge pull request #1234 from agibson2/master
2014-07-17 08:35:42 -03:00
Renato Botelho
615ae81fcc
Review all parameters on unbound main GUI, fix boolean params and add missing ones. Also make it work properly with 'apply'
2014-07-16 11:13:38 -03:00
Renato Botelho
f7e6c49a85
Use the apply trigger for unbound acls to avoid restart unbound every time
2014-07-16 11:12:17 -03:00
Renato Botelho
a88ec513e3
Fix indent and whitespaces
2014-07-16 09:58:59 -03:00
Renato Botelho
c538f864e1
Some GUI tweaks on unbound main screen
2014-07-16 09:56:36 -03:00
Renato Botelho
dbf81496d3
Improve unbound ACL edit page to use correct classes and jquery.ipv4v6ify.js
2014-07-16 09:42:38 -03:00
Renato Botelho
cb79dc0d5f
Fix acl item removal
2014-07-16 09:17:33 -03:00
Renato Botelho
026f363915
Few GUI tweaks on unbound ACL page
2014-07-16 08:48:07 -03:00
Renato Botelho
18eb5d0eaf
Fix multiple issues on unbound advanced options GUI:
...
- Drop many wrong key assignments to pconfig
- Add missing keys to pconfig
- Deal fine with boolean parameters
- Mark subsystem dirty to require apply button
- Drop calls to enable_change()
- Remove unecessary js function enable_change()
- Fix wrong <input> names
- Change all <select> and text inputs fields to display current value
2014-07-15 18:48:14 -03:00
Renato Botelho
dca795b7cf
Use cron.pid to get pid number and avoid kill minicron processes. It fixes #3757
2014-07-15 11:34:56 -03:00
jim-p
861b9b7abf
Allow hostnames in bulk import since they are valid entries in a network type alias.
2014-07-14 11:07:22 -04:00
Renato Botelho
5a582d3396
Merge pull request #1242 from ExolonDX/branch_master_01
2014-07-11 18:35:21 -03:00
Adam Gibson
dcafc71242
Don't use pfsense name in comment
2014-07-11 18:22:56 -03:00
Adam Gibson
76fce373ea
Use $product instead of pfSense when logging the version to syslog
2014-07-11 18:22:56 -03:00
Adam Gibson
4982e61e1c
Log pfsense version to syslog after bootup
2014-07-11 18:22:56 -03:00
jim-p
e860ec1d0e
Fix PHP script closing tag placement.
2014-07-11 15:27:59 -04:00
Renato Botelho
720c529f28
Fix #3749 :
...
When a full upgrade from 2.1.x to 2.2 is being done, after decompress
tarball with 2.2 files, /bin/sh is not able to run a script using syntax
'sh scriptname'. Because of that, /tmp/post_upgrade_command and
/etc/rc.reboot are not executed ending on an incomplete and broken
update.
Since we need to fix it only touching 2.2 files, the only way I found to
workaround the situation is to use pre_upgrade_command script to:
- Copy /bin/sh to /tmp/sh.old
- Change /etc/rc.firmware to use sh.old when calling
post_upgrade_command and rc.reboot
- Kill current rc.firmware process
- Start a new rc.firmware using same parameters
This issue doesn't affect nanobsd or 2.2 -> 2.2 updates
2014-07-11 08:23:04 -03:00
Renato Botelho
5fbdacc1ec
Make sure scripts have necessary attributes and use its shebang line instead of force sh to call it. This will help to prevent or workaround issues similar to #3749 in the future
2014-07-11 08:23:04 -03:00
Renato Botelho
00aa34f154
In some cases, new /bin/sh binary doesn't work properly before reboot during a upgrade, and because of that /etc/rc.reboot is not executed and system doesn't reboot. Source /etc/rc.reboot instead of open a new sh session to avoid it happening again in future versions (ticket #3749 )
2014-07-11 08:23:04 -03:00
Chris Buechler
375fce94f5
use HTTPS for files.pfsense.org for update_bogons and priv_url in pkg-utils
2014-07-09 21:56:16 -05:00
Chris Buechler
a061ddb90a
no () around qlength here
2014-07-09 00:07:36 -05:00
Chris Buechler
c9a88bbd88
qlimit must be included here
2014-07-08 06:47:34 -05:00
Renato Botelho
2d34e81a9f
Avoid reseting firewall hostname by WAN DHCP. It should fix #3746
2014-07-07 20:12:54 -03:00
Renato Botelho
971de1f98a
Convert almost all /sbin/sysctl calls to php functions
2014-07-07 20:06:37 -03:00
Renato Botelho
79cd8239ed
Fix sysctl name
2014-07-07 12:52:48 -03:00
Renato Botelho
82f758154f
Add set_single_sysctl(), a wrapper to set_sysctl() to make it simple to set value of a single sysctl
2014-07-07 11:05:28 -03:00