Skip to content

Update module github.com/soniah/gosnmp to v1.43.2#12

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.qkg1.top-soniah-gosnmp-1.x
Open

Update module github.com/soniah/gosnmp to v1.43.2#12
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.qkg1.top-soniah-gosnmp-1.x

Conversation

@renovate

@renovate renovate Bot commented Apr 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/soniah/gosnmp v1.22.0v1.43.2 age confidence

Release Notes

soniah/gosnmp (github.com/soniah/gosnmp)

v1.38.0

  • [CHANGE] Refactor netsnmp playback function to use an io.Reader #​459
  • [FEATURE] Support multiple security parameters for receiving SNMP V3 traps #​457
  • [ENHANCEMENT] netsnmp tests: tame overzealous file / dir permissions #​458

v1.37.0

  • [CHANGE] Refactor TrapListener's Close Method #​449
  • [FEATURE] Allow global password cache to be turned off #​454
  • [ENHANCEMENT] Make InitPacket and InitSecurityKeys public #​447
  • [ENHANCEMENT] Add net-snmp validation testing #​452
  • [BUGFIX] Allow RequestID to be shrunk if possible #​451

v1.36.1

  • [BUGFIX] address panics, add tests, fuzzing #​443

v1.36.0

This release now requires Go 1.20 or higher.

  • [ENHANCEMENT] Allow sending v1 traps that have no varbinds #​426
  • [BUGFIX] Fix getBulk SnmpPacket MaxRepetitions value #​413
  • [BUGFIX] Refactor security logger #​422
  • [BUGFIX] Add privacy passphrase in extendKeyBlumenthal cacheKey call #​425
  • [BUGFIX] unmarshal: fix panic from reading beyond slice #​441

v1.35.0

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 2^31-1 encodes in 5 bytes #​377
  • [ENHANCEMENT] Add Control function to GoSNMP dialer parameters #​397

v1.34.0

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

  • [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

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

  • [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

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..2147483 and wraps to 0 at max int32.

v1.29.0

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

  • [CHANGE] Return OctetString as []byte #​264

v1.28.0

This release updates the Go import path from github.com/soniah/gosnmp
to github.com/gosnmp/gosnmp.

  • [CHANGE] Update project path #​257
  • [ENHANCEMENT] Improve SNMPv3 trap support #​253

v1.27.0

  • fix a race condition - logger
  • INFORM responses
  • linting

v1.26.0

  • more SNMPv3
  • various bug fixes
  • linting

v1.25.0

  • SNMPv3 new hash functions for SNMPV3 USM RFC7860
  • SNMPv3 tests for SNMPv3 traps
  • go versions 1.12 1.13

v1.24.0

  • doco, fix AUTHORS, fix copyright
  • decode more packet types
  • TCP trap listening

v1.23.1

  • add support for contexts
  • fix panic conditions by checking for out-of-bounds reads

v1.23.0

  • BREAKING CHANGE: The mocks have been moved to github.com/gosnmp/gosnmp/mocks.
    If you use them, you will need to adjust your imports.
  • bug fix: issue 170: No results when performing a walk starting on a leaf OID
  • bug fix: issue 210: Set function fails if value is an Integer
  • doco: loggingEnabled, MIB parser
  • linting

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate

renovate Bot commented Apr 19, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: github.com/soniah/gosnmp@v1.43.2: parsing go.mod:
	module declares its path as: github.com/gosnmp/gosnmp
	        but was required as: github.com/soniah/gosnmp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants