Fix help for UPnP/NAT-PMP
Disable dhcp server when interface is disabled. Ticket #4119
Do not check disabled interfaces, ticket #4119
Use updated URLs for Limiters and Layer 7 help.
Remove some old comments and unnecessary cruft.
Pick up some more new pages for 2.2 that need help links.
Some misc updates to pkg help links
Add help for Unbound/DNS Resolver and its related tabs.
Point these CARP Help pages at more useful places.
Use provided function to change user's password
Fixup the rest of the URLs for DHCPv6/RA help.
The ID in DUID is Identifier.See also: ATM Machine, ISP Provider, DMZ Zone, LCD Display, GMT Time...
Update help links for DHCPv6 relay and DHCPv6 Lease Status
Remove old/invalid note
Fix up Help links for Inbound Load Balancing.
Tidy up "widgets" XHTML
Add CDATA sections to scriptsAdd ALT to image tags and close image tagsDIV tag cannot be inside a STRONG tag, so swap them aroundSCRIPT cannot be part of TR tag, so place the SCRIPT inside a TD tag buthide it.
Cleanup aliases when temporarily disable CARP, fixes #4116
Follow help page that moved.
Add DNS Resolver to the list of services to be sync'd on HA, make sure it and DNS Forwarder are not enabled simultaneously. It fixes #4067
Fix password field name
Add a shortcut for unbound and enable it
Fix password field name to apply correct style
Add missing BR tags and fix display with pfsense_ng_fs theme. It fixes #4115
Fix password confirmation name to make style working as expected. Fixes #3992
Base URL must be specified when alturlenable on
I had a 2.1.5 system that I was wondering why the dashboard always said it could not check for updates. I discovered it had "Use an unofficial server for firmware upgrades" checked, but the "Base URL" field was empty....
Split ICMP and ICMPv6 types on Firewall Rules
- Remove redundant declaration of $icmptypes and move it to a commonplace (filter.inc)- Add missing ICMP types for v4- Add ICMPv6 types- Adjust javascripts to show correct options depending of IP Protocol...
Fix indent and spaces
Fix #3790:
- Do not let 2 interfaces to setup the same track6 prefix id- Show correct prefix id range for each interface
Change text and color delimiter to carat sign
To match change made in functions.inc.php
Gateway Status Widget keep IP address bold
Forum: https://forum.pfsense.org/index.php?topic=85187.msg467438#msg467438
The bold is specified literally in gateways.widget.php for the gateway IP box, so we need to send it bold from here also when providing an update....
Fixup text rule should be route
This code was obviously taken from firewall rules and reused here without changing the word "rule" to "route".
Remove spurious '>', fixes #4091
Standardise css list padding
for _corporate
for code-red theme
for metallic theme
for nervecenter theme
for pfsense-dropdown theme
for pfsense theme
for pfsense_ng_fs theme
for the_wall theme
On Status->Services, the Services Status widget when a service status is down, the red "x" button does not line up with the green "running" button in the column.This is because listbg has:padding-right: 16px;But the normal listr has:...
Set text and color of Gateways Widget Status
getstats.php calls functions.inc.php get_stats(), which calls get_gatewaystats().get_gatewaystats() now returns the text for each field and an optional color separated by "/" - "text/color" e.g. "Online/#90EE90"...
Explicitly pass gateway status and color
This code was passing a whole load of html to attempt to set various properties of the Gateways Widget Status column so that it would display the new status (Online, Offline...) and in the appropriate color.Now that I am using class=listr, the css fro listr already specifies white. Setting bgcolor in HTML does not override that....
Use proper listr class for Gateways Widget Status
The Gateways Widget Status was not using the listr class, and so it was missing the borders for the right and bottom of its box.Use the listr class.Then use javascript to explicitly set the background-color to match the status, overriding the white that is specified in listr.
Fix gateway widget status update
Redmine #4077
Don't include link-locals as unbound interface candidates
Unbound does not presently support link-local interfaces.
Provide friendly descr in error message in Interfaces Assign
I was doing drastic things testing some stuff, swapping WAN and OPT1 interfaces in Interfaces->Assign. I accidentally pressed Save when I had the same real device selected for both. Thankfully there was input validation! But I noticed that the error message reported just the names WAN and OPT1, but actual I had them named as different things. So the names in the error message did not match the names (friendly descriptions) in the table of interfaces....
Put -4 in the right place in ntpq clockver command #4074
I had pasted it in here between "-c" and "clockvar", that was not good.That's all I have for #4074 (I hope)
Use IPv4 for ntpq if IPv6 not allowed in widget #4074
Similar code here. Shame it was not in a subroutine called from both places, but not about to re-engineer that now:)
Use IPv4 for ntpq if IPv6 not allowed
Forum: https://forum.pfsense.org/index.php?topic=84890.0
Display installed pkg version even if pkg server not available
Forum: https://forum.pfsense.org/index.php?topic=84820.0It seems reasonable to me to display the currently installed package version numbers, along with text like "Latest: N/A". and the Version box being red-filled when someone goes to System->Packages and displays the installed packages but the package server is not reachable for some reason....
Merge pull request #1348 from phil-davis/patch-4
Try to not make useless entries in the config file for very rare used configuration values. Makes config file readble and with less size
validate MTU and MSS as integers, and don't allow MSS larger than pf will accept to avoid broken rulesets.
Add input validation on vpn_ipsec_settings.php. Fixes #4052.
Fix input validation for DNS resolver when localhost is enabled in resolv.conf and "all" chosen in Network Interfaces. While here, set something other than '' when all is chosen.
Add input validation to Unbound advanced settings page. Ticket #4050
Validate as integers, not just numeric, to prevent possible breakage.
Add option to disable auto-added access-control entries for users who want to manually manage ACLs. Ticket #4023
Unset any previous dat
Use the pfsense module functions rather than execing. Fixes also possible attack vectors.
convert_real_interface_to_friendly_interface_name() goes and checks the parent and this gives wrong information 99.9 percent of the time on scenarios like when this is called for unassigned vlans etc, while its real purpose is just to check if the interface is assigned and return the intermeddiate/config name of the interface. Leave the get_parent_option there in the function but it needs to be asked specifically for.
Fix JavaScript confirmation dialog for EasyRule.
Remove a blank row in the tab display during firmware update
Reorder the inclusion of headers so that globals.inc comes first
Send the gateway name to this function. Fixes #4047
If localhost is configured to be included in resolv.conf, force its selection in Unbound. The resolv.conf logic prevents that from being a problem, but people don't seem to realize they have to pick that to use Unbound for the host itself. Force it here rather than just silently skipping its inclusion in resolv.conf.
fix text here, variables came back empty and aren't all that useful here anyway.
only show aggressive/main mode for IKEv1
Unset the aggressive mode settings for not IKEv1 settings
fix IPsec widget status display after recent changes broke it. Ticket #4045
Show Mtu on status interfaces.
Ticket #2786 there is an issue with convert_real_interface_to_friendly_interface which might return not expected data as in the situation checked for vlan case her ein the validation. Avoid for this case here the issue to allow properly setting mtu on vlans with not assigned parent.
Option for browser tab text order
Easy thing to do - add an option for the user to select if they want the host name or page name text to display first in the browser tab.Forum: https://forum.pfsense.org/index.php?topic=84528.0
fix up text
Make this note more accurate.
Fixes #4039 remove the toggle from IPSec settings since its not anymore useful.
Fixes #4037Revert "Do not let the user mess with SAs from this page. The daemon and primary status page handles tat"
This reverts commit bb55330aca91eb556df4ab7a21fe42d1d7899f8e.
Fixes #4015. Hide Negotiation mode when in IKEv2 since it is not required.
Removing extra closing bracket
Don't unset these items for PPP configurations as they're not configured here and doing so loses settings configured in interfaces_ppps_edit.php. Ticket #3727
phone number is a required field
Fix input validation of custom-type dynamic DNS hostnames.
Properly remove IPv6 carp vips as reported from https://forum.pfsense.org/index.php?topic=84392.0
Change wording at the end of the wizard to remove "donate" since that is no longer an option
Add a note to the wizard about the DNS Resolver ignoring manual name servers by default.
Add .inc file for gmirror status widget to give it a better title and link to the management page.
Fixes #3727 Do not unset configuration values from ppp config if not needed.
Balh typos
When reinstalling a package try to start it after to avoid non-expectations from people
Remove debugging code that can lead us to XSS injection, also pass variables through htmlspecialchars() to sanitize
Force pkg reinstall when asked for.
Display Resolver host override aliases
On the main unbound resolver GUI page, like they display on the dnsmasq forwarder GIU page.As per forum: https://forum.pfsense.org/index.php?topic=78356.msg462345#msg462345
Remove var_dump from production code
Ticket #3987. Strongswan support autodetection of IKE version exchange. Support this by allowing an auto version in the GUI.