![]() |
The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
|
EAP-PSK (RFC 4764) interface to the EAP module. More...
#include <freeradius-devel/server/base.h>#include <freeradius-devel/server/module_rlm.h>#include <freeradius-devel/server/virtual_servers.h>#include <freeradius-devel/unlang/module.h>#include <freeradius-devel/unlang/call.h>#include <freeradius-devel/protocol/eap/psk/freeradius.h>#include "crypto.h"
Include dependency graph for rlm_eap_psk.c:Go to the source code of this file.
Data Structures | |
| struct | rlm_eap_psk_t |
Macros | |
| #define | EAP_PSK_MPPE_KEY_LEN 32 |
Functions | |
| static unlang_action_t | mod_encode (unlang_result_t *p_result, UNUSED module_ctx_t const *mctx, request_t *request) |
| Translate the state machine's reply Packet-Type into an EAP result. | |
| static unlang_action_t | mod_process (unlang_result_t *p_result, module_ctx_t const *mctx, request_t *request) |
| Derive the next Packet-Type from the session state, and enter the virtual server. | |
| static unlang_action_t | mod_session_init (unlang_result_t *p_result, module_ctx_t const *mctx, request_t *request) |
Variables | |
| static fr_dict_attr_t const * | attr_ms_mppe_recv_key |
| static fr_dict_attr_t const * | attr_ms_mppe_send_key |
| static fr_dict_t const * | dict_eap_psk |
| static fr_dict_t const * | dict_radius |
| rlm_eap_submodule_t | rlm_eap_psk |
| fr_dict_autoload_t | rlm_eap_psk_dict [] |
| fr_dict_attr_autoload_t | rlm_eap_psk_dict_attr [] |
| static conf_parser_t | submodule_config [] |
EAP-PSK (RFC 4764) interface to the EAP module.
The protocol state machine, message parsing, and cryptography all live in the eap_psk process module (src/process/eap_psk). This submodule derives the next Packet-Type from the session state, pushes the request into the configured eap-psk virtual server, and translates the reply Packet-Type back into an EAP result.
Definition in file rlm_eap_psk.c.
| struct rlm_eap_psk_t |
Definition at line 42 of file rlm_eap_psk.c.
Collaboration diagram for rlm_eap_psk_t:| Data Fields | ||
|---|---|---|
| virtual_server_t * | virtual_server | eap-psk virtual server providing the policy sections for the exchange. |
| #define EAP_PSK_MPPE_KEY_LEN 32 |
Definition at line 81 of file rlm_eap_psk.c.
|
static |
Translate the state machine's reply Packet-Type into an EAP result.
Runs after the virtual server (and the eap_psk process module inside of it) finishes with this round.
Definition at line 88 of file rlm_eap_psk.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Derive the next Packet-Type from the session state, and enter the virtual server.
Definition at line 133 of file rlm_eap_psk.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 68 of file rlm_eap_psk.c.
|
static |
Definition at line 67 of file rlm_eap_psk.c.
|
static |
Definition at line 57 of file rlm_eap_psk.c.
|
static |
Definition at line 58 of file rlm_eap_psk.c.
| rlm_eap_submodule_t rlm_eap_psk |
Definition at line 201 of file rlm_eap_psk.c.
| fr_dict_autoload_t rlm_eap_psk_dict |
Definition at line 61 of file rlm_eap_psk.c.
| fr_dict_attr_autoload_t rlm_eap_psk_dict_attr |
Definition at line 71 of file rlm_eap_psk.c.
|
static |
Definition at line 47 of file rlm_eap_psk.c.
1.9.8