On 4/12/24 7:29 AM, Mark Johnston wrote:
Do you mean that on FreeBSD we should always perform an unprivileged
kvm_openfile() call, no matter whether --without-kmem-usage is
specified?
Yes, that's what I'm proposing. If someone disagrees, please share your
opinion now.
Thanks,
Bart.
Hello!
In our project we use net-snmp 5.7.3 and we are going to migrate to 5.9.4.
And the main issue for our project during migration as I could see is that
previously we used authProtocol MD5 for authentication of SNMP users. And the
support of MD5 authProtocol was removed from 5.9.4.
So plea
On Fri, Apr 12, 2024 at 07:13:41AM -0700, Bart Van Assche wrote:
> On 4/12/24 06:44, Mark Johnston wrote:
> > I would like to introduce the patch below, which gets compiled when
> > --without-kmem-usage is specified. In this case, snmpd will still use
> > libkvm, but won't open /dev/(k)mem. In my
On 4/12/24 06:44, Mark Johnston wrote:
I would like to introduce the patch below, which gets compiled when
--without-kmem-usage is specified. In this case, snmpd will still use
libkvm, but won't open /dev/(k)mem. In my testing so far, this works
perfectly. Does anyone have any thoughts on this
I'm quite new to net-snmp, so apologies in advance if this is the wrong
place to discuss patches.
Currently, when one runs snmpd on FreeBSD, it keeps /dev/mem and
/dev/kmem open. This is a result of using kvm_openfiles() to get a kvm
descriptor, which is used to implement various MIBs (via kvm_ge