summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-04-18 18:56:31 +0000
committerErmal <eri@pfsense.org>2011-04-18 18:56:31 +0000
commit359f6307d65e0a5d662445c7637e03057217eb1c (patch)
treed1c939f4cda80be81a19d95407dcd4bc30594790
parent42c0700392b73968bd32a31fcaeb68e5daeb9958 (diff)
downloadpfsense-359f6307d65e0a5d662445c7637e03057217eb1c.zip
pfsense-359f6307d65e0a5d662445c7637e03057217eb1c.tar.gz
Block instead of allowing proto carp/pfsync during bootup since this may cause issues. Ticket #1432
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 079b8bc..0e101d1 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1595,8 +1595,8 @@ function interfaces_carp_setup() {
*/
$fd = fopen("{$g['tmp_path']}/rules.boot", "w");
if ($fd) {
- fwrite($fd, "pass quick proto carp all keep state\n");
- fwrite($fd, "pass quick proto pfsync all\n");
+ fwrite($fd, "block quick proto carp \n");
+ fwrite($fd, "block quick proto pfsync \n");
fwrite($fd, "pass out quick from any to any keep state\n");
fclose($fd);
mwexec("/sbin/pfctl -f {$g['tmp_path']}/rules.boot");
OpenPOWER on IntegriCloud