summaryrefslogtreecommitdiffstats
path: root/usr.bin/snmp
AgeCommit message (Expand)AuthorFilesLines
2021-03-23Fix some ranges and type handling.martijn2-9/+18
2021-03-23Add DisplayString/SnmpAdminString in accordance with recent OPENBSD-PF-MIBmartijn1-5/+5
2021-03-12spellingjsg1-3/+3
2021-03-03remove unreachable and unneeded codejsg1-3/+1
2021-01-04Remove BER_TYPE_BOOLEAN, it's not part of the spec and I haven't seen itmartijn1-19/+1
2020-12-14Implement displaying SMI enums as text.martijn3-10/+51
2020-12-02Add argc check for snmp trap and drop to usage if we're short.martijn1-1/+4
2020-09-14Allow snmp mibtree to take one or more arguments who will be converted tomartijn2-8/+27
2020-09-12Let snmp df make use of the new displayhint code, so we don't print randommartijn2-18/+50
2020-08-08Reorder SNMPv2-MIB to match order with original document.martijn1-38/+68
2020-08-08Reorganize SNMPv2-MIB so that all it's elements are together and in ordermartijn1-19/+26
2020-08-08Clean up smi_mibtree.martijn1-10/+4
2020-08-08Implement SNMP-USM-AES-MIB and SNMP-USM-HMAC-SHA2-MIBmartijn1-1/+21
2020-08-08Polish up SNMP-USER-BASED-SM-MIB and SNMP-FRAMEWORK-MIB.martijn1-31/+87
2020-08-08Somewhere during working on UTF-8 support I thought it was a good idea tomartijn2-15/+16
2020-08-08Document UTF-8 support in snmp.martijn1-2/+27
2020-08-03Add support for UTF-8 DISPLAY-HINTs with octet length. For now onlymartijn5-18/+173
2020-08-02missing {} identified by clang10deraadt1-4/+7
2020-06-30Fix two minor issues in snmpc_parseagent.martijn1-2/+4
2020-05-31Fix an of by one when printing the oid of the error index.martijn1-2/+2
2020-05-31OIDs are unsigned. Reflect this when printing them.martijn1-2/+2
2020-05-19Shave of some leftovers from snmpd's MIB initialization that are not neededmartijn4-513/+10
2020-05-10Initialize a couple of variables to shut up gcc, which apparently isn'tmartijn1-4/+4
2020-05-08Fix obvious copy-past-O in calculation of maximum length of "Available"martijn1-2/+2
2020-04-23 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;jmc1-3/+3
2020-03-24When doing a loop inside a loop for input validation make sure that themartijn1-2/+4
2020-03-22Fix agent address parsing:martijn1-41/+47
2020-01-25Remove a sleep call that I used for some testing that slipped in duringmartijn1-2/+1
2020-01-21remove trailing whitespace;jmc1-3/+3
2020-01-17Some minor usage() bits omitted in the original diffs.martijn2-5/+6
2020-01-17Implement a df subcommand, this outputs disk and memory information in amartijn2-5/+266
2020-01-17Add better support for exception contexts.martijn2-5/+21
2020-01-17Implement a -Cs option for snmp walk and bulkwalk.martijn2-4/+50
2019-10-26Remove common from "common options" in usage to be closer to SYNOPSIS.martijn1-2/+2
2019-10-26Shorten the SYNOPSIS greatly.martijn1-170/+115
2019-10-24The ber_* namespace is used by liblber since time immemorial,tb4-129/+129
2019-10-11don't use sizeof(pointer) to represent buffer sizejsg1-4/+5
2019-10-09Use snprintf instead of sprintf.martijn1-10/+27
2019-10-08Free the "e" element in ber_printf_elements if it fails, since there's nomartijn1-2/+5
2019-10-08Don't rely on the pdu returning the correct errorindex.martijn1-18/+52
2019-10-07If optstring is NULL and usecommonopt is true, optstr was prependedbluhm1-1/+2
2019-10-03Implement snmp set.martijn4-173/+270
2019-10-03use the right argv element for the error message.semarie1-2/+2
2019-09-18Add support for some HP LaserJet systems. These systems don't return themartijn1-1/+19
2019-09-18Add support for SNMPv3/USM privacy.martijn6-39/+344
2019-09-18Add support for SNMPv3/USM authentication.martijn7-25/+390
2019-09-18Initial SNMPv3/USM support.martijn7-41/+699
2019-09-18Move snmp packaging and unpackaging to their own function.martijn3-54/+130
2019-08-27Better error reporting on malformed packets.martijn1-11/+36
2019-08-14make usage() and SYNOPSIS more alikederaadt2-12/+14