Commit Graph

32525 Commits

Author SHA1 Message Date
Renato Botelho
1ca26242ed Simplify logic and remove duplicated code 2016-09-15 13:01:17 -03:00
Renato Botelho
16efbe4ec7 Merge pull request #3136 from stilez/patch-37 2016-09-15 09:48:27 -03:00
Renato Botelho
2e8d34a6da Merge pull request #2782 from fredronnv/master 2016-09-15 09:44:45 -03:00
Fredrik Rönnvall
6a9d1bfc5c Use !empty() instead of isset() 2016-09-15 10:28:34 +02:00
Stephen Beaver
a03162c874 Revised service running/stopped icons 2016-09-14 20:52:55 -04:00
Stephen Beaver
d38d215d1d Fixed #6788 by clearing only the first label in the cloned row 2016-09-14 20:34:21 -04:00
Stephen Beaver
176b8f789e Merge branch 'master' of git.pfmechanics.com:pfsense/pfsense 2016-09-14 16:18:26 -04:00
Stephen Beaver
1c40241391 Merge pull request #2975 from NOYB/Services_Status 2016-09-14 15:32:20 -04:00
stilez
0ce1667bc6 Simplify icmp conversion
pprior code "converts" every icmp type - of which only 3 actually get changed (rest keep same value anyhow!). If also uses a SWITCH {} construct rather than lookup + foreach, which is longer and less efficient.
2016-09-13 20:11:48 +01:00
Renato Botelho
0ae266afd3 Merge pull request #3131 from PiBa-NL/20160906-generic-xmlrpc_client 2016-09-13 15:56:00 -03:00
PiBa-NL
eecfac71cf XMLRPC, xmlrpc_client set new Netgate copyright. 2016-09-13 20:44:47 +02:00
Renato Botelho
96ca183a72 Merge pull request #3135 from phil-davis/pdlen 2016-09-13 15:36:47 -03:00
PiBa-NL
e3b0eeb23a XMLRPC, xmlrpc_client remove extended class and define setConnectionData(.) function instead. 2016-09-13 19:42:04 +02:00
Renato Botelho
c1973ae920 Merge pull request #2616 from k-paulius/patch-pkg-syslog-v2 2016-09-13 14:34:18 -03:00
PiBa-NL
3cd1b96948 XMLRPC, xmlrpc_client remove xmlrpc_client.inc from pfSense.obsoletedfiles 2016-09-13 17:24:44 +02:00
Renato Botelho
efae02fccd Enable cellular pkg build 2016-09-13 10:23:22 -03:00
Renato Botelho
a9a6011886 Merge pull request #3104 from PiBa-NL/resizable-selectionbox 2016-09-13 09:38:36 -03:00
Renato Botelho
0417767d05 Merge pull request #3129 from NewEraCracker/patch-dns 2016-09-13 09:37:27 -03:00
Renato Botelho
03505b3aba Merge pull request #3134 from stilez/patch-36 2016-09-13 09:31:23 -03:00
Renato Botelho
9a20fb44b8 Merge pull request #3133 from NOYB/Check_IP_Services_-_Info_Box 2016-09-13 09:26:32 -03:00
NOYB
a25c797a44 Remove empty concatenation. 2016-09-12 11:31:12 -07:00
Phil Davis
e89a17fbf0 Fix #6768 IPv6 static mapping on delegated prefixes
For example, WAN receives a /48 delegated from the upstream (ISP...),
e.g. "2001:470:abcd::" pfSense then uses this as a starting point to
calculate the addresses on LAN, OPT1, OPT2 etc where they have been
specified asa "track interface WAN".
Actually each local interface gets just a /64 taken out of the /48,
using the chunk specified by "IPv6 Prefix Id" for that local interface.
e.g. if "IPv6 Prefix Id" is set to "a1" on LAN, then the LAN would be:
2001:470:abcd:00a1::/64

Then when we specify a static-mapped address in LAN, or other things
that live in LAN, e.g. "::4242" we mean 4242 on from the base LAN
address, so "2001:470:abcd:00a1::4242"

i.e. we always have a CIDR of 64 when calculating this stuff. We do not
want the logic that was in this code that was using the upstream prefix
delegation size (like /48).

