Internal code change: Calls to
Own Id: OTP-14400
The SNMP MIB compiler has been fixed to compile MIBS with refinements on user types such as in RFC 4669 RADIUS-AUTH-SERVER-MIB.mib. Problem reported and researched by Kenneth Lakin and Daniel Goertzen.
See also: https://bugs.erlang.org/browse/ERL-325
Own Id: OTP-14145 Aux Id: ERL-325
Correct bugs when path to mib or idl spec files contains UTF-8 characters.
Own Id: OTP-13718 Aux Id: ERL-179
Solves snmp config string handling as reported by ERL-164 and solved by PR-1100
Own Id: OTP-13706
Internal changes
Own Id: OTP-13551
Snmp agent now properly handles
Own Id: OTP-13264
Small documentation fixes
Own Id: OTP-13017
Update configuration check of imask ( list of ones and zeros) to allow the empty list.
Own Id: OTP-13101
The runtime dependencies in the application resource file have been updated.
Own Id: OTP-12762
A bug in the SNMP Agent has been corrected; when opening a port using the command line argument -snmpa_fd the Port should be 0 when calling gen_udp:open.
A bug in the SNMP manager has been corrected; it should not look at the -snmp_fd command line argument, but instead at -snmpm_fd.
Own Id: OTP-12669 Aux Id: seq12841
Improved cryptocraphic capability.
Own Id: OTP-12452
Version 5.1.1 supports code replacement in runtime from/to version 5.1.
[compiler] Refinement of type Opaque was not allowed.
MIB constructs such as '
Own Id: OTP-12066
Aux Id: Seq 12669
-
-
The SNMP manager has been enhanced with dual stack IPv4+IPv6, as the agent just was. The documentation is also now updated for both the agent and the manager.
Own Id: OTP-12108 Aux Id: OTP-12020
SNMP has been improved to handle IPv6. The agent can handle dual stack IPv4 + IPv6, but not yet the manager. The documentation also still lags behind... If you do such advanced stuff like writing a custom net_if module, the interface for it has changed, but other than that SNMP is backwards compatible.
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-12020 Aux Id: OTP-11518
Application upgrade (appup) files are corrected for the following applications:
A new test utility for testing appup files is added to test_server. This is now used by most applications in OTP.
(Thanks to Tobias Schlager)
Own Id: OTP-11744
Version 4.25.0.1 supports code replacement in runtime from/to version 4.25, 4.24.2, 4.24.1 and 4.24.
Updated doc files to utf8.
Own Id: OTP-10907
Fixed test suite to support UTF-8 paths.
Own Id: OTP-10877
-
-
Version 4.25 supports code replacement in runtime from/to version 4.24.2, 4.24.1, 4.24, 4.23.1 and 4.23.
[agent] Enable SNMP to create missing database directories.
Add
Steve Vinoski
Own Id: OTP-11352
[manager] Improved handling of unexpected return values from
Violations of the documented API (crashes or invalid return values) will now result in an error message.
Own Id: OTP-11307
Add (atl) log conversion block option.
It is now possible to request that the Audit Trail Log should
be blocked during conversion (
See
agent
Own Id: OTP-11396
Own Id: seq12433
When converting an Audit Trail Log to text, a corrupt log entry could cause the entire conversion to fail.
Also, for a log with sequence numbers, failing to decode a log entry would cause the conversion to fail (not because of the failed decode, but because of the failure to write the error message).
Own Id: OTP-111453
Aux Id: Seq 12459
Wrong block cypher type used for AES ('aes_cbf128' instead of 'aes_cfb128') when performing AES block encrypt/decrypt which breaks SNMP usmAesCfb128Protocol in agent and manager.
Own Id: OTP-11412
[manager] When performing the AES encryption, invalid values for the EngineBoots and EngineTime was used.
The values of the local agent was used, which would have produced "some" values if an agent was actually running. If not it would have caused a crash.
Own Id: OTP-11413
-
Version 4.24.2 supports code replacement in runtime from/to version 4.24.1, 4.24, 4.23.1 and 4.23.
[agent] Improved documentation for the functions for
loading and unloading mibs,
see
Also added new functions for loading and unloading a single mib,
see
Own Id: OTP-11216
-
-
Version 4.24.1 supports code replacement in runtime from/to version 4.24, 4.23.1 and 4.23.
-
[agent] Reading the value of the vacmViewTreeFamilyMask returns it in the wrong (internal bitlist) format.
The vacmViewTreeFamilyMask is defined as a bit string in the MIB
(OCTET STRING). Internally a bitlist (list of 1's and 0's,
see
Since the mask is used in hot paths (e.g. access permission checks for each SNMP operation, the bitlist representation of the mask has benefits (e.g. faster processing). Reading/writing the view mask objects is less time-critical. Therefore, to fix the issue, convert between the bitlist (internal) representation and bitstring (external) when the vacmViewTreeFamilyMask objects are accessed.
Also, the check of the vacm config file was invalid with regard to the mask value. It was assumed to be a proper oid, which is not strictly the case (see bitlist above).
Own Id: OTP-11177
Stefan Zegenhagen
[agent] The counter increment function in the local-db was incorrect. It did not handle counter wrap correctly.
Own Id: OTP-11192
-
Version 4.24 supports code replacement in runtime from/to version 4.23.1 and 4.23.
[agent,manager] Updated to support the new crypto interface.
Own Id: OTP-11009
[agent] Introduced a documented behaviour for the mib-server
A config option for the (agent)
Own Id: OTP-11101
[agent] Introduced a documented behaviour for the
A config option for the (agent)
Own Id: OTP-11107
-
-
Version 4.23.1 supports code replacement in runtime from/to version 4.23.
-
[compiler] Now handles MIBs importing the pesudotype BITS.
Own Id: OTP-10799
[compiler] The MIB compiler could not handle a table index that was defined later in the MIB.
Own Id: OTP-10808
-
[manager] Polish return values of snmpm_user_default according to snmpm_user doc.
Luca Favatella
Own Id: OTP-10671
[agent] Remove runtime warning in snmpa_agent because of tuple fun usage.
Luca Favatella
Own Id: OTP-10672
[manager] SNMP manager performance optimization.
Ivan Dubovik
Own Id: OTP-10673
-
[manager] The old Addr-and-Port based API functions, previously long deprecated and marked for deletion in R16B, has now been removed.
Own Id: OTP-10027
Version 4.22.1 supports code replacement in runtime from/to version 4.22, 4.21.7 4.21.6 4.21.5, 4.21.4, 4.21.3, 4.21.2, 4.21.1 and 4.21.
[agent] Sematic fixes to SNMP-USER-BASED-SM-MIB.
The semantics allow the
Furthermore, once the user has been cloned by writing to an
instance of
Stefan Zegenhagen
Own Id: OTP-10166
[agent] Errors in
The semantics of the RowStatus handling in that table has been adjusted to be compliant with the RowStatus textual description of SNPMv2-TC MIB.
Stefan Zegenhagen
Own Id: OTP-10164
[agent] Fix walk over vacmAccessTable. Fix the get_next implementation of vacmAccessTable to return all table entries.
The get_next implementation of vacmAccessTable did not return all available table data. Instead, it only returned the first column for each row, and all columns for the last row available.
Stefan Zegenhagen
Own Id: OTP-10165
[manager]
Own Id: OTP-10066
Incorrect TimeTicks decode. Also bad handling of
invalid encode (value outside of value range) for both
Own Id: OTP-10132
-
Version 4.22 supports code replacement in runtime from/to version 4.21.7 4.21.6 4.21.5, 4.21.4, 4.21.3, 4.21.2, 4.21.1 and 4.21.
[compiler] The table information the MIB compiler provides with
augmented tables has been extended with
Own Id: OTP-9969
Added the
Own Id: OTP-9940
[manager] Introduced a new transport module,
Own Id: OTP-9876
[agent] Documenting previously existing but undocumented function,
Own Id: OTP-9942
[agent] Improve error handling while reading agent config files. Some files contain mandatory information and is therefor themself mandatory.
Own Id: OTP-9943
-
-
Version 4.21.7 supports code replacement in runtime from/to version 4.21.6, 4.21.5, 4.21.4, 4.21.3, 4.21.2, 4.21.1, 4.21, 4.20.1 and 4.20.
-
[agent] Simultaneous
Own Id: OTP-9884
Aux Id: Seq 11995
-
Version 4.21.6 supports code replacement in runtime from/to version 4.21.5, 4.21.4, 4.21.3, 4.21.2, 4.21.1, 4.21, 4.20.1 and 4.20.
[agent] DoS attack using GET-BULK with large value of
MaxRepetitions.
A preventive method has been implementing by simply
limit the number of varbinds that can be included in
a Get-BULK response message. This is specified by the
new config option,
Own Id: OTP-9700
[agent] Mib server cache gclimit update function incorrectly calls
age update function.
The gclimit update function,
Johan Claesson
Own Id: OTP-9868
-
Version 4.21.5 supports code replacement in runtime from/to version 4.21.4, 4.21.3, 4.21.2, 4.21.1, 4.21, 4.20.1 and 4.20.
[agent] Removed (more) use of old style tuple funs.
Own Id: OTP-9783
[agent] Repeated vacm table dumping fails due to file name conflict. When dumping the vacm table to disk, a temoporary file with a fixed name was used. If the table dumping (snmpa_vacm:dump_table/0) was initiated from several different processes in rapid succesion, the dumping could fail because the different processes was simultaniously trying to write to the same file. This problem has been eliminated by creating a unique name for the temporary file.
Own Id: OTP-9851
Aux Id: Seq 11980
-
This version has never been released for R14B.
Version 4.21.4 supports code replacement in runtime from/to version 4.21.3, 4.21.2, 4.21.1, 4.21, 4.20.1, 4.20 and 4.19.
-
[agent] Removed use of old style tuple funs.
Own Id: OTP-9779
-
Version 4.21.3 supports code replacement in runtime from/to version 4.21.2, 4.21.1, 4.21, 4.20.1, 4.20 and 4.19.
[compiler] Improved version info printout from the
Own Id: OTP-9618
[agent] Version 4.20 introduced a change that broke trap sending from subagents. Due to a bug in the test code, this was not discovered, until that bug was fixed.
Own Id: OTP-9745
[agent] When sending an error message (reply) regarding
Own Id: OTP-9747
[compiler] Fix the
*** POTENTIAL INCOMPATIBILITY ***
Tuncer Ayaz
Own Id: OTP-9718
[compiler] The short warning option has been changed from
Tuncer Ayaz
Own Id: OTP-9718
Version 4.21.2 supports code replacement in runtime from/to version 4.21.1, 4.21, 4.20.1, 4.20 and 4.19.
-
Bad note store GC timer deactivation. Wrong field in the state record was set (timeout instead active).
Stefan Grundmann
Own Id: OTP-9690
-
Version 4.21.1 supports code replacement in runtime from/to version 4.20.1, 4.20 and 4.19.
[compiler] Used wrong variable name (for warnings-as-errors variable), which caused the compiler to crash when using the snmpc (e)script.
Also added the option
Own Id: OTP-9447
[agent] Some very minor debugging improvements.
Own Id: OTP-9446
-
-
Version 4.21 supports code replacement in runtime from/to version 4.20.1, 4.20 and 4.19.
[manager] There was no way to specify transport domain.
The transport domains was assumed to be IPv4 (transportDomainUdpIpv4).
This has now been changed so that it can also be IPv6
(transportDomainUdpIpv6).
To facilitate this, the transport domain,
This also mean that the transport behaviour has changed.
Own Id: OTP-9305
Aux Id: Seq 11847
[compiler] Added the option
Tuncer Ayaz
Own Id: OTP-9437
The snmp config tool could not handle (manager) audit trail config because the option seqno was not handled.
Own Id: OTP-9354
[agent] The SNMP ACM cache was not properly updated when changes where made to the VACM security-to-group, access and view-tree-family tables.
Own Id: OTP-9367
Aux Id: Seq 11858
Fixed install directory typo for man3.
Peter Lemenkov
Hans Ulrich Niedermann
Own Id: OTP-9442
-
Version 4.20.1 supports code replacement in runtime from/to version 4.20, 4.19 and 4.18.
-
[agent] Did not handle transport domains properly in some cases, for instance trap sending.
Own Id: OTP-9400
[agent] Wrong default transport domain, snmpUDPDomain, instead of transportDomainUdpIpv4.
Own Id: OTP-9425
Aux Id: Seq 11874
-
Version 4.20 supports code replacement in runtime from/to version 4.19 and 4.18.
[agent] Added support for sending traps to IPv6 targets.
See the
Own Id: OTP-9088
Aux Id: Seq 11790
[agent] To be able to handle multiple engine-id(s) when
sending trap(s), the function
Own Id: OTP-9119
Aux Id: Seq 11792
[manager] The API for snmp requests has been augmented to allow the caller to override some configuration.
This has been done by introducing a new set of API functions, see
Own Id: OTP-9162
[manager] The old API functions (for get and set requests: snmpm:g/3,4,5,6,7, snmpm:ag/3,4,5,6,7, snmpm:gn/3,4,5,6,7, snmpm:agn/3,4,5,6,7, snmpm:s/3,4,5,6,7, snmpm:s/3,4,5,6,7, snmpm:gb/5,6,7,8,9 and snmpm:agb/5,6,7,8,9) are now officially deprecated. They will be removed as of R16B.
Own Id: OTP-9174
[agent] Pass extra info through the agent to the net-if process when sending notifications.
See
Own Id: OTP-9183
Aux Id: Seq 11817
Added type specs for functions that do not return.
Kostis Sagonas
Own Id: OTP-9208
Fixed endode/decode of values of type
This type (
Own Id: OTP-9022
-