[asterisk-commits] russell: branch 1.6.2 r206050 - /branches/1.6.2/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Jul 11 14:30:47 CDT 2009
Author: russell
Date: Sat Jul 11 14:30:44 2009
New Revision: 206050
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=206050
Log:
Blocked revisions 206021,206049 via svnmerge
........
r206021 | russell | 2009-07-11 14:15:03 -0500 (Sat, 11 Jul 2009) | 27 lines
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/
........
r206049 | russell | 2009-07-11 14:30:19 -0500 (Sat, 11 Jul 2009) | 1 line
note the security events API in CHANGES
........
Modified:
branches/1.6.2/ (props changed)
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-blocked' - no diff available.
More information about the asterisk-commits
mailing list