1 /* This file is generated automatically.
2  * Source file: ../../raddb/dict/standard
3  *
4  * Naming convention:
5  *     DA_XXX          -   Dictionary Attribute XXX
6  *     DV_XXX_YYY      -   Dictionary Value YYY corresponding to attribute XXX
7  */
8 #ifndef _gnu_radius_dictionary_h
9 #define _gnu_radius_dictionary_h
10 #define DA_USER_NAME 1
11 #define DA_USER_PASSWORD 2
12 #define DA_CHAP_PASSWORD 3
13 #define DA_NAS_IP_ADDRESS 4
14 #define DA_NAS_PORT_ID 5
15 #define DA_SERVICE_TYPE 6
16 #define DA_FRAMED_PROTOCOL 7
17 #define DA_FRAMED_IP_ADDRESS 8
18 #define DA_FRAMED_IP_NETMASK 9
19 #define DA_FRAMED_ROUTING 10
20 #define DA_FILTER_ID 11
21 #define DA_FRAMED_MTU 12
22 #define DA_FRAMED_COMPRESSION 13
23 #define DA_LOGIN_IP_HOST 14
24 #define DA_LOGIN_SERVICE 15
25 #define DA_LOGIN_TCP_PORT 16
26 #define DA_REPLY_MESSAGE 18
27 #define DA_CALLBACK_NUMBER 19
28 #define DA_CALLBACK_ID 20
29 #define DA_FRAMED_ROUTE 22
30 #define DA_FRAMED_IPX_NETWORK 23
31 #define DA_STATE 24
32 #define DA_CLASS 25
33 #define DA_VENDOR_SPECIFIC 26
34 #define DA_SESSION_TIMEOUT 27
35 #define DA_IDLE_TIMEOUT 28
36 #define DA_TERMINATION_ACTION 29
37 #define DA_CALLED_STATION_ID 30
38 #define DA_CALLING_STATION_ID 31
39 #define DA_NAS_IDENTIFIER 32
40 #define DA_PROXY_STATE 33
41 #define DA_LOGIN_LAT_SERVICE 34
42 #define DA_LOGIN_LAT_NODE 35
43 #define DA_LOGIN_LAT_GROUP 36
44 #define DA_FRAMED_APPLETALK_LINK 37
45 #define DA_FRAMED_APPLETALK_NETWORK 38
46 #define DA_FRAMED_APPLETALK_ZONE 39
47 #define DA_ACCT_STATUS_TYPE 40
48 #define DA_ACCT_DELAY_TIME 41
49 #define DA_ACCT_INPUT_OCTETS 42
50 #define DA_ACCT_OUTPUT_OCTETS 43
51 #define DA_ACCT_SESSION_ID 44
52 #define DA_ACCT_AUTHENTIC 45
53 #define DA_ACCT_SESSION_TIME 46
54 #define DA_ACCT_INPUT_PACKETS 47
55 #define DA_ACCT_OUTPUT_PACKETS 48
56 #define DA_ACCT_TERMINATE_CAUSE 49
57 #define DA_ACCT_MULTI_SESSION_ID 50
58 #define DA_ACCT_LINK_COUNT 51
59 #define DA_ACCT_INPUT_GIGAWORDS 52
60 #define DA_ACCT_OUTPUT_GIGAWORDS 53
61 #define DA_EVENT_TIMESTAMP 55
62 #define DA_CHAP_CHALLENGE 60
63 #define DA_NAS_PORT_TYPE 61
64 #define DA_PORT_LIMIT 62
65 #define DA_LOGIN_LAT_PORT 63
66 #define DA_ARAP_PASSWORD 70
67 #define DA_ARAP_FEATURES 71
68 #define DA_ARAP_ZONE_ACCESS 72
69 #define DA_ARAP_SECURITY 73
70 #define DA_ARAP_SECURITY_DATA 74
71 #define DA_PASSWORD_RETRY 75
72 #define DA_PROMPT 76
73 #define DV_PROMPT_NOECHO 0
74 #define DV_PROMPT_ECHO 1
75 #define DA_CONNECT_INFO 77
76 #define DA_CONFIGURATION_TOKEN 78
77 #define DA_EAP_MESSAGE 79
78 #define DA_MESSAGE_AUTHENTICATOR 80
79 #define DA_ARAP_CHALLENGE_RESPONSE 84
80 #define DA_ACCT_INTERIM_INTERVAL 85
81 /*  Note: according to rfc2869, this attribute is named NAS-Port-Id
82  *  which conflicts with the name for attribute 5. The latter should
83  *  be called NAS-Port!
84  */
85 #define DA_NAS_PORT_ID_STRING 87
86 #define DA_FRAMED_POOL 88
87 #define DA_USER_UID 99
88 #define DA_USER_GID 100
89 /*
90  *  Cistron-Radius compatibility
91  *
92  */
93 #define DA_HUNTGROUP_NAME 221
94 #define DA_USER_CATEGORY 1029
95 #define DA_GROUP_NAME 1030
96 #define DA_SIMULTANEOUS_USE 1034
97 #define DA_STRIP_USER_NAME 1035
98 #define DA_FALL_THROUGH 1036
99 /*  Use of this attribute is deprecated
100  */
101 #define DA_ADD_PORT_TO_IP_ADDRESS 1037
102 #define DA_EXEC_PROGRAM 1038
103 #define DA_EXEC_PROGRAM_WAIT 1039
104 #define DA_HINT 1040
105 #define DA_PAM_AUTH 1041
106 #define DA_LOGIN_TIME 1042
107 /*  Attributes used by GNU Radius
108  */
109 #define DA_REPLACE_USER_NAME 2001
110 #define DA_REWRITE_FUNCTION 2002
111 #define DA_ACCT_TYPE 2003
112 #define DV_ACCT_TYPE_NONE 0
113 #define DV_ACCT_TYPE_SYSTEM 1
114 #define DV_ACCT_TYPE_DETAIL 2
115 #define DV_ACCT_TYPE_SQL 3
116 #define DA_MATCH_PROFILE 2004
117 #define DA_AUTH_DATA 2006
118 #define DA_LOG_MODE_MASK 2007
119 #define DV_LOG_MODE_MASK_LOG_AUTH 1
120 #define DV_LOG_MODE_MASK_LOG_AUTH_PASS 2
121 #define DV_LOG_MODE_MASK_LOG_FAILED_PASS 4
122 #define DV_LOG_MODE_MASK_LOG_PASS 6
123 #define DV_LOG_MODE_MASK_LOG_ALL 7
124 #define DA_ACCT_EXT_PROGRAM 2008
125 #define DA_SCHEME_PROCEDURE 2009
126 #define DA_SCHEME_ACCT_PROCEDURE 2010
127 #define DA_PASSWORD_LOCATION 2011
128 #define DV_PASSWORD_LOCATION_SQL 1
129 #define DA_PROXY_REPLIED 2012
130 #define DV_PROXY_REPLIED_NO 0
131 #define DV_PROXY_REPLIED_YES 1
132 #define DA_REALM_NAME 2013
133 #define DA_AUTH_FAILURE_TRIGGER 2014
134 /*  These are used by rewriting functions:
135  */
136 #define DA_ORIG_USER_NAME 2101
137 #define DA_ORIG_NAS_PORT_ID 2105
138 #define DA_ORIG_ACCT_SESSION_ID 2144
139 #define DA_PASSWORD_EXPIRE_DAYS 2145
140 #define DA_GNU_SERVER_ADDRESS 2146
141 #define DA_GNU_SERVER_PORT 2147
142 /*
143  *  Non-Protocol Attributes
144  *  These attributes are used internally by the server
145  *
146  */
147 #define DA_EXPIRATION 21
148 #define DA_AUTH_TYPE 1000
149 #define DA_MENU 1001
150 #define DA_TERMINATION_MENU 1002
151 #define DA_PREFIX 1003
152 #define DA_SUFFIX 1004
153 #define DA_GROUP 1005
154 #define DA_CRYPT_PASSWORD 1006
155 #define DA_CONNECT_RATE 1007
156 /*
157  *  Integer Translations
158  *
159  */
160 /*  User Types
161  */
162 #define DV_SERVICE_TYPE_LOGIN_USER 1
163 #define DV_SERVICE_TYPE_FRAMED_USER 2
164 #define DV_SERVICE_TYPE_CALLBACK_LOGIN_USER 3
165 #define DV_SERVICE_TYPE_CALLBACK_FRAMED_USER 4
166 #define DV_SERVICE_TYPE_OUTBOUND_USER 5
167 #define DV_SERVICE_TYPE_ADMINISTRATIVE_USER 6
168 #define DV_SERVICE_TYPE_NAS_PROMPT_USER 7
169 #define DV_SERVICE_TYPE_AUTHENTICATE_ONLY 8
170 #define DV_SERVICE_TYPE_CALL_CHECK 10
171 /*  Framed Protocols
172  */
173 #define DV_FRAMED_PROTOCOL_PPP 1
174 #define DV_FRAMED_PROTOCOL_SLIP 2
175 /*  Framed Routing Values
176  */
177 #define DV_FRAMED_ROUTING_NONE 0
178 #define DV_FRAMED_ROUTING_BROADCAST 1
179 #define DV_FRAMED_ROUTING_LISTEN 2
180 #define DV_FRAMED_ROUTING_BROADCAST_LISTEN 3
181 /*  Framed Compression Types
182  */
183 #define DV_FRAMED_COMPRESSION_NONE 0
184 #define DV_FRAMED_COMPRESSION_VAN_JACOBSON_TCP_IP 1
185 /*  Login Services
186  */
187 #define DV_LOGIN_SERVICE_TELNET 0
188 #define DV_LOGIN_SERVICE_RLOGIN 1
189 #define DV_LOGIN_SERVICE_TCP_CLEAR 2
190 #define DV_LOGIN_SERVICE_PORTMASTER 3
191 /*  Status Types
192  */
193 #define DV_ACCT_STATUS_TYPE_START 1
194 #define DV_ACCT_STATUS_TYPE_STOP 2
195 #define DV_ACCT_STATUS_TYPE_ALIVE 3
196 #define DV_ACCT_STATUS_TYPE_ACCOUNTING_ON 7
197 #define DV_ACCT_STATUS_TYPE_ACCOUNTING_OFF 8
198 /*  Authentication Types
199  */
200 #define DV_ACCT_AUTHENTIC_RADIUS 1
201 #define DV_ACCT_AUTHENTIC_LOCAL 2
202 /*  Termination Options
203  */
204 #define DV_TERMINATION_ACTION_DEFAULT 0
205 #define DV_TERMINATION_ACTION_RADIUS_REQUEST 1
206 /*  NAS Port Types, available in 3.3.1 and later
207  */
208 #define DV_NAS_PORT_TYPE_ASYNC 0
209 #define DV_NAS_PORT_TYPE_SYNC 1
210 #define DV_NAS_PORT_TYPE_ISDN 2
211 #define DV_NAS_PORT_TYPE_ISDN_V120 3
212 #define DV_NAS_PORT_TYPE_ISDN_V110 4
213 /*  Acct Terminate Causes, available in 3.3.2 and later
214  */
215 #define DV_ACCT_TERMINATE_CAUSE_USER_REQUEST 1
216 #define DV_ACCT_TERMINATE_CAUSE_LOST_CARRIER 2
217 #define DV_ACCT_TERMINATE_CAUSE_LOST_SERVICE 3
218 #define DV_ACCT_TERMINATE_CAUSE_IDLE_TIMEOUT 4
219 #define DV_ACCT_TERMINATE_CAUSE_SESSION_TIMEOUT 5
220 #define DV_ACCT_TERMINATE_CAUSE_ADMIN_RESET 6
221 #define DV_ACCT_TERMINATE_CAUSE_ADMIN_REBOOT 7
222 #define DV_ACCT_TERMINATE_CAUSE_PORT_ERROR 8
223 #define DV_ACCT_TERMINATE_CAUSE_NAS_ERROR 9
224 #define DV_ACCT_TERMINATE_CAUSE_NAS_REQUEST 10
225 #define DV_ACCT_TERMINATE_CAUSE_NAS_REBOOT 11
226 #define DV_ACCT_TERMINATE_CAUSE_PORT_UNNEEDED 12
227 #define DV_ACCT_TERMINATE_CAUSE_PORT_PREEMPTED 13
228 #define DV_ACCT_TERMINATE_CAUSE_PORT_SUSPENDED 14
229 #define DV_ACCT_TERMINATE_CAUSE_SERVICE_UNAVAILABLE 15
230 #define DV_ACCT_TERMINATE_CAUSE_CALLBACK 16
231 #define DV_ACCT_TERMINATE_CAUSE_USER_ERROR 17
232 #define DV_ACCT_TERMINATE_CAUSE_HOST_REQUEST 18
233 /*
234  *  Auth-Type translations
235  *
236  */
237 #define DV_AUTH_TYPE_LOCAL 0
238 #define DV_AUTH_TYPE_SYSTEM 1
239 #define DV_AUTH_TYPE_SECURID 2
240 #define DV_AUTH_TYPE_CRYPT_LOCAL 3
241 #define DV_AUTH_TYPE_REJECT 4
242 #define DV_AUTH_TYPE_IGNORE 5
243 #define DV_AUTH_TYPE_MS_CHAP 1000
244 /*
245  *  Extensions introduced by Cistron
246  *
247  */
248 #define DV_AUTH_TYPE_SQL 252
249 #define DV_AUTH_TYPE_PAM 253
250 #define DV_AUTH_TYPE_ACCEPT 254
251 #define DV_FALL_THROUGH_NO 0
252 #define DV_FALL_THROUGH_YES 1
253 #define DV_ADD_PORT_TO_IP_ADDRESS_NO 0
254 #define DV_ADD_PORT_TO_IP_ADDRESS_YES 1
255 #define DV_STRIP_USER_NAME_NO 0
256 #define DV_STRIP_USER_NAME_YES 1
257 #endif /* !_gnu_radius_dictionary_h */
258