radius.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pw_auth_hdr
 

Macros

#define AUTH_VECTOR_LEN   16
 
#define AUTH_PASS_LEN   16
 
#define AUTH_STRING_LEN   128 /* maximum of 254 */
 
#define AUTH_HDR_LEN   20
 
#define CHAP_VALUE_LENGTH   16
 
#define PW_AUTH_UDP_PORT   1812
 
#define PW_ACCT_UDP_PORT   1813
 
#define VENDORPEC_USR   429
 
#define PW_TYPE_STRING   0
 
#define PW_TYPE_INTEGER   1
 
#define PW_TYPE_IPADDR   2
 
#define PW_TYPE_DATE   3
 
#define PW_AUTHENTICATION_REQUEST   1
 
#define PW_AUTHENTICATION_ACK   2
 
#define PW_AUTHENTICATION_REJECT   3
 
#define PW_ACCOUNTING_REQUEST   4
 
#define PW_ACCOUNTING_RESPONSE   5
 
#define PW_ACCOUNTING_STATUS   6
 
#define PW_PASSWORD_REQUEST   7
 
#define PW_PASSWORD_ACK   8
 
#define PW_PASSWORD_REJECT   9
 
#define PW_ACCOUNTING_MESSAGE   10
 
#define PW_ACCESS_CHALLENGE   11
 
#define PW_USER_NAME   1
 
#define PW_PASSWORD   2
 
#define PW_CHAP_PASSWORD   3
 
#define PW_NAS_IP_ADDRESS   4
 
#define PW_NAS_PORT_ID   5
 
#define PW_SERVICE_TYPE   6
 
#define PW_FRAMED_PROTOCOL   7
 
#define PW_FRAMED_IP_ADDRESS   8
 
#define PW_FRAMED_IP_NETMASK   9
 
#define PW_FRAMED_ROUTING   10
 
#define PW_FILTER_ID   11
 
#define PW_FRAMED_MTU   12
 
#define PW_FRAMED_COMPRESSION   13
 
#define PW_LOGIN_IP_HOST   14
 
#define PW_LOGIN_SERVICE   15
 
#define PW_LOGIN_TCP_PORT   16
 
#define PW_OLD_PASSWORD   17
 
#define PW_REPLY_MESSAGE   18
 
#define PW_CALLBACK_NUMBER   19
 
#define PW_CALLBACK_ID   20
 
#define PW_EXPIRATION   21
 
#define PW_FRAMED_ROUTE   22
 
#define PW_FRAMED_IPXNET   23
 
#define PW_STATE   24
 
#define PW_CLASS   25
 
#define PW_VENDOR_SPECIFIC   26
 
#define PW_SESSION_TIMEOUT   27
 
#define PW_IDLE_TIMEOUT   28
 
#define PW_CALLED_STATION_ID   30
 
#define PW_CALLING_STATION_ID   31
 
#define PW_NAS_ID   32
 
#define PW_PROXY_STATE   33
 
#define PW_ACCT_STATUS_TYPE   40
 
#define PW_ACCT_DELAY_TIME   41
 
#define PW_ACCT_INPUT_OCTETS   42
 
#define PW_ACCT_OUTPUT_OCTETS   43
 
#define PW_ACCT_SESSION_ID   44
 
#define PW_ACCT_AUTHENTIC   45
 
#define PW_ACCT_SESSION_TIME   46
 
#define PW_ACCT_INPUT_PACKETS   47
 
#define PW_ACCT_OUTPUT_PACKETS   48
 
#define PW_CHAP_CHALLENGE   60
 
#define PW_NAS_PORT_TYPE   61
 
#define PW_PORT_LIMIT   62
 
#define PW_CONNECT_INFO   77
 
#define PW_HUNTGROUP_NAME   221
 
#define PW_AUTHTYPE   1000
 
#define PW_PREFIX   1003
 
#define PW_SUFFIX   1004
 
#define PW_GROUP   1005
 
#define PW_CRYPT_PASSWORD   1006
 
#define PW_CONNECT_RATE   1007
 
#define PW_USER_CATEGORY   1029
 
#define PW_GROUP_NAME   1030
 
#define PW_SIMULTANEOUS_USE   1034
 
#define PW_STRIP_USERNAME   1035
 
#define PW_FALL_THROUGH   1036
 
#define PW_ADD_PORT_TO_IP_ADDRESS   1037
 
#define PW_EXEC_PROGRAM   1038
 
