Commit Graph

12256 Commits

Author SHA1 Message Date
Ermal
928dc66a43 Be smarter at using kenv 2014-04-18 15:24:34 +00:00
Ermal
302c005e11 Unload the ZFS module if its not in use to not consume uselss memory 2014-04-17 20:19:29 +00:00
Frank Wall
5e5c72be38 support symlinked RC scripts from PBI packages 2014-04-17 14:21:50 +02:00
Ermal
4010266acd GC unused code and do not set this to 0 for now since it is not anymore relevant 2014-04-17 08:35:36 +00:00
Phil Davis
45f4d7628a Fix susbstr-substr typo
I just got this error again on 14 Apr 2014 2.2 snapshot. I can see the fix in 2.1 branch. I could have sworn it got fixed in Master also, but I can't see it. So here is the fix for Master.
2014-04-15 07:06:13 -07:00
Ermal
4a97aa344f Correct the sense of the check to allow openvpn to work 2014-04-14 19:11:34 +00:00
Ermal
57ab9f7d52 Correct auth-user-pass-verify to include parameters properly so openvpn can start 2014-04-14 18:52:01 +00:00
Ermal
c760c69cee Fixup update URL 2014-04-14 18:05:17 +00:00
Ermal
05dd0c3246 Use the FreeBSD script for ldconfig to catch all libs 2014-04-14 15:13:43 +00:00
Ermal
df8e43cc56 Avoid warnings later on if no config for layer7 exists 2014-04-14 13:48:39 +00:00
Ermal
e61f548f2c Get rid of embedded platform. Its time to GC this 2014-04-14 13:06:28 +00:00
Renato Botelho
115b7b8183 Start using filterlog 2014-04-14 09:47:32 -03:00
Ermal
2a438d7e4c Switch over to filterlog sooner than later 2014-04-14 12:43:04 +00:00
Ermal
b13567f04d Unset also here 2014-04-14 12:34:34 +00:00
Phil Davis
ee34e13739 Do not allow upgrade_101_to_102 to exit early
This upgrade step does both Captive Portal stuff and OpenVPN stuff. So do not return early just because there is no Captive Portal config.
Both Captive Portal and OpenVPN tests changed to be positive tests, to make sure that everything is checked/tested and there is no chance to return early.
2014-04-14 04:23:18 -07:00
PiBa-NL
146ee078fe console, reload firewall rules after enabling SSH 2014-04-14 10:33:38 +00:00
Phil Davis
c30639e445 Get real interface when dhcrelay uses default GW
If the DHCP Relay server is not on any local subnet, and not on any subnet that has an internal static route, but is somewhere that no specific route is known, then this code finds the default gateway and uses that in the DHCP relay "-i" parameter. The current code gets just the interface name (like "wan", "opt1"). But DHCP Relay command needs to be fed the actual device name "vr0", "vr1" etc.
To break this I simply enabled DHCP Relay, select "LAN" interface, and put Destination Server 1.2.3.4
Making this changed fixed it.
Forum: https://forum.pfsense.org/index.php?topic=75010.0
2014-04-14 10:27:22 +00:00
Ermal
33f537179b Merge pull request #1072 from marcelloc/patch-3 2014-04-14 10:19:16 +00:00
Chris Buechler
d471a8901f tls-verify requires quotes around the command to be executed. Ticket #3596 2014-04-14 06:35:57 -03:00
Ermal
f03ed3505d Nowdays there is no real difference between the kernels apart the ZFS support. So do not keep a distinction anymore 2014-04-14 08:09:19 +00:00
m0se
bb8f3ce115 fixing typo for GIF tunnels to work over IPv6
the call of get_interface_gatewayv6() in the creation of a GIF tunnel over IPv6 leads to a "Fatal error: Call to undefined function get_interface_gatewayv6() in /etc/inc/interfaces.inc on line 934". changeing the function call to get_interface_gateway_v6() fixed it for me on my local system.
2014-04-12 16:29:43 +00:00
Ermal
faf20ee4a7 Also add similar checks on rc.newwanipv6 as in the v4 version 2014-04-12 11:28:43 +00:00
Ermal
83c0dc1d1e Forgot to remove the problematic part from previous OpenVPN loop fix commit 2014-04-12 11:24:43 +00:00
Ermal
91571af53a Take care of the loops reported for OpenVPN in tap mode. Also fixes the problems of tap disappearing from bridge if its a member. 2014-04-12 06:21:12 +00:00
Marcello Coutinho
da1d016527 fix git path calls and CODIR
it may need some checks/fixes on pkg-utils.inc as git downloads but not installs.

