Commit Graph

32127 Commits

Author SHA1 Message Date
PiBa-NL
658180daff ipsec widget, check for valid array 2016-07-03 18:56:12 +02:00
Chris Buechler
17d422c171 Merge pull request #3038 from exii1988/master 2016-07-03 03:45:13 -05:00
exii1988
fb66c35f28 spdns.de renamed to spdyn.de
Forgot to update the select description and values
2016-07-02 12:22:00 +02:00
Chris Buechler
ea301b1bf8 Merge pull request #3036 from exii1988/master 2016-07-02 04:47:50 -05:00
exii1988
1c2c08bd34 spdns.de renamed to spdyn.de
The service renamed there addresses
2016-07-02 11:29:48 +02:00
Chris Buechler
ee3cc6d53a Clarify Negate option description on firewall_nat_out.php. 2016-07-02 04:19:45 -05:00
Chris Buechler
65292972a0 Change button order on diag_dns.php so hitting enter in the field does a lookup rather than update alias. semi-related to Ticket #6561 2016-07-02 03:41:16 -05:00
Chris Buechler
ea57c74bc4 Merge pull request #3035 from BBcan177/patch-1 2016-07-01 16:48:49 -05:00
BBcan177
b2c4aacaf3 Update system_usermanager_settings.php
Use of undefined constant min - assumed 'min'
2016-07-01 17:21:45 -04:00
BBcan177
d0c62202ce Update system_crlmanager.php
Use of undefined constant min - assumed 'min'
Use of undefined constant max - assumed 'max'
2016-07-01 17:20:40 -04:00
BBcan177
6e78a06f61 Fix undefined constant
Notice: Use of undefined constant min - assumed 'min' 
Notice: Use of undefined constant max - assumed 'max'
2016-07-01 17:11:20 -04:00
Chris Buechler
591b9184cb Merge pull request #3034 from NOYB/startsWith_Polyfill 2016-06-30 20:10:07 -05:00
NOYB
b07f8f3fe4 startsWith Polyfill
Fixes hidding of custom individual settings when not in use on user manager page.
2016-06-30 17:40:59 -07:00
Chris Buechler
d2f324642f Merge pull request #3033 from NOYB/Diag_Tables_Last_Updated 2016-06-30 18:31:43 -05:00
NOYB
5ba0caa752 Diag Tables Last Update
Use correct Thursday abbreviation (s/Thr/Thu/).
2016-06-30 14:58:21 -07:00
Chris Buechler
f5ba05cbee Merge pull request #2764 from NewEraCracker/redmine-6011 2016-06-30 01:42:48 -05:00
Chris Buechler
84a67bf406 Allow wildcard for hostname with Namecheap DDNS. Ticket #6260 2016-06-30 01:20:17 -05:00
Chris Buechler
0015e84cf4 Merge pull request #2729 from zevlag/BountyRequestTopic106193 2016-06-30 01:10:40 -05:00
Chris Buechler
d691888e59 Merge pull request #3031 from NOYB/GitSync_Diff_Only_Option 2016-06-30 01:05:15 -05:00
NOYB
d20f76bc7f GitSync Diff Only Option
Diff Option
--diff
SSD Friendlier
Same as default but only copies files that are different, instead of every thing even though identical.

Verbose Option
--verbose
Display constructed command.
In combination with the --diff option, display the array of different and missing files.

Dry Run Option
--dry-run
Run without syncing files.

Fixes

Files to copy variable state is used to determine whether or not to run the command.  Tar options being passed in the files to copy variable causes the command to always run.  Even if there are no files to be copied.  Separate out tar options from files to copy variable so command only runs if there are files to be copied.

Accommodate providing tar options such as '-C ./src' with the --minimal option.

Resolve function redefinition that prevents running gitsync again in same dev shell session (command recall) (function_exists).
2016-06-29 22:46:34 -07:00
Chris Buechler
792997227f Merge pull request #2994 from stilez/patch-31 2016-06-30 00:24:31 -05:00
Chris Buechler
50d369744e Merge pull request #3018 from phil-davis/usersettings 2016-06-30 00:20:40 -05:00
Chris Buechler
7685fd4ece Merge pull request #3029 from phil-davis/IPv6colons 2016-06-30 00:00:24 -05:00
Chris Buechler
bb5d3a43f9 Merge pull request #3030 from phil-davis/patch-1 2016-06-29 23:57:55 -05:00
Chris Buechler
f48034878d Merge pull request #3028 from PiBa-NL/2.3_dnsV6 2016-06-29 23:30:12 -05:00
Phil Davis
6bc8621f84 Rationalize System Update GUI messages
At present, when doing a System Update, there is a message box that says:
"Please wait while the installation of completes.
This may take several minutes."

Between "of" and "completes" is the package name, which is blank in the case of a System Update.

This should fix that issue by defining $pkg_wait_txt appropriately for the $firmwareupdate case.