#define PW_EXEC_PROGRAM_WAIT   1039
 
#define PW_HINT   1040
 
#define PAM_AUTH_ATTR   1041
 
#define PW_LOGIN_TIME   1042
 
#define PW_LOGIN_USER   1
 
#define PW_FRAMED_USER   2
 
#define PW_DIALBACK_LOGIN_USER   3
 
#define PW_DIALBACK_FRAMED_USER   4
 
#define PW_PPP   1
 
#define PW_SLIP   2
 
#define PW_NONE   0
 
#define PW_BROADCAST   1
 
#define PW_LISTEN   2
 
#define PW_BROADCAST_LISTEN   3
 
#define PW_VAN_JACOBSEN_TCP_IP   1
 
#define PW_TELNET   0
 
#define PW_RLOGIN   1
 
#define PW_TCP_CLEAR   2
 
#define PW_PORTMASTER   3
 
#define PW_AUTHTYPE_LOCAL   0
 
#define PW_AUTHTYPE_SYSTEM   1
 
#define PW_AUTHTYPE_SECURID   2
 
#define PW_AUTHTYPE_CRYPT   3
 
#define PW_AUTHTYPE_REJECT   4
 
#define PW_AUTHTYPE_PAM   253
 
#define PW_AUTHTYPE_ACCEPT   254
 
#define PW_NAS_PORT_ASYNC   0
 
#define PW_NAS_PORT_SYNC   1
 
#define PW_NAS_PORT_ISDN   2
 
#define PW_NAS_PORT_ISDN_V120   3
 
#define PW_NAS_PORT_ISDN_V110   4
 
#define PW_STATUS_START   1
 
#define PW_STATUS_STOP   2
 
#define PW_STATUS_ALIVE   3
 
#define PW_STATUS_ACCOUNTING_ON   7
 
#define PW_STATUS_ACCOUNTING_OFF   8
 

Typedefs

typedef struct pw_auth_hdr AUTH_HDR
 

Macro Definition Documentation

◆ AUTH_HDR_LEN

#define AUTH_HDR_LEN   20

Definition at line 52 of file radius.h.

◆ AUTH_PASS_LEN

#define AUTH_PASS_LEN   16

Definition at line 41 of file radius.h.

◆ AUTH_STRING_LEN

#define AUTH_STRING_LEN   128 /* maximum of 254 */

Definition at line 42 of file radius.h.

◆ AUTH_VECTOR_LEN

#define AUTH_VECTOR_LEN   16

Definition at line 40 of file radius.h.

◆ CHAP_VALUE_LENGTH

#define CHAP_VALUE_LENGTH   16

Definition at line 53 of file radius.h.

◆ PAM_AUTH_ATTR

#define PAM_AUTH_ATTR   1041

Definition at line 141 of file radius.h.

◆ PW_ACCESS_CHALLENGE

#define PW_ACCESS_CHALLENGE   11

Definition at line 75 of file radius.h.

◆ PW_ACCOUNTING_MESSAGE

#define PW_ACCOUNTING_MESSAGE   10

Definition at line 74 of file radius.h.

◆ PW_ACCOUNTING_REQUEST

#define PW_ACCOUNTING_REQUEST   4

Definition at line 68 of file radius.h.

◆ PW_ACCOUNTING_RESPONSE

#define PW_ACCOUNTING_RESPONSE   5

Definition at line 69 of file radius.h.

◆ PW_ACCOUNTING_STATUS

#define PW_ACCOUNTING_STATUS   6

Definition at line 70 of file radius.h.

◆ PW_ACCT_AUTHENTIC

#define PW_ACCT_AUTHENTIC   45

Definition at line 115 of file radius.h.

◆ PW_ACCT_DELAY_TIME

#define PW_ACCT_DELAY_TIME   41

Definition at line 111 of file radius.h.

◆ PW_ACCT_INPUT_OCTETS

#define PW_ACCT_INPUT_OCTETS   42

Definition at line 112 of file radius.h.

◆ PW_ACCT_INPUT_PACKETS

#define PW_ACCT_INPUT_PACKETS   47

Definition at line 117 of file radius.h.

◆ PW_ACCT_OUTPUT_OCTETS

#define PW_ACCT_OUTPUT_OCTETS   43

Definition at line 113 of file radius.h.

◆ PW_ACCT_OUTPUT_PACKETS

#define PW_ACCT_OUTPUT_PACKETS   48

Definition at line 118 of file radius.h.

