Commit Graph

12626 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
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
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
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
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
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
a39b78b506 Add support for DNSimple (dnsimple.com) 2015-02-23 15:00:19 -05:00
Renato Botelho
b2507ae675 Merge pull request #1497 from phil-davis/patch-2 2015-02-23 16:17:53 -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
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
Renato Botelho
7ccc1c32c3 Merge pull request #1505 from phil-davis/patch-7 2015-02-23 09:30:31 -03:00
Renato Botelho
1a1df767c4 Merge pull request #1504 from phil-davis/patch-6 2015-02-23 09:29:39 -03:00
Renato Botelho
a8b8033f05 Merge pull request #1506 from k-paulius/fix-links 2015-02-23 09:23:24 -03:00
Phil Davis
900e9df6ad Success typo
might as well fix it while I notice it
2015-02-23 13:08:08 +05:45
k-paulius
d82b2a6fb9 Fix broken links to dhcp6c.conf man page.
manpath FreeBSD+Ports no longer exits and needs to be replaced with FreeBSD+10.1-RELEASE+and+Ports
2015-02-22 21:47:16 -06:00
Phil Davis
1862040059 Mention interface name on DHCP edit GUI
IMHO it can be confusing on the DHCP edit page for static mapped entries to know which interface the entry is being edited/added for. Specially if the user comes from the Status DHCP Leases page, the lease they are editing/adding could be for 1 of many LAN-style interfaces.
This also made it easier for me to see which interface entry I was editing when I was testing https://github.com/pfsense/pfsense/pull/1504
2015-02-22 11:47:06 +05:45
Phil Davis
f5bea14281 Status_dhcp_leases fix edit button for static entries with no IP address
The edit button for static entries always has an index id=0 and thus pressing the edit button goes to (mostly) edit the wrong entry.
It was easier and made the code cleaner to get rid of the looping through the staticmap array every time trying to matach IP, MAC address... That data ('if' and 'staticmap_array_index') is easily gathered further up, the first time the staticmap array for each DHCP interface is traversed. I think this should also be more efficient when there are many static mapping entries.
Forum: https://forum.pfsense.org/index.php?topic=89072.msg493241#msg493241
2015-02-22 11:21:56 +05:45
Phil Davis
6777fc3b6e diag_arp allow underscore in resolved host names
is_hostname() and is_domain() allow underscore in the names. So it is possible to have underscore in host names, for example in DHCP server static mapped entries I have some things like:
10.42.3.4 client-pc-01_LAN
10.42.3.5 client-pc-01_WIFI
These reverse-resolve fine - 10.42.3.4 becomes client-pc-01_LAN
But the preg_match here misses such names that have an underscore in them.
I noticed this when looking into forum post: https://forum.pfsense.org/index.php?topic=88956.0
2015-02-18 14:33:13 +05:45
Chris Buechler
065e78b3a9 Add GUI control for MOBIKE. Hide it when IKEv1 selected. Enable toggling of NAT-T field display so it's on for IKEv1, off for IKEv2. Do same for reauth while here. Ticket #3979 2015-02-18 00:38:23 -06:00
k-paulius
e2caaee8ef Fixing issues with NTP RRD graph state changes
- only call enable_rrd_graphing() after $config['ntpd']['statsgraph']
   is set
 - fix if condition; empty and isset are each other's opposites
2015-02-15 23:31:00 -06:00
PiBa-NL
8f5352df20 carp, don't show status icon from previous carp ip in case the ip is not present on the interface (test with ifconfig em0 1.2.3.4 delete) 2015-02-15 16:29:49 +01:00
Renato Botelho
d72e936fea Merge pull request #1484 from phil-davis/more-text-typos 2015-02-13 16:27:30 -02:00
Renato Botelho
49fa70a2de Merge pull request #1485 from BBcan177/patch-1 2015-02-13 16:24:03 -02:00
Chris Buechler
47d3f94ae1 force minimum 100000 byte log file size. Some have been confused thinking this is KB, in some cases causing problems. This should help, and there shouldn't be a need for logs smaller than that. 2015-02-13 00:17:30 -06:00
BBcan177
f742c43ec3 Update fbegin.inc - Missing '/' in path
Found this issue in conjunction with user Digdug3
2015-02-12 16:54:45 -05:00
jim-p
b95a4d8ab8 Set srctrack separate from this test or the value won't save unless the sticky box status also changed. 2015-02-12 11:24:31 -05:00
Chris Buechler
0f31e91853 get rid of wizards/initial/ images that were never used 2015-02-11 22:28:51 -06:00
Ermal LUÇI
1c4c5ed2dd Remove dead code and unset vars so next time the code works properly avoiding cache issues. 2015-02-11 20:34:58 +01:00
Phil Davis
01c155f234 Random text typos
and I "corrected" function names that had "_choosen_" in them.
That is not technically an error - function names do not have to be
English words. But it does look nicer to read.
2015-02-11 14:57:50 +05:45
Renato Botelho
c70002be33 Merge pull request #1482 from phil-davis/CP-text-typos 2015-02-11 07:01:07 -02:00
Renato Botelho
ef8182caca Merge pull request #1483 from phil-davis/formfld-unknown 2015-02-11 07:00:07 -02:00
Phil Davis
0c6db320bd Fix typo in class in bridge edit
Fixing this makes nice little pencil icons appear in front of the text
entry fields.
2015-02-11 13:13:58 +05:45
Chris Buechler
06e847a729 Check if Unbound is enabled and using the same port before allowing dnsmasq to be enabled. part of Ticket #4332 2015-02-11 01:13:17 -06:00
Phil Davis
f416763bf0 Random text typos
that I noticed.
2015-02-11 12:52:14 +05:45
Chris Buechler
74ab379dac touch up Unbound text 2015-02-09 22:34:00 -06:00
Chris Buechler
758b51a021 Use appropriate interface field description when working with floating rules, it was confusing and potentially incorrect for floating rule purposes. 2015-02-09 14:20:17 -06:00
Renato Botelho
2b704ea9d2 Merge pull request #1469 from makkbe/master 2015-02-09 09:22:34 -02:00
Daniel Becker
936bfd8436 make computation of start of DHCPv6 range consistent with actual check
When computing the start IP for the 'available range' field,
services_dhcpv6.php attempts to increment a colon-formatted v6 address.
Since this always fails, so the value that's printed is not actually
incremented, so remove the bogus addition.

Note that this is actually matches the behavior of the range checks that
services_dhcpv6.php performs: The actual check uses the range
[gen_subnetv6()..gen_subnetv6_max()], which does include the first
(= all-zeroes host part) v6 address in the prefix.
2015-02-09 01:50:47 -08:00
Chris Buechler
6d5d965875 fix up text 2015-02-06 22:28:21 -06:00
Renato Botelho
20078775d4 Merge pull request #1458 from xbipin/patch-4 2015-02-05 12:52:44 -02:00
Renato Botelho
8f637a0c4e Merge pull request #1455 from xbipin/patch-2 2015-02-05 07:48:35 -02:00
Renato Botelho
68f7662be7 Merge pull request #1466 from tuyan/master 2015-02-04 16:23:22 -02:00
McB
f8b5f41d7a Merge remote-tracking branch 'upstream/master' 2015-02-03 20:25:30 +01:00
McB
68fde79cb5 Fixed alignment issue. 2015-02-03 20:21:35 +01:00