From 48e890862810612b30b84e2389b22034a6b9125d Mon Sep 17 00:00:00 2001 From: claudio <> Date: Tue, 7 Aug 2018 07:06:20 +0000 Subject: [PATCH] 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. --- src/etc/examples/ospfd.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/etc/examples/ospfd.conf b/src/etc/examples/ospfd.conf index 70bdfbb2..4367097d 100644 --- a/src/etc/examples/ospfd.conf +++ b/src/etc/examples/ospfd.conf @@ -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 -password="secret" +id="192.0.2.5" # global configuration -# router-id 10.0.0.1 +# router-id $id # fib-update no # stub router no # spf-delay 1 # spf-holdtime 5 -# auth-key $password +# auth-key secret # auth-type simple # hello-interval 10 # metric 10 @@ -25,7 +25,7 @@ password="secret" area 0.0.0.5 { interface em0 { auth-type simple - auth-key $password + auth-key secret } interface em1 {