Logging fixes. Ticket #5340
Merge pull request #1980 from doktornotor/patch-2
Merge pull request #1986 from phil-davis/patch-6
Merge pull request #1984 from phil-davis/patch-4
Use 1-6 rather than 0-5 for IPsec logging levels, to stay away from complications of 0 due to PHP stupidity. Upgrade config to add 1 to any configured log levels. Default to 1 as log level where none is configured by the user. Ticket #5340
Fix Command Prompt Download and Upload when not in English - Redmine #5343 for RELENG_2_2
Fix multi-lingual save of NAT mode Redmine # for RELENG_2_2
and forum https://forum.pfsense.org/index.php?topic=101276.0
Fix external interface variable in input error message
Properly validate IPv4 for UPnP - RELENG_2_2
Since https://redmine.pfsense.org/issues/1835 got exactly nowhere for the past 4 years, the input should be properly validated, instead of allowing people to configure nonfunctional/broken nonsense.
P.S. If you don't plan on fixing the above-linked feature for 2.3, let me know and I'll do the same for 2.3
interfaces_assign tab_array numbering
This was fixed in master for 2.3 by https://github.com/pfsense/pfsense/commit/50e6c063e6ec148917ff0bcb0bce8b0a08df5792 - in master all of these $tab_array entries, in each file that they appear in, had been modified to just use the $tab_array[] = form....
Merge pull request #1971 from doktornotor/patch-5
Limit the auth methods where "My Certificate Authority" is displayed/saved formobile clients. Fixes #5323.
Point people to 'Clear Package Lock' if the reinstall of packages got stuck (RELENG_2_2)
Validate that the Mobile Client settings have a valid RADIUS server selectedas the source for user authentication when EAP-RADIUS is selected as the phase1 authentication method for mobile IPsec. Fixes #5219.
Auto-add firewall rules for DHCP Relay, same as is done for DHCP Server. Add filter reload to DHCP Relay config so rules are immediately added/removed. Ticket #4558
set enabled/disabled status accordingly on initial page load. Ticket #5284
clean up empty lines
Add all remaining log types to status.php. Ticket #5304
Merge pull request #1962 from davidjwood/RELENG_2_2-ppp-ipv6
Merge pull request #1958 from phil-davis/patch-11
Use named variables for ppp-linkup command line parameters
Make route deletions quiet - it may well be the routes have already disappeared
Make code dealing with the IPv4 default gateway conditional on the IPv4 link going down
Connect ppp-ipv6 helper script to ppp-linkdown and ppp-linkup
Add /usr/local/sbin/ppp-ipv6 helper script
/usr/local/sbin/ppp-ipv6 <real interface> up|down
Interface using SLAAC or DHCP6 going down:
Redmine #5294 Do not delete a system group
This code checks if the user has somehow posted a group deletion for a group that has "system" scope. If so, then the delete is not done and an input error is displayed.Note that in normal use the group manager page does not display a delete button for "system" groups, so normally this does not happen - only if the user manually messes with the $POST variables.
Redmine #5294 Do not delete a system user
This code checks if the user has somehow posted a user deletion for a user that has "system" scope. If so, then the delete iscnot done and an input error is displayed.Note that in normal use the user manager page does not display a delete button for "system" users, so normally this does not happen - only if the user manually messes with the $POST variables.
Merge pull request #1953 from phil-davis/patch-10
correct htmlentities unintentionally removed by earlier commit
Wording of alias_info_popup tip
I noticed this while comparing alias popup behavior between 2.2.5-DEVELOPMENT and 2.3Might as well fix the grammar here for 2.2.5This tip does not exist in 2.3 because the popup works more nicely there and so this text is not needed....
Add support for an IPv6 pool for mobile clients.
Don't enforce the use of only IPv4 or IPv6 when using IKEv2 since it works fine with IKEv2
Specify %any where identifier is "any", so the note on these pagesactually works.
Fix up IKE auto mode
Correctly show v1/v2/auto on vpn_ipsec.php
Bring this back, I'll fix issues afterwards. Revert "Remove "auto", it's just a synonym for IKEv2. Ticket #4873"
This reverts commit 47f802694a1e1dfbbd011d7ec431c0948358b5c3.
Do a service reload of dyndns when changing gateways in case something haschanged. Ticket #5214
Ensure this only contains a partial name, not a path, before attempting to craft a full name and read the file. Fixes #5203.
Reset the value of a package field before this test in case it has no default. Fixes #5199
Redmine #5196 Remove incorrect text about DNS servers - RELENG_2_2
The correct text is already displayed under the DNS server boxes at line 892.This should also be done to master once the conversion of services_dhcp.php to bootstrap is stable.
Redmine #4568 Preserve MLPPP settings when saving interface settings RELENG_2_2 Vagain
with errors fixed.Supersedes https://github.com/pfsense/pfsense/pull/1781
Merge pull request #1907 from doktornotor/patch-5
Merge pull request #1921 from doktornotor/patch-20
Merge pull request #1923 from phil-davis/patch-5
fix interface assignment menus running off VGA screen
Remove leftover :
Redmine #5162 do not allow alias rename to an existing name - RELENG_2_2
show openvpn interfaces while reassigning the interfaces for a restored config backup - RELENG_2_2
pkg_edit.php - fix issue where default value was not being populated for newly added fields
Backport from PR #1906 / PR #1787 for RELENG_2_2.
Check if the actual $fieldname element is present in the $a_pkg[$id] array before trying to assign its value. Do same with default_value. Fixes issue where default value was not being populated for newly added fields.
Merge pull request #1842 from phil-davis/GW-Widget-Monitor-IP-2-2
Merge pull request #1888 from phil-davis/TGdesc22
allow port ranges for natport. Ticket #5156
Merge pull request #1811 from phil-davis/patch-10
Work around a chicken-and-egg problem in user syncing. See #5152See also: 5372d26d9d25d751d16865ed9d46869d3b0ec5e1
Misc encoding/display issues in the Load Balancer code
Encode server name in OpenVPN widget
Add description as a display option on Traffic Graph RELENG_2_2
Backport from master
Encode auth server name before display.
Encode alias description details before attempting to display them.
Encode the rule description before displaying back to the user in an error when attempting to delete an in-use alias.
Encode OpenVPN descriptions before display on OpenVPN status
Encode the OpenVPN server description before display on OpenVPN status
Ensure the current RRD graph category is encoded before display
Fix titles in status.php, filename can't have a slash.
Fix source address selection on Test Port to handle VIPs properly.
Fix a potential XSS in voucher testing.
Add support for LDAP RFC2307 style group membership. Implements #4923
To activate, check the box for RFC2307 in the LDAP server settings and fill in the group object class (typically posixGroup).
Provide an LDAP server timeout field. Default to 25 seconds. Part of ticket #3383
Previous default was ~1m20sec.
Fix GUI auth from RADIUS to grab group names from the Class attribute. Implements #935
The RADIUS server must populate the Class attribute with a string, semicolon-separated, of user groups. Similar to LDAP, local groups must exist with matching names, and privileges are determined by the local matching groups.
Compare package version strings with compare_pkg_versions
This fixes redmine #4924
remove more old, unused platform stuff
Fix killing of individual states for IPv6. Ticket #4906
fix whitespace
Use the appropriate source and dest IPs for all state types. Ticket #4907
Add "sockstat" output to status.php
Move cleargpt.sh and cleargmirror.sh scripts to main repo
Add 'any' option for peer ID, for mobile IPsec scenarios where you can't or don't want to check peer ID.
Display monitor IP on Gateways widget
This version is for system patches to 2.2.4 systems
Remove "auto", it's just a synonym for IKEv2. Ticket #4873
include vpn.inc so IPsec CRL reload works. require_once filter.inc invpn.inc for callers there that haven't already included it.
Most of the flowtable bits were removed some time ago, take out the last of them too.
When a CRL is updated, refresh strongswan's CRLs.
Merge pull request #1775 from phil-davis/Interfaces-Widget-2-2
Add isset check for strictcrlpolicy
To be consistent with the checks in the rest of this code.
Add IPsec advanced option for strict CRL checking
fix typo
Handle IPsec Advanced Settings save before IPsec is enabled
If the Advanced Settings are saved before any other IPsec is set up then $config['ipsec'] can be just the empty string. As a result you can get:a) If you select some debug settings then those are not saved. The code to save those settings was only executed when $config['ipsec'] was already an array. Actually the code already did the necessary "if isset() then unset()" stuuf. So I just took the the "if is_array()" away from the code block....
Interfaces widget use more obscure separator RELENG_2_2
Redmine #4859 fix for RELENG_2_2
Add "netstat -ni" to status.php
Allow pre-filling (but no automatic action) of the download filename on exec.php. Setup a link to download the status output.tgz in status.php
Fix caps
Bug #4551 - consistent usage of Forwarder/Resolver across the WebGUI
Clarify that this applies to DNS Resolver as well. Update the translations template.
Clarify that this applies to DNS Resolver as well.
Merge pull request #1756 from phil-davis/traffic-graph-widget-2-2
Fix Firewall - Aliases GUI inconsistencies for URL Table type aliases
The GUI should show descriptions according to what's selected from the dropdown, but currently does not for URL Table (IPs) and URL Table (Ports) type of aliases.
This is for RELENG_2_2 branch.
Contrary to some reports this is actually usable in some cases, just notmandatory. Revert "myid_data and peerid_data fields are not relevant with asn1dn."
This reverts commit b8754cc85db7e92322f605bbb4b2f90bde90bb7f.
myid_data and peerid_data fields are not relevant with asn1dn.