dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/tests
russell ef09b20743 Add an API for reporting security events, and a security event logging module.
This commit introduces the security events API.  This API is to be used by
Asterisk components to report events that have security implications.
A simple example is when a connection is made but fails authentication.  These
events can be used by external tools manipulate firewall rules or something
similar after detecting unusual activity based on security events.

Inside of Asterisk, the events go through the ast_event API.  This means that
they have a binary encoding, and it is easy to write code to subscribe to these
events and do something with them.

One module is provided that is a subscriber to these events - res_security_log.
This module turns security events into a parseable text format and sends them
to the "security" logger level.  Using logger.conf, these log entries may be
sent to a file, or to syslog.

One service, AMI, has been fully updated for reporting security events.
AMI was chosen as it was a fairly straight forward service to convert.
The next target will be chan_sip.  That will be more complicated and will
be done as its own project as the next phase of security events work.

For more information on the security events framework, see the documentation
generated from doc/tex/.  "make asterisk.pdf"

Review: https://reviewboard.asterisk.org/r/273/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@206021 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-11 19:15:03 +00:00
..
Makefile
test_ami_security_events.sh Add an API for reporting security events, and a security event logging module. 2009-07-11 19:15:03 +00:00
test_dlinklists.c Introducing doubly linked lists to trunk from branch team/murf/bug11210. 2008-04-16 17:14:18 +00:00
test_heap.c Disable test modules by default. 2009-04-10 16:00:29 +00:00
test_logger.c Add ability for modules to dynamically register logger levels 2009-05-15 13:13:47 +00:00
test_sched.c Minor changes in test modules 2009-05-04 12:52:44 +00:00
test_security_events.c Add an API for reporting security events, and a security event logging module. 2009-07-11 19:15:03 +00:00
test_skel.c Minor changes in test modules 2009-05-04 12:52:44 +00:00
test_substitution.c Merge the new Channel Event Logging (CEL) subsystem. 2009-06-26 15:28:53 +00:00