All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions | Variables
rlm_eap_peap.c File Reference
#include "eap_peap.h"
+ Include dependency graph for rlm_eap_peap.c:

Go to the source code of this file.

Data Structures

struct  rlm_eap_peap_t
 

Typedefs

typedef struct rlm_eap_peap_t rlm_eap_peap_t
 

Functions

static int CC_HINT (nonnull)
 
static int mod_instantiate (CONF_SECTION *cs, void **instance)
 
static int mod_process (void *arg, eap_session_t *eap_session)
 
static peap_tunnel_tpeap_alloc (TALLOC_CTX *ctx, rlm_eap_peap_t *inst)
 

Variables

static CONF_PARSER module_config []
 
rlm_eap_module_t rlm_eap_peap
 

Data Structure Documentation

struct rlm_eap_peap_t

Definition at line 28 of file rlm_eap_peap.c.

Data Fields
int auth_type_eap
bool copy_request_to_tunnel Use SOME of the request attributes from outside of the tunneled session in the tunneled request.
int default_method
char const * default_method_name Default tunneled EAP type.
bool proxy_tunneled_request_as_eap Proxy tunneled session as EAP, or as de-capsulated protocol.
bool req_client_cert Do we do require a client cert?
bool soh Do we do SoH request?
char const * soh_virtual_server
fr_tls_server_conf_t * tls_conf
char const * tls_conf_name TLS configuration.
bool use_tunneled_reply Use the reply attributes from the tunneled session in the non-tunneled reply to the client.
char const * virtual_server Virtual server for inner tunnel session.

Typedef Documentation

Function Documentation

static int CC_HINT ( nonnull  )
static

Definition at line 148 of file rlm_eap_peap.c.

+ Here is the call graph for this function:

static int mod_instantiate ( CONF_SECTION cs,
void **  instance 
)
static

Definition at line 78 of file rlm_eap_peap.c.

+ Here is the call graph for this function:

static int mod_process ( void *  arg,
eap_session_t eap_session 
)
static

Definition at line 224 of file rlm_eap_peap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static peap_tunnel_t* peap_alloc ( TALLOC_CTX *  ctx,
rlm_eap_peap_t inst 
)
static

Definition at line 128 of file rlm_eap_peap.c.

+ Here is the caller graph for this function:

Variable Documentation

CONF_PARSER module_config[]
static
Initial value:
= {
{ FR_CONF_OFFSET("tls", PW_TYPE_STRING, rlm_eap_peap_t, tls_conf_name) },
{ FR_CONF_OFFSET("default_eap_type", PW_TYPE_STRING, rlm_eap_peap_t, default_method_name), .dflt = "mschapv2" },
{ FR_CONF_OFFSET("copy_request_to_tunnel", PW_TYPE_BOOLEAN, rlm_eap_peap_t, copy_request_to_tunnel), .dflt = "no" },
{ FR_CONF_OFFSET("use_tunneled_reply", PW_TYPE_BOOLEAN, rlm_eap_peap_t, use_tunneled_reply), .dflt = "no" },
{ FR_CONF_OFFSET("proxy_tunneled_request_as_eap", PW_TYPE_BOOLEAN, rlm_eap_peap_t, proxy_tunneled_request_as_eap), .dflt = "yes" },
{ FR_CONF_OFFSET("virtual_server", PW_TYPE_STRING, rlm_eap_peap_t, virtual_server) },
{ FR_CONF_OFFSET("soh", PW_TYPE_BOOLEAN, rlm_eap_peap_t, soh), .dflt = "no" },
{ FR_CONF_OFFSET("require_client_cert", PW_TYPE_BOOLEAN, rlm_eap_peap_t, req_client_cert), .dflt = "no" },
{ FR_CONF_OFFSET("soh_virtual_server", PW_TYPE_STRING, rlm_eap_peap_t, soh_virtual_server) },
}
#define CONF_PARSER_TERMINATOR
Definition: conffile.h:289
A truth value.
Definition: radius.h:56
#define FR_CONF_OFFSET(_n, _t, _s, _f)
Definition: conffile.h:168
String of printable characters.
Definition: radius.h:33

Definition at line 51 of file rlm_eap_peap.c.

rlm_eap_module_t rlm_eap_peap
Initial value:
= {
.name = "eap_peap",
.instantiate = mod_instantiate,
.session_init = mod_session_init,
.process = mod_process
}
static int mod_process(void *arg, eap_session_t *eap_session)
Definition: rlm_eap_peap.c:224
static int mod_session_init(void *instance, eap_session_t *eap_session)
Definition: rlm_eap_gtc.c:89
static int mod_instantiate(CONF_SECTION *cs, void **instance)
Definition: rlm_eap_peap.c:78

Definition at line 365 of file rlm_eap_peap.c.