nuauth_params Struct Reference
[NuauthConf]

#include <nuauth_params.h>


Data Fields

char * configfile
char * authreq_port
char * userpckt_port
int packet_timeout
int session_duration
 User session duration in second.
int debug_level
int debug_areas
int log_users
int log_users_sync
 See log_user_packet().
int log_users_strict
int log_users_without_realm
int drop_if_no_logging
unsigned int max_unassigned_messages
int prio_to_nok
int single_user_client_limit
unsigned int single_ip_client_limit
int reject_after_timeout
int reject_authenticated_drop
 Uses REJECT instead of DROP if set.
int nuauth_uses_fake_sasl
 Authentication use OLD compatble sasl method if set to 1.
int uses_utf8
 Use UTF-8 charset in exchanges if set to 1.
int push
unsigned int push_delay
int proto_wait_delay
int do_ip_authentication
int hello_authentication
char * nufw_srv
char * client_srv
int datas_persistance
int acl_cache
int user_cache
in6_addr * authorized_servers
GHashTable * periods
gint nufw_has_conntrack
gint nufw_has_fixed_timeout
int nbacl_check
int nbipauth_check
int nbuser_check
int nbloggers
int nb_session_loggers
int nb_auth_checkers
char * krb5_service
char * krb5_hostname
char * krb5_realm


Detailed Description

Definition at line 49 of file nuauth_params.h.


Field Documentation

int nuauth_params::acl_cache

Definition at line 135 of file nuauth_params.h.

Referenced by acl_check_and_decide(), compare_nuauthparams(), free_connection(), init_audit(), init_nuauthconf(), init_nuauthdata(), main_cleanup(), nuauth_deinit(), nuauth_process_poll(), and nuauth_reload().

struct in6_addr* nuauth_params::authorized_servers

Definition at line 138 of file nuauth_params.h.

Referenced by build_prenuauthconf(), and free_nuauth_params().

char* nuauth_params::authreq_port

Definition at line 52 of file nuauth_params.h.

Referenced by compare_nuauthparams(), create_message_packet(), free_nuauth_params(), init_nuauthconf(), and tls_nufw_start_servers().

char* nuauth_params::client_srv

Definition at line 128 of file nuauth_params.h.

Referenced by compare_nuauthparams(), init_nuauthconf(), and tls_user_start_servers().

char* nuauth_params::configfile

Definition at line 50 of file nuauth_params.h.

Referenced by configure_app(), free_nuauth_params(), nuauth_reload(), and tls_nufw_init().

int nuauth_params::datas_persistance

Definition at line 134 of file nuauth_params.h.

Referenced by cache_insert(), cache_refresh(), and init_nuauthconf().

int nuauth_params::debug_areas

Definition at line 70 of file nuauth_params.h.

Referenced by acl_check(), apply_decision(), authpckt_new_connection(), authpckt_new_connection_v3(), configure_app(), getugroups(), init_nuauthconf(), user_check(), and user_request().

int nuauth_params::debug_level

Definition at line 69 of file nuauth_params.h.

Referenced by configure_app(), init_nuauthconf(), nuauth_process_usr1(), nuauth_process_usr2(), nuauth_reload(), and nuauthconf_from_cmdline().

int nuauth_params::do_ip_authentication

Definition at line 124 of file nuauth_params.h.

Referenced by apply_new_config(), compare_nuauthparams(), init_nuauthconf(), load_modules(), start_all_thread_pools(), stop_all_thread_pools(), and wait_all_thread_pools().

int nuauth_params::drop_if_no_logging

Definition at line 83 of file nuauth_params.h.

Referenced by apply_decision(), init_nuauthconf(), modules_user_logs(), and treat_nufw_request().

int nuauth_params::hello_authentication

Definition at line 126 of file nuauth_params.h.

Referenced by acl_check_and_decide(), build_prenuauthconf(), compare_nuauthparams(), free_threads(), init_nuauthconf(), init_nuauthdata(), main_cleanup(), parse_dgram(), and stop_threads().

char* nuauth_params::krb5_hostname

Definition at line 157 of file nuauth_params.h.

Referenced by init_nuauthconf(), and sasl_user_check().

char* nuauth_params::krb5_realm

Definition at line 158 of file nuauth_params.h.

Referenced by init_nuauthconf(), and sasl_user_check().

char* nuauth_params::krb5_service

Definition at line 156 of file nuauth_params.h.

Referenced by init_nuauthconf(), and sasl_user_check().

int nuauth_params::log_users

Definition at line 73 of file nuauth_params.h.

Referenced by init_nuauthconf(), log_user_packet(), and log_user_session().

int nuauth_params::log_users_strict

Definition at line 78 of file nuauth_params.h.

Referenced by init_nuauthconf(), log_state_open(), and user_packet_logs().

int nuauth_params::log_users_sync

See log_user_packet().

Definition at line 75 of file nuauth_params.h.

Referenced by apply_new_config(), compare_nuauthparams(), init_nuauthconf(), log_user_packet(), start_all_thread_pools(), stop_all_thread_pools(), take_decision(), and wait_all_thread_pools().

int nuauth_params::log_users_without_realm

Definition at line 79 of file nuauth_params.h.

Referenced by init_nuauthconf(), and tls_sasl_connect_ok().

unsigned int nuauth_params::max_unassigned_messages

Definition at line 84 of file nuauth_params.h.

