Commit Graph

25061 Commits

Author SHA1 Message Date
Renato Botelho
aa2370d834 Fix track6 prefix id range in error message, reported on Pull Request #1517 2015-02-26 10:34:05 -03:00
jim-p
a41d910c6e Fix type (trime->trim) 2015-02-26 08:26:31 -05:00
Renato Botelho
ae52d165da Fix indent and remove some unecessary () 2015-02-26 10:12:56 -03:00
Renato Botelho
ae3b187af6 Merge pull request #1520 from phil-davis/Code-Style-Guide-etc-inc-a-to-e 2015-02-26 09:38:11 -03:00
Renato Botelho
9c8e788cc9 Merge pull request #1519 from phil-davis/Code-style-etc-misc 2015-02-26 09:37:47 -03:00
Renato Botelho
9e52dca6ea Merge pull request #1518 from k-paulius/fix-ntpd-unset-vars 2015-02-26 09:31:32 -03:00
Renato Botelho
ded7e5bf56 Merge pull request #1516 from phil-davis/patch-2 2015-02-26 09:28:14 -03:00
Renato Botelho
7136682ede Merge pull request #1515 from phil-davis/Style-updates 2015-02-26 09:25:41 -03:00
Chris Buechler
777291a293 remove unused legacy code 2015-02-26 01:36:12 -06:00
Chris Buechler
95d2d24b1d Log ifconfig commands used to setup wireless interfaces 2015-02-26 01:32:26 -06:00
Phil Davis
1e0b172713 Code style guide etc in a to e 2015-02-26 11:27:52 +05:45
Phil Davis
1bfcf6f14d Code style guide changes for miscellaneous files
under etc
2015-02-26 09:35:00 +05:45
k-paulius
1022105058 Check if variables are set before trying to pass them to function substr_count to avoid generating PHP alerts. 2015-02-25 20:44:50 -06:00
Ermal LUÇI
3d16300449 Put the bits to use the new reset utility 2015-02-25 21:26:53 +01:00
Phil Davis
7af43cb02d interface_netgraph_needed can miss setting found equals true
This routine seems to go looking to see if the passed-in interface is PPP-style. At the end, if it is not PPP-style then it calls pfsense_ngctl_detach.
This foreach loop in its current state will always exit after the first iteration that is not mode "server". But it looks like it should look through all the 'pppoe' entries until it finds the interface or gets to the end.
In theory the code will sometimes miss setting $found = true when it should have. And thus pfsense_ngctl_detach would get called later for a PPP-style interface.
I noticed this while reviewing for code style guide - it is an example where the indenting shows the intention but there are no curlies to implement it.
2015-02-25 23:06:32 +05:45
Ermal LUÇI
883096d8c6 Ticket #4418 Actually make each entry a clear token to strongswan parser for dns_split 2015-02-25 16:22:25 +01:00
Ermal LUÇI
1f3d4db05e Ticket #4418 make sure the dns_split is separated with spaces rather than space or comma to comply with strongswan requirements. 2015-02-25 16:19:26 +01:00
Ermal LUÇI
e1c4a5ffca Ticket #4418 Make the DNS names attr 28675 space separated as identified by Jeffrey Dvornek 2015-02-25 16:16:13 +01:00
Chris Buechler
e2d700da1d remove old, unused code 2015-02-25 00:26:14 -06:00
Phil Davis
a8efbde4aa Minor spacing edits to etc files 2015-02-25 01:43:04 +05:45
Phil Davis
e173dd74fd Code style for etc files 2015-02-25 01:08:35 +05:45
Renato Botelho
10b92c5756 When RADIUS auth is selected, radius protocol and server ip/host are mandatory. Fixes #4384 2015-02-24 16:08:19 -03:00
Renato Botelho
8104c3df32 Initialize var and move unset outside the loop 2015-02-24 15:45:07 -03:00
Renato Botelho
9212eb9229 Merge pull request #1495 from k-paulius/fix-dhcp6c-4436 2015-02-24 15:43:17 -03:00
Renato Botelho
5a27b14633 isset is a better check here 2015-02-24 15:40:29 -03:00
Renato Botelho
88a5ad7eea Merge pull request #1494 from k-paulius/ntp-rrd-fix 2015-02-24 15:39:39 -03:00
Renato Botelho
b8b3784f24 Merge pull request #1479 from surrural/master 2015-02-24 08:55:59 -03:00
Renato Botelho
0b9d204a6a Merge pull request #1492 from PiBa-NL/carp-statusicon 2015-02-24 08:40:20 -03:00
Renato Botelho
069bb759b9 Merge pull request #1498 from phil-davis/patch-3 2015-02-24 08:24:47 -03:00
Renato Botelho
e91f03b4ad Merge pull request #1513 from znerol/bug/master/unbound-host-alias-ptr-followup 2015-02-24 07:10:01 -03:00
Lorenz Schori
f29610b0cc Fix PTR records for aliases in host overrides 2015-02-24 10:31:37 +01:00
Ermal LUÇI
d5b1a27904 Ticket #4445 do not write config and remove its cache when applying settings its just behaviour from dinosaur era and should have been cleanded long time ago. 2015-02-23 21:20:55 +01:00
surrural
e0a4147b3b Add support for DNSimple (dnsimple.com) 2015-02-23 15:00:19 -05:00
surrural
c19250a5b3 Update dyndns.class 2015-02-23 15:00:19 -05:00
surrural
a39b78b506 Add support for DNSimple (dnsimple.com) 2015-02-23 15:00:19 -05:00
surrural
e29543d686 Add support for DNSimple (dnsimple.com) 2015-02-23 15:00:19 -05:00
surrural
916d683eb9 Add support for DNSimple (dnsimple.com) 2015-02-23 15:00:19 -05:00
Renato Botelho
8252ccfa74 Merge pull request #1511 from phil-davis/patch-4 2015-02-23 16:28:03 -03:00
Renato Botelho
b2507ae675 Merge pull request #1497 from phil-davis/patch-2 2015-02-23 16:17:53 -03:00
Renato Botelho
e6daaa3bd4 Merge pull request #1477 from razzfazz/fix_net_ipv6_compress_all_zeroes_master 2015-02-23 16:05:24 -03:00
Phil Davis
3f141c9dc8 Preserve "add routers" value across loop for each interface
Forum: https://forum.pfsense.org/index.php?topic=89302.0

