#include <freeradius-devel/server/dependency.h>
#include <freeradius-devel/server/pair.h>
#include <freeradius-devel/server/virtual_servers.h>
#include <freeradius-devel/unlang/call.h>
#include <freeradius-devel/unlang/interpret.h>
#include <freeradius-devel/util/base16.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/util/rand.h>
#include "eap_mschapv2.h"
Go to the source code of this file.
|
static int | auth_type_parse (TALLOC_CTX *ctx, void *out, UNUSED void *parent, CONF_ITEM *ci, UNUSED conf_parser_t const *rule) |
|
static int | auth_type_parse (UNUSED TALLOC_CTX *ctx, void *out, UNUSED void *parent, CONF_ITEM *ci, UNUSED conf_parser_t const *rule) |
| Translate a string auth_type into an enumeration value. More...
|
|
static int | eap_mschapv2_compose (rlm_eap_mschapv2_t const *inst, request_t *request, eap_session_t *eap_session, fr_pair_t *reply) |
|
static int | mod_instantiate (module_inst_ctx_t const *mctx) |
|
static unlang_action_t | mod_process (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request) |
|
static unlang_action_t | mod_session_init (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request) |
|
static void | mppe_keys_store (request_t *request, mschapv2_opaque_t *data) |
|
static unlang_action_t | mschap_resume (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request) |
|
◆ rlm_eap_mschapv2_t
struct rlm_eap_mschapv2_t |
◆ auth_type_parse() [1/2]
◆ auth_type_parse() [2/2]
Translate a string auth_type into an enumeration value.
- Parameters
-
[in] | ctx | to allocate data. |
[out] | out | Where to write the auth_type we created or resolved. |
[in] | parent | Base structure address. |
[in] | ci | CONF_PAIR specifying the name of the auth_type. |
[in] | rule | unused. |
- Returns
- 0 on success.
- -1 on failure.
Definition at line 147 of file rlm_eap_mschapv2.c.
◆ eap_mschapv2_compose()
◆ mod_instantiate()
◆ mod_process()
◆ mod_session_init()
◆ mppe_keys_store()
◆ mschap_resume()
◆ attr_auth_type
◆ attr_microsoft
◆ attr_ms_chap2_cpw
◆ attr_ms_chap2_response
◆ attr_ms_chap2_success
◆ attr_ms_chap_challenge
◆ attr_ms_chap_error
◆ attr_ms_chap_nt_enc_pw
◆ attr_ms_chap_peer_challenge
◆ attr_ms_chap_user_name
◆ attr_ms_mppe_encryption_policy
◆ attr_ms_mppe_encryption_type
◆ attr_ms_mppe_recv_key
◆ attr_ms_mppe_send_key
◆ attr_state
◆ attr_user_name
◆ dict_freeradius
◆ dict_radius
◆ rlm_eap_mschapv2
Initial value:= {
.common = {
.name = "eap_mschapv2",
},
.clone_parent_lists = false
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
static const conf_parser_t config[]
static conf_parser_t submodule_config[]
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 727 of file rlm_eap_mschapv2.c.
◆ rlm_eap_mschapv2_dict
Initial value:= {
{ NULL }
}
static fr_dict_t const * dict_freeradius
static fr_dict_t const * dict_radius
Definition at line 59 of file rlm_eap_mschapv2.c.
◆ rlm_eap_mschapv2_dict_attr
Initial value:= {
{ NULL }
}
@ FR_TYPE_STRING
String of printable characters.
@ FR_TYPE_UINT32
32 Bit unsigned integer.
@ FR_TYPE_VENDOR
Attribute that represents a vendor in the attribute tree.
@ FR_TYPE_OCTETS
Raw octets.
static fr_dict_attr_t const * attr_microsoft
static fr_dict_attr_t const * attr_state
static fr_dict_attr_t const * attr_ms_mppe_encryption_type
static fr_dict_attr_t const * attr_ms_chap2_success
static fr_dict_attr_t const * attr_ms_chap_challenge
static fr_dict_attr_t const * attr_auth_type
static fr_dict_attr_t const * attr_ms_chap_user_name
static fr_dict_attr_t const * attr_ms_chap_error
static fr_dict_attr_t const * attr_ms_mppe_send_key
static fr_dict_attr_t const * attr_ms_chap2_response
static fr_dict_attr_t const * attr_user_name
static fr_dict_attr_t const * attr_ms_mppe_recv_key
static fr_dict_attr_t const * attr_ms_chap_nt_enc_pw
static fr_dict_attr_t const * attr_ms_chap_peer_challenge
static fr_dict_attr_t const * attr_ms_chap2_cpw
static fr_dict_attr_t const * attr_ms_mppe_encryption_policy
Definition at line 85 of file rlm_eap_mschapv2.c.
◆ 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_TYPE_FLAGS(_name, _type, _flags, _struct, _field)
conf_parser_t which parses a single CONF_PAIR, writing the result to a field in a struct
static int auth_type_parse(TALLOC_CTX *ctx, void *out, UNUSED void *parent, CONF_ITEM *ci, UNUSED conf_parser_t const *rule)
Definition at line 46 of file rlm_eap_mschapv2.c.