Commit Graph

12879 Commits

Author SHA1 Message Date
Chris Buechler
d25eda8d75 Logging fixes. Ticket #5340 2015-10-26 15:06:40 -05:00
Renato Botelho
f71e38042b Merge pull request #1980 from doktornotor/patch-2 2015-10-26 07:52:11 -02:00
Renato Botelho
e1ef1ff5ce Merge pull request #1986 from phil-davis/patch-6 2015-10-26 07:38:19 -02:00
Renato Botelho
2167f9a4fd Merge pull request #1984 from phil-davis/patch-4 2015-10-26 07:35:07 -02:00
Chris Buechler
5d6dde8af7 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 2015-10-26 00:23:37 -05:00
Phil Davis
7e630279a2 Fix Command Prompt Download and Upload when not in English - Redmine #5343 for RELENG_2_2 2015-10-25 11:12:05 +05:45
Phil Davis
139cc9df98 Fix multi-lingual save of NAT mode Redmine # for RELENG_2_2
and forum https://forum.pfsense.org/index.php?topic=101276.0
2015-10-25 08:12:51 +05:45
doktornotor
952177e6d8 Fix external interface variable in input error message 2015-10-24 10:13:35 +02:00
doktornotor
ebf4e00e54 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
2015-10-24 10:11:31 +02:00
Phil Davis
f860af1edf interfaces_assign tab_array numbering
This was fixed in master for 2.3 by 50e6c063e6 - 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.
But in RELENG_2_2 that has not happened. So it seems nicer to just fix the numbering here to match what is already in the other interfaces_*.php files in RELENG_2_2.
Note that the code works OK without this "fix" - display_top_tabs() just loops through the existing array keys anyhow and so did not notice the missing number.
2015-10-23 18:24:45 +05:45
Chris Buechler
1eac7c1e3c Merge pull request #1971 from doktornotor/patch-5 2015-10-20 20:16:30 -05:00
Matt Smith
ca35be37bf Limit the auth methods where "My Certificate Authority" is displayed/saved for
mobile clients. Fixes #5323.
2015-10-20 12:09:09 -05:00
doktornotor
92abb65b92 Point people to 'Clear Package Lock' if the reinstall of packages got stuck (RELENG_2_2) 2015-10-20 13:12:52 +02:00
doktornotor
0246e7a2db Point people to 'Clear Package Lock' if the reinstall of packages got stuck (RELENG_2_2) 2015-10-20 12:31:45 +02:00
Matt Smith
0e8674d0db Validate that the Mobile Client settings have a valid RADIUS server selected
as the source for user authentication when EAP-RADIUS is selected as the phase
1 authentication method for mobile IPsec. Fixes #5219.
2015-10-19 11:23:17 -05:00
Chris Buechler
5944736981 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 2015-10-14 01:25:22 -05:00
Chris Buechler
0d54d26194 set enabled/disabled status accordingly on initial page load. Ticket #5284 2015-10-13 21:33:54 -05:00
Chris Buechler
14a9f7b6f5 clean up empty lines 2015-10-13 17:54:18 -05:00
Chris Buechler
8d84b036c6 Add all remaining log types to status.php. Ticket #5304 2015-10-13 17:49:50 -05:00
Renato Botelho
8832202d54 Update zoneinfo to 2015f, it fixes #5254 2015-10-13 10:06:35 -03:00
Chris Buechler
94b89bdf07 Merge pull request #1962 from davidjwood/RELENG_2_2-ppp-ipv6 2015-10-12 19:10:32 -05:00
Renato Botelho
d7e5efa461 Merge pull request #1958 from phil-davis/patch-11 2015-10-12 12:29:26 -03:00
David Wood
a7cc117f3e Use named variables for ppp-linkup command line parameters 2015-10-11 17:49:15 +01:00
David Wood
0c54b7567b Make route deletions quiet - it may well be the routes have already disappeared 2015-10-11 17:42:14 +01:00
David Wood
f190f1a079 Make code dealing with the IPv4 default gateway conditional on the IPv4 link going down 2015-10-11 17:39:37 +01:00
David Wood
37803aa5ba Connect ppp-ipv6 helper script to ppp-linkdown and ppp-linkup 2015-10-11 17:23:04 +01:00
David Wood
c348524564 Add /usr/local/sbin/ppp-ipv6 helper script
/usr/local/sbin/ppp-ipv6 <real interface> up|down

