Browse Source

Tweak rpki-client to create all 4 output file formats from a single

compute, based upon flags.  OpenBGPD compatible format by default if
no options, to integrate with bgpd.conf and bgpctl reload.  Adapt
mtree and stuff.  This will receive further refactoring...
ok benno job
OPENBSD_6_7
deraadt 4 years ago
parent
commit
c5cbd5ff62
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/etc/Makefile
  2. +2
    -2
      src/etc/examples/bgpd.conf

+ 2
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.473 2019/11/29 03:22:13 deraadt Exp $
# $OpenBSD: Makefile,v 1.474 2019/11/30 02:31:12 deraadt Exp $
.include <bsd.own.mk>
@ -183,7 +183,7 @@ distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o root -g wheel -m 444 /dev/null \
${DESTDIR}/var/db/locate.database
${INSTALL} -c -o _rpki-client -g wheel -m 644 /dev/null \
${DESTDIR}/var/db/rpki-client/roa
${DESTDIR}/var/db/rpki-client/openbsd
${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
${DESTDIR}/var/log/authlog
${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \


+ 2
- 2
src/etc/examples/bgpd.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: bgpd.conf,v 1.16 2019/11/29 03:42:10 deraadt Exp $
# $OpenBSD: bgpd.conf,v 1.17 2019/11/30 02:31:12 deraadt Exp $
# example bgpd configuration file, see bgpd.conf(5)
# define our own ASN as a macro
@ -14,7 +14,7 @@ prefix-set mynetworks { \
2001:db8:abcd::/48 \
}
include "/var/db/rpki-client/roa"
include "/var/db/rpki-client/openbgpd"
# define bogon prefixes which should not be part of the DFZ
prefix-set bogons {


Loading…
Cancel
Save