5 #ifndef RADIUS_SERVER_H
6 #define RADIUS_SERVER_H
187 const char *erp_domain;
189 unsigned int tls_session_lifetime;
221 int (*
get_eap_user)(
void *ctx,
const u8 *identity,
size_t identity_len,
248 #ifdef CONFIG_RADIUS_TEST
249 const char *dump_msk_file;
252 char *subscr_remediation_url;
253 u8 subscr_remediation_method;
int auth_port
UDP port to listen to as an authentication server.
Definition: radius_server.h:20
int(* get_eap_user)(void *ctx, const u8 *identity, size_t identity_len, int phase2, struct eap_user *user)
Callback for fetching EAP user information.
Definition: radius_server.h:221
int radius_server_get_mib(struct radius_server_data *data, char *buf, size_t buflen)
Get RADIUS server MIB information.
Definition: radius_server.c:1923
void radius_server_eap_pending_cb(struct radius_server_data *data, void *ctx)
Pending EAP data notification.
Definition: radius_server.c:2161
void radius_server_erp_flush(struct radius_server_data *data)
Flush all ERP keys.
Definition: radius_server.c:1861
const char * sqlite_file
SQLite database for storing debug log information.
Definition: radius_server.h:46
int acct_port
UDP port to listen to as an accounting server.
Definition: radius_server.h:26
int eap_sim_aka_result_ind
EAP-SIM/AKA protected success indication.
Definition: radius_server.h:149
void * eap_sim_db_priv
EAP-SIM/AKA database context.
Definition: radius_server.h:63
int pac_key_lifetime
EAP-FAST PAC-Key lifetime in seconds.
Definition: radius_server.h:130
struct radius_server_data * radius_server_init(struct radius_server_conf *conf)
Initialize RADIUS server.
Definition: radius_server.c:1722
int erp
Whether EAP Re-authentication Protocol (ERP) is enabled.
Definition: radius_server.h:185
u8 * pac_opaque_encr_key
PAC-Opaque encryption key for EAP-FAST.
Definition: radius_server.h:82
size_t eap_req_id_text_len
Length of eap_req_id_text buffer in octets.
Definition: radius_server.h:241
u16 pwd_group
EAP-pwd D-H group.
Definition: radius_server.h:168
const char * eap_req_id_text
Optional data for EAP-Request/Identity.
Definition: radius_server.h:235
u8 * eap_fast_a_id
EAP-FAST authority identity (A-ID)
Definition: radius_server.h:94
struct wps_context * wps
Wi-Fi Protected Setup context.
Definition: radius_server.h:199
Internal RADIUS server data.
Definition: radius_server.c:117
char * client_file
RADIUS client configuration file.
Definition: radius_server.h:40
void * conf_ctx
Context pointer for callbacks.
Definition: radius_server.h:54
int eap_fast_prov
EAP-FAST provisioning modes.
Definition: radius_server.h:121
const char * server_id
Server identity.
Definition: radius_server.h:174
int tnc
Trusted Network Connect (TNC)
Definition: radius_server.h:160
RADIUS server configuration.
Definition: radius_server.h:15
int ipv6
Whether to enable IPv6 support in the RADIUS server.
Definition: radius_server.h:205
int pac_key_refresh_time
EAP-FAST PAC-Key refresh time in seconds.
Definition: radius_server.h:140
char * eap_fast_a_id_info
EAP-FAST authority identifier information.
Definition: radius_server.h:111
size_t eap_fast_a_id_len
Length of eap_fast_a_id buffer in octets.
Definition: radius_server.h:100
void radius_server_deinit(struct radius_server_data *data)
Deinitialize RADIUS server.
Definition: radius_server.c:1879
Long term WPS context data.
Definition: wps.h:623
void * ssl_ctx
TLS context.
Definition: radius_server.h:72