Browse Source

Similar to the ldpd.conf change don't use a macro of the secret.

Macros get sometimes logged so we should not encurage to use them for
sensitive data.
OPENBSD_6_4
claudio 6 years ago
parent
commit
48e8908628
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/etc/examples/ospfd.conf

+ 5
- 5
src/etc/examples/ospfd.conf View File

@ -1,16 +1,16 @@
# $OpenBSD: ospfd.conf,v 1.1 2014/07/11 16:36:35 deraadt Exp $
# $OpenBSD: ospfd.conf,v 1.2 2018/08/07 07:06:20 claudio Exp $
# macros # macros
password="secret"
id="192.0.2.5"
# global configuration # global configuration
# router-id 10.0.0.1
# router-id $id
# fib-update no # fib-update no
# stub router no # stub router no
# spf-delay 1 # spf-delay 1
# spf-holdtime 5 # spf-holdtime 5
# auth-key $password
# auth-key secret
# auth-type simple # auth-type simple
# hello-interval 10 # hello-interval 10
# metric 10 # metric 10
@ -25,7 +25,7 @@ password="secret"
area 0.0.0.5 { area 0.0.0.5 {
interface em0 { interface em0 {
auth-type simple auth-type simple
auth-key $password
auth-key secret
} }
interface em1 { interface em1 {


Loading…
Cancel
Save