aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp
AgeCommit message (Collapse)Author
2014-07-25wip: Fix agent loggingRaimo Niskanen
2014-07-25bugfix: Call to non-existing module 'list'Raimo Niskanen
2014-07-25Bugfix: argument order to internal function verify_lines/4Raimo Niskanen
2014-07-25Go back to passing (Domain, Addr) to net_if filtersRaimo Niskanen
2014-07-25fix agent configuration detailsRaimo Niskanen
2014-07-25snmp: Add IPV6 testsIngela Anderton Andin
2014-07-25Rewrite agent to use {Domain,Address} tuples as far as possibleRaimo Niskanen
2014-07-25wip: passes all regression testsRaimo Niskanen
2014-07-25wip: Rewrite manager net_if processRaimo Niskanen
2014-07-25wipRaimo Niskanen
2014-07-25wip-all-regression-tests-but-one-managerRaimo Niskanen
2014-07-22wipRaimo Niskanen
2014-07-22Rewrite agent configuration parsingRaimo Niskanen
2014-06-11Merge branch 'telsacolton/snmp_test_manager_badmatch_pid' into maintHenrik Nord
* telsacolton/snmp_test_manager_badmatch_pid: Fix badmatch error when trying to start_link an snmp_test_manager Edit line 59 to remove "mgr" key from #State record. Edit line 133 to expect ok instead of {ok, Pid} from snmpm:start_link . Edit line 136 not to reference Pid variable which was removed above.
2014-04-15Fix badmatch error when trying to start_link an snmp_test_managerColton
Was previously unable to start_link an snmp_test_manager due to a badmatch occurring on line 133. See traceback here: http://pastebin.com/1eNYkGTz Edit snmp_test_manager.erl to only expect the atom ok when it was in turn start_linking an snmpm server. Also remove reference to no longer existing Pid variable. Lastly remove the mgr key from the State record, as after these changes it was no longer being used.
2014-04-07Update release notesErlang/OTP
2014-03-26Merge branch 'bmk/snmp/manager/fix-tests'Micael Karlberg
2014-03-26Merge branch 'bmk/snmp/agent/fix-tests'Micael Karlberg
2014-03-21[snmp/manager] Add some more error handling when startingMicael Karlberg
Add some more error handling (a try catch block) when starting both manager and agent.
2014-03-20Introduce runtime_dependencies in .app filesRickard Green
Most dependencies introduced are exactly the dependencies to other applications found by xref. That is, there might be real dependencies missing. There might also be pure debug dependencies listed that probably should be removed. Each application has to be manually inspected in order to ensure that all real dependencies are listed. All dependencies introduced are to application versions used in OTP 17.0. This since the previously used version scheme wasn't designed for this, and in order to minimize the work of introducing the dependencies.
2014-03-20Bump versions and ensure that all are "normal" versionsRickard Green
Ensure all are "normal" versions according to the new version scheme introduced in OTP 17.0
2014-03-18[snmp/agent] CLeanup - unused vars and use of deprecated funcsMicael Karlberg
2014-03-18[snmp/manager] Verify success for app start and stop in test casesMicael Karlberg
When starting and stopping apps verify success. If failure to start or stop app force failure of test case or init/fin of test case. Also, be more verbose regarding stop results during test case finish.
2014-03-17Change encoding for XML files to utf-8Siri Hansen
These are some files that were erronously missed earlier: erts/doc/src/time_correction.xml lib/crypto/doc/src/crypto_app.xml lib/snmp/doc/src/snmpa_mib_data.xml lib/snmp/doc/src/snmpa_mib_storage.xml
2014-03-14[snmp/agent] Fixed request id generationMicael Karlberg
When testing the agent, it is started and then used for a series (v1, v2, v3, ...) of tests. But the individual test cases are use one instance of the test manager. Because of this, the requerst id cannot be a counter starting from 1 or any counter for that matter. Instead every request id was generated using random. But this is obiously not a guarantee fo uniqueness, it merely makes it unlikely that the request ids will be reused. To get around this problem (without having to rewrite the entire agent test suite) a simple (global) counter server is introduced. It is started at the start of the agent test suite (init_per_suite) and stopped at the end (end_per_suite).
2014-03-14[snmp/agent] Fixed the loop_mib test casesMicael Karlberg
2014-02-24Add test suites performing app and appup file checksTobias Schlager
Add the mentioned test suites for *all* library and touched non-library applications.
2014-01-27[snmp] Assigned proper version, updated release notes and appupMicael Karlberg
OTP-10877 OTP-10907
2014-01-21Fix (unicode) debug info in test casesDan Gudmundsson
2013-11-26Merge branch 'maint'Micael Karlberg
Conflicts: lib/snmp/doc/src/snmpm_user.xml
2013-11-26Merge branch 'bmk/snmp/snmp425_integration' into maintMicael Karlberg
Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/src/misc/snmp_log.erl lib/snmp/vsn.mk
2013-11-19Merge branch 'bmk/snmp/blocking_log_during_conversion' into ↵Micael Karlberg
bmk/snmp/snmp425_integration Conflicts: lib/snmp/src/app/snmp.erl
2013-11-19[snmp] Cleanup and changed atl conversion block defaultMicael Karlberg
Changed the default value for the Audit Trail Log conversion to true. Also some cleanup. OTP-11396
2013-11-13Merge branch 'bmk/snmp/handling_corrupt_atl_when_converting/r16/OTP-11453' ↵Micael Karlberg
into bmk/snmp/snmp425_integration Conflicts: lib/snmp/src/misc/snmp_log.erl
2013-11-06Merge branch 'bmk/snmp/handling_corrupt_atl_when_converting/OTP-11453' into ↵Micael Karlberg
bmk/snmp/handling_corrupt_atl_when_converting/r16/OTP-11453 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/vsn.mk
2013-10-31[snmp] Improving ATL handling of corrupt logsMicael Karlberg
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). OTP-11453
2013-10-21Merge branch 'bmk/snmp/aes_encryption_fixes/OTP-11412' into ↵Micael Karlberg
bmk/snmp/snmp425_integration Conflicts: lib/snmp/doc/src/notes.xml
2013-10-21[snmp/manager] Incorrect use of EngineBoots and EngineTime when encryptingMicael Karlberg
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. OTP-11413
2013-10-17[snmp] Wrong block cypher type used for AESMicael Karlberg
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. OTP-11412
2013-10-11[snmp] Commented out (currently) unused upgrade/downgrade functionMicael Karlberg
2013-10-11Merge branch 'bmk/snmp/blocking_log_during_conversion' into ↵Micael Karlberg
bmk/snmp/snmp425_integration Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.erl
2013-10-11[snmp] Updated release notes, ref man, appup and assigned proper versionMicael Karlberg
2013-10-11[snmp] Add (atl) log conversion block optionMicael Karlberg
It is now possible to request that the Audit Trail Log should be blocked during conversion (log_to_txt or log_to_io). This could be usefull when coverting a large log (when there is a chance it may otherwise wrap during conversion).
2013-10-09{snmp] Fixed include dependMicael Karlberg
2013-10-09Merge branch ↵Micael Karlberg
'bmk/snmp/manager/improve_user_callback_response_handling2/OTP-11307' into bmk/snmp/snmp425_integration Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src
2013-10-09[snmp] Add proper version, release nodes and appupMicael Karlberg
Also fixed copyright end date. OTP-11352
2013-10-09[snmp] Update the config utility function for db-init-errorMicael Karlberg
Update the config utility function (a simple cli for generating the snmp config files) to handle the new db_init_error value (create_db_and_dir). OTP-11352
2013-10-09[snmp/agent] enable SNMP to create missing database directoriesSteve Vinoski
Add {db_init_error, create_db_and_dir} option to SNMP manager and agent. This allows them to create any missing parent directories for db_dir, rather than treating any missing directories as a fatal error. The default for db_init_error, which is terminate, is unchanged. Add create_db_and_dir to the documentation. Add new tests to verify that using create_db_and_dir results in missing parent directories being created.
2013-10-09[snmp/manager] Improve handling of unexpected/invalid snmpm_user callbacksMicael Karlberg
Improved handling of unexpected return values from snmpm_user callback functions. Violations of the documented API (crashes or invalid return values) will now result in an error message. Updated doc for snmpm_user bahaviour and some other stuff. Add more (common) type defs. Update manager example. Fixed manager test(s). Fixed unused vars in (manager) test suite. Make test user follow defined behaviour.
2013-09-09Merge branch 'maint'Björn Gustavsson
* maint: Change encoding of troublesome notes.xml files to utf-8 Convert some notes.xml files from latin-1 to utf-8