net-snmp crash
Michael W. Lucas
mwlucas at michaelwlucas.com
Mon Nov 18 21:22:41 UTC 2019
Hi,
I can reliably crash net-snmp with an snmpset. Worth a formal bug
report?
$ uname -a
FreeBSD freebsdtest 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC amd64
$ pkg info net-snmp
net-snmp-5.7.3_20,1
Name : net-snmp
Version : 5.7.3_20,1
Installed on : Wed Oct 9 15:22:24 2019 EDT
...
Detail:
$ sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 0
$ snmpget freebsd IP-MIB::ipForwarding.0
IP-MIB::ipForwarding.0 = INTEGER: notForwarding(2)
$ snmpset freebsd IP-MIB::ipForwarding.0 i 1
Timeout: No Response from freebsd
Yep, the agent is dead:
$ pgrep snmpd
$
The sysctl change took place, however:
$ sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 1
I can restart the agent and reverse the change, but snmpd crashes
again.
So: worth a bug report, or no?
==ml
--
Michael W. Lucas https://mwl.io/
author of: Absolute OpenBSD, SSH Mastery, git commit murder,
Immortal Clay, PGP & GPG, Absolute FreeBSD, etc, etc, etc...
More information about the freebsd-ports
mailing list