summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-02-22 16:55:33 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-02-22 16:55:33 +0000
commitd0285aae5c1629febd831f80c943a9b83f83fd1a (patch)
treefdf6f8be7f02d0a60c8a4bd9161d63cab93ac000
parent93a87c7250ef472a3859aedc78b8e173c16472e1 (diff)
sample sasyncd.conf, PR5387 sthen at symphytum.spacehopper.org, ok theo
-rw-r--r--etc/Makefile5
-rw-r--r--etc/sasyncd.conf14
2 files changed, 17 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 1069bbab116..4ee551df92c 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.247 2007/02/16 16:56:22 tsi Exp $
+# $OpenBSD: Makefile,v 1.248 2007/02/22 16:55:32 henning Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -83,6 +83,7 @@ distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o root -g wheel -m 600 hostapd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 hoststated.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ipsec.conf ${DESTDIR}/etc
+ ${INSTALL} -c -o root -g wheel -m 600 sasyncd.conf ${DESTDIR}/etc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
cd root; \
@@ -340,7 +341,7 @@ distrib:
DHSIZE=1024 1536 2048 3072 4096
update-moduli:
( \
- echo '# $$OpenBSD: Makefile,v 1.247 2007/02/16 16:56:22 tsi Exp $$'; \
+ echo '# $$OpenBSD: Makefile,v 1.248 2007/02/22 16:55:32 henning Exp $$'; \
echo '# Time Type Tests Tries Size Generator Modulus'; \
( for i in ${DHSIZE}; do \
ssh-keygen -b $$i -G /dev/stdout; \
diff --git a/etc/sasyncd.conf b/etc/sasyncd.conf
new file mode 100644
index 00000000000..d8363f3a89b
--- /dev/null
+++ b/etc/sasyncd.conf
@@ -0,0 +1,14 @@
+# $OpenBSD: sasyncd.conf,v 1.1 2007/02/22 16:55:32 henning Exp $
+# sample sasyncd configuration file
+# see sasyncd.conf(5)
+
+# IP addresses or hostnames of sasyncd(8) peers.
+#peer 10.0.0.2
+#peer 10.0.0.3
+#peer 10.0.0.4
+
+# Track master/slave state on this carp(4) interface.
+#interface carp1
+
+# Shared AES key, 16/24/32 bytes.
+#sharedkey 0x349fec85c11f6b658d5c457d4668e035f11dfdccb849d5053a8763787b74db70