Interface using SLAAC or DHCP6 going down:

* bring down dhcp6c if it is running
* disable router advertisements (and therefore SLAAC)
* remove any autoconfigured IPv6 addresses

Interface using SLAAC or DHCP6 coming up:

* call interface_dhcpv6_configure() if dhcp6c not running and router advertisements off

interface_dhcpv6_configure() will enable router advertisements,
configure rtsold and dhcp6c, then set rtsold to prime dhcp6c as
required.
2015-10-11 17:05:40 +01:00
Phil Davis
d5161e8e05 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.
2015-10-11 14:28:36 +05:45
Phil Davis
eef67fd5ef 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.
2015-10-11 14:02:18 +05:45
Chris Buechler
7da63a641c Merge pull request #1953 from phil-davis/patch-10 2015-10-07 21:36:56 -05:00
Chris Buechler
0aa7de0978 correct htmlentities unintentionally removed by earlier commit 2015-10-07 21:34:30 -05:00
Phil Davis
cbf81857d9 Wording of alias_info_popup tip
I noticed this while comparing alias popup behavior between 2.2.5-DEVELOPMENT and 2.3
Might as well fix the grammar here for 2.2.5
This tip does not exist in 2.3 because the popup works more nicely there and so this text is not needed.
Therefore this change does not need to be ported forward to master.
2015-10-08 07:36:50 +05:45
Matt Smith
5bf321b6dd Add support for an IPv6 pool for mobile clients. 2015-10-07 14:15:54 -05:00
jim-p
b07f827a90 Don't enforce the use of only IPv4 or IPv6 when using IKEv2 since it works fine with IKEv2 2015-10-07 12:14:17 -04:00
Chris Buechler
46545f30a0 Specify %any where identifier is "any", so the note on these pages
actually works.
2015-10-01 13:19:42 -05:00
Chris Buechler
70fc7a158f Fix up IKE auto mode 2015-09-29 19:48:33 -05:00
Chris Buechler
72b4057b8d Correctly show v1/v2/auto on vpn_ipsec.php 2015-09-29 19:40:26 -05:00
Chris Buechler
d6bc309116 Bring this back, I'll fix issues afterwards. Revert "Remove "auto", it's just a synonym for IKEv2. Ticket #4873"
This reverts commit 47f802694a.
2015-09-29 19:24:20 -05:00
Chris Buechler
b98a584a7a Do a service reload of dyndns when changing gateways in case something has
changed. Ticket #5214
2015-09-29 17:29:41 -05:00
jim-p
635ee4eb05 Ensure this only contains a partial name, not a path, before attempting to craft a full name and read the file. Fixes #5203. 2015-09-28 13:46:58 -04:00
jim-p
0b74438e96 Reset the value of a package field before this test in case it has no default. Fixes #5199 2015-09-24 10:01:41 -04:00
Phil Davis
098f394329 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.
2015-09-24 12:48:20 +05:45
Phil Davis
f4bd25a7c6 Redmine #4568 Preserve MLPPP settings when saving interface settings RELENG_2_2 Vagain
with errors fixed.
Supersedes https://github.com/pfsense/pfsense/pull/1781
2015-09-22 07:17:56 +05:45
Renato Botelho
6179b021f3 Merge pull request #1907 from doktornotor/patch-5 2015-09-21 16:12:33 -03:00
Renato Botelho
8bce0031f8 Merge pull request #1921 from doktornotor/patch-20 2015-09-21 13:49:57 -03:00
Renato Botelho
6298f87a24 Merge pull request #1923 from phil-davis/patch-5 2015-09-21 13:39:48 -03:00
doktornotor
1643073765 fix interface assignment menus running off VGA screen
Remove leftover :
2015-09-21 17:18:44 +02:00
doktornotor
2cefc6b17a fix interface assignment menus running off VGA screen 2015-09-21 16:54:41 +02:00
Phil Davis
29736edaf6 Redmine #5162 do not allow alias rename to an existing name - RELENG_2_2 2015-09-21 13:10:14 +05:45
doktornotor
2f0caa4319 show openvpn interfaces while reassigning the interfaces for a restored config backup - RELENG_2_2 2015-09-20 15:26:54 +02:00