tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.sbin
/
snmpd
/
at
jcs
28 files
Makefile
Put snmp engineids in a struct instead of having the data/length in everything that needs in. This is in preparation for wider use of the engineids
3 months ago
application.c
Implement appl_sysuptime() in favour of smi_getticks(). appl_sysuptime() uses CLOCK_MONOTONIC instead of gettimeofday(), works on a per context basis as per RFC2741, and puts it in a sane namespace.
4 months ago
application.h
Implement appl_sysuptime() in favour of smi_getticks(). appl_sysuptime() uses CLOCK_MONOTONIC instead of gettimeofday(), works on a per context basis as per RFC2741, and puts it in a sane namespace.
4 months ago
application_agentx.c
Implement appl_sysuptime() in favour of smi_getticks(). appl_sysuptime() uses CLOCK_MONOTONIC instead of gettimeofday(), works on a per context basis as per RFC2741, and puts it in a sane namespace.
4 months ago
application_blocklist.c
Clean up snmpd's header situation.
2 years ago
application_internal.c
Put snmp engineids in a struct instead of having the data/length in everything that needs in. This is in preparation for wider use of the engineids
3 months ago
ax.c
avoid pointer deref before NULL test found with smatch, same change as libagentx
7 months ago
ax.h
Remove the packetid logic from ax.c. It's not used by snmpd and has some serious flaws.
2 years ago
engine.c
Add engine.c, missed in previous commit.
3 months ago
log.c
Clean up snmpd's header situation.
2 years ago
log.h
Move log.c functions to their own header. This is needed for a new application layer where, where a lot of the snmpd.h stuff just clutter.
4 years ago
mib.h
Implement an initial SMIv2 parser based around RFC257[89]. RFC2580 isn't supported yet. SMIv1 is not supported. Parsing is done in a strict manner, but except for the (deprecated) IPV6-TC MIB everything from IETF/IANA that I found parses.
2 years ago
mib.y
strptime() only touches the fields specified in the format string, meaning there could be garbage left in the other fields. Somehow this only caused issues in mktime() when /etc/localtime is set to GMT. Initialize tm to 0.
2 years ago
parse.y
Put snmp engineids in a struct instead of having the data/length in everything that needs in. This is in preparation for wider use of the engineids
3 months ago
proc.c
Convert various reyk proc.c daemons over to new imsgbuf_init and imsgbuf_allow_fdpass.
1 year ago
smi.c
Implement appl_sysuptime() in favour of smi_getticks(). appl_sysuptime() uses CLOCK_MONOTONIC instead of gettimeofday(), works on a per context basis as per RFC2741, and puts it in a sane namespace.
4 months ago
smi.h
Implement appl_sysuptime() in favour of smi_getticks(). appl_sysuptime() uses CLOCK_MONOTONIC instead of gettimeofday(), works on a per context basis as per RFC2741, and puts it in a sane namespace.
4 months ago
snmp.h
RFC2578 section 7.1 specifies the ranges and in the case of opaque the format to which the values need to adhere. Implement checks, so that we don't send illegal values to the client.
2 years ago
snmpd.8
improve the Nd lines such that the format is consistent for the various *d, *conf, *ctl files (where relevant) and simple;
3 years ago
snmpd.c
Implement appl_sysuptime() in favour of smi_getticks(). appl_sysuptime() uses CLOCK_MONOTONIC instead of gettimeofday(), works on a per context basis as per RFC2741, and puts it in a sane namespace.
4 months ago
snmpd.conf.5
Slightly iprove a confusing wording in the parse.y manuals: The things that need quoting are not necessarily "argument names", and not even necessarily "names" at all, so just talk about "arguments".
2 months ago
snmpd.h
Put snmp engineids in a struct instead of having the data/length in everything that needs in. This is in preparation for wider use of the engineids
3 months ago
snmpe.c
Put snmp engineids in a struct instead of having the data/length in everything that needs in. This is in preparation for wider use of the engineids
3 months ago
snmpe.h
Clean up snmpd's header situation.
2 years ago
trap.c
Put snmp engineids in a struct instead of having the data/length in everything that needs in. This is in preparation for wider use of the engineids
3 months ago
traphandler.c
Let the config parser make use of the mib_string2oid(). If a descriptor is not found in the loaded MIB files it falls back to the old smi_oid2string(), which then throws a deprecation warning. This won't trigger for most cases in the default install, but the UCD-DISKIO-MIB and dependencies aren't included (yet?) (which can be fixed by manually including them via "mib directory") and there's a couple of misspellings (e.g. mib_2 vs mib-2, and usmStatsNotInTimeWindow vs usmStatsNotInTimeWindows).
2 years ago
usm.c
Put snmp engineids in a struct instead of having the data/length in everything that needs in. This is in preparation for wider use of the engineids
3 months ago
util.c
Clean up snmpd's header situation.
2 years ago