OpenBSD CVS

CVS log for src/usr.bin/snmp/mib.h


[BACK] Up to [local] / src / usr.bin / snmp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Tue Mar 23 22:05:21 2021 UTC (3 years, 1 month 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, HEAD
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

Add DisplayString/SnmpAdminString in accordance with recent OPENBSD-PF-MIB
changes.

OK sthen@

Revision 1.9 / (download) - annotate - [select for diffs], Mon Dec 14 07:44:26 2020 UTC (3 years, 5 months ago) by martijn
Branch: MAIN
Changes since 1.8: +12 -7 lines
Diff to previous 1.8 (colored)

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

OK jan@

Revision 1.8 / (download) - annotate - [select for diffs], Sat Sep 12 18:11:43 2020 UTC (3 years, 8 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Let snmp df make use of the new displayhint code, so we don't print random
garbage to the description column if the server gives us that.

OK jan@

Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 8 14:01:31 2020 UTC (3 years, 9 months ago) by martijn
Branch: MAIN
Changes since 1.6: +68 -38 lines
Diff to previous 1.6 (colored)

Reorder SNMPv2-MIB to match order with original document.
Some minor touchups while here.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 8 13:13:19 2020 UTC (3 years, 9 months ago) by martijn
Branch: MAIN
Changes since 1.5: +26 -19 lines
Diff to previous 1.5 (colored)

Reorganize SNMPv2-MIB so that all it's elements are together and in order
of the original definition, for better comparability.

While here rename snmpProxies to snmpProxys, since that's what it's called.
Also add the zeroDotZero object.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 8 08:57:29 2020 UTC (3 years, 9 months ago) by martijn
Branch: MAIN
Changes since 1.4: +21 -1 lines
Diff to previous 1.4 (colored)

Implement SNMP-USM-AES-MIB and SNMP-USM-HMAC-SHA2-MIB

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 8 08:37:57 2020 UTC (3 years, 9 months ago) by martijn
Branch: MAIN
Changes since 1.3: +87 -31 lines
Diff to previous 1.3 (colored)

Polish up SNMP-USER-BASED-SM-MIB and SNMP-FRAMEWORK-MIB.
This changes a couple of object names, but this makes them comply with the
actual MIB definition.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 8 07:18:08 2020 UTC (3 years, 9 months ago) by martijn
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

Somewhere during working on UTF-8 support I thought it was a good idea to
use sysContact as a testcase, because it's readily available in snmpd, but
forgetting it's actual textual convention as time went by, which is
DisplayString (which is ASCII).

Add support for the DisplayString textual convention, which is similar to
having no textual convention, except that invalid bytes (value 128 and up)
are printed as UTF-8 replacement characters, or question mark, depending on
LC_CTYPE.

Feedback and OK schwarze@

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 3 14:45:54 2020 UTC (3 years, 9 months ago) by martijn
Branch: MAIN
Changes since 1.1: +7 -2 lines
Diff to previous 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.1 / (download) - annotate - [select for diffs], Fri Aug 9 06:17:59 2019 UTC (4 years, 9 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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.