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
master
28 files
Makefile
Fix LDADD and DPADD. DPADD bit pointed out by deraadt@
3 years ago
application.c
Make ar[du]_{nonrepeaters,maxrepetitions} uint16_t instead of int16_t. snmp uses signed 32 bits integers and agentx uses unsigned 16 bits integers. I somehow ended up somewhere in between.
3 years ago
application.h
Add privilege separation to snmpd.
3 years ago
application_agentx.c
Add privilege separation to snmpd.
3 years ago
application_blocklist.c
Introduce a blocklist backend and keyword.
3 years ago
application_legacy.c
Add the new application layer. Changes include: - Asynchronous design, which should allow us to cleanly implement agentx support. - Cluster requests when sending them to backends - Return a better error code in a lot of cases. - Allow bulkget to return row by row instead of column by column (as per RFC3416) - Better SNMPv1 mapping as per RFC3584 - Allow registration of overlapping regions. - Stricter OID comparison. - We loose write support. Previous write support didn't guarantee atomicity, wasn't persistent across restarts and didn't implement anything useful. This can be added later if it's missed. - This is quite a bit slower, but this should clear up once the current mps.c and mib.c code gets pushed out. Other tricks could help speed things up, but I don't want to resort to extra tricks if it's not needed. - More detailed debugging output.
4 years ago
ax.c
(Re)add support for agentx in snmpd Current omissions in protocol support are notifications, index (de)allocation, and agent capabilities.
3 years ago
ax.h
(Re)add support for agentx in snmpd Current omissions in protocol support are notifications, index (de)allocation, and agent capabilities.
3 years ago
log.c
From a syslog perspective it does not make sense to log fatal and warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@
9 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.c
Remove a lot of old (dead) code that's either been superseded, or moved to snmpd_metrics.
3 years ago
mib.h
Add definitions for SNMP-TARGET-MIB. These are needed for the new application layer.
4 years ago
mps.c
Remove a lot of old (dead) code that's either been superseded, or moved to snmpd_metrics.
3 years ago
parse.y
Remove a lot of old (dead) code that's either been superseded, or moved to snmpd_metrics.
3 years ago
proc.c
proc_ispeer() is not used anywhere anymore so remove it everywhere.
3 years ago
smi.c
Remove a lot of old (dead) code that's either been superseded, or moved to snmpd_metrics.
3 years ago
smi.h
Rewrite smi_print_element to be more concise and complete. Keep the old implementation around as smi_print_element_legacy for the trap handler scripts, so these don't break.
3 years ago
snmp.h
Rewrite smi_print_element to be more concise and complete. Keep the old implementation around as smi_print_element_legacy for the trap handler scripts, so these don't break.
3 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
Remove a lot of old (dead) code that's either been superseded, or moved to snmpd_metrics.
3 years ago
snmpd.conf.5
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.h
Remove a lot of old (dead) code that's either been superseded, or moved to snmpd_metrics.
3 years ago
snmpe.c
Delete obsolete /* ARGSUSED */ lint comments.
3 years ago
snmpe.h
Implement snmpe_send to allow to allow the new application layer to send messages through the current transport mapping code.
4 years ago
trap.c
Allow snmpd(8) to send SNMPv3 traps.
4 years ago
traphandler.c
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
3 years ago
usm.c
When writing out a PDU with authpriv that's larger than READ_BUF_SIZE we overflow the encbuf. Allocate encbuf on the fly so that we always have enough room.
3 years ago
util.c
Remove a lot of old (dead) code that's either been superseded, or moved to snmpd_metrics.
3 years ago