[asterisk-commits] russell: branch group/security_events r199580 - in /team/group/security_event...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 8 07:03:39 CDT 2009


Author: russell
Date: Mon Jun  8 07:03:35 2009
New Revision: 199580

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=199580
Log:
Add expected address IE

Modified:
    team/group/security_events/include/asterisk/event_defs.h
    team/group/security_events/main/event.c
    team/group/security_events/security_events.txt

Modified: team/group/security_events/include/asterisk/event_defs.h
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/security_events/include/asterisk/event_defs.h?view=diff&rev=199580&r1=199579&r2=199580
==============================================================================
--- team/group/security_events/include/asterisk/event_defs.h (original)
+++ team/group/security_events/include/asterisk/event_defs.h Mon Jun  8 07:03:35 2009
@@ -137,8 +137,9 @@
 	AST_EVENT_IE_REQUEST_PARAMS = 0x0017,
 	AST_EVENT_IE_AUTH_METHOD    = 0x0018,
 	AST_EVENT_IE_SEVERITY       = 0x0019,
+	AST_EVENT_IE_EXPECTED_ADDR  = 0x001A,
 	/*! \brief Must be the last IE value +1 */
-	AST_EVENT_IE_TOTAL          = 0x001A,
+	AST_EVENT_IE_TOTAL          = 0x001B,
 };
 
 /*!

Modified: team/group/security_events/main/event.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/security_events/main/event.c?view=diff&rev=199580&r1=199579&r2=199580
==============================================================================
--- team/group/security_events/main/event.c (original)
+++ team/group/security_events/main/event.c Mon Jun  8 07:03:35 2009
@@ -226,6 +226,7 @@
 	[AST_EVENT_IE_REQUEST_PARAMS] = { AST_EVENT_IE_PLTYPE_STR,  "RequestParams" },
 	[AST_EVENT_IE_AUTH_METHOD]    = { AST_EVENT_IE_PLTYPE_STR,  "AuthMethod" },
 	[AST_EVENT_IE_SEVERITY]       = { AST_EVENT_IE_PLTYPE_STR,  "Severity" },
+	[AST_EVENT_IE_EXPECTED_ADDR]  = { AST_EVENT_IE_PLTYPE_STR,  "ExpectedAddress" },
 };
 
 const char *ast_event_get_type_name(const struct ast_event *event)

Modified: team/group/security_events/security_events.txt
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/security_events/security_events.txt?view=diff&rev=199580&r1=199579&r2=199580
==============================================================================
--- team/group/security_events/security_events.txt (original)
+++ team/group/security_events/security_events.txt Mon Jun  8 07:03:35 2009
@@ -253,6 +253,12 @@
      -> IPV4/UDP/192.168.1.2/5060
      -> IPV4/TCP/192.168.1.2/5038
 
+IE: ExpectedAddress
+Content: This is the address that was expected to be the remote address.
+Examples:
+     -> IPV4/UDP/192.168.1.2/5060
+     -> IPV4/TCP/192.168.1.2/5038
+
 IE: EventTV
 Content: This is the timestamp of when the event occurred.
 Values: <seconds>-<microseconds> since epoch




More information about the asterisk-commits mailing list