Note: The code in services.inc "worked" because var $ifname was not set,
and so $trackifname was blank, $trackcfg was blank, and so the attempted
calculation of $pdlen always came out as 64 anyway. That tricked me for
a while trying to understand why the use in service.inc worked.
system.inc did not work, because it actually claculated $pdlen and got a
number like 48 - which actually we do not want here.
2016-09-12 10:50:23 +09:30
stilez
58325912c8 Simplify another loop 2016-09-11 03:20:38 +01:00
stilez
e23a417300 simplify code a bit more 2016-09-11 03:13:20 +01:00
stilez
a8b0fc78ec error messages again 2016-09-10 08:28:56 +01:00
stilez
b9004e46d6 gateway error messages - standardise text and clarify "both" 2016-09-10 08:11:10 +01:00
stilez
cff60fef4f More redundant logic 2016-09-10 08:01:18 +01:00
stilez
667fd2b7e2 Redundant comparison
if it's a numeric integer (hence non-empty [0-9]+ ) and the first char isn't "0" then the value will always be >0, so test is redundant
2016-09-10 07:53:52 +01:00
NOYB
6f3ac947b2 Check IP Services - Info Box
Change warning box with dismissal to collapsible info box.
2016-09-09 18:00:16 -07:00
jim-p
d2013d1257 Fix up/catch up remote syslog areas. Fixes #6780 2016-09-09 14:52:23 -04:00
jim-p
6e5f31c7b1 More pptp bits 2016-09-09 14:13:05 -04:00
jim-p
8acd133120 Remove some more dangling PPTP bits. 2016-09-09 11:59:01 -04:00
jim-p
1d6f957fff Fix description of the VPN remote log setting 2016-09-08 16:46:21 -04:00
PiBa-NL
57625777c8 dnsresolver, make interface boxes resizable, to allow for easier picking/checking of multiple selected interfaces 2016-09-08 19:39:16 +02:00
NewEraCracker
df7f65a318 Fix diag_dns regressions
After testing diag_dns behaviour some regressions have been noticed.

1) Looking up ipv6.google.com (it only has AAAA records) doesn't work
   - gethostbyname() only supports v4, ipv6.google.com only has v6
   - this bug was recently and inadvertently introduced
2) Results table will always show even when domain is not resolved
   - since refactoring ages ago, $resolved is an array, bad idea to replace with a string, this will cause issues
   - this piece of code was 'dead' until the recent commit has 'enabled' it again, removing it as not needed
3) Parameters for display_host_results (see: fe74228f2a for its introduction) weren't correctly updated
   - mostly a dead function, doubt this is used for anything, keeping it just in case.

This commit fixes all aforementioned issues.
2016-09-08 15:49:57 +01:00
Renato Botelho
cb437d3905 Move copyright from ESF to Netgate 2016-09-08 07:16:26 -03:00
Renato Botelho
39aa6d8119 Revert "Remove unused file browser.php"
This reverts commit 8dee84f4ce.
2016-09-08 07:15:46 -03:00
PiBa-NL
4d7522bfc5 XMLRPC, xmlrpc_client simplify construction parameters where possible + cleanup 2016-09-08 01:09:44 +02:00
Renato Botelho
81299b5c4e Move copyright from ESF to Netgate 2016-09-06 16:23:51 -03:00
Renato Botelho
8dee84f4ce Remove unused file browser.php 2016-09-06 16:19:00 -03:00
Renato Botelho
1b9fa643d2 Merge pull request #3119 from jlduran/fix-font-jquery-ui-widgets 2016-09-06 13:13:11 -03:00
Renato Botelho
d5b628cbbc Merge pull request #3120 from moisseev/compact-red 2016-09-06 13:12:17 -03:00
jim-p
6ffb27fce6 Remove some obsolete code from globals.inc 2016-09-06 12:07:00 -04:00
jim-p
caec0e9722 Fix handling of backup config count. Fixes #6771 2016-09-06 11:40:26 -04:00
PiBa-NL
a8620841be XMLRPC, generic xmlrpc_client implementation + bugfixes in voucher sync 2016-09-06 02:37:45 +02:00
Stephen Beaver
1c1f08f92e Obscured password field in system_authservers.php bind section
Fixed #6759
2016-09-02 16:12:57 -04:00
Renato Botelho
455be09a62 Merge pull request #3102 from NewEraCracker/patch-dhcp6 2016-09-02 16:18:18 -03:00
NewEraCracker
f2c9194cdd Force changes in routing to be detected by the system
When dhcp6c without RA is enabled, dhcp6c isn't killed and respawned, this causes the system not being able to pick up the routing changes. In this case, running the configuration script which fires rc.newwanipv6 solves the problem.
2016-09-02 19:21:03 +01:00
marjohn56
c4ddb03acb DHCP6 Before RA. Additions and ammendments
Replaced posix_kill() in kill_dhcp6client_process() with mwexec("kill -9 $pid"), this is because the posix_kill call was not reliably killing the dhcp6c process, kill -9 works every time.

Changes to the rtsold script creation. The script lines starting dhcp6c should not have be written to the script when dhcpwithoutra is true.

Style corrections, I spend more time doing these than changing code!
2016-09-02 19:21:01 +01:00
Renato Botelho
b85d0e0397 Merge pull request #3122 from NewEraCracker/patch-11 2016-09-02 10:31:33 -03:00