summaryrefslogtreecommitdiff
path: root/lib/snmp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'maint'Micael Karlberg2021-11-291-3/+13
|\ \ \ | |/ / | | | | | | OTP-17783
| * | [snmp|manager] Improve debug info for transport port(s)Micael Karlberg2021-11-221-3/+13
| |/ | | | | | | OTP-17783
* | Merge branch 'maint'Micael Karlberg2021-11-1013-174/+794
|\ \ | |/ | | | | OTP-17615
| * Merge branch 'bmk/snmp/20210929/HMAC-SHA2/OTP-17615' into maintMicael Karlberg2021-11-1013-174/+794
| |\ | | | | | | | | | OTP-17615
| | * [snmp|manager] Test cases for managerMicael Karlberg2021-10-125-29/+82
| | | | | | | | | | | | | | | | | | Including a lot of verbosity printout tweaking. OTP-17615
| | * [snmp] Add handling of the new authentication algorithmsMicael Karlberg2021-09-2911-122/+686
| | | | | | | | | | | | | | | | | | | | | Add support for the new authentication algorithms; SHA-224, SHA-256, SHA-384 and SHA-512. OTP-17615 (RFC 7860)
| | * [snmp] Update function for derivation of keys from passwordsMicael Karlberg2021-09-291-24/+27
| | | | | | | | | | | | OTP-17615
* | | Merge branch 'maint'Micael Karlberg2021-10-041-2/+2
|\ \ \ | |/ / | | | | | | OTP-17671
| * | Merge branch ↵Micael Karlberg2021-10-041-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | 'bmk/snmp/20211001/start_failure_with_empty_config_and_flag/OTP-17671' into maint OTP-17671
| | * | [snmp] Handling test config stuffMicael Karlberg2021-10-011-2/+2
| | |/ | | | | | | | | | OTP-17671
* | | Merge branch 'maint'Micael Karlberg2021-09-291-1/+2
|\ \ \ | |/ / | | | | | | OTP-17641
| * | [snmp|agent] Handling of socket (monitor) DOWN messageMicael Karlberg2021-09-271-1/+2
| |/ | | | | | | | | | | | | | | The net-if process incorrectly expected the 'type' of the DOWN message to be 'socket'. But the old style sockets is of type 'port'. OTP-17641
* | Merge branch 'bmk/snmp/20210906/backward_compat_cleanup/OTP-17612'Micael Karlberg2021-09-148-838/+22
|\ \ | | | | | | | | | OTP-17612
| * | [snmp|manager] Removed deprecated API functionsMicael Karlberg2021-09-091-247/+2
| | | | | | | | | | | | OTP-17612
| * | [snmp|manager] BACKWARD compatibility cleanupMicael Karlberg2021-09-092-292/+8
| | | | | | | | | | | | OTP-17612
| * | [snmp|agent] BACKWARD compatibility cleanupMicael Karlberg2021-09-095-299/+12
| | | | | | | | | | | | | | | | | | Deleted "dead", 'BACKWARD compatibility, code. OTP-17612
* | | Merge branch 'maint'Micael Karlberg2021-09-091-1/+1
|\ \ \ | |/ / |/| / | |/ OTP-17526
| * [snmp] Updated app dependencyMicael Karlberg2021-09-071-1/+1
| | | | | | | | OTP-17526
* | Merge branch 'maint'Micael Karlberg2021-09-023-147/+199
|\ \ | |/ | | | | OTP-17526
| * [snmp|manager] Use of inet-backend for gen_udpMicael Karlberg2021-08-301-52/+87
| | | | | | | | | | | | | | Make it possible to configure manager transport (net-if) to use the inet_backend gen_udp option. OTP-17526
| * [snmp|agent] Use of inet-backend for gen_udpMicael Karlberg2021-08-302-95/+112
| | | | | | | | | | | | | | | | Make it possible to configure agent transport (net-if) to use the inet_backend gen_udp option. OTP-17526 OTP-17410
* | Add app-file runtime_dependencies test and incorrect dependencies fixesKjell Winblad2021-07-091-1/+1
|/ | | | | | | | | | | | | | | | | | | | | This commit adds a test case to check that app files for the Erlang/OTP applications specifies correct versions for the dependencies in the runtime_dependencies field. The test is designed to work on the Erlang/OTP team's test servers as it assumes that all released applications are installed in particular places and that all app versions have been increased in the correct way (which is done by scripts in the Erlang/OTP team's test infrastructure). The test uses xref to try to find undefined function calls in all Erlang/OTP applications. When running xref to test an application, `xref`'s library path is set to point to folders containing beam-files for the applications that are specified as the minimum correct versions by the `runtime_dependencies` field in the application's app file. This commit also bumps the versions of several dependencies that the test found to have incorrect versiosn so they instead get the first version of the dependencies that makes the test pass.
* Merge pull request #4683 from ↵John Högberg2021-04-271-24/+7
|\ | | | | | | | | | | | | JeromeDeBretagne/jdb/build_snmp_reproducibly/GH-4417/ERL-1445 snmp: Make snmp build reproducibly OTP-17354
| * snmp: Make snmp build reproduciblyJérôme de Bretagne2021-03-281-24/+7
| | | | | | | | | | | | | | Remove the current date/time and snmp version from the header section of .hrl files generated by snmpc_mib_to_hrl. Contributes to #4417 (ERL-1445) and #4482 (ERL-1446).
* | [snmp|agent] Removed deprecated function marked for 24.0 removalMicael Karlberg2021-03-261-14/+1
|/ | | | OTP-17049
* snmp: Fix an upcoming warning that would break the buildJohn Högberg2021-02-051-1/+1
|
* Merge branch 'maint'Micael Karlberg2021-02-011-15/+17
|\ | | | | | | OTP-17161
| * Merge branch ↵Micael Karlberg2021-02-011-15/+17
| |\ | | | | | | | | | | | | | | | 'bmk/snmp/manager/20210128/matching_problems_handling_snmp_error/OTP-17161' into maint OTP-17161
| | * [snmp|manager] Fix copyright end dateMicael Karlberg2021-01-291-1/+1
| | | | | | | | | | | | OTP-17161
| | * [snmp|manager] Matching issuesMicael Karlberg2021-01-281-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | In the function handling snmp errors, an unused result (_Error) could result in matching issues and therefor case clause runtime error (crash). Note that this would only happen in *very* unusual error cases. OTP-17161
* | | Merge branch 'maint'Micael Karlberg2021-01-272-9/+36
|\ \ \ | |/ / | | | | | | OTP-17109
| * | Merge branch 'bmk/snmp/agent/20210114/info_and_list_transports/OTP-17109' ↵Micael Karlberg2021-01-272-9/+36
| |\ \ | | | | | | | | | | | | | | | | | | | | into maint OTP-17109
| | * | [snmp|agent] Improve agent info functionMicael Karlberg2021-01-141-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve the net-if transport info part of the snmp agent info function. It was previously not possible to connect a configured transport with the transports listed in the info (because the info listed was insufficient). OTP-17109
| | * | [snmp|agent] Add function to get list of transportsMicael Karlberg2021-01-141-1/+15
| | |/ | | | | | | | | | | | | | | | | | | Add an official and documented function to get a list of configured transports. OTP-17109
* | | Merge branch 'maint'Micael Karlberg2021-01-191-1/+1
|\ \ \ | |/ / | | | | | | OTP-17110
| * | [snmp|manager] Corrected spelling of priv protocolMicael Karlberg2021-01-151-1/+1
| |/ | | | | | | | | | | | | | | | | The priv protocol atom 'usmAesCfb128Protocol' was spelled incorrectly: 'usmAesCfb128Protocoll'. This had the effect that is was impossible to update 'priv_key' by calling snmpm:update_usm_user_info/4. OTP-17110
* | [snmp] Removed deprecated functions (marked for removal)Micael Karlberg2020-12-181-28/+3
| | | | | | | | | | | | | | Removed c/1, c/2, is_consistent/1, mib_to_hrl/1 and compile/3 functions. Which where marked for removal. OTP-17049
* | [snmp] Removed deprecated functions (marked for removal)Micael Karlberg2020-12-181-23/+1
| | | | | | | | | | | | | | | | Removed log_to_txt/2, log_to_txt/3, log_to_txt/4 and change_log_size/1 functions. Which where marked for removal. OTP-17049
* | [snmp] Removed deprecated functions (marked for removal)Micael Karlberg2020-12-181-25/+1
| | | | | | | | | | | | | | | | Removed name_to_oid/1, name_to_oid/2, oid_to_name/1, oid_to_name/2, int_to_enum/2, int_to_enum/3, enum_to_int/2 and enum_to_int/3 functions. Which where marked for removal. OTP-17049
* | [snmp] Removed deprecated functions (marked for removal)Micael Karlberg2020-12-181-14/+2
| | | | | | | | | | | | | | Removed get_synbolic_store_db/0, get/2 and info/1 functions. Which where marked for removal. OTP-17049
* | [snmp] Removed deprecated functions (marked for removal)Micael Karlberg2020-12-181-11/+1
| | | | | | | | | | | | | | Removed register_subagent/3 and unregister_subagent/2 functions. Which where marked for removal. OTP-17049
* | [snmp] Removed deprecated functions (marked for removal)Micael Karlberg2020-12-181-26/+1
| | | | | | | | | | | | | | Removed send_notification/3,4,5,6 and send_trap/3,4. Which where marked for removal. OTP-17049
* | [snmp] Removed deprecated functions (marked for removal)Micael Karlberg2020-12-181-9/+1
| | | | | | | | | | | | | | Removed dump_mibs/0,1, load_mibs/2 and unload_mibs/2 funtions. Which where marked for removal. OTP-17049
* | [snmp] Removed deprecated functions (marked for removal)Micael Karlberg2020-12-181-16/+1
| | | | | | | | | | | | | | | | Removed current_[current_address|current_community|current_context| current_net_if_data,current_request_id] funtions. Which where marked for removal. OTP-17049
* | [snmp] Removed deprecated functions (marked for removal)Micael Karlberg2020-12-181-11/+1
| | | | | | | | | | | | | | Removed [add|del|get]_agent_caps functions. Which where marked for removal. OTP-17049
* | Merge branch 'bmk/snmp/20201207/no_auto_import_error3/OTP-17063'Micael Karlberg2020-12-188-20/+84
|\ \ | | | | | | | | | OTP-17063
| * | [snmp] Treat warnings as errors by defaultMicael Karlberg2020-12-085-11/+71
| | | | | | | | | | | | | | | | | | | | | | | | Add make constructs to treat 'warning as error' by default in the snmp makefiles. Also, improve 'warn_unused_vars' usage in said makefiles. OTP-17063
| * | [snmp] Do not auto import error/3Micael Karlberg2020-12-083-11/+7
| |/ | | | | | | | | | | | | | | | | A local function error/3 was defined in a couple of modules. This conflicted with the bif error/3. So, in those modules an no_auto_import attribute was added for this function. OTP-17063
* | Avoid clash with new erlang:error/3 BIFBjörn Gustavsson2020-12-073-11/+9
|/ | | | | erlang:error/3 is a new BIF in OTP 24. Turn off the autoimport of erlang:error/3 to avoid a compiler error.
* [snmp] Corrected deprecation info stringsMicael Karlberg2020-12-041-5/+5
| | | | | | | Some of the deprecation info strings where incorrect. Specifically those regarding the MIB compiler. OTP-17056