summaryrefslogtreecommitdiff
path: root/usr.bin/snmp/snmpc.c
AgeCommit message (Expand)Author
2022-12-26spelling fixes; from paul tagliamonteJason McIntyre
2022-12-20If we don't have usecommonopt for our application we shouldn't check theMartijn van Duren
2021-10-21Sync ober_oid_cmp with ax_oid_cmp from libagentx.Martijn van Duren
2021-08-11Change default version to -v3 and remove the default community.Martijn van Duren
2021-08-11On usage for commands without the common flags (mibtree) make sure there'sMartijn van Duren
2021-08-08Switch default snmpd and snmp auth back to hmac-sha1.Stuart Henderson
2021-06-20Change the authentication protocol (-a) default to SHA-256 and the privacyMartijn van Duren
2021-03-23Fix some ranges and type handling.Martijn van Duren
2021-03-03remove unreachable and unneeded codeJonathan Gray
2020-12-02Add argc check for snmp trap and drop to usage if we're short.Martijn van Duren
2020-09-14Allow snmp mibtree to take one or more arguments who will be converted toMartijn van Duren
2020-09-12Let snmp df make use of the new displayhint code, so we don't print randomMartijn van Duren
2020-08-03Add support for UTF-8 DISPLAY-HINTs with octet length. For now onlyMartijn van Duren
2020-06-30Fix two minor issues in snmpc_parseagent.Martijn van Duren
2020-05-31Fix an of by one when printing the oid of the error index.Martijn van Duren
2020-05-19Shave of some leftovers from snmpd's MIB initialization that are not neededMartijn van Duren
2020-05-10Initialize a couple of variables to shut up gcc, which apparently isn'tMartijn van Duren
2020-05-08Fix obvious copy-past-O in calculation of maximum length of "Available"Martijn van Duren
2020-03-22Fix agent address parsing:Martijn van Duren
2020-01-25Remove a sleep call that I used for some testing that slipped in duringMartijn van Duren
2020-01-17Some minor usage() bits omitted in the original diffs.Martijn van Duren
2020-01-17Implement a df subcommand, this outputs disk and memory information in aMartijn van Duren
2020-01-17Implement a -Cs option for snmp walk and bulkwalk.Martijn van Duren
2019-10-26Remove common from "common options" in usage to be closer to SYNOPSIS.Martijn van Duren
2019-10-24The ber_* namespace is used by liblber since time immemorial,Theo Buehler
2019-10-08Don't rely on the pdu returning the correct errorindex.Martijn van Duren
2019-10-07If optstring is NULL and usecommonopt is true, optstr was prependedAlexander Bluhm
2019-10-03Implement snmp set.Martijn van Duren
2019-10-03use the right argv element for the error message.Sebastien Marie
2019-09-18Add support for SNMPv3/USM privacy.Martijn van Duren
2019-09-18Add support for SNMPv3/USM authentication.Martijn van Duren
2019-09-18Initial SNMPv3/USM support.Martijn van Duren
2019-09-18Move snmp packaging and unpackaging to their own function.Martijn van Duren
2019-08-14make usage() and SYNOPSIS more alikeTheo de Raadt
2019-08-13Error-index starts at 1, not 0.Martijn van Duren
2019-08-11Replace some err(1, NULL) with err(1, "malloc").Martijn van Duren
2019-08-11Cleanup usage.Martijn van Duren
2019-08-11error if malloc fails; ok martijnTheo de Raadt
2019-08-11ugly whitespacesTheo de Raadt
2019-08-09Import snmp(1), a new snmp client which aims to be netsnmp compatible forMartijn van Duren