baf96b8d2a
group and a number of private extensions to manage the UDP transport mapping, communities, trap destinations and loadable modules. In this form it can be used to provide remote access to arbitrary data that can be described in the form as required by the SMI. The daemon speaks both SNMPv1 and SNMPv2c. The code is FreeBSD specific and does not build on NetBSD, currently, for lack of kernel interfaces.
11 lines
430 B
Text
11 lines
430 B
Text
This is very WIP.
|
|
|
|
The snmpd daemon's snmpd/main.c uses FreeBSD's 'struct cmsgcred' to verify
|
|
the identity of a peer process (see <sys/socket.h>). AFAICS, NetBSD
|
|
does not have an equivalent, so the build breaks here.
|
|
|
|
I'll leave it to more network code savvy people to find a workaround.
|
|
|
|
On top of that, the code has a few issues with signed vs. unsigned
|
|
char pointers (partly patched) that do not go down well with modern
|
|
gcc.
|