summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/application.c
AgeCommit message (Expand)Author
2024-02-08RFC2578 section 7.1 specifies the ranges and in the case of opaque theMartijn van Duren
2024-02-06Replace most smi_oid2string() calls with the new mib_oid2string().Martijn van Duren
2023-12-21Clean up snmpd's header situation.Martijn van Duren
2023-11-16In appl_processpdu() no need to set avi_next, and only set av_next upMartijn van Duren
2023-11-16avi_origid must also be set when transitioning out of theMartijn van Duren
2023-11-15Make sure we allocate the correct size for an appl_agentcap.Martijn van Duren
2023-11-13struct appl_varbind_internal's avi_index is used to give the index toMartijn van Duren
2023-11-12Now that the last consumer of mps.c is gone, remove it and itsMartijn van Duren
2023-11-08Let usm_make_report() utilize appl_report(). usm_make_report utilizedMartijn van Duren
2023-11-08Let appl_report() collect its own metrics. This simplifies the interfaceMartijn van Duren
2023-11-08Don't rely on aru_pdu to rebuild the original varbindlist on error.Martijn van Duren
2023-11-08Don't use aru_pdu for determining the requesttype. It's owned byMartijn van Duren
2023-11-08export SNMP-TARGET-MIB::{snmpUnavailableContexts,snmpUnknownContexts}Martijn van Duren
2023-11-06Readd the sysORTable based on the new struct appl_agentcap.Martijn van Duren
2023-11-06Allow agent capabilities to be stored on a per appl_context basis.Martijn van Duren
2023-11-04Introduce application_internal.c. This backend is meant to replaceMartijn van Duren
2023-10-29When doing a get{next,bulk} below an instance we must move the OID toMartijn van Duren
2023-10-29searchrange.end is non-inclusive. Adjust the tests for that.Martijn van Duren
2023-10-27If an invalid varbindlist was returned by a backend we would callMartijn van Duren
2023-10-24FC3416 section 4.2.1 (and others) tells us that if an error occurs theMartijn van Duren
2023-10-24Certain error codes are only intended for certain request-types. Add anMartijn van Duren
2023-10-24If a backend registers as an instance it must never return OIDs belowMartijn van Duren
2023-10-24When returning an endOfMibView we must always set it on the requested OID.Martijn van Duren
2023-10-24Fix appl_unregister() when called with range_subid set to !0.Martijn van Duren
2023-10-24Fix appl_register() when called with range_subid set to !0.Martijn van Duren
2023-10-24Always check if the context is available inside appl_agentx_recv().Martijn van Duren
2022-12-20Make ar[du]_{nonrepeaters,maxrepetitions} uint16_t instead of int16_t.Martijn van Duren
2022-09-13varbind was designed to allow both a ber NULL and a NULL pointer forMartijn van Duren
2022-08-31Rewrite the searchrange end calculation routine.Martijn van Duren
2022-08-30Remove now unused search variable. Missed in previous.Martijn van Duren
2022-08-30Remove the downwards check for overlapping regions when the subtree flag isMartijn van Duren
2022-08-29Allow overlapping regions (if subtree claim flag is set) when the backendsMartijn van Duren
2022-08-29Make sure oidbuf is initialized when we hit the overlap case.Martijn van Duren
2022-08-29When there are two overlapping regions handled by the same backend we mightMartijn van Duren
2022-08-29When a backend disappears while handling a request, make sure that theMartijn van Duren
2022-08-29Let snmpd check a response package against the requested searchrange end.Martijn van Duren
2022-08-23(Re)add support for agentx in snmpdMartijn van Duren
2022-06-30Introduce a blocklist backend and keyword.Martijn van Duren
2022-06-27Mostly rewrite appl_request_upstream_reply.Martijn van Duren
2022-06-27Initialize oidbuf and regionbuf when registering a region in appl_region.Martijn van Duren
2022-02-22requestid is a 32 bit integer, make sure that we request that withMartijn van Duren
2022-01-30Add missing NULL check.Martijn van Duren
2022-01-19Add the new application layer. Changes include:Martijn van Duren