aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src
AgeCommit message (Collapse)Author
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-08-14Merge branch 'bmk/snmp/bad_decode_TimeTicks/maint/OTP-10132' into ↵Micael Karlberg
bmk/snmp/snmp4221_integration2 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/src/misc/snmp_pdus.erl
2012-08-13[snmp] Add bug compatible fixes to TimeTicks decodeMicael Karlberg
Add handling of incorrectly encoded TimeTicks and Unsigned32.
2012-08-02[snmp] Fixed problem with TimeTicks decodeMicael Karlberg
The decoder had a problem with data of type TimeTicks. Also, the handling of invalid values (value out of range) was bad for both TimeTicks and Unsigned32. OTP-10132
2012-08-02[snmp/agent] CleanupMicael Karlberg
lists:keydelete/2 does not exist (used in no_cloning)! Introduced some simple wrapper functions for list access (ke1delete, key1search, key1store and key1sort).
2012-08-02[snmp] Update release notes and add appup instructionsMicael Karlberg
2012-08-02[snmp/agent] Semantic fixes to SNMP-USER-BASED-SM_MIBStefan Zegenhagen
The semantics allow the usmUserAuthKeyChange and usmUserPrivKeyChange objects to be written to in the same set requests that also creates and clones the user. This was not possible beforehand, causing test tools checking semantic SNMPv3 behaviour to fail on a lot of test cases. Furthermore, once the user has been cloned by writing to an instance of usmUserCloneFrom, further set-operations to the same object will not return an error, but be no-ops. Especially, it must be avoided to copy security parameters again (possibly even from a different user).
2012-08-02[snmp/agent] Fix walk over vacmAccessTableStefan Zegenhagen
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. Fix the get_next implementation of vacmAccessTable to return all table entries.
2012-08-01Merge branch 'bmk/snmp/agent/vacmAccessTable-RowStatus-handling/OTP-10164' ↵Micael Karlberg
into bmk/snmp/snmp4221_integration Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src
2012-08-01Merge branch 'bmk/snmp/bad_decode_TimeTicks/maint/OTP-10132' into ↵Micael Karlberg
bmk/snmp/snmp4221_integration Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src
2012-08-01Merge branch 'bmk/snmp/manager/log_to_io/OTP-10066' into ↵Micael Karlberg
bmk/snmp/snmp4221_integration
2012-08-01[snmp] Add proper version, release notes and appup instructionMicael Karlberg
2012-08-01[snmp/agent] CleanupMicael Karlberg
2012-08-01[snmp] Add release notes, appup instruction and proper versionMicael Karlberg
2012-08-01[snmp/agent] Errors in vacmAccessTable RowStatus handlingStefan Zegenhagen
There are problems with the handling of vacmAccessTableStatus that cause some SNMP test suites to report errors. Most notably, errorneous set operations frequently cause "genErr" errors to be returned which usually is a sign for bad coding. These "genErr" errors are usually caused by badmatch exceptions coming from {ok, Row} = snmpa_vacm:get_row(RowIndex) if the row does not exist. This patch fixes the badmatch errors and adjusts the semantic of the RowStatus handling in that table to be compliant with the RowStatus textual description of SNPMv2-TC MIB.
2012-07-11Merge branch 'bmk/snmp/bad_decode_TimeTicks/maint-r15/OTP-10132' into ↵Micael Karlberg
bmk/snmp/bad_decode_TimeTicks/maint/OTP-10132
2012-07-10Fixed problem with TimeTicks decodeMicael Karlberg
The decoder had a problem with data of type TimeTicks. Also, the handling of invalid values (value out of range) was bad for both TimeTicks and Unsigned32. OTP-10132
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2012-04-20[snmp/manager] snmpm:log_to_io/6 did not use the LogName argument.Micael Karlberg
Cut-and-paste error. OTP-10066
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-09[snmp/compiler] More information with augmented tablesMicael Karlberg
The information the MIB compiler provides with augmented tables has been extended with nbr_of_cols, first_accessible and not_accessible. OTP-9969
2012-03-05Merge branch 'bmk/snmp/improve_error_handling_reading_config/OTP-9943' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15 Conflicts: lib/snmp/test/snmp_app_test.erl
2012-03-05[snmp/agent] Some minor improvements to the error messagesMicael Karlberg
OTP-9943
2012-03-01Merge branch 'bmk/snmp/improve_error_handling_reading_config/OTP-9943' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15
2012-03-01[snmp/agent] Add dir listing to error reasonMicael Karlberg
Add dir listing to error reason when failing to read mandatory config file standard.conf. OTP-9943
2012-02-27Merge branch 'bmk/snmp/improve_error_handling_reading_config/OTP-9943' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src
2012-02-27[snmp/agent] Updated release notes and preliminary appupMicael Karlberg
OTP-9943
2012-02-24[snmp/agent] Improve error handling while reading agent config filesMicael Karlberg
Improve error handling while reading agent config files. OTP-9943
2012-02-24[snmp] Fixed verbosity timestampMicael Karlberg
2012-02-23Merge branch 'bmk/snmp/unused_variables/r15/20120214' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15 Conflicts: lib/snmp/src/app/snmp.appup.src
2012-02-23Merge branch 'bmk/snmp/manager/threaded_net_if/OTP-9876' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/test/snmp_agent_test.erl lib/snmp/vsn.mk
2012-02-22[snmp] Updated release notes and appup fileMicael Karlberg
OTP-9876 OTP-9940
2012-02-22[snmp] Add log_to_io function for both manager and agentMicael Karlberg
Add a log_to_io Audit Trail Log converter function for both the manager (snmpm) and agent (snmpa). Also fixed the converter functions in the logger module, snmp_log, which previously sometimes did not work properly (re-open an already open log with different properties). OTP-9940
2012-02-22[snmp/manager] Reworked the ATL mechanism for the net-if-mtMicael Karlberg
Removed the separate logger process. Instead open the log from each worker process and log from them directly. OTP-9876
2012-02-22[snmp/manager] Preliminary appupMicael Karlberg
Add preliminary appup. Also reorder app file. OTP-9876
2012-02-22[snmp/manager] Added test cases for net_if-mtMicael Karlberg
Made the inform_request table public (to allow the worker processes to insert data). Also added test cases (this was done by adding "mt" groups). OTP-9876
2012-02-22[snmp/manager] Misc cleanupMicael Karlberg
OTP-9876
2012-02-22[snmp/manager] Introduced new net-if moduleMicael Karlberg
Moved the net-if multi-threading to a separate module, snmpm_net_if_mt. Restored the old module to its previous state. OTP-9876
2012-02-14Merge branch 'bmk/snmp/unused_variables/r14/20120214' into ↵Micael Karlberg
bmk/snmp/unused_variables/r15/20120214 Conflicts: lib/snmp/src/agent/snmpa_local_db.erl
2012-02-14[snmp] Removed warnings for unused variablesMicael Karlberg
2012-02-02Merge branch 'maint-r14' into maint-r15Björn Gustavsson
* maint-r14: Prepare release [snmp/agent] Add proper release notes [snmp/agent] Wrong OID used for error message reply [snmp/agent] Added backup check for local_db [snmp/agent] Simultaneous snmpa:backup/1,2 calls interfere Conflicts: erts/doc/src/notes.xml erts/vsn.mk
2012-01-31Merge branch 'maint-r13' into bmk/snmp/snmp4217_integration/r14Micael Karlberg
Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/doc/src/snmpa.xml lib/snmp/src/agent/snmpa_mpd.erl lib/snmp/src/app/snmp.appup.src lib/snmp/test/snmp_agent_test.erl lib/snmp/vsn.mk
2012-01-27Merge branch ↵Micael Karlberg
'bmk/snmp/agent/wrong_oid_for_snmpUnknownPDUHandlers2/OTP-9747/r13' into bmk/snmp/snmp4174_integration/r13 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/vsn.mk
2012-01-26[snmp/agent] Wrong OID used for error message replyMicael Karlberg
When sending an error message (reply) regarding snmpUnknownPDUHandlers, the agent used the wrong OID. OTP-9747
2012-01-26[snmp/agent] Added backup check for local_dbMicael Karlberg
Added a backup check also for local_db (same as for the mib-server). Updated appup and set proper version (vsn.mk). Finally added test case for issue. OTP-9884
2012-01-25[snmp/agent] Simultaneous snmpa:backup/1,2 calls interfereMicael Karlberg
Simultaneous snmpa#backup">snmpa:backup/1,2 calls interfere. The master agent did not check if a backup was already in progress when a backup request was accepted OTP-9884
2012-01-25Merge branch 'maint-r14' into bmk/snmp/snmp4216_integration/r15Micael Karlberg
Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/doc/src/notes_history.xml
2012-01-24[snmp] Merged from R13B and also fixed appupMicael Karlberg
Merge from R13B maintenance branch (snmp-4.17.3), fixed appup and source diff (there is some between snmp-4.17.3 and 4.21.6). Merge branch 'maint-r13' into bmk/snmp/snmp4216_integration/r14 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/agent/snmpa.erl lib/snmp/src/agent/snmpa_agent.erl lib/snmp/src/agent/snmpa_trap.erl lib/snmp/src/app/snmp.appup.src lib/snmp/test/snmp_agent_test.erl lib/snmp/vsn.mk
2012-01-20Merge branch 'bmk/snmp/agent/update_mibs_cache_funcs/OTP-9868' into ↵Micael Karlberg
bmk/snmp/snmp4173_integration/r13 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/vsn.mk
2012-01-19[snmp/agent] Incorrect mib server cache gclimit updateMicael Karlberg
Mib server cache gclimit update function incorrectly calls age update function. The gclimit update function update_mibs_cache_gclimit/1 incorrectly called update_mibs_cache_age/2 update function. OTP-9868