History log of /openbsd-current/usr.bin/snmp/smi.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.4 14-Dec-2020 martijn

Implement displaying SMI enums as text.
For now limit to TruthValue implemented on ifPromiscuousMode and
ifConnectorPresent.

OK jan@


Revision tags: OPENBSD_6_8_BASE
# 1.3 03-Aug-2020 martijn

Add support for UTF-8 DISPLAY-HINTs with octet length. For now only
sysContact is supported with SnmpAdminString, but more shall follow
soon(tm).

Note that this will change output even in the C locale: Previously every
unprintable byte would be tranformed to a '.', with this diff a valid UTF-8
multibyte or unprintable character will be squished into a single dot to
give a better understanding of the intention of the original message.
Invalid bytes will now be printed as question marks.

Lot's of help and back and forth with schwarze@ who also kindly offered to
walk away when I mentioned looking through MIB files for more objects to
convert to this new code, which is understandable.

OK schwarze@


# 1.2 19-May-2020 martijn

Shave of some leftovers from snmpd's MIB initialization that are not needed
for snmp. Minus 503 LoC and about 200KB on binary size.

OK denis@


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.1 09-Aug-2019 martijn

Import snmp(1), a new snmp client which aims to be netsnmp compatible for
supported features. It only supports get, getnext, walk, bulkget, bulkwalk,
trap, mibtree, and is SNMPv1 and SNMPv2c for now.

This will shortly replace snmpctl entirely. People using snmpctl are encouraged
to test and migrate to this code as soon as possible.

Much help with the manpage from schwarze@ and jmc@
No objections from reyk@
"Roll it in" deraadt@


# 1.3 03-Aug-2020 martijn

Add support for UTF-8 DISPLAY-HINTs with octet length. For now only
sysContact is supported with SnmpAdminString, but more shall follow
soon(tm).

Note that this will change output even in the C locale: Previously every
unprintable byte would be tranformed to a '.', with this diff a valid UTF-8
multibyte or unprintable character will be squished into a single dot to
give a better understanding of the intention of the original message.
Invalid bytes will now be printed as question marks.

Lot's of help and back and forth with schwarze@ who also kindly offered to
walk away when I mentioned looking through MIB files for more objects to
convert to this new code, which is understandable.

OK schwarze@


# 1.2 19-May-2020 martijn

Shave of some leftovers from snmpd's MIB initialization that are not needed
for snmp. Minus 503 LoC and about 200KB on binary size.

OK denis@


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.1 09-Aug-2019 martijn

Import snmp(1), a new snmp client which aims to be netsnmp compatible for
supported features. It only supports get, getnext, walk, bulkget, bulkwalk,
trap, mibtree, and is SNMPv1 and SNMPv2c for now.

This will shortly replace snmpctl entirely. People using snmpctl are encouraged
to test and migrate to this code as soon as possible.

Much help with the manpage from schwarze@ and jmc@
No objections from reyk@
"Roll it in" deraadt@


# 1.2 19-May-2020 martijn

Shave of some leftovers from snmpd's MIB initialization that are not needed
for snmp. Minus 503 LoC and about 200KB on binary size.

OK denis@


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.1 09-Aug-2019 martijn

Import snmp(1), a new snmp client which aims to be netsnmp compatible for
supported features. It only supports get, getnext, walk, bulkget, bulkwalk,
trap, mibtree, and is SNMPv1 and SNMPv2c for now.

This will shortly replace snmpctl entirely. People using snmpctl are encouraged
to test and migrate to this code as soon as possible.

Much help with the manpage from schwarze@ and jmc@
No objections from reyk@
"Roll it in" deraadt@


# 1.1 09-Aug-2019 martijn

Import snmp(1), a new snmp client which aims to be netsnmp compatible for
supported features. It only supports get, getnext, walk, bulkget, bulkwalk,
trap, mibtree, and is SNMPv1 and SNMPv2c for now.

This will shortly replace snmpctl entirely. People using snmpctl are encouraged
to test and migrate to this code as soon as possible.

Much help with the manpage from schwarze@ and jmc@
No objections from reyk@
"Roll it in" deraadt@