s_config Struct Reference


Data Fields

char configfile [255]
 name of the config file
char * wdctl_sock
 wdctl path to socket
char * internal_sock
 internal path to socket
int daemon
 if daemon > 0, use daemon mode
int debuglevel
 Debug information verbosity.
char * external_interface
 External network interface name for firewall rules.
char * gw_id
 ID of the Gateway, sent to central server.
char * gw_interface
 Interface we will accept connections on.
char * gw_address
 Internal IP address for our web server.
int gw_port
 Port the webserver will run on.
t_auth_servauth_servers
 Auth servers list.
char * httpdname
 Name the web server will return when replying to a request.
int httpdmaxconn
 Used by libhttpd, not sure what it does.
int clienttimeout
 How many CheckIntervals before a client must be re-authenticated.
int checkinterval
 Frequency the the client timeout check thread will run.
int log_syslog
 boolean, wether to log to syslog
int syslog_facility
 facility to use when using syslog for logging
t_firewall_rulesetrulesets
 firewall rules
t_trusted_mactrustedmaclist
 list of trusted macs
char * socket
int command
char * param

Detailed Description

Configuration structure

Definition at line 121 of file conf.h.


Field Documentation

char s_config::configfile[255]

name of the config file

Definition at line 122 of file conf.h.

Referenced by config_init(), and parse_commandline().

char* s_config::wdctl_sock

wdctl path to socket

Definition at line 123 of file conf.h.

Referenced by config_init(), config_read(), and parse_commandline().

char* s_config::internal_sock

internal path to socket

Definition at line 124 of file conf.h.

Referenced by config_init(), and parse_commandline().

int s_config::daemon

if daemon > 0, use daemon mode

Definition at line 125 of file conf.h.

Referenced by _debug(), config_init(), config_init_override(), config_read(), and parse_commandline().

int s_config::debuglevel

Debug information verbosity.

Definition at line 126 of file conf.h.

Referenced by _debug(), config_init(), and parse_commandline().

char* s_config::external_interface

External network interface name for firewall rules.

Definition at line 127 of file conf.h.

Referenced by config_init(), config_read(), and iptables_fw_init().

char* s_config::gw_id

ID of the Gateway, sent to central server.

Definition at line 129 of file conf.h.

Referenced by authenticate_client(), config_init(), config_read(), and http_callback_404().

char* s_config::gw_interface

Interface we will accept connections on.

Definition at line 131 of file conf.h.

Referenced by config_init(), config_read(), config_validate(), and iptables_fw_init().

char* s_config::gw_address

Internal IP address for our web server.

Definition at line 132 of file conf.h.

Referenced by config_init(), config_read(), http_callback_404(), and iptables_fw_init().

int s_config::gw_port

Port the webserver will run on.

Definition at line 134 of file conf.h.

Referenced by config_init(), config_read(), http_callback_404(), and iptables_fw_init().

t_auth_serv* s_config::auth_servers

Auth servers list.

Definition at line 136 of file conf.h.

Referenced by _connect_auth_server(), config_init(), config_validate(), fw_sync_with_authserver(), get_auth_server(), get_status_text(), http_callback_auth(), iptables_fw_set_authservers(), mark_auth_server_bad(), and parse_auth_server().

char* s_config::httpdname

Name the web server will return when replying to a request.

Definition at line 137 of file conf.h.

Referenced by config_init(), and config_read().

int s_config::httpdmaxconn

Used by libhttpd, not sure what it does.

Definition at line 139 of file conf.h.

Referenced by config_init(), and config_read().

int s_config::clienttimeout

How many CheckIntervals before a client must be re-authenticated.

Definition at line 141 of file conf.h.

Referenced by config_init(), config_read(), and fw_sync_with_authserver().

int s_config::checkinterval

Frequency the the client timeout check thread will run.

Definition at line 143 of file conf.h.

Referenced by config_init(), config_read(), fw_sync_with_authserver(), thread_client_timeout_check(), and thread_ping().

int s_config::log_syslog

boolean, wether to log to syslog

Definition at line 145 of file conf.h.

Referenced by _debug(), config_init(), and parse_commandline().

int s_config::syslog_facility

facility to use when using syslog for logging

Definition at line 146 of file conf.h.

Referenced by _debug(), config_init(), and config_read().

t_firewall_ruleset* s_config::rulesets

firewall rules

Definition at line 148 of file conf.h.

Referenced by _parse_firewall_rule(), config_init(), and get_ruleset().

t_trusted_mac* s_config::trustedmaclist

list of trusted macs

Definition at line 149 of file conf.h.

Referenced by config_init(), get_status_text(), iptables_fw_init(), and parse_trusted_mac_list().


The documentation for this struct was generated from the following files:
Generated on Sun Apr 13 21:55:01 2008 for WifiDog by  doxygen 1.5.3