27 #ifndef __AST_SECURITY_EVENTS_DEFS_H__
28 #define __AST_SECURITY_EVENTS_DEFS_H__
32 #if defined(__cplusplus) || defined(c_plusplus)
142 #define AST_SEC_EVT(e) ((struct ast_security_event_common *) e)
145 const struct sockaddr_in *
sin;
211 #define AST_SECURITY_EVENT_FAILED_ACL_VERSION 1
232 #define AST_SECURITY_EVENT_INVAL_ACCT_ID_VERSION 1
248 #define AST_SECURITY_EVENT_SESSION_LIMIT_VERSION 1
264 #define AST_SECURITY_EVENT_MEM_LIMIT_VERSION 1
280 #define AST_SECURITY_EVENT_LOAD_AVG_VERSION 1
296 #define AST_SECURITY_EVENT_REQ_NO_SUPPORT_VERSION 1
317 #define AST_SECURITY_EVENT_REQ_NOT_ALLOWED_VERSION 1
343 #define AST_SECURITY_EVENT_AUTH_METHOD_NOT_ALLOWED_VERSION 1
364 #define AST_SECURITY_EVENT_REQ_BAD_FORMAT_VERSION 1
390 #define AST_SECURITY_EVENT_SUCCESSFUL_AUTH_VERSION 1
406 #define AST_SECURITY_EVENT_UNEXPECTED_ADDR_VERSION 1
427 #define AST_SECURITY_EVENT_CHAL_RESP_FAILED_VERSION 1
458 #define AST_SECURITY_EVENT_INVAL_PASSWORD_VERSION 1
466 #if defined(__cplusplus) || defined(c_plusplus)
ast_security_event_severity
the severity of a security event
An attempt at basic password authentication failed.
struct ast_security_event_common common
Common security event descriptor elements.
enum ast_security_event_type event_type
The security event sub-type.
ast_security_event_type
Security event types.
const char * auth_method
Auth method attempted.
FYI FWIW, Successful authentication has occurred.
struct ast_security_event_ipv4_addr remote_addr
Remote address the request came from.
const char * expected_response
Response expected to be received.
An attempt at challenge/response auth failed.
const char * service
Service that generated the event.
const char * account_id
Account ID, specific to the service type.
const char * module
Module, Normally the AST_MODULE define.
ast_security_event_transport_type
Transport types.
Request denied because we don't support it.
Checking against an IP access control list failed.
const char * challenge
Challenge provided.
struct ast_security_event_common common
Common security event descriptor elements.
const char * request_type
Request type that was made.
The attempted authentication method is not allowed.
const char * response
Response received.
Unexpected source address for a session in progress.
Common structure elements.
struct ast_security_event_common common
Common security event descriptor elements.
A request was made that is not allowed.
An unexpected source address was seen for a session in progress.
struct ast_security_event_common common
Common security event descriptor elements.
uint32_t version
security event version
struct ast_security_event_ipv4_addr local_addr
Local address the request came in on.
Informational event, not something that has gone wrong.
enum ast_security_event_transport_type transport
An attempt at basic password auth failed.
Request received with bad formatting.
Request denied because of a session limit.
const char * session_id
Session ID, specific to the service type.
const char * request_params
Request type that was made.
Successful authentication.
struct ast_security_event_common common
Common security event descriptor elements.
struct ast_security_event_common common
Common security event descriptor elements.
Auth method used not allowed.
Wrapper for network related headers, masking differences between various operating systems...
struct ast_security_event_common common
Common security event descriptor elements.
Request denied because of a memory limit.
struct ast_security_event_common common
Common security event descriptor elements.
struct timeval * session_tv
Session timeval, when the session started.
Load Average limit reached.
Request denied because of a load average limit.
An attempt at challenge/response authentication failed.
const char * acl_name
ACL name, identifies which ACL was hit.
struct ast_security_event_common common
Common security event descriptor elements.
struct ast_security_event_common common
Common security event descriptor elements.
Invalid account ID specified (invalid username, for example)
struct ast_security_event_common common
Common security event descriptor elements.
struct ast_security_event_common common
Common security event descriptor elements.
struct ast_security_event_ipv4_addr expected_addr
Expected remote address.
Something has gone wrong.
Request denied because it's not allowed.
const char * request_type
Request type that was made.
A request was made that we understand, but do not support.