Up to [local] / src / usr.bin / snmp
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 3 14:45:54 2020 UTC (3 years, 10 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
HEAD
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored) to selected 1.1 (colored)
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@
Revision 1.2 / (download) - annotate - [select for diffs], Tue May 19 13:41:01 2020 UTC (4 years ago) by martijn
Branch: MAIN
Changes since 1.1: +1 -458 lines
Diff to previous 1.1 (colored)
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 1.1 / (download) - annotate - [selected], Fri Aug 9 06:17:59 2019 UTC (4 years, 10 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6
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@