◆ PW_ACCT_SESSION_ID

#define PW_ACCT_SESSION_ID   44

Definition at line 114 of file radius.h.

◆ PW_ACCT_SESSION_TIME

#define PW_ACCT_SESSION_TIME   46

Definition at line 116 of file radius.h.

◆ PW_ACCT_STATUS_TYPE

#define PW_ACCT_STATUS_TYPE   40

Definition at line 110 of file radius.h.

◆ PW_ACCT_UDP_PORT

#define PW_ACCT_UDP_PORT   1813

Definition at line 56 of file radius.h.

◆ PW_ADD_PORT_TO_IP_ADDRESS

#define PW_ADD_PORT_TO_IP_ADDRESS   1037

Definition at line 137 of file radius.h.

◆ PW_AUTH_UDP_PORT

#define PW_AUTH_UDP_PORT   1812

Definition at line 55 of file radius.h.

◆ PW_AUTHENTICATION_ACK

#define PW_AUTHENTICATION_ACK   2

Definition at line 66 of file radius.h.

◆ PW_AUTHENTICATION_REJECT

#define PW_AUTHENTICATION_REJECT   3

Definition at line 67 of file radius.h.

◆ PW_AUTHENTICATION_REQUEST

#define PW_AUTHENTICATION_REQUEST   1

Definition at line 65 of file radius.h.

◆ PW_AUTHTYPE

#define PW_AUTHTYPE   1000

Definition at line 126 of file radius.h.

◆ PW_AUTHTYPE_ACCEPT

#define PW_AUTHTYPE_ACCEPT   254

Definition at line 186 of file radius.h.

◆ PW_AUTHTYPE_CRYPT

#define PW_AUTHTYPE_CRYPT   3

Definition at line 183 of file radius.h.

◆ PW_AUTHTYPE_LOCAL

#define PW_AUTHTYPE_LOCAL   0

Definition at line 180 of file radius.h.

◆ PW_AUTHTYPE_PAM

#define PW_AUTHTYPE_PAM   253

Definition at line 185 of file radius.h.

◆ PW_AUTHTYPE_REJECT

#define PW_AUTHTYPE_REJECT   4

Definition at line 184 of file radius.h.

◆ PW_AUTHTYPE_SECURID

#define PW_AUTHTYPE_SECURID   2

Definition at line 182 of file radius.h.

◆ PW_AUTHTYPE_SYSTEM

#define PW_AUTHTYPE_SYSTEM   1

Definition at line 181 of file radius.h.

◆ PW_BROADCAST

#define PW_BROADCAST   1

Definition at line 163 of file radius.h.

◆ PW_BROADCAST_LISTEN

#define PW_BROADCAST_LISTEN   3

Definition at line 165 of file radius.h.

◆ PW_CALLBACK_ID

#define PW_CALLBACK_ID   20

Definition at line 96 of file radius.h.

◆ PW_CALLBACK_NUMBER

#define PW_CALLBACK_NUMBER   19

Definition at line 95 of file radius.h.

◆ PW_CALLED_STATION_ID

#define PW_CALLED_STATION_ID   30

Definition at line 105 of file radius.h.

◆ PW_CALLING_STATION_ID

#define PW_CALLING_STATION_ID   31

Definition at line 106 of file radius.h.

◆ PW_CHAP_CHALLENGE

#define PW_CHAP_CHALLENGE   60

Definition at line 120 of file radius.h.

◆ PW_CHAP_PASSWORD

#define PW_CHAP_PASSWORD   3

Definition at line 79 of file radius.h.

◆ PW_CLASS

#define PW_CLASS   25

Definition at line 101 of file radius.h.

◆ PW_CONNECT_INFO

#define PW_CONNECT_INFO   77

Definition at line 123 of file radius.h.

◆ PW_CONNECT_RATE

#define PW_CONNECT_RATE   1007

Definition at line 131 of file radius.h.

◆ PW_CRYPT_PASSWORD

#define PW_CRYPT_PASSWORD   1006

Definition at line 130 of file radius.h.

◆ PW_DIALBACK_FRAMED_USER

#define PW_DIALBACK_FRAMED_USER   4

Definition at line 153 of file radius.h.

◆ PW_DIALBACK_LOGIN_USER

#define PW_DIALBACK_LOGIN_USER   3

Definition at line 152 of file radius.h.

◆ PW_EXEC_PROGRAM

#define PW_EXEC_PROGRAM   1038

Definition at line 138 of file radius.h.

