Inconsistent behavior with Alias info popup
hopefully fixes #2625
http://redmine.pfsense.org/issues/2625
never call parseInt without a radix.
Don't add ldapcfg to racoon.conf since we're not using racoon's built-in LDAP support now. Moving to external script-based auth, see ticket #1112
No need for these other lines on nanobsd, and it can interfere with booting on some devices.
Add another test here for Nano+VGA to preserve the console selection.
Fix up tcpdump for pflog stop/start a little, consolodate code, and restart tcpdump for pflog when saving log settings.
Simplify schedules code and some styly nits
Merge pull request #217 from phildd/master
Month matching for scheduler rules
Fix some obvious things in the firewall scheduled rules code. If a user has some rules with a month specified and some without, then this will make a difference. Might fix bug #2614?
Try to remove old states when a DHCP IP changes, might be related to ticket #1629 and also "unable to allocate llinfo" messages from states through an old gateway.
Correct filter tdr install_cron function
Don't skip over wrap_vga here.
Add check for local port being set before testing. Fixes #2606
Don't put this rule in if $carp_int is empty, it makes an invalid rule. Fixes #2605
Restructure these IP/subnet tests so they don't break transport mode.
Merge pull request #216 from bcyrill/patch-8
Fix bug reported in http://forum.pfsense.org/index.php/topic,53000.0.htm...
Fix bug reported in http://forum.pfsense.org/index.php/topic,53000.0.html
Merge pull request #215 from phildd/master
Tidy console package install progress percentage
This makes the file download percentage progress come out at the end of the line. New values are updated by using backspaces to rub out the previous value.
Fix ntp config syntax for the version we're using
Try harder to determine hostname when sending e-mail.
Merge pull request #214 from phildd/master
Fix IPv6 remote_network typo
The IPv4 remote network was being displayed in both the IP4 and IPv6 input fields. Then whatever value was in the IPv6 field ended up in the config as the IPv4 remote network.Just a couple of missing "v6" on variable names.
Merge pull request #213 from bcyrill/patch-5
Test for an array before using it like one.
Fix another typo
Fix typo
This file won't exist at bootup yet, drop it from the sanity test.
Teach ntpd how to get its time from a local GPS on serial.
Use REQUEST_URI here so the GET parameters are preserved (makes the links work better for things like interfaces.php?if=wan, and packages.
Disable Execution timeout for this script.
Correct carp rules and a weird nat rule on carp so they actually generate what they are meant for
Extend the shortcuts code and link back from Status > Services also.
Fix secondary auth source to reference the zone like everything else in this section does, which is where the gui stores the value.
Put propper curlies since this is themeaning of this test so its readble
Remove extra curly to allow checking braces closure easily in vi[m]
More shortcuts
Initialize this for good measure.
Add (c) header, also add ability to glob in shortcuts so packages can use it too.
Add a hidden menu option to forcefully kill php, lighty, and then restart the GUI. (Can't make it a part of rc.restart_webgui since killing php would also kill the script itself.)
Clarify requirements for DHCP static mapping IP
Merge pull request #211 from bcyrill/patch-4
Update usr/local/www/services_router_advertisements.php
Remove comments which may begin with a ';' so URL Table entries like SpamHaus' drop list can be used
Refine the formatting of the service status icon a bit depending on its context.
Change form field since aliases are not supported here.Also separate the DNS settings using the default bar.
Merge pull request #210 from bcyrill/patch-3
Update usr/local/www/vpn_openvpn_server.php
Fix javascript of GW redirection adding IPv4 and IPv6 fields
Add some safety belts.
Make sure we start with an empty service.
Merge pull request #209 from bcyrill/patch-2
Update usr/local/www/shortcuts.inc
Fix array initialization
This works here, too...
Where possible, link back to the main page of a section too.
Another missed shortcut
Forgotten shortcut
Forgot the shortcut section on this page, too...
Add/use some more similarly styled icons here, for a more consistent look.
Activate service status/control for CP also.
Fixup openvpn shortcut bar status/control
Whoops forgot this one
Give status icon a title/tooltip
Print service title in tooltip for shortcut bar
Declare arrays before using them.
Activate new shortcuts/status in the rest of the areas that are currently setup.
Remove some notes/comments that aren't needed, add example.
Start revamp of shortcuts, central file to hold links, also service status/control, added to dns forwarder as example.
Whoops don't need this parameter.
Fixup output formatting
Consolodate a bunch of duplicate service status code
Don't force these links to open in a new window.
Split references here so they apply correctly
Add forgotten "ipv6 remote network", clean up a couple bits, make sure local network box is hidden for shared key servers.
Activate "base" exchange mode also supported by racoon.
Sync pbi tools
Catch another error here
Make sure we don't have any extra whitespace here.
Merge pull request #208 from phildd/master
Change rcfileprefix to a constant
Merge pull request #207 from phildd/master
firmware_update_misc log file name out of date
The name was changed to /conf/firmware_update_misc_log.txt in etc/rc.firmware quite a while ago. It needs fixing here in diag_nanobsd.php also.
Merge pull request #205 from phil-davis/master
Minor text typo in DynDNS log message
I noticed the "Inital" typo in my syslog, so thought I might as well scan through the DynDNS messages and fix it up.
Merge pull request #204 from phil-davis/master
pkg_mgr_install - only mount rw when neededProbably more comment should be put in the code.
pkg_mgr_install - only mount rw when needed
When entering pkg_mgr_install the filesystem was being mounted rw and a backup made of the config, even if the case was "showlog" or "installedinfo". This resulted in:a) an extra "backup" of the config being made after an install - it could be seen in Diagnostics, Backup Restore, Config History...
Merge pull request #203 from phil-davis/master
Minor fix to percentage output on pkg install
A variable not changed in a cut-paste.When on console, update_progress_bar should also only be called for 1-9 then every 10% progress, to reduce serial output volume.
Activate more Hash, DH, and PFS options that are available in racoon now. Note that SHA256-512 are RFC4868 compliant in FreeBSD, may break with other incompatible stacks.
Merge pull request #201 from phil-davis/master
Bogons updated - make sure conf_mount_rw and conf_mount_ro are matched
In order for miniupnpd to latch onto IPv6, we just need to give the interface name here, not the subnet. The daemon is smart enough to latch onto the right subnet(s) here anyhow.
Ensure conf_mount_rw and conf_mount_ro are matched
On nanobsd, running /etc/rc.update_bogons.sh gives:[2.1-BETA0][admin@test02.homedomain]/tmp(12): /etc/rc.update_bogons.sh 1/etc/rc.update_bogons.sh: cannot create /etc/bogonsv6: Read-only file systemThe code does 1 conf_mount_rw but 2 conf_mount_ro...
Merge pull request #200 from phil-davis/master
require filter.inc so filter_configure is defined
The "renew" button on a DHCP connection ends up calling function interface_dhcpv6_configure() in interfaces.inc, which in turn calls filter_configure() (in filter.inc) but gives the error:Fatal error: Call to undefined function filter_configure() in /etc/inc/interfaces.inc on line 3350...
Merge pull request #199 from phil-davis/master
Tidy package cleanup output
Add a "done." and newline after "Cleaning up..." Then when output is going to the serial console the next line will start cleanly and %age figures will not write over the top of "Clean".
Merge pull request #198 from phil-davis/master
Tidy up percentage logging to console
When on the console, the code only intended to update the percentage downloaded every 10%. Due to string-and-int type differences, the test was not working, all percentages were being logged. This is fixed.Also, add a newline after 100% - then whatever outputs next gets a clean start on a new line of output....
Ensure this gets a set default value or things can break