summaryrefslogtreecommitdiff
path: root/lib/snmp
Commit message (Collapse)AuthorAgeFilesLines
* Prepare releaseErlang/OTP2023-05-153-3/+21
|
* Merge branch 'maint' into masterJakub Witczak2023-04-272-2/+18
|\ | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Merge branch 'maint-25' into maintJakub Witczak2023-04-272-2/+18
| |\ | | | | | | | | | | | | | | | | | | * maint-25: Updated OTP version Prepare release Update copyright year
| | * Prepare releaseErlang/OTP2023-04-252-2/+18
| | |
| | * Merge branch ↵Erlang/OTP2023-04-258-67/+202
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/snmp/agent/20230127/minimize_error_reporting_during_failed_init/ERIERL-873/OTP-18422' into maint-25 * bmk/snmp/agent/20230127/minimize_error_reporting_during_failed_init/ERIERL-873/OTP-18422: [snmp|doc] Updated documentation with new net-if option [snmp] Tweaking agent start sequence to reduce error reporting # Conflicts: # lib/snmp/src/agent/snmpa_supervisor.erl
* | | | Revert "Prepare release"Henrik Nord2023-04-123-21/+3
| | | | | | | | | | | | | | | | This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
* | | | Prepare releaseErlang/OTP2023-04-113-3/+21
| | | |
* | | | Update copyright yearErlang/OTP2023-04-111-1/+1
| | | |
* | | | Doc typo fixesJurek Michal-AMJ0182023-03-241-1/+1
| | | |
* | | | Revert "Prepare release"Henrik Nord2023-03-223-21/+3
| | | | | | | | | | | | | | | | This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
* | | | Prepare releaseErlang/OTP2023-03-213-3/+21
| | | |
* | | | Update copyright yearErlang/OTP2023-03-211-1/+1
| | | |
* | | | Merge branch 'maint' into masterRickard Green2023-03-171-0/+16
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | | Merge branch 'maint-24' into maintRickard Green2023-03-171-0/+16
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint-24: Updated OTP version Prepare release Update copyright year
| | * | | Prepare releaseErlang/OTP2023-03-172-2/+18
| | | | |
| | * | | Merge branch ↵Erlang/OTP2023-03-178-68/+203
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/snmp/agent/20230127/minimize_error_reporting_during_failed_init/ERIERL-873/OTP-18422' into maint-24 * bmk/snmp/agent/20230127/minimize_error_reporting_during_failed_init/ERIERL-873/OTP-18422: [snmp|doc] Updated documentation with new net-if option [snmp] Tweaking agent start sequence to reduce error reporting
* | | | | Merge branch 'maint'Micael Karlberg2023-03-098-65/+200
|\ \ \ \ \ | |/ / / / | | | | | | | | | | OTP-18422 (ERIERL-873)
| * | | | Merge branch ↵Micael Karlberg2023-03-098-67/+202
| |\ \ \ \ | | | |/ / | | |/| / | | |_|/ | |/| | 'bmk/snmp/agent/20230127/minimize_error_reporting_during_failed_init/ERIERL-873/OTP-18422' into maint
| | * | [snmp|doc] Updated documentation with new net-if optionMicael Karlberg2023-01-302-18/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the documentation with info for the new agent net-if option; open_err_filters Note that this is of course only supported for the net-if provided with the application. OTO-18422 (ERIERL-873)
| | * | [snmp] Tweaking agent start sequence to reduce error reportingMicael Karlberg2023-01-306-51/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <This is a hack> Tweaked the agent start sequence in order to minimize error reporting during a failed start (due to net-if issues). </This is a hack> Also added a new net-if option in order to change what otherwise will be an error reporet to an info report. OTP-18422 (ERIERL-873)
* | | | Merge branch 'maint' into masterHenrik Nord2023-03-082-2/+36
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | | Prepare releaseErlang/OTP2023-03-062-2/+36
| | | |
| * | | Update copyright yearErlang/OTP2023-03-0615-15/+15
| | | |
* | | | Use `proc_lib:init_fail/2,3` where appropriateRaimo Niskanen2023-02-272-4/+5
| | | |
* | | | Update copyright yearErlang/OTP2023-02-1415-15/+15
|/ / /
* | | snmp: replace size by xxx_sizeKiko Fernandez-Reyes2023-02-071-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The <c>size/1</c> BIF is not optimized by the JIT, and its use can result in worse types for Dialyzer. When one knows that the value being tested must be a tuple, <c>tuple_size/1</c> should always be preferred. When one knows that the value being tested must be a binary, <c>byte_size/1</c> should be preferred. However, <c>byte_size/1</c> also accepts a bitstring (rounding up size to a whole number of bytes), so one must make sure that the call to <c>byte_size/</c> is preceded by a call to <c>is_binary/1</c> to ensure that bitstrings are rejected. Note that the compiler removes redundant calls to <c>is_binary/1</c>, so if one is not sure whether previous code had made sure that the argument is a binary, it does not harm to add an <c>is_binary/1</c> test immediately before the call to <c>byte_size/1</c>.
* | | snmp: replace size/1 by xxx_size/1Kiko Fernandez-Reyes2023-02-068-27/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The <c>size/1</c> BIF is not optimized by the JIT, and its use can result in worse types for Dialyzer. When one knows that the value being tested must be a tuple, <c>tuple_size/1</c> should always be preferred. When one knows that the value being tested must be a binary, <c>byte_size/1</c> should be preferred. However, <c>byte_size/1</c> also accepts a bitstring (rounding up size to a whole number of bytes), so one must make sure that the call to <c>byte_size/</c> is preceded by a call to <c>is_binary/1</c> to ensure that bitstrings are rejected. Note that the compiler removes redundant calls to <c>is_binary/1</c>, so if one is not sure whether previous code had made sure that the argument is a binary, it does not harm to add an <c>is_binary/1</c> test immediately before the call to <c>byte_size/1</c>.
* | | Merge pull request #6694 from ↵Kiko2023-01-275-15/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | kikofernandez/kiko/snmp/replace-size-by-xxx_size/GH-6681/OTP-18401 snmp: replace size/1 by XXX_size/1 OTP-18401
| * | | snmp: replace size/1 by XXX_size/1Kiko Fernandez-Reyes2023-01-175-15/+13
| | | |
* | | | Merge tag 'OTP-25.1.2.1' into maintRickard Green2023-01-191-0/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OTP-25.1.2.1: Updated OTP version Prepare release Update copyright year
| * | | | Prepare releaseErlang/OTP2023-01-182-2/+18
| | | | |
| * | | | Update copyright yearErlang/OTP2023-01-182-2/+2
| | | | |
| * | | | Merge branch ↵Erlang/OTP2023-01-182-7/+25
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/snmp/20230103/single_thread_uncaught_crash/ERIERL-904/OTP-18379' * bmk/snmp/20230103/single_thread_uncaught_crash/ERIERL-904/OTP-18379: [snmp] Single threaded agent handle request crash [snmp] Handle failed vacm lookup
* | \ \ \ \ Merge branch 'maint-24' into maintRickard Green2023-01-171-0/+16
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint-24: Updated OTP version Prepare release Update copyright year
| * | | | | Prepare releaseErlang/OTP2023-01-122-2/+18
| | | | | |
| * | | | | Update copyright yearErlang/OTP2023-01-122-2/+2
| | | | | |
| * | | | | Merge branch ↵Erlang/OTP2023-01-122-7/+25
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/snmp/20230103/single_thread_uncaught_crash/ERIERL-904/OTP-18379' into maint-24 * bmk/snmp/20230103/single_thread_uncaught_crash/ERIERL-904/OTP-18379: [snmp] Single threaded agent handle request crash [snmp] Handle failed vacm lookup
* | | | | | Merge branch 'maint-25' into maintRickard Green2023-01-174-4/+20
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint-25: Updated OTP version Prepare release Update copyright year
| * | | | | Prepare releaseErlang/OTP2023-01-122-2/+18
| | | | | |
| * | | | | Update copyright yearErlang/OTP2023-01-122-2/+2
| | | | | |
| * | | | | Merge branch ↵Erlang/OTP2023-01-122-7/+25
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/snmp/20230103/single_thread_uncaught_crash/ERIERL-904/OTP-18379' into maint-25 * bmk/snmp/20230103/single_thread_uncaught_crash/ERIERL-904/OTP-18379: [snmp] Single threaded agent handle request crash [snmp] Handle failed vacm lookup
* | | | | | Merge branch ↵Micael Karlberg2023-01-102-7/+25
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | 'bmk/snmp/20230103/single_thread_uncaught_crash/ERIERL-904/OTP-18379' into maint
| * | | | | [snmp] Single threaded agent handle request crashMicael Karlberg2023-01-091-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we are processing a received request (pdu), handle (catch) possible "crashes". Previously, for a multi-threaded agent, the worker (crashing) process was simply restarted (by the master-agent). But for a single threaded agent, the master agent itself crashed. OTP-18379
| * | | | | [snmp] Handle failed vacm lookupMicael Karlberg2023-01-091-6/+17
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle when we fail to lookup info (mask, type and status) from the vacmViewTreeFamilyTable table. If this happens, we will throw noSuchView (instead of crashing). OTP-18379
* | | | | Merge branch 'maint-24' into maintKiko Fernandez-Reyes2022-12-271-0/+16
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | * maint-24: Updated OTP version Prepare release Update copyright year
| * | | Prepare releaseErlang/OTP2022-12-192-2/+18
| | | |
| * | | Update copyright yearErlang/OTP2022-12-191-1/+1
| | | |
* | | | Prepare releaseErlang/OTP2022-12-122-2/+18
| | | |
* | | | Update copyright yearErlang/OTP2022-12-122-2/+2
| | | |
* | | | Merge branch 'bmk/snmp/20221202/explicit_socket_close/OTP-18352' into maintMicael Karlberg2022-12-052-2/+21
|\ \ \ \ | |/ / / | | | | | | | | OTP-18352