aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent
AgeCommit message (Collapse)Author
2013-05-16[snmp/agent] Fixed snmpa_mib_data behaviour and relatedMicael Karlberg
Finalized snmpa_mib_data behaviour. Updated mib-server and tttn module accordingly. Also assigned proper version, updated app and appup files.
2013-05-16[snmp/agent] Added some description and the behaviour attributeMicael Karlberg
2013-04-30[snmp/agent] Some minor documentation additionsMicael Karlberg
2013-04-28[snmp/agent] Some minor mib_data behaviour changesMicael Karlberg
2013-04-28[snmp/agent] Renamed the mib_data (backend) modulesMicael Karlberg
Renmed the two backend modules: snmpa_mib_data_tree1.erl -> snmpa_mib_data_tttn.erl snmpa_mib_data_tree2.erl -> snmpa_mib_data_ttln.erl TTTN - TupleTreeTupleNodes TTLN - TupleTreeListNodes
2013-04-26[snmp/agent] New behaviour module (snmpa_mib_data) and two impl modsMicael Karlberg
The old mib-server data module (snmpa_mib_data) has been changed into a behaviour module. The old implementation is now instead in a new module snmpa_mib_data_tree1. A new backend module has been added, still only very preliminary, snmpa_mib_data_tree2.
2013-04-26[snmp/agent] Preliminary change to the mib-server tree-typeMicael Karlberg
2013-04-05Use erlang:demonitor(Ref, [flush]) where applicableLoïc Hoguin
2013-01-09[snmp/agent] Proper copyright end year (2013)Micael Karlberg
2013-01-09Merge branch 'lf/snmp-tuple-fun' into bmk/snmp/remove_tuple_fun/OTP-10672Micael Karlberg
2013-01-09Prepare OTP files for Unicode as default encodingHans Bolinder
2012-10-26Remove runtime warning in snmpa_agent because of tuple fun usageLuca Favatella
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
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/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-01[snmp/agent] CleanupMicael 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-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
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-24[snmp/agent] Improve error handling while reading agent config filesMicael Karlberg
Improve error handling while reading agent config files. OTP-9943
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] 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-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
2012-01-17Merge branch 'bmk/snmp/snmp4215_integration/r14' into ↵Micael Karlberg
bmk/snmp/snmp4215_integration/r15 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/doc/src/notes_history.xml lib/snmp/src/app/snmp.appup.src lib/snmp/vsn.mk
2012-01-12Merge branch 'bmk/snmp/agent/synchronizing_vacm_dumping/r14/OTP-9851' into ↵Micael Karlberg
bmk/snmp/snmp4215_integration/r14 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src
2012-01-12[snmp/agent] Removed the (unused) serializer partMicael Karlberg
OTP-9851
2012-01-12[snmp/agent] Use unique temporary file name during vacm table dumnpingMicael Karlberg
Removed the use synchronization mechanism during vacm table dumping. This could not be placed in the master agent since it was sometimes used from the master agent. Also is was credated and used from the top agent supervisor, befor the master agent process was created... OTP-9851
2012-01-12[snmp/agent] Synchronization feature addedMicael Karlberg
OTP-9851
2012-01-12[snmp/agent] Creating a unique temporary file whe dumping vacmMicael Karlberg
Attempting to create a unique temporary file when dumping the vacm table to disk. OTP-9851
2012-01-05[snmp/agent] Found another old-style fun (2-tuple)Micael Karlberg
OTP-9783
2012-01-05[snmp/agent] Removed use of old style tuple funsMicael Karlberg
OTP-9783
2011-12-21[snmp] Updated doc and fixed wrequest create macrosMicael Karlberg
Release notes updated, together with documentation of the new config option. Also fixed the wrequest create macros (forgot end parantesis). OTP-9700