Commit Graph

25129 Commits

Author SHA1 Message Date
Ermal LUÇI
6bc6a72766 Revert "Provide a description for the dirty hack to not come back scratching.... on it"
This reverts commit 6d7e7c0c5c.
2015-04-30 22:50:11 +02:00
Chris Buechler
ee72e2caed Show correct selection for noshuntlan option. Ticket #4655 2015-04-30 01:23:11 -05:00
Phil Davis
cf3aff59ed Add static mapping interface not set when IP in a pool
If the DHCP IP address is in a pool (not in the main DHCP range for the interface) then the interface that corresponds to the IP address is not found. This results in the link to "add static mapping for this MAC address" not having any value for "if=" and thus clicking on the "+" button does not work.
Reported in bug 4649
Process any pools when checking for which interface contains the IP address.
2015-04-27 09:13:48 -03:00
Phil Davis
d7d6342c41 Fall back to getting local user pages and groups
if the groups could not be found from LDAP and there is a local user.
2015-04-27 09:09:40 -03:00
Phil Davis
73bbcaed4d Do not process dhcpd implementation if input errors
If I go to Service->DHCP Server, make some edits that are invalid (e.g. change range start or end to some invalid string) and press Save then the page comes back displaying the input error(s). But it also says:
"The changes have been applied successfully."
Actually, the changes (which were invalid) have not been applied to the config - all is well there - but dhcpd has been stopped and started and dnsmasq or unbound has been kicked... which is all unnecessary processing since the user has not yet provided valid values to save.
2015-04-27 09:03:32 -03:00
Colin Fleming
1fa1a40b84 Tidy up "services_unbound.php" XHTML
Add missing closing TD tag
2015-04-27 09:02:22 -03:00
Colin Fleming
9dded879f0 Tidy up "status_upnp.php" XHTML
Remove double line from table
2015-04-27 09:02:17 -03:00
jim-p
d9e5a9318c Remove the DHCP static lease overlap cleanup and associated function and kill, as it can cause problems with failover scenarios. 2015-04-24 15:56:31 -04:00
Ermal LUÇI
6d7e7c0c5c Provide a description for the dirty hack to not come back scratching.... on it 2015-04-24 17:33:18 +02:00
Ermal LUÇI
7d5add01e4 Use a dirty hack to make IKEv1 with multiple phase2 to work correctly with one IKE SA for each subnet 2015-04-24 17:30:50 +02:00
Ermal LUÇI
6ed34650a7 Is better to send the signal to starter rather than to charon directly. Starter manager charon properly. This should fix a lot of issues with configuration reloading that before sometimes did not work especially when changing phase2 entries 2015-04-24 16:54:51 +02:00
Ermal LUÇI
2334aff978 This was meant to remove duplicates here, even though charon will do by itself but better do it since it was meant to. 2015-04-23 20:16:37 +02:00
Chris Buechler
bc28e0e4b2 Trying to submit a symlink as part of crash reports will cause a failed
submission. Remove symlinks first. Also properly set user agent while
here, consistent with others. Fix some style and whitespace too. Ticket
2015-04-22 15:14:32 -05:00
Ermal LUÇI
26b94b874f Merge manually pull request #1626 to this branch 2015-04-21 19:43:20 +02:00
Ermal LUÇI
e1bcb659be s/;/:/ 2015-04-21 19:40:11 +02:00
Ermal LUÇI
7b9d7eac04 Revert "Revert "Move to specifically specifying the ID type apart when an ip address to have strongswan do proper behaviour. Also for DynDNS names use the dns type id so strongswan does the resolving by its own.""
This reverts commit 4e8eacfd7c.

Conflicts:
	etc/inc/ipsec.inc
2015-04-21 19:39:11 +02:00
Jeremy Porter
3be781e759 Add new bios product id string 2015-04-20 18:26:34 -03:00
Ermal LUÇI
a75d1a5f01 Allow to configure new modes for phase1 according to RFC 5903 by manually merging pull request #1501 partially. While here preserve style. 2015-04-20 20:54:28 +02:00
Ermal LUÇI
868a62be4c Fix #4640 IPsec Auto-exclude LAN address toggles every time save is pressed.
Actually the GUI is displaying the opposite setting to what is in the config. When the user pressed save that opposite setting was saved, but then again it displays the opposite of the opposite...
2015-04-20 20:40:06 +02:00
Ermal LUÇI
905e115668 Fixes #4625, manual merge of pull request #1617 for RELENG_2_2 branch on fixing voucher disconnection. 2015-04-20 20:37:52 +02:00
Ermal LUÇI
1d839e6da6 Implement make bofre break feature avaliable on strongswan 5.3.0 useful for IKEv2. Fixes #4626 2015-04-18 10:35:51 +02:00
Ermal LUÇI
e6130125dc Merge pull request #1619 from ibauersachs/newipsecdns-eap-radius_2-2 2015-04-17 16:35:09 +02:00
Ingo Bauersachs
0b884dd234 Make auth_get_authserver_list available to vpn.inc
This is a follow-up to PR #1613 and avoids a crash in this script at random times.
2015-04-17 10:16:09 +02:00
Ermal LUÇI
41ee551453 Fixes #4625 correct disconnection of users especially when called from xmlrpc code. 2015-04-16 20:17:18 +02:00
Ermal LUÇI
99d263f587 Merge pull request #1613 from ibauersachs/ipsec-mobile-eap-radius_2-2 2015-04-16 19:42:12 +02:00
Chris Buechler
ff3c14a510 Always do a filter reload in vpn_ipsec_configure to ensure the ruleset is
updated where necessary in every IPsec change scenario.
2015-04-16 12:34:46 -05:00
Renato Botelho
cc1f655f8e Remove boot_serial='yes' from loader.conf when serial is disabled, error introduced by me on commit 986e77a2ea 2015-04-16 12:15:05 -03:00
Phil Davis
98615a3156 Fix unbound warning when dnsallowoverride off and forwarding on
Reported in forum: https://forum.pfsense.org/index.php?topic=92437.0

