Commit Graph

12269 Commits

Author SHA1 Message Date
Renato Botelho
199b658143 Merge pull request #1120 from phil-davis/patch-5 2014-04-24 15:13:16 -03:00
Renato Botelho
3cc28680ce Fix PBI installation when target lies on different directorie 2014-04-24 11:16:41 -03:00
Chris Buechler
ccbae5770f fix typo 2014-04-23 17:33:41 -05:00
jim-p
f931befdf2 This doesn't need via-env 2014-04-23 16:30:52 -04:00
jim-p
bd5737dc22 Make sure that the DNS Forwarder/Resolver is actually capable of accepting queries on localhost before using it as a DNS server. 2014-04-23 10:16:15 -04:00
Renato Botelho
770f4ee5b8 Missed pbi_prefix here 2014-04-22 16:36:18 -03:00
Renato Botelho
384e26472d Fix PBI symlink creation and deletion under /usr/local following .pbiopt files, also drop setup_library_paths() since it's not necessary anymore 2014-04-22 15:37:35 -03:00
Phil Davis
6f931ad24e Make sure /usr/local/etc/rc.d exists
On 2.2-ALPHA (i386)built on Mon Apr 21 13:01:11 CDT 2014 (for example) there was /usr/local/etc but not /usr/local/etc/rc.d - when I tried to install bandwidthd, that called write_rcfile() which failed because /usr/local/etc/rc.d did not already exist.
Best to check for it and make it if it does not exist.
(I am guessing that the 2.1.n image builds already had /usr/local/etc/rc.d bnefore any packages were installed, otherwise this problem should have already been an issue prior to 2.2)
2014-04-22 11:10:26 -07:00
Ermal
635f9eb560 Merge pull request #1116 from PiBa-NL/interface_has_gateway-ipv4_gif_gre 2014-04-22 09:32:35 +00:00
Ermal
1147bd002a Merge pull request #1115 from PiBa-NL/reply-to_IPv6gateway 2014-04-22 09:30:06 +00:00
Ermal
ebafd47038 Load if_stf module when needed 2014-04-22 06:52:00 +00:00
PiBa-NL
2700ef9631 add gre and gif checks for for IPv4 function interface_has_gateway($friendly), like they are already for IPv6 2014-04-19 15:20:55 +02:00
PiBa-NL
93f1d233b2 check gateway for IPv6 also for reply-to rules. 2014-04-19 15:15:50 +02:00
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