CVSROOT:        /cvs
Module name:    src
Changes by:     mart...@cvs.openbsd.org 2019/05/13 01:33:23

Modified files:
        usr.sbin/snmpd : usm.c 

Log message:
According to RFC3414 section 4 applications should be able to discover the
snmpEngineBoots and snmpEngineTime by sending an AuthPriv request with the
requested values set to zero and with a valid user.

Move the engine_boots and engine_time down after the user check and remove
the 0-check, so we can reply with the appropriate usmStatsNotInTimeWindows.

This allows us to use p5-Net-SNMP against snmpd with seclevel enc.

OK rob@

Reply via email to