s_config Struct Reference


Data Fields

char configfile [255]
 name of the config file
char * htmlmsgfile
 name of the HTML file used for messages
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.
char * httpdrealm
 HTTP Authentication realm.
char * httpdusername
 Username for HTTP authentication.
char * httpdpassword
 Password for HTTP authentication.
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 123 of file conf.h.


Field Documentation

name of the config file

Definition at line 124 of file conf.h.

Referenced by config_init(), and parse_commandline().

name of the HTML file used for messages

Definition at line 125 of file conf.h.

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

wdctl path to socket

Definition at line 126 of file conf.h.

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

internal path to socket

Definition at line 127 of file conf.h.

Referenced by config_init(), and parse_commandline().

if daemon > 0, use daemon mode

Definition at line 128 of file conf.h.

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

Debug information verbosity.

Definition at line 129 of file conf.h.

Referenced by config_init(), and parse_commandline().

External network interface name for firewall rules.

Definition at line 130 of file conf.h.

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

ID of the Gateway, sent to central server.

Definition at line 132 of file conf.h.

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

Interface we will accept connections on.

Definition at line 134 of file conf.h.

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

Internal IP address for our web server.

Definition at line 135 of file conf.h.

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

Port the webserver will run on.

Definition at line 137 of file conf.h.

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

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

Definition at line 140 of file conf.h.

Referenced by config_init(), and config_read().

Used by libhttpd, not sure what it does.

Definition at line 142 of file conf.h.

Referenced by config_init(), and config_read().

HTTP Authentication realm.

Definition at line 144 of file conf.h.

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

Username for HTTP authentication.

Definition at line 145 of file conf.h.

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

Password for HTTP authentication.

Definition at line 146 of file conf.h.

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

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

Definition at line 147 of file conf.h.

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

Frequency the the client timeout check thread will run.

Definition at line 149 of file conf.h.

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

boolean, wether to log to syslog

Definition at line 151 of file conf.h.

Referenced by config_init(), and parse_commandline().

facility to use when using syslog for logging

Definition at line 152 of file conf.h.

Referenced by config_init(), and config_read().

firewall rules

Definition at line 154 of file conf.h.

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

list of trusted macs

Definition at line 155 of file conf.h.

Referenced by config_init(), and iptables_fw_init().


The documentation for this struct was generated from the following files:

Generated on Fri Sep 25 15:28:43 2009 for WifiDog by  doxygen 1.5.5