| 1 | ## unreleased |
| 2 | |
| 3 | * [CHANGE] |
| 4 | * [FEATURE] |
| 5 | * [ENHANCEMENT] |
| 6 | * [BUGFIX] |
| 7 | |
| 8 | ## v1.38.0 |
| 9 | |
| 10 | * [CHANGE] Refactor netsnmp playback function to use an io.Reader #459 |
| 11 | * [FEATURE] Support multiple security parameters for receiving SNMP V3 traps #457 |
| 12 | * [ENHANCEMENT] netsnmp tests: tame overzealous file / dir permissions #458 |
| 13 | |
| 14 | ## v1.37.0 |
| 15 | |
| 16 | * [CHANGE] Refactor TrapListener's Close Method #449 |
| 17 | * [FEATURE] Allow global password cache to be turned off #454 |
| 18 | * [ENHANCEMENT] Make InitPacket and InitSecurityKeys public #447 |
| 19 | * [ENHANCEMENT] Add net-snmp validation testing #452 |
| 20 | * [BUGFIX] Allow RequestID to be shrunk if possible #451 |
| 21 | |
| 22 | ## v1.36.1 |
| 23 | |
| 24 | * [BUGFIX] address panics, add tests, fuzzing #443 |
| 25 | |
| 26 | ## v1.36.0 |
| 27 | |
| 28 | This release now requires Go 1.20 or higher. |
| 29 | |
| 30 | * [ENHANCEMENT] Allow sending v1 traps that have no varbinds #426 |
| 31 | * [BUGFIX] Fix getBulk SnmpPacket MaxRepetitions value #413 |
| 32 | * [BUGFIX] Refactor security logger #422 |
| 33 | * [BUGFIX] Add privacy passphrase in extendKeyBlumenthal cacheKey call #425 |
| 34 | * [BUGFIX] unmarshal: fix panic from reading beyond slice #441 |
| 35 | |
| 36 | ## v1.35.0 |
| 37 | |
| 38 | This release now requires Go 1.17 or higher. |
| 39 | |
| 40 | NOTE: The UnmarshalTrap now returns both an SnmpPacket and an error (#394) |
| 41 | |
| 42 | * [BUGFIX] gosnmp.Set(): permit ObjectIdentifier PDU Type #378 |
| 43 | * [BUGFIX] SendTrap: do not set Reportable MsgFlags for v3 #398 |
| 44 | * [CHANGE] Support authoritative engineID discovery when listening for traps #394 |
| 45 | * [CHANGE] Require Go 1.17+ |
| 46 | * [ENHANCEMENT] marshalUint32: Values above 2^31-1 encodes in 5 bytes #377 |
| 47 | * [ENHANCEMENT] Add Control function to GoSNMP dialer parameters #397 |
| 48 | |
| 49 | ## v1.34.0 |
| 50 | |
| 51 | NOTE: marshalInt32 now always encodes an integer value in the smallest possible |
| 52 | number of octets as per ITU-T Rec. X.690 (07/2002). |
| 53 | |
| 54 | * [ENHANCEMENT] gosnmp/marshalInt32: adhere to ITU-T Rec. X.690 integer encoding #372 |
| 55 | * [ENHANCEMENT] parseInt64: throw error on zero length as per X690 #373 |
| 56 | * [ENHANCEMENT] helper.go: Interpreting the value of an Opaque type as binary data if the Opaque sub-type cannot be recognized #374 |
| 57 | * [ENHANCEMENT] helper.go: Implemented Opaque type marshaling #374 |
| 58 | * [BUGFIX] marshal.go: Fixed invalid OpaqueFloat and OpaqueDouble marshaling in marshalVarbind() function #374 |
| 59 | * [BUGFIX] marshal.go: stricter cursor bounds checking in unmarshalPayload #384 |
| 60 | |
| 61 | ## v1.33.0 |
| 62 | |
| 63 | * [BUGFIX] parseLength: avoid OOB read, prevent panic #354 |
| 64 | * [BUGFIX] Detect negative lengths in parseLength, prevent panic #369 |
| 65 | * [FEATURE] Add LocalAddr setting to bind source address of SNMP queries #342 |
| 66 | * [ENHANCEMENT] Validate SNMPv3 Auth/Priv Protocol for incoming trap message #351 |
| 67 | * [ENHANCEMENT] helper.go: add error handling to parseLength #358 |
| 68 | * [ENHANCEMENT] Rename v3_testing_credentials to avoid testing import in prod builds #360 |
| 69 | * [ENHANCEMENT] helper.go: Improved decodeValue() function #340 |
| 70 | |
| 71 | ## v1.32.0 |
| 72 | |
| 73 | NOTE: This release changes the Logger interface. The loggingEnabled variable has been deprecated. |
| 74 | |
| 75 | * [BUGFIX] marshal.go: improve packet validation and error handling #323 |
| 76 | * [BUGFIX] marshal.go: Fix on-error-continue flow in sendOneRequest #324 |
| 77 | * [BUGFIX] Fix SNMPv3 trap authentication #332 |
| 78 | * [CHANGE] New Logger interface has been implemented #329 |
| 79 | * [ENHANCEMENT] helper.go: Improved OID marshaling with sub-identifier validation as per rfc2578 section-3.5 #321 |
| 80 | * [ENHANCEMENT] Add rfc3412 report errors #333 |
| 81 | |
| 82 | ## v1.31.0 |
| 83 | |
| 84 | * [BUGFIX] Add validation to prevent calling updatePktSecurityParameters with non v3 packet #251 #314 |
| 85 | * [ENHANCEMENT] walk.go: improve BulkWalk error handling #306 |
| 86 | * [ENHANCEMENT] return received SNMP error code immediately instead of waiting for timeout #319 |
| 87 | |
| 88 | ## v1.30.0 |
| 89 | |
| 90 | NOTE: This release changes the MaxRepetitions type to uint32. |
| 91 | |
| 92 | * [BUGFIX] Add bounds checking for reqID and msgID #273 |
| 93 | * [FEATURE] New packet inspection hook methods for in-flight measurements #276 |
| 94 | * [ENHANCEMENT] Support for local e2e tests against net-snmpd #292 |
| 95 | * [CHANGE] Fix GetBulkRequest MaxRepetitions signedness issue in marshalPDU() #293 |
| 96 | * [CHANGE] mocks/gosnmp_mock.go: Update UnmarshalTrap mock base method #294 |
| 97 | * [BUGFIX] marshal.go: Fix signedness issue in marshalPDU() #295 |
| 98 | * [ENHANCEMENT] marshalPDU(): stricter integer conversion #301 |
| 99 | * [ENHANCEMENT] Use Go 1.13 error wrapping #304 |
| 100 | * [ENHANCEMENT] walk.go: improve BulkWalk error handling #306 |
| 101 | * [ENHANCEMENT] MaxRepetitions now allows values between 0..2147483647 and wraps to 0 at max int32. |
| 102 | |
| 103 | ## v1.29.0 |
| 104 | |
| 105 | NOTE: This release returns the OctetString []byte behavior for v1.26.0 and earlier. |
| 106 | |
| 107 | * [CHANGE] Return OctetString as []byte #264 |
| 108 | |
| 109 | ## v1.28.0 |
| 110 | |
| 111 | This release updates the Go import path from `github.com/soniah/gosnmp` |
| 112 | to `github.com/gosnmp/gosnmp`. |
| 113 | |
| 114 | * [CHANGE] Update project path #257 |
| 115 | * [ENHANCEMENT] Improve SNMPv3 trap support #253 |
| 116 | |
| 117 | ## v1.27.0 |
| 118 | |
| 119 | * fix a race condition - logger |
| 120 | * INFORM responses |
| 121 | * linting |
| 122 | |
| 123 | ## v1.26.0 |
| 124 | |
| 125 | * more SNMPv3 |
| 126 | * various bug fixes |
| 127 | * linting |
| 128 | |
| 129 | ## v1.25.0 |
| 130 | |
| 131 | * SNMPv3 new hash functions for SNMPV3 USM RFC7860 |
| 132 | * SNMPv3 tests for SNMPv3 traps |
| 133 | * go versions 1.12 1.13 |
| 134 | |
| 135 | ## v1.24.0 |
| 136 | |
| 137 | * doco, fix AUTHORS, fix copyright |
| 138 | * decode more packet types |
| 139 | * TCP trap listening |
| 140 | |
| 141 | ## v1.23.1 |
| 142 | |
| 143 | * add support for contexts |
| 144 | * fix panic conditions by checking for out-of-bounds reads |
| 145 | |
| 146 | ## v1.23.0 |
| 147 | |
| 148 | * BREAKING CHANGE: The mocks have been moved to `github.com/gosnmp/gosnmp/mocks`. |
| 149 | If you use them, you will need to adjust your imports. |
| 150 | * bug fix: issue 170: No results when performing a walk starting on a leaf OID |
| 151 | * bug fix: issue 210: Set function fails if value is an Integer |
| 152 | * doco: loggingEnabled, MIB parser |
| 153 | * linting |
| 154 | |
| 155 | ## v1.22.0 |
| 156 | |
| 157 | * travis now failing build when goimports needs running |
| 158 | * gometalinter |
| 159 | * shell script for running local tests |
| 160 | * SNMPv3 - avoid crash when missing SecurityParameters |
| 161 | * add support for Walk and Get over TCP - RFC 3430 |
| 162 | * SNMPv3 - allow input of private key instead of passphrase |
| 163 | |
| 164 | ## v1.21.0 |
| 165 | |
| 166 | * add netsnmp functionality "not check returned OIDs are increasing" |
| 167 | |
| 168 | ## v1.20.0 |
| 169 | |
| 170 | * convert all tags to correct semantic versioning, and remove old tags |
| 171 | * SNMPv1 trap IDs should be marshalInt32() not single byte |
| 172 | * use packetSecParams not sp secretKey in v3 isAuthentic() |
| 173 | * fix IPAddress marshalling in Set() |
| 174 | |
| 175 | ## v1.19.0 |
| 176 | |
| 177 | * bug fix: handle uninitialized v3 SecurityParameters in SnmpDecodePacket() |
| 178 | * SNMPError, Asn1BER - stringers; types on constants |
| 179 | |
| 180 | ## v1.18.0 |
| 181 | |
| 182 | * bug fix: use format flags - logPrintf() not logPrint() |
| 183 | * bug fix: parseObjectIdentifier() now returns []byte{0} rather than error |
| 184 | when it receive zero length input |
| 185 | * use gomock |
| 186 | * start using go modules |
| 187 | * start a changelog |