EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
The App configuration structures. Used for configuring the networking services. More...
#include <config.h>
Data Fields | |
UT_array * | bin_path_array |
bool | ap_detect |
bool | exec_ap |
bool | generate_ssid |
bool | exec_radius |
bool | exec_dhcp |
bool | exec_capture |
bool | exec_mdns_forward |
bool | exec_firewall |
char | nat_bridge [IF_NAMESIZE] |
char | nat_interface [IF_NAMESIZE] |
char | bridge_prefix [IF_NAMESIZE] |
char | interface_prefix [IF_NAMESIZE] |
bool | create_interfaces |
bool | ignore_if_error |
bool | allocate_vlans |
int | default_open_vlanid |
UT_array * | config_ifinfo_array |
unsigned int | supervisor_control_port |
char | supervisor_control_path [MAX_OS_PATH_LEN] |
char | connection_db_path [MAX_OS_PATH_LEN] |
bool | allow_all_connections |
bool | allow_all_nat |
bool | set_ip_forward |
char | pid_file_path [MAX_OS_PATH_LEN] |
char | config_ini_path [MAX_OS_PATH_LEN] |
struct radius_conf | rconfig |
struct apconf | hconfig |
struct dns_conf | dns_config |
struct mdns_conf | mdns_config |
struct dhcp_conf | dhcp_config |
struct capture_conf | capture_config |
struct firewall_conf | firewall_config |
The App configuration structures. Used for configuring the networking services.
This is normally initialised with load_app_config() and cleaned with free_app_config().
bool app_config::allocate_vlans |
Flag if set allocates a random vlan for a device.
bool app_config::allow_all_connections |
Flag to allow all connections.
bool app_config::allow_all_nat |
Flag to allow all nat connections.
bool app_config::ap_detect |
Flag to detect an existing wifi interface to create the access point.
UT_array* app_config::bin_path_array |
The array including the paths of systems binaries.
char app_config::bridge_prefix[IF_NAMESIZE] |
The bridge prefix.
struct capture_conf app_config::capture_config |
Capture service configuration.
UT_array* app_config::config_ifinfo_array |
Interface list mapping bridge interface name and IP address range.
char app_config::config_ini_path[MAX_OS_PATH_LEN] |
Path to the config.ini file.
char app_config::connection_db_path[MAX_OS_PATH_LEN] |
Specifies the path to the connection sqlite3 dbs
bool app_config::create_interfaces |
Flag to create the WiFi subnet interfaces.
int app_config::default_open_vlanid |
Sets the default vlan index for open connections or if MAC is not in the list of connections.
struct dhcp_conf app_config::dhcp_config |
DHCP service configuration.
struct dns_conf app_config::dns_config |
DNS service configuration.
bool app_config::exec_ap |
Flag to execute the ap service.
bool app_config::exec_capture |
Flag to execute the capture service.
bool app_config::exec_dhcp |
Flag to execute the dhcp service.
bool app_config::exec_firewall |
Flag to execute the firewall command.
bool app_config::exec_mdns_forward |
Flag to execute the mdns forwarding service.
bool app_config::exec_radius |
Flag to execute the radius service.
struct firewall_conf app_config::firewall_config |
Firewall service configuration.
bool app_config::generate_ssid |
Flag to generate the SSID for AP.
struct apconf app_config::hconfig |
AP service configuration.
bool app_config::ignore_if_error |
Flag if set ignores the errors if subnet already exists.
char app_config::interface_prefix[IF_NAMESIZE] |
The interface prefix.
struct mdns_conf app_config::mdns_config |
mDNS service configuration.
char app_config::nat_bridge[IF_NAMESIZE] |
The NAT bridge string.
char app_config::nat_interface[IF_NAMESIZE] |
The NAT interface string.
char app_config::pid_file_path[MAX_OS_PATH_LEN] |
Path to the pid file.
struct radius_conf app_config::rconfig |
Radius service configuration.
bool app_config::set_ip_forward |
Flag to set the ip forward os system param.
char app_config::supervisor_control_path[MAX_OS_PATH_LEN] |
Path to the control server.
unsigned int app_config::supervisor_control_port |
The port number for the supervisor control server