27 #ifndef __AST_SECURITY_EVENTS_DEFS_H__ 28 #define __AST_SECURITY_EVENTS_DEFS_H__ 33 #if defined(__cplusplus) || defined(c_plusplus) 139 #define AST_SEC_EVT(e) ((struct ast_security_event_common *) e) 208 #define AST_SECURITY_EVENT_FAILED_ACL_VERSION 1 229 #define AST_SECURITY_EVENT_INVAL_ACCT_ID_VERSION 1 245 #define AST_SECURITY_EVENT_SESSION_LIMIT_VERSION 1 261 #define AST_SECURITY_EVENT_MEM_LIMIT_VERSION 1 277 #define AST_SECURITY_EVENT_LOAD_AVG_VERSION 1 293 #define AST_SECURITY_EVENT_REQ_NO_SUPPORT_VERSION 1 314 #define AST_SECURITY_EVENT_REQ_NOT_ALLOWED_VERSION 1 340 #define AST_SECURITY_EVENT_AUTH_METHOD_NOT_ALLOWED_VERSION 1 361 #define AST_SECURITY_EVENT_REQ_BAD_FORMAT_VERSION 1 387 #define AST_SECURITY_EVENT_SUCCESSFUL_AUTH_VERSION 1 408 #define AST_SECURITY_EVENT_UNEXPECTED_ADDR_VERSION 2 429 #define AST_SECURITY_EVENT_CHAL_RESP_FAILED_VERSION 1 460 #define AST_SECURITY_EVENT_INVAL_PASSWORD_VERSION 2 491 #define AST_SECURITY_EVENT_CHAL_SENT_VERSION 1 512 #define AST_SECURITY_EVENT_INVAL_TRANSPORT_VERSION 1 525 #if defined(__cplusplus) || defined(c_plusplus) uint32_t using_password
Using password - if a password was used or not.
ast_security_event_severity
the severity of a security event
An attempt at basic password authentication failed.
ast_security_event_type
Security event types.
const char * auth_method
Auth method attempted.
FYI FWIW, Successful authentication has occurred.
const char * expected_response
Response expected to be received.
const char * challenge
Challenge provided.
An attempt at challenge/response auth failed.
const char * transport
Attempted transport.
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.
Request denied because we don't support it.
Checking against an IP access control list failed.
const char * challenge
Challenge provided.
const char * request_type
Request type that was made.
The attempted authentication method is not allowed.
A challenge was sent out.
const char * response
Response received.
Unexpected source address for a session in progress.
Common structure elements.
A request was made that is not allowed.
An unexpected source address was seen for a session in progress.
const char * received_hash
Hash received.
uint32_t version
security event version
Socket address structure.
Informational event, not something that has gone wrong.
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.
enum ast_transport transport
Challenge was sent out, informational.
const struct ast_sockaddr * addr
Auth method used not allowed.
Wrapper for network related headers, masking differences between various operating systems...
Attempt to contact peer on invalid transport.
const char * received_challenge
Challenge received.
Request denied because of a memory limit.
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.
This must stay at the end.
Invalid account ID specified (invalid username, for example)
const char * challenge
Challenge sent.
const struct timeval * session_tv
Session timeval, when the session started.
Something has gone wrong.
Request denied because it's not allowed.
const char * request_type
Request type that was made.
An attempt to contact a peer on an invalid transport.
A request was made that we understand, but do not support.