Referenced by act_on_loggers_processing(), and init_nuauthconf().

int nuauth_params::nb_auth_checkers

Definition at line 153 of file nuauth_params.h.

Referenced by init_nuauthconf(), and tls_user_servers_init().

int nuauth_params::nb_session_loggers

Definition at line 152 of file nuauth_params.h.

Referenced by apply_new_config(), and init_nuauthconf().

int nuauth_params::nbacl_check

Definition at line 148 of file nuauth_params.h.

Referenced by apply_new_config(), init_nuauthconf(), and start_all_thread_pools().

int nuauth_params::nbipauth_check

Definition at line 149 of file nuauth_params.h.

Referenced by apply_new_config(), init_nuauthconf(), and start_all_thread_pools().

int nuauth_params::nbloggers

Definition at line 151 of file nuauth_params.h.

Referenced by apply_new_config(), compare_nuauthparams(), init_nuauthconf(), and start_all_thread_pools().

int nuauth_params::nbuser_check

Definition at line 150 of file nuauth_params.h.

Referenced by apply_new_config(), init_nuauthconf(), and start_all_thread_pools().

int nuauth_params::nuauth_uses_fake_sasl

Authentication use OLD compatble sasl method if set to 1.

Definition at line 114 of file nuauth_params.h.

Referenced by init_nuauthconf(), and sasl_user_check().

gint nuauth_params::nufw_has_conntrack

Definition at line 144 of file nuauth_params.h.

Referenced by build_prenuauthconf(), compare_nuauthparams(), init_nuauthconf(), init_nuauthdata(), main_cleanup(), and take_decision().

gint nuauth_params::nufw_has_fixed_timeout

Definition at line 145 of file nuauth_params.h.

Referenced by build_prenuauthconf(), init_nuauthconf(), and limited_connection_handler().

char* nuauth_params::nufw_srv

Definition at line 127 of file nuauth_params.h.

Referenced by compare_nuauthparams(), init_nuauthconf(), and tls_nufw_start_servers().

int nuauth_params::packet_timeout

Definition at line 56 of file nuauth_params.h.

Referenced by get_old_conn(), init_nuauthconf(), and parse_options().

GHashTable* nuauth_params::periods

Hash containing period definition

Definition at line 141 of file nuauth_params.h.

Referenced by free_nuauth_params(), get_end_of_period_for_time_t(), init_nuauthdata(), and nuauth_reload().

int nuauth_params::prio_to_nok

decision related, see take_decision()

It is used to set acl policy:

Definition at line 94 of file nuauth_params.h.

Referenced by acl_check(), init_nuauthconf(), take_decision(), and update_decision().

int nuauth_params::proto_wait_delay

Definition at line 123 of file nuauth_params.h.

Referenced by get_proto_info(), and init_nuauthconf().

int nuauth_params::push

nuauth uses push mode if set to 1, else the old poll mode is used

Definition at line 121 of file nuauth_params.h.

Referenced by build_prenuauthconf(), compare_nuauthparams(), free_threads(), init_nuauthconf(), init_nuauthdata(), main_cleanup(), search_and_fill(), stop_threads(), and tls_sasl_connect_ok().

unsigned int nuauth_params::push_delay

Definition at line 122 of file nuauth_params.h.

Referenced by init_nuauthconf(), and warn_clients().

int nuauth_params::reject_after_timeout

When timeout is reached, use DECISION_REJECT instead of DECISION_DROP (if different than 0). Default value is 0.

Definition at line 104 of file nuauth_params.h.

Referenced by clean_connections_list(), and init_nuauthconf().

int nuauth_params::reject_authenticated_drop

Uses REJECT instead of DROP if set.

When an acl match but user is not in correct group, use DECISION_REJECT instead of DECISION_DROP (if different than 0). Default value is 0.

Definition at line 111 of file nuauth_params.h.

Referenced by init_nuauthconf(), and take_decision().

int nuauth_params::session_duration

User session duration in second.

Default value: SESSION_DURATION.

A user session is automatically disconnected after this duration.

Definition at line 66 of file nuauth_params.h.

Referenced by init_nuauthconf(), tls_user_check_activity(), and user_session_modify().

unsigned int nuauth_params::single_ip_client_limit

Definition at line 99 of file nuauth_params.h.

Referenced by build_prenuauthconf(), init_nuauthconf(), and tls_sasl_connect().

int nuauth_params::single_user_client_limit

Definition at line 97 of file nuauth_params.h.

Referenced by build_prenuauthconf(), init_module_from_conf(), init_nuauthconf(), and tls_sasl_connect_ok().

int nuauth_params::user_cache

Definition at line 136 of file nuauth_params.h.

Referenced by compare_nuauthparams(), init_nuauthconf(), init_nuauthdata(), and nuauth_deinit().

char* nuauth_params::userpckt_port

Definition at line 53 of file nuauth_params.h.

Referenced by compare_nuauthparams(), feed_target_nuauth(), free_nuauth_params(), init_nuauthconf(), and tls_user_start_servers().

int nuauth_params::uses_utf8

Use UTF-8 charset in exchanges if set to 1.

Definition at line 117 of file nuauth_params.h.

Referenced by configure_app(), init_nuauthconf(), string_escape(), userdb_checkpass(), and verify_user_password().


The documentation for this struct was generated from the following file:
Generated on Thu Nov 20 04:00:45 2008 for NuFW by  doxygen 1.4.7