26RCSIDH(radius_h,
"$Id: 21d3ab5f27f90e3b3e2289703513f509146f83a9 $")
57#define FR_AUTH_UDP_PORT 1812
58#define FR_AUTH_UDP_PORT_ALT 1645
59#define FR_ACCT_UDP_PORT 1813
60#define FR_ACCT_UDP_PORT_ALT 1646
61#define FR_POD_UDP_PORT 3799
62#define FR_RADIUS_TLS_PORT 2083
63#define FR_COA_UDP_PORT 3799
68#define MAX_PACKET_LEN 4096
70#include <freeradius-devel/protocol/radius/rfc2865.h>
71#include <freeradius-devel/protocol/radius/rfc2866.h>
72#include <freeradius-devel/protocol/radius/rfc2867.h>
73#include <freeradius-devel/protocol/radius/rfc2868.h>
74#include <freeradius-devel/protocol/radius/rfc2869.h>
76#include <freeradius-devel/protocol/radius/rfc3162.h>
77#include <freeradius-devel/protocol/radius/rfc3576.h>
78#include <freeradius-devel/protocol/radius/rfc3580.h>
80#include <freeradius-devel/protocol/radius/rfc4072.h>
81#include <freeradius-devel/protocol/radius/rfc4372.h>
83#define FR_CUI FR_CHARGEABLE_USER_IDENTITY
85#include <freeradius-devel/protocol/radius/rfc4675.h>
86#include <freeradius-devel/protocol/radius/rfc4818.h>
87#include <freeradius-devel/protocol/radius/rfc4849.h>
89#include <freeradius-devel/protocol/radius/rfc5580.h>
90#include <freeradius-devel/protocol/radius/rfc5607.h>
91#include <freeradius-devel/protocol/radius/rfc5904.h>
93#include <freeradius-devel/protocol/radius/rfc6572.h>
94#include <freeradius-devel/protocol/radius/rfc6677.h>
95#include <freeradius-devel/protocol/radius/rfc6911.h>
96#include <freeradius-devel/protocol/radius/rfc6929.h>
97#include <freeradius-devel/protocol/radius/rfc6930.h>
99#include <freeradius-devel/protocol/radius/rfc7055.h>
100#include <freeradius-devel/protocol/radius/rfc7155.h>
101#include <freeradius-devel/protocol/radius/rfc7268.h>
102#include <freeradius-devel/protocol/radius/rfc7930.h>
107#include <freeradius-devel/protocol/freeradius/freeradius.internal.h>
109#define FR_DIGEST_RESPONSE 206
110#define FR_DIGEST_ATTRIBUTES 207
118#define FR_LOGIN_USER 1
119#define FR_FRAMED_USER 2
120#define FR_CALLBACK_LOGIN_USER 3
121#define FR_CALLBACK_FRAMED_USER 4
122#define FR_OUTBOUND_USER 5
123#define FR_ADMINISTRATIVE_USER 6
124#define FR_NAS_PROMPT_USER 7
125#define FR_AUTHENTICATE_ONLY 8
126#define FR_CALLBACK_NAS_PROMPT 9
127#define FR_AUTHORIZE_ONLY 17
136#define FR_STATUS_START 1
137#define FR_STATUS_STOP 2
138#define FR_STATUS_ALIVE 3
139#define FR_STATUS_ACCOUNTING_ON 7
140#define FR_STATUS_ACCOUNTING_OFF 8
145#define VENDORPEC_MICROSOFT 311
146#define VENDORPEC_FREERADIUS 11344
147#define VENDORPEC_WIMAX 24757
148#define VENDORPEC_UKERNA 25622
153#define FR_MSCHAP_RESPONSE 1
154#define FR_MSCHAP_ERROR 2
155#define FR_MSCHAP_CFR_1 3
156#define FR_MSCHAP_CFR_2 4
157#define FR_MSCHAP_NT_ENC_PW 6
158#define FR_MSCHAP_MPPE_ENCRYPTION_POLICY 7
159#define FR_MSCHAP_MPPE_ENCRYPTION_TYPES 8
160#define FR_MSCHAP_CHALLENGE 11
161#define FR_MSCHAP_MPPE_SEND_KEY 16
162#define FR_MSCHAP_MPPE_RECV_KEY 17
163#define FR_MSCHAP2_RESPONSE 25
164#define FR_MSCHAP2_SUCCESS 26
165#define FR_MSCHAP2_CPW 27
166#define FR_MS_QUARANTINE_SOH 55
172#define FR_UKERNA_CHBIND 135
173#define FR_UKERNA_TR_COI 136
fr_radius_packet_code_t
RADIUS packet codes.
@ FR_RADIUS_CODE_ACCESS_CHALLENGE
RFC2865 - Access-Challenge.
@ FR_RADIUS_CODE_ACCESS_REQUEST
RFC2865 - Access-Request.
@ FR_RADIUS_CODE_DISCONNECT_REQUEST
RFC3575/RFC5176 - Disconnect-Request.
@ FR_RADIUS_CODE_DO_NOT_RESPOND
Special rcode to indicate we will not respond.
@ FR_RADIUS_CODE_PASSWORD_ACK
RFC3575 - Reserved.
@ FR_RADIUS_CODE_PASSWORD_REJECT
RFC3575 - Reserved.
@ FR_RADIUS_CODE_MAX
Maximum possible protocol code.
@ FR_RADIUS_CODE_DISCONNECT_ACK
RFC3575/RFC5176 - Disconnect-Ack (positive)
@ FR_RADIUS_CODE_STATUS_SERVER
RFC2865/RFC5997 - Status Server (request)
@ FR_RADIUS_CODE_COA_REQUEST
RFC3575/RFC5176 - CoA-Request.
@ FR_RADIUS_CODE_STATUS_CLIENT
RFC2865/RFC5997 - Status Server (response)
@ FR_RADIUS_CODE_ACCESS_ACCEPT
RFC2865 - Access-Accept.
@ FR_RADIUS_CODE_PASSWORD_REQUEST
RFC3575 - Reserved.
@ FR_RADIUS_CODE_ACCOUNTING_RESPONSE
RFC2866 - Accounting-Response.
@ FR_RADIUS_CODE_COA_NAK
RFC3575/RFC5176 - CoA-Nak (not willing to perform)
@ FR_RADIUS_CODE_ACCOUNTING_STATUS
RFC3575 - Reserved.
@ FR_RADIUS_CODE_UNDEFINED
Packet code has not been set.
@ FR_RADIUS_CODE_COA_ACK
RFC3575/RFC5176 - CoA-Ack (positive)
@ FR_RADIUS_CODE_DISCONNECT_NAK
RFC3575/RFC5176 - Disconnect-Nak (not willing to perform)
@ FR_RADIUS_CODE_PROTOCOL_ERROR
RFC7930 - Protocol-Error (generic NAK)
@ FR_RADIUS_CODE_ACCOUNTING_MESSAGE
RFC3575 - Reserved.
@ FR_RADIUS_CODE_ACCOUNTING_REQUEST
RFC2866 - Accounting-Request.
@ FR_RADIUS_CODE_ACCESS_REJECT
RFC2865 - Access-Reject.