Up to [local] / src / usr.sbin / snmpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 6 12:44:27 2024 UTC (4 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
HEAD
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)
Replace most smi_oid2string() calls with the new mib_oid2string(). smi_oid2string() is still called from trap handle context to not break any existing scripts. OK tb@
Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 21 12:43:31 2023 UTC (5 months, 2 weeks ago) by martijn
Branch: MAIN
Changes since 1.10: +7 -3 lines
Diff to previous 1.10 (colored)
Clean up snmpd's header situation. With the help of tb@ and include-what-you-use. OK tb@
Revision 1.10 / (download) - annotate - [select for diffs], Mon Dec 18 09:42:57 2023 UTC (5 months, 3 weeks ago) by martijn
Branch: MAIN
Changes since 1.9: +10 -4 lines
Diff to previous 1.9 (colored)
Fix two memory leaks: - MIB_snmpInReadOnlys was tried to be registered twice, leading to a leak of the second instance. Prevent this mistake in the future by making a double registration fatal. - The response buffer is owned by the backend, so the backend must also free it. OK tb@
Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 12 20:15:49 2023 UTC (5 months, 3 weeks ago) by martijn
Branch: MAIN
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored)
Do a bitter cleanup after the config defined objects on shutdown. OK tb@
Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 12 16:03:41 2023 UTC (6 months, 3 weeks ago) by martijn
Branch: MAIN
Changes since 1.7: +96 -2 lines
Diff to previous 1.7 (colored)
Move snmpd.conf's oid keyword into application_internal.c. These objects get registered under their own backend name, so that they can't overlap with the internal regions. This removes the last consumer of mps.c OK tb@
Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 8 19:46:28 2023 UTC (7 months ago) by martijn
Branch: MAIN
Changes since 1.6: +6 -1 lines
Diff to previous 1.6 (colored)
export SNMP-TARGET-MIB::{snmpUnavailableContexts,snmpUnknownContexts} via application_internal. OK tb@
Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 6 11:02:57 2023 UTC (7 months ago) by martijn
Branch: MAIN
Changes since 1.5: +11 -1 lines
Diff to previous 1.5 (colored)
Readd the sysORTable based on the new struct appl_agentcap. OK tb@
Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 6 10:58:13 2023 UTC (7 months ago) by martijn
Branch: MAIN
Changes since 1.4: +14 -2 lines
Diff to previous 1.4 (colored)
Allow appl_internal_object's getnext to be called. OK tb@
Revision 1.4 / (download) - annotate - [select for diffs], Sat Nov 4 09:38:47 2023 UTC (7 months ago) by martijn
Branch: MAIN
Changes since 1.3: +35 -1 lines
Diff to previous 1.3 (colored)
Move SNMPv2-MIB::system from mib.c into the new application_internal.c. This was the last consumer of mib.c, so send it to the great bitbucket in the sky. This move removes the sysORTable, but it was basically non-functioning anyway and removal of previous entries from the table didn't caused any fallout that reached my ears. I hope to add proper sysORTable/agent-capabilities support, which is compatible with AgentX's {Add,Remove}AgentCaps, soon. OK tb@
Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 4 09:30:28 2023 UTC (7 months ago) by martijn
Branch: MAIN
Changes since 1.2: +66 -1 lines
Diff to previous 1.2 (colored)
Move SNMPv2-SMI::snmpV2 from mib.c into the new application_internal.c OK tb@
Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 4 09:28:04 2023 UTC (7 months ago) by martijn
Branch: MAIN
Changes since 1.1: +132 -1 lines
Diff to previous 1.1 (colored)
Move SNMPv2-MIB::snmp from mib.c into the new application_internal.c OK tb@
Revision 1.1 / (download) - annotate - [select for diffs], Sat Nov 4 09:22:52 2023 UTC (7 months ago) by martijn
Branch: MAIN
Introduce application_internal.c. This backend is meant to replace application_legacy.c, mps.c, and mib.c. This commit just introduces the backend. The existing MIBs inside mib.c will be copied over in subsequent commits. OK tb@