contains the interfaces that are called from eap
More...
#include <freeradius-devel/util/md5.h>
#include "eap_fast.h"
#include "eap_fast_crypto.h"
Go to the source code of this file.
|
static int | _session_secret (SSL *s, void *secret, int *secret_len, UNUSED STACK_OF(SSL_CIPHER) *peer_ciphers, UNUSED SSL_CIPHER const **cipher, void *arg) |
|
static int | _session_ticket (SSL *s, uint8_t const *data, int len, void *arg) |
|
static eap_fast_tunnel_t * | eap_fast_alloc (TALLOC_CTX *ctx, rlm_eap_fast_t const *inst) |
| Allocate the FAST per-session data. More...
|
|
static void | eap_fast_session_ticket (fr_tls_session_t *tls_session, const SSL *s, uint8_t *secret, int *secret_len) |
|
static unlang_action_t | mod_handshake_process (UNUSED rlm_rcode_t *p_result, UNUSED module_ctx_t const *mctx, request_t *request) |
|
static unlang_action_t | mod_handshake_resume (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request) |
|
static int | mod_instantiate (module_inst_ctx_t const *mctx) |
|
static unlang_action_t | mod_session_init (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request) |
|
static int | mod_thread_detach (module_thread_inst_ctx_t const *mctx) |
|
static int | mod_thread_instantiate (module_thread_inst_ctx_t const *mctx) |
|
contains the interfaces that are called from eap
- Id
- 2b126812c0f442c6c6af6595d8ef55bc8b2d2350
- Author
- Alexander Clouter (alex@.nosp@m.digr.nosp@m.iz.or.nosp@m.g.uk)
- Copyright
- 2016 Alan DeKok (aland.nosp@m.@fre.nosp@m.eradi.nosp@m.us.o.nosp@m.rg)
-
2016 The FreeRADIUS server project
Definition in file rlm_eap_fast.c.
◆ rlm_eap_fast_t
Definition at line 42 of file rlm_eap_fast.c.
Data Fields |
uint8_t |
a_id[PAC_A_ID_LENGTH] |
The identity we present in the EAP-TLS. |
char const * |
authority_identity |
The identity we present in the EAP-TLS. |
char const * |
cipher_list |
cipher list specific to EAP-FAST |
int |
default_provisioning_method |
|
char const * |
default_provisioning_method_name |
|
fr_time_delta_t |
pac_lifetime |
seconds to add to current time to describe PAC lifetime |
char const * |
pac_opaque_key |
The key used to encrypt PAC-Opaque. |
bool |
req_client_cert |
Whether we require a client cert in the outer tunnel. |
CONF_SECTION * |
server_cs |
|
int |
stage |
Processing stage. |
fr_tls_conf_t * |
tls_conf |
TLS config pointer. |
char const * |
tls_conf_name |
Name of shared TLS config. |
char const * |
virtual_server |
Virtual server to use for processing inner EAP method. |
◆ rlm_eap_fast_thread_t
struct rlm_eap_fast_thread_t |
Definition at line 35 of file rlm_eap_fast.c.
Data Fields |
SSL_CTX * |
ssl_ctx |
Thread local SSL_CTX. |
◆ _session_secret()
static int _session_secret |
( |
SSL * |
s, |
|
|
void * |
secret, |
|
|
int * |
secret_len, |
|
|
UNUSED STACK_OF(SSL_CIPHER) * |
peer_ciphers, |
|
|
UNUSED SSL_CIPHER const ** |
cipher, |
|
|
void * |
arg |
|
) |
| |
|
static |
◆ _session_ticket()
static int _session_ticket |
( |
SSL * |
s, |
|
|
uint8_t const * |
data, |
|
|
int |
len, |
|
|
void * |
arg |
|
) |
| |
|
static |
◆ eap_fast_alloc()
◆ eap_fast_session_ticket()
static void eap_fast_session_ticket |
( |
fr_tls_session_t * |
tls_session, |
|
|
const SSL * |
s, |
|
|
uint8_t * |
secret, |
|
|
int * |
secret_len |
|
) |
| |
|
static |
◆ mod_handshake_process()
◆ mod_handshake_resume()
◆ mod_instantiate()
◆ mod_session_init()
◆ mod_thread_detach()
◆ mod_thread_instantiate()
◆ attr_eap_emsk
◆ attr_eap_fast_crypto_binding
◆ attr_eap_fast_eap_payload
◆ attr_eap_fast_error
◆ attr_eap_fast_intermediate_result
◆ attr_eap_fast_nak
◆ attr_eap_fast_pac_a_id
◆ attr_eap_fast_pac_a_id_info
◆ attr_eap_fast_pac_acknowledge
◆ attr_eap_fast_pac_i_id
◆ attr_eap_fast_pac_info_a_id
◆ attr_eap_fast_pac_info_a_id_info
◆ attr_eap_fast_pac_info_i_id
◆ attr_eap_fast_pac_info_pac_lifetime
◆ attr_eap_fast_pac_info_pac_type
◆ attr_eap_fast_pac_info_tlv
◆ attr_eap_fast_pac_key
◆ attr_eap_fast_pac_lifetime
◆ attr_eap_fast_pac_opaque_i_id
◆ attr_eap_fast_pac_opaque_pac_key
◆ attr_eap_fast_pac_opaque_pac_lifetime
◆ attr_eap_fast_pac_opaque_pac_type
◆ attr_eap_fast_pac_opaque_tlv
◆ attr_eap_fast_pac_tlv
◆ attr_eap_fast_pac_type
◆ attr_eap_fast_result
◆ attr_eap_fast_vendor_specific
◆ attr_eap_message
◆ attr_eap_msk
◆ attr_eap_tls_require_client_cert
◆ attr_eap_type
◆ attr_freeradius_proxied_to
◆ attr_ms_chap_challenge
◆ attr_ms_chap_peer_challenge
◆ attr_ms_mppe_recv_key
◆ attr_ms_mppe_send_key
◆ attr_proxy_to_realm
◆ attr_user_name
◆ attr_user_password
◆ dict_eap_fast
◆ dict_freeradius
◆ dict_radius
◆ rlm_eap_fast
Initial value:= {
.common = {
.name = "eap_fast",
},
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
static const conf_parser_t config[]
static int mod_thread_instantiate(module_thread_inst_ctx_t const *mctx)
static conf_parser_t submodule_config[]
static int mod_thread_detach(module_thread_inst_ctx_t const *mctx)
static int mod_instantiate(module_inst_ctx_t const *mctx)
static unlang_action_t mod_session_init(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
static int instantiate(module_inst_ctx_t const *mctx)
Definition at line 696 of file rlm_eap_fast.c.
◆ rlm_eap_fast_dict
Initial value:= {
{ .out = &
dict_eap_fast, .base_dir =
"eap/fast", .proto =
"eap-fast" },
{ NULL }
}
static fr_dict_t const * dict_freeradius
static fr_dict_t const * dict_radius
fr_dict_t const * dict_eap_fast
Definition at line 87 of file rlm_eap_fast.c.
◆ rlm_eap_fast_dict_attr
◆ submodule_config
Initial value:= {
}
#define CONF_PARSER_TERMINATOR
#define FR_CONF_OFFSET(_name, _struct, _field)
conf_parser_t which parses a single CONF_PAIR, writing the result to a field in a struct
#define FR_CONF_OFFSET_FLAGS(_name, _flags, _struct, _field)
conf_parser_t which parses a single CONF_PAIR, writing the result to a field in a struct
@ CONF_FLAG_REQUIRED
Error out if no matching CONF_PAIR is found, and no dflt value is set.
@ CONF_FLAG_NOT_EMPTY
CONF_PAIR is required to have a non zero length value.
Definition at line 65 of file rlm_eap_fast.c.