On 2021/08/09 20:55, Martijn van Duren wrote: > Updated diff after my engineid commit.
ok > Index: snmpd.conf.5 > =================================================================== > RCS file: /cvs/src/usr.sbin/snmpd/snmpd.conf.5,v > retrieving revision 1.53 > diff -u -p -r1.53 snmpd.conf.5 > --- snmpd.conf.5 9 Aug 2021 18:14:53 -0000 1.53 > +++ snmpd.conf.5 9 Aug 2021 18:54:56 -0000 > @@ -96,9 +96,22 @@ reduced during bulk updates. > The default is > .Ic no . > .It Ic listen on Oo Ic tcp | udp Oc Ar address Oo Ic port Ar port Oc Op Ar > flags > -Specify the local address > +Specify the local > +.Ar address > .Xr snmpd 8 > should listen on for incoming SNMP messages. > +If > +.Ar address > +is set to > +.Cm any , > +it resolves to 0.0.0.0 and ::. > +Multiple > +.Ic listen on > +statements are supported. > +If no > +.Ic listen on > +statement is present, the default is > +.Ic listen on Cm any . > .Pp > The > .Ar flags while most snmpd users will likely know what 0.0.0.0 and :: are, this might be a bit friendlier (and is shorter) Specify the local .Ar address .Xr snmpd 8 should listen on for incoming SNMP messages, or .Cm any to listen on all local IPv4 and IPv6 addresses. Multiple .Ic listen on statements are supported. If no .Ic listen on statement is present, the default is .Ic listen on Cm any .