◆ PW_EXEC_PROGRAM_WAIT

#define PW_EXEC_PROGRAM_WAIT   1039

Definition at line 139 of file radius.h.

◆ PW_EXPIRATION

#define PW_EXPIRATION   21

Definition at line 97 of file radius.h.

◆ PW_FALL_THROUGH

#define PW_FALL_THROUGH   1036

Definition at line 136 of file radius.h.

◆ PW_FILTER_ID

#define PW_FILTER_ID   11

Definition at line 87 of file radius.h.

◆ PW_FRAMED_COMPRESSION

#define PW_FRAMED_COMPRESSION   13

Definition at line 89 of file radius.h.

◆ PW_FRAMED_IP_ADDRESS

#define PW_FRAMED_IP_ADDRESS   8

Definition at line 84 of file radius.h.

◆ PW_FRAMED_IP_NETMASK

#define PW_FRAMED_IP_NETMASK   9

Definition at line 85 of file radius.h.

◆ PW_FRAMED_IPXNET

#define PW_FRAMED_IPXNET   23

Definition at line 99 of file radius.h.

◆ PW_FRAMED_MTU

#define PW_FRAMED_MTU   12

Definition at line 88 of file radius.h.

◆ PW_FRAMED_PROTOCOL

#define PW_FRAMED_PROTOCOL   7

Definition at line 83 of file radius.h.

◆ PW_FRAMED_ROUTE

#define PW_FRAMED_ROUTE   22

Definition at line 98 of file radius.h.

◆ PW_FRAMED_ROUTING

#define PW_FRAMED_ROUTING   10

Definition at line 86 of file radius.h.

◆ PW_FRAMED_USER

#define PW_FRAMED_USER   2

Definition at line 151 of file radius.h.

◆ PW_GROUP

#define PW_GROUP   1005

Definition at line 129 of file radius.h.

◆ PW_GROUP_NAME

#define PW_GROUP_NAME   1030

Definition at line 133 of file radius.h.

◆ PW_HINT

#define PW_HINT   1040

Definition at line 140 of file radius.h.

◆ PW_HUNTGROUP_NAME

#define PW_HUNTGROUP_NAME   221

Definition at line 125 of file radius.h.

◆ PW_IDLE_TIMEOUT

#define PW_IDLE_TIMEOUT   28

Definition at line 104 of file radius.h.

◆ PW_LISTEN

#define PW_LISTEN   2

Definition at line 164 of file radius.h.

◆ PW_LOGIN_IP_HOST

#define PW_LOGIN_IP_HOST   14

Definition at line 90 of file radius.h.

◆ PW_LOGIN_SERVICE

#define PW_LOGIN_SERVICE   15

Definition at line 91 of file radius.h.

◆ PW_LOGIN_TCP_PORT

#define PW_LOGIN_TCP_PORT   16

Definition at line 92 of file radius.h.

◆ PW_LOGIN_TIME

#define PW_LOGIN_TIME   1042

Definition at line 142 of file radius.h.

◆ PW_LOGIN_USER

#define PW_LOGIN_USER   1

Definition at line 150 of file radius.h.

◆ PW_NAS_ID

#define PW_NAS_ID   32

Definition at line 107 of file radius.h.

◆ PW_NAS_IP_ADDRESS

#define PW_NAS_IP_ADDRESS   4

Definition at line 80 of file radius.h.

◆ PW_NAS_PORT_ASYNC

#define PW_NAS_PORT_ASYNC   0

Definition at line 189 of file radius.h.

◆ PW_NAS_PORT_ID

#define PW_NAS_PORT_ID   5

Definition at line 81 of file radius.h.

◆ PW_NAS_PORT_ISDN

#define PW_NAS_PORT_ISDN   2

Definition at line 191 of file radius.h.

◆ PW_NAS_PORT_ISDN_V110

#define PW_NAS_PORT_ISDN_V110   4

Definition at line 193 of file radius.h.

◆ PW_NAS_PORT_ISDN_V120

#define PW_NAS_PORT_ISDN_V120   3

Definition at line 192 of file radius.h.

◆ PW_NAS_PORT_SYNC

#define PW_NAS_PORT_SYNC   1

Definition at line 190 of file radius.h.

◆ PW_NAS_PORT_TYPE

#define PW_NAS_PORT_TYPE   61

Definition at line 121 of file radius.h.

◆ PW_NONE

#define PW_NONE   0

Definition at line 162 of file radius.h.

