Browse Source

sample sasyncd.conf, PR5387 sthen at symphytum.spacehopper.org, ok theo

OPENBSD_4_1
henning 18 years ago
parent
commit
8f0bda9a94
2 changed files with 17 additions and 2 deletions
  1. +3
    -2
      src/etc/Makefile
  2. +14
    -0
      src/etc/sasyncd.conf

+ 3
- 2
src/etc/Makefile View File

@ -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 TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain 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 hostapd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 hoststated.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 ipsec.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 sasyncd.conf ${DESTDIR}/etc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
cd root; \ cd root; \
@ -340,7 +341,7 @@ distrib:
DHSIZE=1024 1536 2048 3072 4096 DHSIZE=1024 1536 2048 3072 4096
update-moduli: 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'; \ echo '# Time Type Tests Tries Size Generator Modulus'; \
( for i in ${DHSIZE}; do \ ( for i in ${DHSIZE}; do \
ssh-keygen -b $$i -G /dev/stdout; \ ssh-keygen -b $$i -G /dev/stdout; \


+ 14
- 0
src/etc/sasyncd.conf View File

@ -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

Loading…
Cancel
Save