Commit Graph

24913 Commits

Author SHA1 Message Date
Daniel Becker
07efe7c0eb add dhcp6.name-servers option with DHCPD-PD regardless of PD length
The existing code only includes a v6 name server IP in the
automatically generated dhcpdv6 configuration for tracking interfaces if
there are additional prefixes that can be delegated on to the next
router (i.e., if PD length > 2). The correct behavior is for this option
to be included regardless of the PD length, as implemented in this
change.
2015-02-23 15:02:40 -03:00
Daniel Becker
76feb40735 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-23 14:38:30 -03:00
Lorenz Schori
a0e4410f08 Do not add PTR records for aliases in host overrides 2015-02-23 14:31:01 -03:00
Phil Davis
ff7990df20 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 14:18:15 -03:00
Phil Davis
41de7158bd 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 14:18:08 -03:00
Phil Davis
ba7d3bd3f9 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 14:18:03 -03:00
Phil Davis
683eb99247 vpn_openvpn_server.php white space 2015-02-23 14:17:58 -03:00
Phil Davis
d2ffc02fed 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-23 09:30:45 -03:00
Phil Davis
aeb5bf8e93 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-23 09:29:53 -03:00
k-paulius
8261c0b6ac 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-23 09:23:37 -03:00
Phil Davis
c0fde4e403 Success typo
might as well fix it while I notice it
2015-02-23 09:18:55 -03:00
johnbyronent
7b6d4e6c95 Modified DynDns -> Eurodns url 2015-02-23 09:17:34 -03:00
jim-p
ec9bd3fa20 Clean up some old, possibly stale, files when restarting php-fpm 2015-02-20 13:42:23 -05:00
Chris Buechler
a9386b8f5b add a couple unnecessary bsdinstaller files to obsoletedfiles 2015-02-18 19:53:28 -06:00
Chris Buechler
07dee7aae0 remove unused dfuife files. 2015-02-18 19:44:50 -06:00
Chris Buechler
90d1d8cf88 Don't hard code harden-referral-path. It defaults to no, so no behavior change, and that setting is unlikely to ever become a default. This allows users to configure an override to enable this option if desired. part of Ticket #4399 2015-02-18 01:58:22 -06:00
Chris Buechler
7b404fdec0 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:39:26 -06:00
Chris Buechler
cfda8861b9 Wait a bit after sending a TERM to syslogd as in some instances it can take too long to stop, and it fails to restart because it's still running at that point. Add a KILL in case it's still running after that. Ticket #4393 2015-02-17 22:32:14 -06:00
Renato Botelho
cc94ea5019 Unobsolete libpcre.so.1 2015-02-13 18:28:38 -02:00
BBcan177
3ddc5d1af0 Update fbegin.inc - Missing '/' in path
Found this issue in conjunction with user Digdug3
2015-02-13 16:24:24 -02:00
Ermal LUÇI
fc06d8ea55 Surrond the some mobile clients attributes with " ( quote ) to help the strongswan parser identify properly the values. Ticket #4418 2015-02-13 12:32:02 +01:00
Chris Buechler
e2d0aee863 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:19:15 -06:00
jim-p
1ac99c4e5d Set srctrack separate from this test or the value won't save unless the sticky box status also changed. 2015-02-12 11:24:02 -05:00
Renato Botelho
a9982b438e Unobsolete crypto tools and athstats, ticket #4239 2015-02-12 08:44:55 -02:00
Chris Buechler
d4a18f1345 Merge branch 'RELENG_2_2' of git.pfmechanics.com:pfsense/pfsense into RELENG_2_2 2015-02-11 22:29:39 -06:00
Chris Buechler
6972f14e5e get rid of wizards/initial/ images that were never used 2015-02-11 22:28:17 -06:00
Chris Buechler
377b1faaaf DHCPv6 client rules MUST come before bogons. Add a comment that hopefully
sticks out so this stops getting broken. Ticket #3395
2015-02-11 17:00:34 -06:00
Ermal LUÇI
810b36ac0c Fixes #4390 Properly return the vip subnet now that the CARP might not match its parent interface subnet. 2015-02-11 21:17:03 +01:00
Ermal LUÇI
657932fd09 Remove dead code and unset vars so next time the code works properly avoiding cache issues. 2015-02-11 20:34:47 +01:00
Ermal LUÇI
2de650f611 Fixes #4389 The VIP interfaces cannot be assigned since they are just an identification of the VIP for tracking. Consider that when configuring gif/gre. Also on bridges you cannot set a vip interface as its member. 2015-02-11 20:26:48 +01:00
Phil Davis
302cb96e7b Check if notification is disabled
in send_smtp_message()
Other packages like arpwatch sm.php and cron job output as reported in forum https://forum.pfsense.org/index.php?topic=88347.0 call send_smtp_message() directly, currently bypassing notification disabled checks. I think those packages [are intended to | should be] respecting the notifications disabled setting. People in the forum certainly expect them to respect this setting.
If we add the $force parameter here, passing it through from notify_via_smtp() then the default behavior of send_smtp_message() can be to respect the "disable" setting. That should stop other package callers from spamming people who have disabled SMTP notifications.
If a package really wants/needs to send regardless, then it can set $force, just like the "Test SMTP" button does.
2015-02-11 07:04:16 -02:00
Phil Davis
1444c08e3e Random text typos
that I noticed.
2015-02-11 07:02:30 -02:00
Phil Davis
4ab7f8f4e8 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 07:00:22 -02:00
Renato Botelho
5132312f76 Remove unset variable, spotted by phil-davis 2015-02-11 06:59:02 -02:00
Chris Buechler
b3aacd5928 rrset-cache-size should == 2 * msg-cache-size. Ticket #4367 2015-02-11 01:45:00 -06:00
Chris Buechler
24cbfd5a63 Check if Unbound is enabled and using the same port before allowing dnsmasq to be enabled. part of Ticket #4332 2015-02-11 01:14:53 -06:00
Ermal LUÇI
1ee360aaa9 Fixes #4370 Use the curlies to not confuse php 2015-02-10 21:14:19 +01:00
Ermal LUÇI
e85f3d1acd Actually fix even the openvpn auth user script with proper checks. I thought this was fixes already! 2015-02-10 20:50:38 +01:00
Ermal LUÇI
22bca296dc Fixes #4329, Fix even tls.auth script by using proper isset() test as the fixes for other authentication scripts. 2015-02-10 20:47:32 +01:00
Ermal LUÇI
1ac5261fb0 Fixes #4397 Make mtu configuration before the ip address assignment. This fixes the issues of link routes having the wrong mtu configured on them. 2015-02-10 20:40:56 +01:00
Chris Buechler
5ece44f7ab touch up Unbound text 2015-02-09 22:34:14 -06:00
Chris Buechler
ccdaaec6e4 Update Unbound defaults 2015-02-09 22:33:50 -06:00
Chris Buechler
fb64f3aa7c also add v6 IPs to hosts in the same manner v4 IPs are added. Ticket #4395 2015-02-09 18:36:42 -06:00
Chris Buechler
3d5e8dce44 Use appropriate interface field description when working with floating rules, it was confusing and potentially incorrect for floating rule purposes. 2015-02-09 14:22:23 -06:00
Chris Buechler
5cb2a42541 fix up text 2015-02-06 22:28:07 -06:00
Chris Buechler
e4610d66dd remove CGN from "Block private networks" as it was in 2.0x and earlier
releases since it specifically notes RFC 1918 and CGN is more bogon.
Ticket #4379
2015-02-05 15:09:53 -06:00
Ermal LUÇI
8b4c7ed15c Fixes #4381 this was a leftover of the change of zoneids to start from 2. 2015-02-05 20:41:11 +01:00
Sebastian Öhman
ec1d66cc6c Use web-gui setting for pap or chap instead of having it hard-coded to chap. 2015-02-05 08:10:39 -02:00
Tuyan Ozipek
cdcf197b58 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-04 16:23:33 -02:00
Phil Davis
a912dd7d0b Firmware upgrade script text changes
while I am looking at this, might as well correct these.
No function problems or impact.
2015-02-04 16:22:29 -02:00