◆ PW_OLD_PASSWORD

#define PW_OLD_PASSWORD   17

Definition at line 93 of file radius.h.

◆ PW_PASSWORD

#define PW_PASSWORD   2

Definition at line 78 of file radius.h.

◆ PW_PASSWORD_ACK

#define PW_PASSWORD_ACK   8

Definition at line 72 of file radius.h.

◆ PW_PASSWORD_REJECT

#define PW_PASSWORD_REJECT   9

Definition at line 73 of file radius.h.

◆ PW_PASSWORD_REQUEST

#define PW_PASSWORD_REQUEST   7

Definition at line 71 of file radius.h.

◆ PW_PORT_LIMIT

#define PW_PORT_LIMIT   62

Definition at line 122 of file radius.h.

◆ PW_PORTMASTER

#define PW_PORTMASTER   3

Definition at line 176 of file radius.h.

◆ PW_PPP

#define PW_PPP   1

Definition at line 157 of file radius.h.

◆ PW_PREFIX

#define PW_PREFIX   1003

Definition at line 127 of file radius.h.

◆ PW_PROXY_STATE

#define PW_PROXY_STATE   33

Definition at line 108 of file radius.h.

◆ PW_REPLY_MESSAGE

#define PW_REPLY_MESSAGE   18

Definition at line 94 of file radius.h.

◆ PW_RLOGIN

#define PW_RLOGIN   1

Definition at line 174 of file radius.h.

◆ PW_SERVICE_TYPE

#define PW_SERVICE_TYPE   6

Definition at line 82 of file radius.h.

◆ PW_SESSION_TIMEOUT

#define PW_SESSION_TIMEOUT   27

Definition at line 103 of file radius.h.

◆ PW_SIMULTANEOUS_USE

#define PW_SIMULTANEOUS_USE   1034

Definition at line 134 of file radius.h.

◆ PW_SLIP

#define PW_SLIP   2

Definition at line 158 of file radius.h.

◆ PW_STATE

#define PW_STATE   24

Definition at line 100 of file radius.h.

◆ PW_STATUS_ACCOUNTING_OFF

#define PW_STATUS_ACCOUNTING_OFF   8

Definition at line 201 of file radius.h.

◆ PW_STATUS_ACCOUNTING_ON

#define PW_STATUS_ACCOUNTING_ON   7

Definition at line 200 of file radius.h.

◆ PW_STATUS_ALIVE

#define PW_STATUS_ALIVE   3

Definition at line 199 of file radius.h.

◆ PW_STATUS_START

#define PW_STATUS_START   1

Definition at line 197 of file radius.h.

◆ PW_STATUS_STOP

#define PW_STATUS_STOP   2

Definition at line 198 of file radius.h.

◆ PW_STRIP_USERNAME

#define PW_STRIP_USERNAME   1035

Definition at line 135 of file radius.h.

◆ PW_SUFFIX

#define PW_SUFFIX   1004

Definition at line 128 of file radius.h.

◆ PW_TCP_CLEAR

#define PW_TCP_CLEAR   2

Definition at line 175 of file radius.h.

◆ PW_TELNET

#define PW_TELNET   0

Definition at line 173 of file radius.h.

◆ PW_TYPE_DATE

#define PW_TYPE_DATE   3

Definition at line 63 of file radius.h.

◆ PW_TYPE_INTEGER

#define PW_TYPE_INTEGER   1

Definition at line 61 of file radius.h.

◆ PW_TYPE_IPADDR

#define PW_TYPE_IPADDR   2

Definition at line 62 of file radius.h.

◆ PW_TYPE_STRING

#define PW_TYPE_STRING   0

Definition at line 60 of file radius.h.

◆ PW_USER_CATEGORY

#define PW_USER_CATEGORY   1029

Definition at line 132 of file radius.h.

◆ PW_USER_NAME

#define PW_USER_NAME   1

Definition at line 77 of file radius.h.

◆ PW_VAN_JACOBSEN_TCP_IP

#define PW_VAN_JACOBSEN_TCP_IP   1

Definition at line 169 of file radius.h.

◆ PW_VENDOR_SPECIFIC

#define PW_VENDOR_SPECIFIC   26

Definition at line 102 of file radius.h.

◆ VENDORPEC_USR

#define VENDORPEC_USR   429

Definition at line 58 of file radius.h.

Typedef Documentation

◆ AUTH_HDR

typedef struct pw_auth_hdr AUTH_HDR

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors