Commit Graph

3921 Commits

Author SHA1 Message Date
jim-p
ada85fc22e Use proper IPsec enable test. Fixes #6351 2016-05-12 13:02:51 -04:00
jim-p
828ec6af04 Change the default output of pkg.php lists to be encoded before display. Preserve the old behavior as an option in case a package needs it (I didn't see any current ones that appeared to rely on the behavior, however) 2016-05-06 09:29:58 -04:00
jim-p
c38759c0cc Fix typo 2016-05-03 11:21:46 -04:00
Renato Botelho
a63c65a647 Reboot after upgrade when meta package version changed 2016-05-02 13:44:48 -03:00
Chris Buechler
6b086a3bf8 localip and gateway aren't used when type is PPP, remove here. Ticket #6264 2016-04-25 18:50:21 -05:00
Chris Buechler
745eaa9835 Allow 0 mask on Unbound ACLs. Ticket #6073 2016-04-15 23:38:29 -05:00
Chris Buechler
edf3031b76 Avoid implode error if no interfaces are selected. 2016-04-15 23:19:30 -05:00
Phil Davis
5e367fdde9 Fix #6142 validate and adjust dpinger params on upgrade
1) The previous "down" value was being converted to msec and put into
"loss_interval". It should go into "time_period".
2) loss_interval must always be at least latencyhigh - make it so if
latencyhigh is big.
3) alert_interval must always be at least probe interval - make it so if
the probe interval is high.
4) The time_period for averaging the results must be at least 2 probe
intervals plus loss_interval (ensuring there should always be 2 probe
results by the time_period expiry) - make it so.

These various conditions taken from the validation code in
system_gateways_edit.php

Note: I have explicitly put the necessary default dpinger parameter
values here, rather than calling return_dpinger_defaults() because at
this point in any future conversion we want to use these particular
numbers, not what the defaults happen to be in pfSense 2.4 or 3.0 or...
2016-04-15 03:09:36 -05:00
Chris Buechler
177410c0c0 Use RFC-defined capitalization IPsec. 2016-04-15 02:20:33 -05:00
Chris Buechler
e0d4d773cb Unset dhcpdv6 on LAN here as well. Ticket #6152 2016-04-15 02:11:26 -05:00
Phil Davis
71d994e4a0 Allow to restore any ares of config
If the existing config does not have a particular area in it, then the user should still be able to restore it from another config.
Redmine #6144
2016-04-15 01:07:08 -05:00
Chris Buechler
0201d917db Add lock in vpn_ipsec_configure. Ticket #6160 2016-04-14 21:32:11 -05:00
Phil Davis
9d935a090d Avoid PHP warning if no server selected
when saving a client specific override.
Forum report https://forum.pfsense.org/index.php?topic=109431.msg0
Redmine issue 6089
2016-04-07 14:34:43 -05:00
Renato Botelho
83a8d6f017 Do not try to register pre-installed packages on read-only media 2016-04-07 16:20:26 -03:00
Phil Davis
00e4fa5838 Redmine #6081 do not reuse index var
The value of $i needs to be kept constant from the outer loop - do not reuse it here.
2016-04-06 17:21:40 -05:00
Renato Botelho
e707bd5cca It's time for 2.3-RELEASE 2016-04-06 17:47:45 -03:00
Renato Botelho
8392311ab0 Add RELENG_2_3_0 to gitsync and set it as default 2016-04-06 17:47:15 -03:00
Renato Botelho
2a15cab9e3 Add fingerprint for RELEASE pkg sign key 2016-04-06 17:36:26 -03:00
Chris Buechler
3220c8017e Clarify log when skipping v6 bogons update. 2016-04-06 12:46:26 -05:00
jim-p
bf40859299 Fix typo 2016-04-06 09:23:12 -04:00
Phil Davis
6657804cba services_ntpd_pps remove bonus f
(cherry picked from commit 0f191478ba)
2016-04-06 10:14:48 -03:00
Renato Botelho
6dbd9fc6fd Use PHP cli to silence output garbage
(cherry picked from commit 43cbe85544)
2016-04-06 07:31:05 -03:00
Renato Botelho
eb3491d99e Silence /etc/rc.notify_message garbage output 2016-04-06 07:28:48 -03:00
Renato Botelho
e429ac7134 Fix code used to read config repo path 2016-04-06 07:19:38 -03:00
Renato Botelho
5caee0ba0f Do all steps to replace repo package and make sure symlink is in place 2016-04-06 07:19:08 -03:00
Renato Botelho
3e7c1ea74a Force update after reinstall repo pkg 2016-04-06 07:09:13 -03:00
Phil Davis
4084bcf8a9 Only apply htmlentities() once on each data element
Redmine #6079
(cherry picked from commit 82cde7f106)
2016-04-06 07:01:17 -03:00
Renato Botelho
6d5e5db2ce Simplify logic
(cherry picked from commit 05bdceee8c)
2016-04-06 06:58:17 -03:00
Renato Botelho
cc1b7ddd0b Make sure directory exists 2016-04-06 06:37:05 -03:00
Chris Buechler
891c53b01d Add Unbound to license.php. Ticket #5903 2016-04-05 21:36:47 -05:00
Renato Botelho
ba142a95fc Make sure source file exists
(cherry picked from commit 75cdfae39b)
2016-04-05 22:13:51 -03:00
Renato Botelho
a491ec98d8 Add a workaround on pfSense-upgrade to make sure repo package is replaced by correct one 2016-04-05 21:51:24 -03:00
Renato Botelho
a90f1c9b12 Rework the way repo packages work
- Distribute only a single pfSense-repo package containing all templates
- Create a symlink pointing to selected repo
- Do not limit it only to pfSense-repo and pfSense-repo-devel
2016-04-05 19:50:10 -03:00
Renato Botelho
a35bf546b5 Do not return -1, sh doesn't like it 2016-04-05 19:49:35 -03:00
Stephen Beaver
c7445ef5f2 Merge pull request #2843 from jlduran/fix-missing-space-status-ipsec
(cherry picked from commit f332da5fbb)
2016-04-05 12:49:29 -04:00
Stephen Beaver
cccb1e1a97 Eliminate "onclick" from child SA buttons
Revise recording of open children

(cherry picked from commit 067551a440)
2016-04-05 12:12:37 -04:00
jim-p
4081c23206 Fix wording on advanced IPsec settings titles.
strongSwan doesn't get restarted in debug mode, it just changes the verbose level of log sections. Old terminology was leftover from racoon days.
2016-04-05 10:27:41 -04:00
jim-p
b226a437b3 Correct logic for display of MAC address & vendor (if present). Fixes #6078 2016-04-05 10:22:01 -04:00
Phil Davis
11614bc904 Handle alias from CNAME in diag_dns
If I resolve a CNAME with diag_dns, it gives back the translated FQDNs - e.g. www.inf.org translates to inf.org. Then press "Add Alias".
Problem: The existing code puts a "/32" CIDR after that in the alias "www_inf_org" in the config - "inf.org./32" - and if you then edit the "www_inf_org" alias it shows as "inf.org./32" in the Network or FQDN Address field. Normally when putting an FQDN into an alias, no CIDR is inserted.

This change fixes it.
(cherry picked from commit 607b785f63)
2016-04-05 09:39:01 -03:00
Stephen Beaver
73ff9530d1 Merge pull request #2841 from NOYB/System_-_Miscellaneous_-_Remove_Personalizations
(cherry picked from commit 3061702cce)
2016-04-05 07:59:38 -04:00
Stephen Beaver
4d9a5d999e Merge pull request #2840 from phil-davis/patch-7
(cherry picked from commit 64c3e9a58d)
2016-04-05 07:59:07 -04:00
Stephen Beaver
f36a00f505 Merge pull request #2838 from phil-davis/patch-5
(cherry picked from commit 4659cb1aad)
2016-04-05 07:56:22 -04:00
Stephen Beaver
12f22e9c8c Merge pull request #2837 from phil-davis/we
(cherry picked from commit f4d13d55d7)
2016-04-05 07:55:47 -04:00
Stephen Beaver
e2fba23c6b Merge pull request #2836 from phil-davis/patch-4
(cherry picked from commit b102779f21)
2016-04-05 07:55:12 -04:00
Chris Buechler
7bc19545a8 Truncate alias name at 31 characters to prevent creating an invalid ruleset. Ticket #6075 2016-04-04 22:18:13 -05:00
Stephen Beaver
713f69e2be Merge pull request #2835 from phil-davis/patch-5
(cherry picked from commit 146684ee65)
2016-04-04 18:42:00 -04:00
Stephen Beaver
9b6ea44ec7 Merge pull request #2832 from NewEraCracker/lang-fixes
(cherry picked from commit c67308d9b8)
2016-04-04 18:41:26 -04:00
Stephen Beaver
53fe857e26 Merge pull request #2834 from phil-davis/patch-4
(cherry picked from commit 2fdd07e9bb)
2016-04-04 18:40:18 -04:00
Stephen Beaver
dc99feef4e Fixed #6068
(cherry picked from commit 669343a2d3)
2016-04-04 18:25:46 -04:00
Stephen Beaver
017ca0c0c3 COrrected missing "<"
(cherry picked from commit 9723b525a4)
2016-04-04 18:07:54 -04:00