bsnmp is a compact SNMP daemon application.
BSnmp consists of several pieces such as a library, called libbsnmp, that includes ASN.1 handling, the SNMP protocol version V1 and V2C, and a number of helpers to simplify the writing of SNMP agents and clients. Additionally, the gensnmptree tool generates the C- and H-files from an object hierarchy description, while the gensnmpdef tool generates an initial .def file from a MIB, which requires the libsmi library.
The SNMP daemon, bsnmpd, implements the bare minimum needed for such a daemon, such as the system group, parts of the SNMP group, and a private tree. The private tree has several functionalities, such as handling loadable modules, allowing loading and unloading parts of the tree at run-time or configuration time, and handling communities. In addition, the table can be disabled for obvious reasons.
Handling trap destinations for V1 is another critical functionality handled by the private tree. Several configuration parameters such as the protocol versions to handle, buffer sizes and so on are also available. The daemon also manages tables that control the UDP and local unix ports it listens on, while providing statistics and debugging functionalities.
All real functionality is implemented via loadable modules, making BSnmp a versatile and reliable solution for remote control functions.
Version 1.12: N/A