The $ns array was being used further down, but if dnsallowoverride was off, the array never got created.
2015-04-16 07:32:18 -03:00
Renato Botelho
696b20ddaa Bump version to 2.2.3-DEVELOPMENT 2015-04-15 13:22:38 -03:00
Renato Botelho
a0990a91b1 Define var_path global key since it is being used in interfaces.inc, but it was not being declared anywhere 2015-04-15 10:07:14 -03:00
Ingo Bauersachs
d09155b684 Add support for EAP-RADIUS to IKEv2 Mobile Clients (Rel. 2.2) 2015-04-15 14:28:54 +02:00
Chris Buechler
4847615c9d Re-enable verification for selfhost since their chain issue is resolved. Ticket #4545 2015-04-14 22:50:32 -05:00
Chris Buechler
5d5fff6789 set forcesync to 1 by default for now, testing potential impact for Ticket #4523. 2015-04-14 21:55:50 -05:00
Chris Buechler
828f37aaaf Revert "Make forcesync default to the same behavior as freebsd rather than as intended for cf cards. People with issues on CF can enable the tunable"
This reverts commit 32e53d709f.
2015-04-14 21:52:05 -05:00
Ermal LUÇI
32e53d709f Make forcesync default to the same behavior as freebsd rather than as intended for cf cards. People with issues on CF can enable the tunable 2015-04-14 23:21:07 +02:00
Renato Botelho
1189757e91 Remove redundant/unused call to kldstat 2015-04-14 15:56:50 -03:00
Renato Botelho
8228109b6f Fix operator 2015-04-14 15:56:48 -03:00
Renato Botelho
3a644b618e Fix typo in variable name 2015-04-14 15:56:46 -03:00
Phil Davis
4b46e9b1bb Fix OpenVPN server listening on associated IPv6 address
As reported in forum https://forum.pfsense.org/index.php?topic=92174.0
If the ordinary interface is selected for an OpenVPN server and an IPV6 protocol is selected (e.g. UDP6) then al is good, the "local" line in the server1.conf is written with the primary IPv6 address of the interface.
If the interface has other associated VIPs (e.g. a CARP VIP) and the related IPv6 entry is selected as the OpenVPN server interface, then the "local" line was being omitted from server1.conf
Regardless of the IP address family, vpn_openvpn_server.php always writes the associated IP address into the settings key 'ipaddr' - which looks like a good and reasonable thing - we only want 1 IP address of some flavor to be remembered here.
This changes fixes openvpn.inc so it understands that $settings['ipaddr'] can be IPv4 or IPv6 as does the appropriate stuff with it.
2015-04-14 10:17:40 -03:00
Phil Davis
1d4217237b When deleting a VIP check it is not used by OpenVPN
I noticed this when cleaning up VIPs and OpenVPN server when testing for this forum post https://forum.pfsense.org/index.php?topic=92174.0
The system let me delete my test VIP before I deleted the OpenVPN server using, probably not a good thing.
This is a better version of #1604  - the similar loops for server and client are combined, and the error message shows the description (or IP address:port) of the offending OpenVPN instance so the user has a clue about which OpenVPN instance uses the VIP.
2015-04-14 10:11:28 -03:00
Chris Buechler
31a810badf Don't remove all of /usr/local/libdata as obsolete files. User-installed
package contents may live there, factory default configs live there.
2015-04-13 19:51:24 -05:00
Phil Davis
222e6390e3 Domain override with multiple authoritative DNS servers
Tell users that this is possible in DNS Resolver and how to achieve it. The code in unbound.inc already supports it and works.
I had asked for this in Redmine feature request #4350 and when I went to look at coding to implement it I found code that already did it.
So IMHO it is worth telling users.
2015-04-13 11:07:44 -03:00
Robert Nelson
750695f54a Only initialize package's log if it doesn't exist 2015-04-13 11:01:49 -03:00
Robert Nelson
eb4a5192ae Remove obsolete logging code which is duplicated in system_syslogd_start() 2015-04-13 11:01:40 -03:00
Chris Buechler
9c6de8b8a0 bump to 2.2.2-RELEASE 2015-04-12 16:52:48 -05:00
Renato Botelho
c782b5867b Setup ADI boards to boot only using serial to avoid duplicated output when VGA redirection is enabled 2015-04-10 16:27:10 -03:00
Chris Buechler
eae4f953f6 Skip reflection rdrs where the interface doesn't have an IP. Ticket #4564 2015-04-09 00:34:59 -05:00
Chris Buechler
b0c8f6dead Allow single interface bridges. Useful with span port option, and when shuffling configuration around. 2015-04-08 23:42:31 -05:00
Chris Buechler
e636f37393 Allow disabling the APIPA block via hidden config option. Very rarely necessary or desirable, but Amazon VPC VPNs use that as their tunnel subnet with BGP setups. 2015-04-08 21:42:36 -05:00
Chris Buechler
05b7eef94f Only restore rrd.tgz where platform is appropriate, or RAM disk being
used, otherwise you're restoring a probably old backup file. Ticket #4531
2015-04-08 18:45:37 -05:00