Collaboration diagram for Syslog logging module:
|
Functions | |
| G_MODULE_EXPORT uint32_t | get_api_version () |
| G_MODULE_EXPORT gint | user_packet_logs (void *element, tcp_state_t state, gpointer params) |
| G_MODULE_EXPORT int | user_session_logs (user_session_t *c_session, session_state_t state, gpointer params) |
| G_MODULE_EXPORT gboolean | init_module_from_conf (module_t *module) |
| G_MODULE_EXPORT gboolean | unload_module_with_params (gpointer params_p) |
| G_MODULE_EXPORT void | auth_error_log (user_session_t *session, nuauth_auth_error_t error, const char *text, gpointer params_ptr) |
| G_MODULE_EXPORT void auth_error_log | ( | user_session_t * | session, | |
| nuauth_auth_error_t | error, | |||
| const char * | text, | |||
| gpointer | params_ptr | |||
| ) |
Definition at line 199 of file syslog.c.
References format_ipv6(), and session.
Here is the call graph for this function:

| G_MODULE_EXPORT uint32_t get_api_version | ( | ) |
| G_MODULE_EXPORT gboolean init_module_from_conf | ( | module_t * | module | ) |
| G_MODULE_EXPORT gboolean unload_module_with_params | ( | gpointer | params_p | ) |
| G_MODULE_EXPORT gint user_packet_logs | ( | void * | element, | |
| tcp_state_t | state, | |||
| gpointer | params | |||
| ) |
This one forgot the treatment of ESTABLISHED and CLOSE case.
Definition at line 53 of file syslog.c.
References accounted_connection::bytes_in, accounted_connection::bytes_out, tracking_t::daddr, tracking_t::dest, format_ipv6(), connection_t::iface_nfo, iface_nfo_t::indev, connection_t::log_prefix, iface_nfo_t::outdev, accounted_connection::packets_in, accounted_connection::packets_out, tracking_t::protocol, tracking_t::saddr, tracking_t::source, TCP_STATE_CLOSE, TCP_STATE_DROP, TCP_STATE_ESTABLISHED, TCP_STATE_OPEN, accounted_connection::timestamp, connection_t::timestamp, accounted_connection::tracking, connection_t::tracking, and connection_t::username.
Here is the call graph for this function:

| G_MODULE_EXPORT int user_session_logs | ( | user_session_t * | c_session, | |
| session_state_t | state, | |||
| gpointer | params | |||
| ) |
Definition at line 166 of file syslog.c.
References user_session_t::addr, format_ipv6(), SESSION_CLOSE, SESSION_OPEN, and user_session_t::user_name.
Here is the call graph for this function:

1.4.7