From 8e26b164d012b452c8572986e1ab7f02aebb80d1 Mon Sep 17 00:00:00 2001 From: martijn Date: Sun, 20 Jun 2021 20:06:43 +0000 Subject: [PATCH] Adjust snmpd regress to recent changes OK sthen@ --- regress/usr.sbin/snmpd/snmpd.sh | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/regress/usr.sbin/snmpd/snmpd.sh b/regress/usr.sbin/snmpd/snmpd.sh index a4ded3c1fb8..3d9e8f0cd62 100644 --- a/regress/usr.sbin/snmpd/snmpd.sh +++ b/regress/usr.sbin/snmpd/snmpd.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: snmpd.sh,v 1.13 2021/01/22 06:35:26 martijn Exp $ +# $OpenBSD: snmpd.sh,v 1.14 2021/06/20 20:06:43 martijn Exp $ #/* # * Copyright (c) Rob Pierce # * @@ -64,14 +64,19 @@ echo "\nConfiguration: default community strings, trap receiver, trap handle\n" cat > ${OBJDIR}/snmpd.conf < snmpd.log 2>&1) & @@ -224,7 +229,7 @@ listen on ::1 seclevel enc -user "hans" authkey "password123" enc aes enckey "321drowssap" +user "hans" authkey "password123" auth hmac-sha1 enc aes enckey "321drowssap" EOF (cd ${OBJDIR} && nohup snmpd -dvf ./snmpd.conf > snmpd.log 2>&1) & @@ -258,8 +263,8 @@ boe="$(printf '\303')" cat > ${OBJDIR}/snmpd.conf <