The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
eap_ttls.h
Go to the documentation of this file.
1 #pragma once
2 /*
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or (at
6  * your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
16  */
17 
18 /**
19  * $Id: 34cc7534c79833851d3e9e675beef2a895bf015a $
20  * @file eap_ttls.h
21  * @brief Declarations for EAP-TTLS as defined by RFC 5281
22  *
23  * @copyright 2003 Alan DeKok (aland@freeradius.org)
24  * @copyright 2006 The FreeRADIUS server project
25  */
26 RCSIDH(eap_ttls_h, "$Id: 34cc7534c79833851d3e9e675beef2a895bf015a $")
27 
28 #include <freeradius-devel/eap/tls.h>
29 #include <freeradius-devel/radius/radius.h>
30 #include <freeradius-devel/radius/defs.h>
31 
44 
45 typedef struct {
48  char const *virtual_server;
50 
51 /*
52  * Process the TTLS portion of an EAP-TTLS request.
53  */
54 fr_radius_packet_code_t eap_ttls_process(request_t *request, eap_session_t *eap_session, fr_tls_session_t *tls_session) CC_HINT(nonnull);
#define RCSIDH(h, id)
Definition: build.h:445
#define HIDDEN
Definition: build.h:312
fr_radius_packet_code_t
RADIUS packet codes.
Definition: defs.h:31
HIDDEN fr_dict_attr_t const * attr_proxy_to_realm
Definition: rlm_eap_fast.c:99
HIDDEN fr_dict_attr_t const * attr_chap_challenge
Definition: rlm_eap_ttls.c:89
HIDDEN fr_dict_attr_t const * attr_user_name
Definition: base.c:97
fr_pair_t * username
Definition: eap_ttls.h:46
bool authenticated
Definition: eap_ttls.h:47
HIDDEN fr_dict_attr_t const * attr_eap_tls_require_client_cert
Definition: rlm_eap_fast.c:95
HIDDEN fr_dict_attr_t const * attr_user_password
Definition: rlm_eap_fast.c:106
fr_radius_packet_code_t eap_ttls_process(request_t *request, eap_session_t *eap_session, fr_tls_session_t *tls_session)
Definition: ttls.c:617
HIDDEN fr_dict_attr_t const * attr_ms_chap_challenge
Definition: rlm_eap_fast.c:97
HIDDEN fr_dict_attr_t const * attr_reply_message
Definition: rlm_eap_ttls.c:94
HIDDEN fr_dict_attr_t const * attr_vendor_specific
Definition: rlm_eap_ttls.c:98
HIDDEN fr_dict_attr_t const * attr_freeradius_proxied_to
Definition: base.c:93
HIDDEN fr_dict_attr_t const * attr_ms_chap2_success
Definition: rlm_eap_ttls.c:90
HIDDEN fr_dict_attr_t const * attr_eap_channel_binding_message
Definition: base.c:89
HIDDEN fr_dict_attr_t const * attr_eap_message
Definition: base.c:90
char const * virtual_server
Definition: eap_ttls.h:48
Tracks the progress of a single session of any EAP method.
Definition: session.h:40
Stores an attribute, a value and various bits of other data.
Definition: pair.h:68
int nonnull(2, 5))