aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent
AgeCommit message (Collapse)Author
2013-01-09Prepare OTP files for Unicode as default encodingHans Bolinder
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
2011-12-21[snmp] Be more verbose in the worker procsMicael Karlberg
Add a verbosity printout for results of the requests sent to it). Also fixed handling sent_trap and appup. OTP-9700
2011-12-21[snmp] Add a more informative return value when the trap sending failsMicael Karlberg
OTP-9700
2011-12-21[snmp] Maximum number of varbinds in a Get-BULK responseMicael Karlberg
As a means to prevent DoS, maximum number of varbinds in a Get-BULK response has been limited. Also, made some changes to the worker process "API". OTP-9700.
2011-12-21[snmp] Mostly added some more verbosity stuffMicael Karlberg
OTP-9700
2011-12-09Update copyright yearsBjörn-Egil Dahlberg
2011-12-01Merge branch 'maint-r14'Micael Karlberg
Conflicts: lib/snmp/src/agent/snmpa_set_lib.erl lib/snmp/src/app/snmp.appup.src lib/snmp/src/compile/snmpc.src lib/snmp/vsn.mk
2011-11-29snmp: Eliminate use of tuple funBjörn Gustavsson
2011-11-25[agent] When sending an error message (reply) regardingMicael Karlberg
snmpUnknownPDUHandlers, the agent used the wrong OID. OTP-9747
2011-11-25[agent] Version 4.20 introduced a change that broke trap sending fromMicael Karlberg
subagents. Due to a bug in the test code, this was not discovered, until that bug was fixed. OTP-9745
2011-09-23Merge branch 'dev' into majorMicael Karlberg
Conflicts: lib/inets/doc/src/notes.xml lib/inets/src/inets_app/inets.appup.src lib/inets/test/httpc_cookie_SUITE.erl lib/inets/vsn.mk
2011-08-16emulator: Add a fourth element in exception stacktracesBjörn Gustavsson
This commit is a preparation for introducing location information (filename/line number) in stacktraces in exceptions. Currently a stack trace looks like: [{Mod1,Function1,Arity1}, . . . {ModN,FunctionN,ArityN}] Add a forth element to each tuple that can be used indication the filename and line number of the source file: [{Mod1,Function1,Arity1,Location1}, . . . {ModN,FunctionN,ArityN,LocationN}] In this commit, the fourth element will just be an empty list, and we will change all code that look at or manipulate stacktraces.