EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
Macros | Functions | Variables
edgesec.c File Reference

File containing the edgesec tool implementations. More...

#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
#include <pthread.h>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>
#include <eloop.h>
#include "config.h"
#include "dhcp/dhcp_config.h"
#include "runctl.h"
#include "utils/allocs.h"
#include "utils/iface.h"
#include "utils/log.h"
#include "utils/os.h"
#include "version.h"
Include dependency graph for edgesec.c:

Macros

#define OPT_STRING   ":c:f:mdvh"
 
#define USAGE_STRING   "\t%s [-c filename] [-f filename] [-m] [-d] [-h] [-v]\n"
 

Functions

 PRINTF_FORMAT (1, 2)
 
int main (int argc, char *argv[])
 

Variables

const char description_string []
 

Detailed Description

File containing the edgesec tool implementations.

Author
Alexandru Mereacre
Date
2020

Macro Definition Documentation

◆ OPT_STRING

#define OPT_STRING   ":c:f:mdvh"

◆ USAGE_STRING

#define USAGE_STRING   "\t%s [-c filename] [-f filename] [-m] [-d] [-h] [-v]\n"

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ PRINTF_FORMAT()

PRINTF_FORMAT ( ,
 
)

Variable Documentation

◆ description_string

const char description_string[]
Initial value:
=
"NquiringMinds EDGESec Network Security Router.\n"
"\n"
"Creates a secure and paritioned Wifi access point, using vlans\n"
"and can analyse network traffic.\n"
"Contains multiple services controlled by the tool engine:\n"
" 1. Supervisor: registers network joining and DHCP requests.\n"
" Exposes a command interface via a UNIX domain socket.\n"
" 2. WiFi Access Point: Manages WiFi AP.\n"
" 3. Subnet: Creates subnets, virtual LANs, and IP ranges.\n"
" 4. DHCP: Assigns IP addresses to connected devices.\n"
" 5. RADIUS: Access control for the WiFi AP using\n"
" credentials/MAC address.\n"
" 6. State machine: Networking monitoring and management.\n"