Note: It was also easy to refactor out a couple of special "if firmwareupdate" tests, as the code "fell out" nicely by defining the other *_txt variables to suitable strings for the $firmwareupdate case.
2016-06-30 14:00:09 +09:30
Chris Buechler
9a8b5401c4 Add playback files for disabling and enabling CARP maintenance mode. Ticket #6560 2016-06-29 22:25:48 -05:00
Phil Davis
7e9349a59c Handle more invalid IPv6 formats 2016-06-30 12:50:34 +09:30
Chris Buechler
8d1a6065e1 Omit <secret> tags from L2TP in status.php config.xml dump. 2016-06-29 19:49:12 -05:00
Chris Buechler
eef555b96a Restore 2.2.x and prior means of obtaining pfsync nodes to avoid exhausting memory on systems with large state tables. Ticket #6364 2016-06-29 19:41:23 -05:00
PiBa-NL
ba40ee75f1 Diagnostics - DNS Lookup, also query for IPv6 addresses 2016-06-29 22:03:44 +02:00
Chris Buechler
4400ad904d Merge pull request #2934 from k-paulius/patch-14 2016-06-29 00:57:25 -05:00
Chris Buechler
31df78a89d Merge pull request #2944 from stilez/patch-23 2016-06-28 22:36:49 -05:00
Chris Buechler
1731599435 Merge pull request #3000 from stilez/patch-32 2016-06-28 22:32:44 -05:00
Chris Buechler
adcb1d0837 Merge pull request #3024 from phil-davis/include_once 2016-06-28 22:01:25 -05:00
Chris Buechler
5f93d5f172 Merge pull request #3027 from dhoffend/ticket-6505 2016-06-28 21:12:28 -05:00
Daniel Hoffend
40588fc44b Shorten gwifip if whole socket path exceeds 100 chars
dpinger stopps with an error when the socketname exceeds over
(around) 100 characters. The dpinger will not start and not deliver
monitoring results to the WebUI.

These long socket names can get created when using link-local addresses
and long gateway names / interface scopes.

See Ticket 6505
2016-06-29 01:21:39 +02:00
Daniel Hoffend
b225d003e9 Use a different delimiter for dpinger socket names
Currently underscores are used to seperate gwifip, monitorip, etc, but
underscors are also used in vlan subinterfaces like em0_vlan10 and
therefore can't be used because the interface scope is appended to IPv6
link-local addresses.
2016-06-29 00:46:10 +02:00
Chris Buechler
ef7c3a6373 Set pipe_slot_limit to the maximum configured qlimit value. Move the set_sysctl out if the block where it only gets run if dummynet isn't already loaded. Ticket #6553 2016-06-28 15:44:24 -05:00
Chris Buechler
cabb34e441 Clean up limiter text. Remove old commented out bit. 2016-06-28 15:04:54 -05:00
Stephen Beaver
a495f6b354 Merge pull request #3026 from phil-davis/patch-2 2016-06-28 08:51:24 -04:00
Stephen Beaver
d16eec1f2c Merge pull request #3025 from phil-davis/patch-1 2016-06-28 08:48:58 -04:00
Phil Davis
8a950b3c37 Fix matching of chars in IPv6 address segments
The existing regex here is wrong, it matches 0 or more of the hex digits but then there can be other rubbish in the string, in fact anything at all! It matches "az", "z", "qwerty" and so on. So the "return false" inside this "if" never happens.
In most cases the later code catches problems, because it converts the string from hex to decimal (and things like "z" end up as decimal 0), then it does some back-conversion of the answer to hex and realizes something is different and so does not count the entry as one of the needed 8 valid segments of the IPv6 address.
This goes wrong if the user supplies a string with 8 valid IPv6 hex pieces and 1 or more extra invalid ones anywhere in the list. In that case the code finds 8 good chunks and thinks that all is well.
Try using the pfSense is_ipaddrv6() with strings like:
$ipaddr = "1:2:3:4:5:6:7:z:a";
$ret = is_ipaddrv6($ipaddr);
var_dump($ret);

That returns true - which is not good!

You can put the invalid items anywhere you like, as long as you have 8 valid items, such as:
"1:2:3:xy:4:5:6:7:8"
"gh:1:2:3:xy:4:5:6:7:8"
"1:2:3:xy:4:5:6:7:8:qw"

This change makes this initial validity check on the characters actually work, so it avoids the later code having to deal with that at all.
2016-06-28 16:09:41 +09:30
Phil Davis
1f49dd8a3a Remove a-f from IPv4 address pattern
It seems to me that a through f should not be part of the pattern for the "V4" case.
2016-06-28 14:20:22 +09:30
Phil Davis
86573bb964 Update include() to include_once()
For safety, use include_once() when including various "side" files.
There are a couple of instances of include("guiconfig,inc") that I
changes to use require_once() to be consistent with everywhere else.
The remaining cases of include() are just (hundreds of) head.inc and
footer.inc - those are only at the start/end of the ordinary top-level
interactive PHP files. There is no nested interaction of those to think
about, so that should be fine.
2016-06-28 09:01:31 +09:30
Renato Botelho
f310decfbb Only build memstick images for now 2016-06-27 19:17:44 -03:00
Renato Botelho
8de27a69c4 Fix memstickserial and memstickadi images path 2016-06-27 18:59:55 -03:00
Renato Botelho
f51dbf53e9 Run make distribution on installer directory 2016-06-27 18:18:59 -03:00
Renato Botelho
6b5779e9da Enable bsdinstall for memstick serial and adi 2016-06-27 18:17:49 -03:00
Renato Botelho
7d46089736 Install kernel on installer image 2016-06-27 17:48:02 -03:00