Commit Graph

12615 Commits

Author SHA1 Message Date
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
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
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
McB
197cf4331e Added DynDNS support for GleSYS API (www.glesys.com). 2015-02-03 20:17:24 +01:00
Chris Buechler
d7f4c1a42d fix responder-only IPsec text 2015-02-03 12:54:26 -06:00
Chris Buechler
e829fcbb91 fix text 2015-02-02 21:32:31 -06:00
Renato Botelho
6672609b90 Fix aliases popup width when fields are hidden when page is loaded. It should fix #4238 2015-02-02 15:28:36 -02:00
Tuyan Ozipek
f2b769d01d Fixed not being able to save custom and custom-v6 dyndns
entries due to "host" being posted empty, and thus failing
is_domain() check.
2015-02-02 10:46:30 -05:00
xbipin
c6c71b36ae fix indent
fix indent
2015-02-02 15:28:06 +04:00
Renato Botelho
e67c5bee46 Merge pull request #1457 from phil-davis/patch-2 2015-02-02 05:56:28 -02:00
Phil Davis
8820a3aa8f Remove latin-1 encoding of RSS feed
Many thanks to Gertjan in forum https://forum.pfsense.org/index.php?topic=87504.msg484017#msg484017
Specifically setting the output encoding to latin-1 was causing the "black diamonds" for special characters in the http://blog.pfsense.org RSS feed (e.g. the registered trademark sign after pfSense did not come out).
It should all work by letting simplepie do its default stuff with the RSS feed.
2015-02-02 08:25:36 +05:45
Chris Buechler
69aeef2195 Add input validation to prevent the use of AES > 128 where glxsb is enabled. Ticket #4361 2015-01-31 16:30:19 -06:00
Ermal LUÇI
87808568a7 Fixes #4360 allow marking a connection as responder only, the same behviour as mobile connections 2015-01-31 19:49:26 +01:00
Ermal LUÇI
86e1846f47 Fixes #4359 Allow controlling uniqueids 2015-01-31 19:36:23 +01:00