All Versions
Latest Version
Avg Release Cycle
51 days
Latest Release

Changelog History
Page 1

  • v1.35.0 Changes

    ๐Ÿš€ This release now requires Go 1.17 or higher.

    NOTE: The UnmarshalTrap now returns both an SnmpPacket and an error (#394)

    • ๐Ÿ›  [BUGFIX] gosnmp.Set(): permit ObjectIdentifier PDU Type #378
    • ๐Ÿ›  [BUGFIX] SendTrap: do not set Reportable MsgFlags for v3 #398
    • ๐Ÿ‘ [CHANGE] Support authoritative engineID discovery when listening for traps #394
    • [CHANGE] Require Go 1.17+
    • [ENHANCEMENT] marshalUint32: Values above 231-1 encodes in 5 bytes #377
    • [ENHANCEMENT] Add Control function to GoSNMP dialer parameters #397
  • v1.34.0 Changes

    ๐Ÿ‘• NOTE: marshalInt32 now always encodes an integer value in the smallest possible number of octets as per ITU-T Rec. X.690 (07/2002).

    • ๐Ÿ‘• [ENHANCEMENT] gosnmp/marshalInt32: adhere to ITU-T Rec. X.690 integer encoding #372
    • ๐Ÿ“œ [ENHANCEMENT] parseInt64: throw error on zero length as per X690 #373
    • [ENHANCEMENT] helper.go: Interpreting the value of an Opaque type as binary data if the Opaque sub-type cannot be recognized #374
    • [ENHANCEMENT] helper.go: Implemented Opaque type marshaling #374
    • ๐Ÿ›  [BUGFIX] marshal.go: Fixed invalid OpaqueFloat and OpaqueDouble marshaling in marshalVarbind() function #374
    • ๐Ÿ›  [BUGFIX] marshal.go: stricter cursor bounds checking in unmarshalPayload #384
  • v1.33.0 Changes

    • ๐Ÿ›  [BUGFIX] parseLength: avoid OOB read, prevent panic #354
    • ๐Ÿ›  [BUGFIX] Detect negative lengths in parseLength, prevent panic #369
    • [FEATURE] Add LocalAddr setting to bind source address of SNMP queries #342
    • [ENHANCEMENT] Validate SNMPv3 Auth/Priv Protocol for incoming trap message #351
    • ๐Ÿ“œ [ENHANCEMENT] helper.go: add error handling to parseLength #358
    • โœ… [ENHANCEMENT] Rename v3_testing_credentials to avoid testing import in prod builds #360
    • [ENHANCEMENT] helper.go: Improved decodeValue() function #340
  • v1.32.0 Changes

    ๐Ÿš€ NOTE: This release changes the Logger interface. The loggingEnabled variable has been deprecated.

    • ๐Ÿ›  [BUGFIX] marshal.go: improve packet validation and error handling #323
    • ๐Ÿ›  [BUGFIX] marshal.go: Fix on-error-continue flow in sendOneRequest #324
    • ๐Ÿ›  [BUGFIX] Fix SNMPv3 trap authentication #332
    • [CHANGE] New Logger interface has been implemented #329
    • [ENHANCEMENT] helper.go: Improved OID marshaling with sub-identifier validation as per rfc2578 section-3.5 #321
    • [ENHANCEMENT] Add rfc3412 report errors #333
  • v1.31.0 Changes

    • ๐Ÿ›  [BUGFIX] Add validation to prevent calling updatePktSecurityParameters with non v3 packet #251 #314
    • [ENHANCEMENT] walk.go: improve BulkWalk error handling #306
    • โฑ [ENHANCEMENT] return received SNMP error code immediately instead of waiting for timeout #319
  • v1.30.0 Changes

    ๐Ÿš€ NOTE: This release changes the MaxRepetitions type to uint32.

    • ๐Ÿ›  [BUGFIX] Add bounds checking for reqID and msgID #273
    • [FEATURE] New packet inspection hook methods for in-flight measurements #276
    • โœ… [ENHANCEMENT] Support for local e2e tests against net-snmpd #292
    • [CHANGE] Fix GetBulkRequest MaxRepetitions signedness issue in marshalPDU() #293
    • โšก๏ธ [CHANGE] mocks/gosnmp_mock.go: Update UnmarshalTrap mock base method #294
    • ๐Ÿ›  [BUGFIX] marshal.go: Fix signedness issue in marshalPDU() #295
    • [ENHANCEMENT] marshalPDU(): stricter integer conversion #301
    • [ENHANCEMENT] Use Go 1.13 error wrapping #304
    • [ENHANCEMENT] walk.go: improve BulkWalk error handling #306
    • [ENHANCEMENT] MaxRepetitions now allows values between 0..2147483647 and wraps to 0 at max int32.
  • v1.29.0 Changes

    December 07, 2020

    ๐Ÿš€ NOTE: This release returns the OctetString []byte behavior for v1.26.0 and earlier.

    • [CHANGE] Return OctetString as []byte #264
  • v1.28.0 Changes

    October 15, 2020

    ๐Ÿš€ This release updates the Go import path from

    • โšก๏ธ [CHANGE] Update project path #257
    • ๐Ÿ‘ [ENHANCEMENT] Improve SNMPv3 trap support #253
  • v1.27.0 Changes

    July 01, 2020
    • ๐Ÿ›  fix a race condition - logger
    • INFORM responses
    • ๐Ÿ‘• linting
  • v1.26.0 Changes

    May 10, 2020
    • more SNMPv3
    • ๐Ÿ›  various bug fixes
    • ๐Ÿ‘• linting