Browse Source

Add a sample configuration file for the newly imported ospf6d(8) daemon.

ok dlg@
OPENBSD_4_3
norby 17 years ago
parent
commit
62f29e324b
4 changed files with 42 additions and 3 deletions
  1. +2
    -1
      src/etc/Makefile
  2. +2
    -1
      src/etc/changelist
  3. +2
    -1
      src/etc/mtree/special
  4. +36
    -0
      src/etc/ospf6d.conf

+ 2
- 1
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.253 2007/08/01 21:23:25 miod Exp $
# $OpenBSD: Makefile,v 1.254 2007/10/08 12:16:35 norby Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain LOCALTIME= Canada/Mountain
@ -76,6 +76,7 @@ distribution-etc-root-var: distrib-dirs
pwd_mkdb -p -d ${DESTDIR}/etc /etc/master.passwd pwd_mkdb -p -d ${DESTDIR}/etc /etc/master.passwd
${INSTALL} -c -o root -g wheel -m 600 bgpd.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 bgpd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ospfd.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 ospfd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ospf6d.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 ripd.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 ripd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 dvmrpd.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 dvmrpd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc


+ 2
- 1
src/etc/changelist View File

@ -1,4 +1,4 @@
# $OpenBSD: changelist,v 1.53 2007/09/03 06:18:01 joel Exp $
# $OpenBSD: changelist,v 1.54 2007/10/08 12:16:35 norby Exp $
# #
# List of files which the security script backs up and checks # List of files which the security script backs up and checks
# for modifications. # for modifications.
@ -89,6 +89,7 @@
/etc/newsyslog.conf /etc/newsyslog.conf
/etc/ntpd.conf /etc/ntpd.conf
/etc/ospfd.conf /etc/ospfd.conf
/etc/ospf6d.conf
/etc/passwd /etc/passwd
/etc/pf.conf /etc/pf.conf
/etc/pf.os /etc/pf.os


+ 2
- 1
src/etc/mtree/special View File

@ -1,4 +1,4 @@
# $OpenBSD: special,v 1.75 2007/08/02 03:21:59 david Exp $
# $OpenBSD: special,v 1.76 2007/10/08 12:16:35 norby Exp $
# $NetBSD: special,v 1.4 1996/05/08 21:30:18 pk Exp $ # $NetBSD: special,v 1.4 1996/05/08 21:30:18 pk Exp $
# @(#)special 8.2 (Berkeley) 1/23/94 # @(#)special 8.2 (Berkeley) 1/23/94
# #
@ -65,6 +65,7 @@ moduli type=file mode=0644 uname=root gname=wheel
netstart type=file mode=0644 uname=root gname=wheel netstart type=file mode=0644 uname=root gname=wheel
ntpd.conf type=file mode=0644 uname=root gname=wheel ntpd.conf type=file mode=0644 uname=root gname=wheel
ospfd.conf type=file mode=0600 uname=root gname=wheel ospfd.conf type=file mode=0600 uname=root gname=wheel
ospf6d.conf type=file mode=0600 uname=root gname=wheel
passwd type=file mode=0644 uname=root gname=wheel passwd type=file mode=0644 uname=root gname=wheel
pf.conf type=file mode=0600 uname=root gname=wheel optional pf.conf type=file mode=0600 uname=root gname=wheel optional
printcap type=file mode=0644 uname=root gname=wheel printcap type=file mode=0644 uname=root gname=wheel


+ 36
- 0
src/etc/ospf6d.conf View File

@ -0,0 +1,36 @@
# $OpenBSD: ospf6d.conf,v 1.1 2007/10/08 12:16:35 norby Exp $
# macros
password="secret"
# global configuration
# router-id 10.0.0.1
# fib-update no
# stub router no
# spf-delay 1
# spf-holdtime 5
# hello-interval 10
# metric 10
# retransmit-interval 5
# router-dead-time 40
# router-priority 1
# transmit-delay 1
# rtlabel "DMZ" external-tag 1
# areas
area 0.0.0.5 {
interface em0 {
router-dead-time 20
}
interface em1 {
}
}
area 0.0.0.7 {
interface em2 {
router-priority 5
}
}

Loading…
Cancel
Save