If the user put "none" in the 'gateway' field for the DHCP settings of an interface, that would set $add_routers to false at line 742. Coming around the loop again for a subsequent interface, and going through the else line 744, nothing would set $add_routers back to true (actually back to the value originally calculated at line 461).
Use a different var to remember the boolean value calculated at line 461 so it can be remembered and used as needed each time through the loop.

I set Gateway "none" on my LAN and left it blank on OPT1 and came up with the same problem as the forum post - OPT1 got no " option routers" statement in dhcpd.conf

After this code fix it looks good.
2015-02-24 00:18:07 +05:45
Renato Botelho
92a33a8319 Merge pull request #1496 from stilez/patch-2 2015-02-23 15:14:31 -03:00
Renato Botelho
545e25fad5 Merge pull request #1476 from razzfazz/fix_dns6ip_assignment_for_track6_master 2015-02-23 15:01:46 -03:00
Renato Botelho
d596baab10 Merge pull request #1478 from razzfazz/fix_dhcpv6_avail_range_dump_master 2015-02-23 14:38:17 -03:00
Renato Botelho
beb6a98465 Merge pull request #1509 from znerol/bug/master/unbound-host-alias-ptr 2015-02-23 14:30:47 -03:00
Renato Botelho
359d01239d Merge pull request #1510 from phil-davis/patch-6 2015-02-23 14:17:40 -03:00
Phil Davis
5fd42bbb83 Fix display style typo
I could not see any difference in rendering of the page after fixing this, but it looks it it should be fixed.
2015-02-23 22:31:34 +05:45
Phil Davis
cbd49c77c4 Fix display style typo
I could not see any difference in rendering of the page after fixing this, but it looks it it should be fixed.
2015-02-23 22:29:47 +05:45
Phil Davis
a087e197e6 OpenVPN server improve handling of authmode
Currently if the user is clicking around while they are setting up an OpenVPN server, they can do stuff like this:
a) Select Server Mode - Remote Access (SSL/TLS + User Auth)
b) Select something in Backend for authentication
c) Change their mind and select Server Mode - Peer to Peer (SSL/TLS)
d) Enter the other settings and Save
Now the OpenVPN server config has an 'authmode' key in it.
Probably does no harm, I suspect it will simply not be used when building the server.conf for Peer to Peer, but it looks a bit odd when analysing/diagnosing a config for problems.
Other fields that are mode-specific have tests to only save the values at the end if the appropriate mode is the one finally selected.

While I am here, I also constantly forget to click on "Local Database" authmode when setting up a new server. It gives the validation error message, then I click on "Local Database" again and save. Seems unnecessary - when defining a new OpenVPN server why not default this to have the first entry in the list be the one selected? So I did that. What do you think? 1 place less for many users to need to click.
2015-02-23 22:16:12 +05:45
Phil Davis
3e41ad5942 vpn_openvpn_server.php white space 2015-02-23 21:58:53 +05:45