TTLS process module.
More...
#include <freeradius-devel/protocol/freeradius/freeradius.internal.h>
#include <freeradius-devel/radius/radius.h>
#include <freeradius-devel/server/main_config.h>
#include <freeradius-devel/server/module.h>
#include <freeradius-devel/server/pair.h>
#include <freeradius-devel/server/protocol.h>
#include <freeradius-devel/server/state.h>
#include <freeradius-devel/unlang/module.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/server/process.h>
Go to the source code of this file.
TTLS process module.
- Id
- cb0dcbfc38de1331d02d83a20ffa17c2b63c98a1
- Copyright
- 2021 The FreeRADIUS server project.
-
2021 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file base.c.
◆ process_ttls_auth_t
struct process_ttls_auth_t |
◆ process_ttls_sections_t
struct process_ttls_sections_t |
◆ process_ttls_session_t
struct process_ttls_session_t |
Definition at line 125 of file base.c.
Data Fields |
uint32_t |
max |
Maximum ongoing session allowed. |
uint8_t |
state_server_id |
Sets a specific byte in the state to allow the authenticating server to be identified in packet captures. |
fr_time_delta_t |
timeout |
Maximum time between the last response and next request. |
◆ process_ttls_t
◆ PROCESS_CODE_DO_NOT_RESPOND
◆ PROCESS_CODE_MAX
◆ PROCESS_INST
◆ PROCESS_PACKET_CODE_VALID
◆ PROCESS_PACKET_TYPE
◆ mod_bootstrap()
◆ mod_instantiate()
◆ mod_process()
◆ radius_packet_debug()
◆ RESUME() [1/6]
◆ RESUME() [2/6]
RESUME |
( |
access_challenge |
| ) |
|
◆ RESUME() [3/6]
◆ RESUME() [4/6]
RESUME |
( |
access_request |
| ) |
|
◆ RESUME() [5/6]
◆ RESUME() [6/6]
RESUME |
( |
protocol_error |
| ) |
|
◆ attr_auth_type
◆ attr_calling_station_id
◆ attr_chap_password
◆ attr_error_cause
◆ attr_module_failure_message
◆ attr_module_success_message
◆ attr_nas_port
◆ attr_original_packet_code
◆ attr_packet_type
◆ attr_service_type
◆ attr_state
◆ attr_stripped_user_name
◆ attr_user_name
◆ attr_user_password
◆ auth_config
Initial value:= {
}
#define CONF_PARSER_TERMINATOR
#define FR_CONF_OFFSET_SUBSECTION(_name, _flags, _struct, _field, _subcs)
conf_parser_t which populates a sub-struct using a CONF_SECTION
static const conf_parser_t session_config[]
Definition at line 162 of file base.c.
◆ compile_list
◆ config
Initial value:= {
}
static const conf_parser_t auth_config[]
Definition at line 168 of file base.c.
◆ dict_freeradius
◆ dict_radius
◆ enum_auth_type_accept
◆ enum_auth_type_reject
◆ process_state
fr_process_state_t const process_state[] |
|
static |
◆ process_ttls
Initial value:= {
.common = {
.name = "ttls",
},
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
fr_dict_t const * dict_radius
static unlang_action_t mod_process(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
static const virtual_server_compile_t compile_list[]
static int mod_instantiate(module_inst_ctx_t const *mctx)
static int mod_bootstrap(module_inst_ctx_t const *mctx)
static const conf_parser_t config[]
static int instantiate(module_inst_ctx_t const *mctx)
Definition at line 661 of file base.c.
◆ process_ttls_dict
Initial value:= {
{ NULL }
}
static fr_dict_t const * dict_freeradius
Definition at line 43 of file base.c.
◆ process_ttls_dict_attr
Initial value:= {
{ NULL }
}
fr_dict_attr_t const * attr_packet_type
fr_dict_attr_t const * attr_state
fr_dict_attr_t const * attr_user_name
@ FR_TYPE_STRING
String of printable characters.
@ FR_TYPE_UINT32
32 Bit unsigned integer.
@ FR_TYPE_OCTETS
Raw octets.
static fr_dict_attr_t const * attr_module_failure_message
static fr_dict_attr_t const * attr_module_success_message
static fr_dict_attr_t const * attr_user_password
static fr_dict_attr_t const * attr_stripped_user_name
static fr_dict_attr_t const * attr_auth_type
static fr_dict_attr_t const * attr_error_cause
static fr_dict_attr_t const * attr_original_packet_code
static fr_dict_attr_t const * attr_chap_password
static fr_dict_attr_t const * attr_calling_station_id
static fr_dict_attr_t const * attr_nas_port
static fr_dict_attr_t const * attr_service_type
Definition at line 66 of file base.c.
◆ process_ttls_dict_enum
Initial value:= {
{ NULL }
}
static fr_value_box_t const * enum_auth_type_reject
static fr_value_box_t const * enum_auth_type_accept
Definition at line 91 of file base.c.
◆ session_config
Initial value:= {
}
#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
Definition at line 154 of file base.c.