summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd
AgeCommit message (Expand)Author
2023-11-06Hook up agentx-{Add,Remove}AgentCaps-PDU to appl_{add,remove}agentcaps.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-06Allow appl_internal_object's getnext to be called.Martijn van Duren
2023-11-04Move SNMPv2-MIB::system from mib.c into the new application_internal.c.Martijn van Duren
2023-11-04Move SNMPv2-SMI::snmpV2 from mib.c into the new application_internal.cMartijn van Duren
2023-11-04Move SNMPv2-MIB::snmp from mib.c into the new application_internal.cMartijn 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-27Use event_add(), instead of calling appl_agentx_send() directly. If anMartijn 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-24set ab_range explicitly to 1 for appl_agentx_session instead of relyingMartijn van Duren
2023-10-24When returning an endOfMibView we must always set it on the requested OID.Martijn van Duren
2023-10-24When opening 2 sessions on an agentx connection and registering 2Martijn 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-24RFC2741 section 6.2.2 says that reasonByManager can only be used by theMartijn van Duren
2023-10-24appl_agentx_free() closes any open sessions before freeing everything up.Martijn van Duren
2023-10-24Always check if the context is available inside appl_agentx_recv().Martijn van Duren
2023-10-24Verify if supplied AgentX PDU header flags are valid for given PDU typeMartijn van Duren
2023-10-24RFC2741 section 7.1.1 tells us that if a pdu can't be parsed we mustMartijn van Duren
2023-10-24According to RFC2741 section 6.1.1 an agentx-response-pdu shouldn't haveMartijn van Duren
2023-10-24Make sure that unpacking of an AgentX OID doesn't contain more than 128Martijn van Duren
2023-10-24Remove filter-pf-addresses. This feature has been deprecated since 7.2 inMartijn van Duren
2023-05-08Fix a potential mem-leak in usm_decrypt().Gerhard Roth
2023-04-25tiny markup fix: add missing Ic before `group' in the `agentx' ruleOmar Polo
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2023-03-02improve the Nd lines such that the format is consistent for theJason McIntyre
2023-02-15proc_ispeer() is not used anywhere anymore so remove it everywhere.Tobias Heider
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
2022-12-20Apply proper bounds checking to non-repeaters and max-repetitions.Martijn van Duren
2022-12-20Make ar[du]_{nonrepeaters,maxrepetitions} uint16_t instead of int16_t.Martijn van Duren
2022-12-20When writing out a PDU with authpriv that's larger than READ_BUF_SIZEMartijn van Duren
2022-12-20When writing a message out over tcp that's too large to fit in a singleMartijn van Duren
2022-10-25Fix LDADD and DPADD.Martijn van Duren
2022-10-06Remove a lot of old (dead) code that's either been superseded, or moved toMartijn van Duren
2022-09-13varbind was designed to allow both a ber NULL and a NULL pointer forMartijn van Duren
2022-09-01Add privilege separation to snmpd.Martijn 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-30copy over av_oid_end.bo_n instead of av_oid.bo_n bytes when copying overMartijn van Duren
2022-08-29Clean up a couple of log lines.Martijn 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