diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-06 17:39:09 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-06 17:39:09 +0000 |
commit | 36a1b9849adb650324c5846c449fcffa876d87c6 (patch) | |
tree | 59a0f58d8aef2ba554721f1d0ded906484161c8c /net/ifstated/files/patch-etc-ifstated.conf | |
parent | - Remove duplicate USE_GCC (diff) |
- Update to 20050505
PR: ports/80667
Submitted by: Matthew George <mdg@secureworks.net> (maintainer)
Diffstat (limited to 'net/ifstated/files/patch-etc-ifstated.conf')
-rw-r--r-- | net/ifstated/files/patch-etc-ifstated.conf | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/net/ifstated/files/patch-etc-ifstated.conf b/net/ifstated/files/patch-etc-ifstated.conf index 2adb701099f7..b7324053a962 100644 --- a/net/ifstated/files/patch-etc-ifstated.conf +++ b/net/ifstated/files/patch-etc-ifstated.conf @@ -1,8 +1,8 @@ ---- etc/ifstated.conf 18 Nov 2004 21:43:12 -0000 1.1.1.1 -+++ etc/ifstated.conf 18 Nov 2004 21:48:39 -0000 1.2 +--- ../ifstated-20050505.orig/etc/ifstated.conf Thu May 5 11:51:24 2005 ++++ etc/ifstated.conf Thu May 5 12:06:08 2005 @@ -1,4 +1,5 @@ - # $OpenBSD: ifstated.conf,v 1.4 2004/04/28 01:01:27 deraadt Exp $ -+# $Id: ifstated.conf,v 1.2 2004/11/18 21:48:39 mdg Exp $ + # $OpenBSD: ifstated.conf,v 1.6 2005/02/07 06:08:10 david Exp $ ++# $Id: ifstated.conf,v 1.3 2005/05/05 16:06:08 mdg Exp $ # This is a sample config for a pair of firewalls with two interfaces # # carp0 and carp1 have ip addresses on 192.168.3.0/24 and 192.168.6.0/24 @@ -14,21 +14,21 @@ +init-state primary # init-state backup - carp_up = "((carp0 link up) and (carp1 link up))" + carp_up = "carp0.link.up && carp1.link.up" @@ -18,12 +19,12 @@ # The "net" addresses are other addresses which can be used to determine # whether we have connectivity. Make sure the hosts are always up, or # test multiple ip's, 'or'-ing the tests. --net = '( "ping -q -c 1 -w 1 192.168.6.8 > /dev/null" every 10 and \ +-net = '( "ping -q -c 1 -w 1 192.168.6.8 > /dev/null" every 10 && \ - "ping -q -c 1 -w 1 192.168.3.8 > /dev/null" every 10)' -+net = '( "ping -q -c 1 -t 1 192.168.6.8 > /dev/null" every 10 and \ ++net = '( "ping -q -c 1 -t 1 192.168.6.8 > /dev/null" every 10 && \ + "ping -q -c 1 -t 1 192.168.3.8 > /dev/null" every 10)' # The peer addresses below are the real ip addresses of the OTHER firewall --peer = '( "ping -q -c 1 -w 1 192.168.6.7 > /dev/null" every 10 and \ +-peer = '( "ping -q -c 1 -w 1 192.168.6.7 > /dev/null" every 10 && \ - "ping -q -c 1 -w 1 192.168.3.7 > /dev/null" every 10)' -+peer = '( "ping -q -c 1 -t 1 192.168.6.7 > /dev/null" every 10 and \ ++peer = '( "ping -q -c 1 -t 1 192.168.6.7 > /dev/null" every 10 && \ + "ping -q -c 1 -t 1 192.168.3.7 > /dev/null" every 10)' state auto { - if $carp_up { + if $carp_up |