After manual pbi install of git, "pfSsh.php playback gitsync master" works fine with this fix.
2014-04-09 17:53:13 -03:00
Ermal
ca321bfde9 Correct typo on function name that has slipped unnoticed. Reported-by: https://forum.pfsense.org/index.php?topic=74688.0 2014-04-07 15:30:19 +00:00
Renato Botelho
539d94b31b Merge pull request #1055 from ExolonDX/branch_master_10 2014-04-07 11:43:57 -03:00
jim-p
69e593c14f Make extra sure that we do not start multiple instances of dhcpleases if, for example, the PID is stale/invalid and there is still a running instance. 2014-04-07 10:10:48 -04:00
Ermal
a7ee038bce Put the fix to be more generic to prevent any other leak possible in the long run. Fixes #3062 2014-04-07 09:06:04 +00:00
dsiunicaen
39f3d843dc Update captiveportal.inc
Release unused pipeno when client is already authenticated.

Bug #3062
2014-04-07 09:01:54 +00:00
Warren Baker
bb7843fd20 Indentation 2014-04-07 10:10:04 +02:00
Warren Baker
2a2b603d0c Indentation 2014-04-07 10:09:48 +02:00
Warren Baker
c2fe67ebe0 Dont check for 'checked' but rather if it is just set 2014-04-07 10:09:15 +02:00
Colin Fleming
5a2b90cda9 Tidy up "functions.inc"
Escape single quotes for TABLE and HREF
Updated closing TR tag
2014-04-04 17:08:21 +01:00
Renato Botelho
01f4a81de1 Make rc.php_ini_setup ready for php 5.5 2014-04-02 10:58:40 -03:00
Colin Fleming
a4b1bf88bb Tidy up "functions.inc"
Remove unnecessary semi-colon.
2014-04-01 16:59:20 +01:00
jim-p
291e0a1c88 Remove TRIM_set and TRIM_unset support. This method isn't very elegant and isn't necessary in the long run. It's better handled in the installer stage and not after the fact. 2014-03-31 10:42:41 -04:00
Chris Buechler
efecff7fc9 Merge pull request #1041 from PiBa-NL/carp_maintenance_2.2
carp, provide a way to 'permanently' set carp to 'maintenance mode' (advskew 254) persisting a reboot
2014-03-30 22:14:03 -04:00
PiBa-NL
783f1ee210 carp, provide a way to 'permanently' set carp to 'maintenance mode' (advskew 254) persisting a reboot
Option to set CARP interfaces to 'maintenance mode', persisting through a reboot so the primary machines stays as backup/inactive.
This is required when there are some problems (possibly with the hardware) and the primary machine needs to be booted and checked again before becoming 'master'. Currently it will take back the master state during reboot even though there might still be problems or some re-configuring to do.

p.s. it is for some reason not possible to reset advskew back to '0'.. should that number be removed as an option, and use 1 as a minimal value ?
2014-03-30 00:09:30 +01:00
Warren Baker
f66e049aa5 Add privileges 2014-03-29 15:06:32 +02:00
Warren Baker
5bb1c49527 Reflect the service name when starting it 2014-03-29 14:59:07 +02:00
Warren Baker
4e8e8cc80e Add localhost as always allowed and ensure to include the access lists 2014-03-29 14:52:33 +02:00
Warren Baker
58d00e65c9 Write out the access list correctly 2014-03-29 14:47:43 +02:00
Warren Baker
16a3108ff2 Configure acls for local networks and ensure listening interfaces are correctly set 2014-03-29 12:58:38 +02:00
Warren Baker
0ae676cd0c Add missing new line 2014-03-29 11:23:56 +02:00
Warren Baker
ece2988fc2 Correct reference 2014-03-29 08:16:51 +02:00
Warren Baker
1b6e3c30fb Ensure TXT support on host descriptions actually works 2014-03-29 08:09:43 +02:00
Ermal
3ae8292396 Remove even unused pamd.conf 2014-03-28 23:13:34 +01:00
Ermal
e0c725641c Remove utterly old libmap.conf file 2014-03-28 23:09:44 +01:00
Ermal
c70a987869 Update disktab to FreeBSD 10 2014-03-28 23:06:02 +01:00