blob: 81728905861a8ee641c1b206f1bea64968292fc7 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
2# Updated 97/06/13 to livingston-radius-2.01 miquels@cistron.nl
3#
4# This file contains dictionary translations for parsing
5# requests and generating responses. All transactions are
6# composed of Attribute/Value Pairs. The value of each attribute
7# is specified as one of 4 data types. Valid data types are:
8#
9# string - 0-253 octets
10# ipaddr - 4 octets in network byte order
11# integer - 32 bit value in big endian order (high byte first)
12# date - 32 bit value in big endian order - seconds since
13# 00:00:00 GMT, Jan. 1, 1970
14#
15# Enumerated values are stored in the user file with dictionary
16# VALUE translations for easy administration.
17#
18# Example:
19#
20# ATTRIBUTE VALUE
21# --------------- -----
22# Framed-Protocol = PPP
23# 7 = 1 (integer encoding)
24#
25
26INCLUDE /etc/radiusclient/dictionary.ms
27INCLUDE /etc/radiusclient/dictionary.sg
28#
29# Following are the proper new names. Use these.
30#
31ATTRIBUTE User-Name 1 string
32ATTRIBUTE Password 2 string
33ATTRIBUTE CHAP-Password 3 string
34ATTRIBUTE NAS-IP-Address 4 ipaddr
35ATTRIBUTE NAS-Port-Id 5 integer
36ATTRIBUTE Service-Type 6 integer
37ATTRIBUTE Framed-Protocol 7 integer
38ATTRIBUTE Framed-IP-Address 8 ipaddr
39ATTRIBUTE Framed-IP-Netmask 9 ipaddr
40ATTRIBUTE Framed-Routing 10 integer
41ATTRIBUTE Filter-Id 11 string
42ATTRIBUTE Framed-MTU 12 integer
43ATTRIBUTE Framed-Compression 13 integer
44ATTRIBUTE Login-IP-Host 14 ipaddr
45ATTRIBUTE Login-Service 15 integer
46ATTRIBUTE Login-TCP-Port 16 integer
47ATTRIBUTE Reply-Message 18 string
48ATTRIBUTE Callback-Number 19 string
49ATTRIBUTE Callback-Id 20 string
50ATTRIBUTE Framed-Route 22 string
51ATTRIBUTE Framed-IPX-Network 23 ipaddr
52ATTRIBUTE State 24 string
53ATTRIBUTE Class 25 string
54ATTRIBUTE Vendor-Specific 26 string
55ATTRIBUTE Session-Timeout 27 integer
56ATTRIBUTE Idle-Timeout 28 integer
57ATTRIBUTE Termination-Action 29 integer
58ATTRIBUTE Called-Station-Id 30 string
59ATTRIBUTE Calling-Station-Id 31 string
60ATTRIBUTE NAS-Identifier 32 string
61ATTRIBUTE Proxy-State 33 string
62ATTRIBUTE Login-LAT-Service 34 string
63ATTRIBUTE Login-LAT-Node 35 string
64ATTRIBUTE Login-LAT-Group 36 string
65ATTRIBUTE Framed-AppleTalk-Link 37 integer
66ATTRIBUTE Framed-AppleTalk-Network 38 integer
67ATTRIBUTE Framed-AppleTalk-Zone 39 string
68ATTRIBUTE Acct-Status-Type 40 integer
69ATTRIBUTE Acct-Delay-Time 41 integer
70ATTRIBUTE Acct-Input-Octets 42 integer
71ATTRIBUTE Acct-Output-Octets 43 integer
72ATTRIBUTE Acct-Session-Id 44 string
73ATTRIBUTE Acct-Authentic 45 integer
74ATTRIBUTE Acct-Session-Time 46 integer
75ATTRIBUTE Acct-Input-Packets 47 integer
76ATTRIBUTE Acct-Output-Packets 48 integer
77ATTRIBUTE Acct-Terminate-Cause 49 integer
78ATTRIBUTE Acct-Multi-Session-Id 50 string
79ATTRIBUTE Acct-Link-Count 51 integer
80ATTRIBUTE Event-Timestamp 55 integer
81ATTRIBUTE CHAP-Challenge 60 string
82ATTRIBUTE NAS-Port-Type 61 integer
83ATTRIBUTE Port-Limit 62 integer
84ATTRIBUTE Login-LAT-Port 63 integer
85ATTRIBUTE Connect-Info 77 string
86
87#
88# RFC3162 IPv6 attributes
89#
90ATTRIBUTE NAS-IPv6-Address 95 string
91ATTRIBUTE Framed-Interface-Id 96 string
92ATTRIBUTE Framed-IPv6-Prefix 97 string
93ATTRIBUTE Login-IPv6-Host 98 string
94ATTRIBUTE Framed-IPv6-Route 99 string
95ATTRIBUTE Framed-IPv6-Pool 100 string
96
97#
98# Experimental Non Protocol Attributes used by Cistron-Radiusd
99#
100ATTRIBUTE Huntgroup-Name 221 string
101ATTRIBUTE User-Category 1029 string
102ATTRIBUTE Group-Name 1030 string
103ATTRIBUTE Simultaneous-Use 1034 integer
104ATTRIBUTE Strip-User-Name 1035 integer
105ATTRIBUTE Fall-Through 1036 integer
106ATTRIBUTE Add-Port-To-IP-Address 1037 integer
107ATTRIBUTE Exec-Program 1038 string
108ATTRIBUTE Exec-Program-Wait 1039 string
109ATTRIBUTE Hint 1040 string
110
111#
112# Non-Protocol Attributes
113# These attributes are used internally by the server
114#
115ATTRIBUTE Expiration 21 date
116ATTRIBUTE Auth-Type 1000 integer
117ATTRIBUTE Menu 1001 string
118ATTRIBUTE Termination-Menu 1002 string
119ATTRIBUTE Prefix 1003 string
120ATTRIBUTE Suffix 1004 string
121ATTRIBUTE Group 1005 string
122ATTRIBUTE Crypt-Password 1006 string
123ATTRIBUTE Connect-Rate 1007 integer
124
125#
126# Integer Translations
127#
128
129# User Types
130
131VALUE Service-Type Login-User 1
132VALUE Service-Type Framed-User 2
133VALUE Service-Type Callback-Login-User 3
134VALUE Service-Type Callback-Framed-User 4
135VALUE Service-Type Outbound-User 5
136VALUE Service-Type Administrative-User 6
137VALUE Service-Type NAS-Prompt-User 7
138
139# Framed Protocols
140
141VALUE Framed-Protocol PPP 1
142VALUE Framed-Protocol SLIP 2
143
144# Framed Routing Values
145
146VALUE Framed-Routing None 0
147VALUE Framed-Routing Broadcast 1
148VALUE Framed-Routing Listen 2
149VALUE Framed-Routing Broadcast-Listen 3
150
151# Framed Compression Types
152
153VALUE Framed-Compression None 0
154VALUE Framed-Compression Van-Jacobson-TCP-IP 1
155
156# Login Services
157
158VALUE Login-Service Telnet 0
159VALUE Login-Service Rlogin 1
160VALUE Login-Service TCP-Clear 2
161VALUE Login-Service PortMaster 3
162
163# Status Types
164
165VALUE Acct-Status-Type Start 1
166VALUE Acct-Status-Type Stop 2
167VALUE Acct-Status-Type Alive 3
168VALUE Acct-Status-Type Accounting-On 7
169VALUE Acct-Status-Type Accounting-Off 8
170
171# Authentication Types
172
173VALUE Acct-Authentic RADIUS 1
174VALUE Acct-Authentic Local 2
175VALUE Acct-Authentic PowerLink128 100
176
177# Termination Options
178
179VALUE Termination-Action Default 0
180VALUE Termination-Action RADIUS-Request 1
181
182# NAS Port Types, available in 3.3.1 and later
183
184VALUE NAS-Port-Type Async 0
185VALUE NAS-Port-Type Sync 1
186VALUE NAS-Port-Type ISDN 2
187VALUE NAS-Port-Type ISDN-V120 3
188VALUE NAS-Port-Type ISDN-V110 4
189
190# Acct Terminate Causes, available in 3.3.2 and later
191
192VALUE Acct-Terminate-Cause User-Request 1
193VALUE Acct-Terminate-Cause Lost-Carrier 2
194VALUE Acct-Terminate-Cause Lost-Service 3
195VALUE Acct-Terminate-Cause Idle-Timeout 4
196VALUE Acct-Terminate-Cause Session-Timeout 5
197VALUE Acct-Terminate-Cause Admin-Reset 6
198VALUE Acct-Terminate-Cause Admin-Reboot 7
199VALUE Acct-Terminate-Cause Port-Error 8
200VALUE Acct-Terminate-Cause NAS-Error 9
201VALUE Acct-Terminate-Cause NAS-Request 10
202VALUE Acct-Terminate-Cause NAS-Reboot 11
203VALUE Acct-Terminate-Cause Port-Unneeded 12
204VALUE Acct-Terminate-Cause Port-Preempted 13
205VALUE Acct-Terminate-Cause Port-Suspended 14
206VALUE Acct-Terminate-Cause Service-Unavailable 15
207VALUE Acct-Terminate-Cause Callback 16
208VALUE Acct-Terminate-Cause User-Error 17
209VALUE Acct-Terminate-Cause Host-Request 18
210
211#
212# Non-Protocol Integer Translations
213#
214
215VALUE Auth-Type Local 0
216VALUE Auth-Type System 1
217VALUE Auth-Type SecurID 2
218VALUE Auth-Type Crypt-Local 3
219VALUE Auth-Type Reject 4
220
221#
222# Cistron extensions
223#
224VALUE Auth-Type Pam 253
225VALUE Auth-Type Accept 254
226
227#
228# Experimental Non-Protocol Integer Translations for Cistron-Radiusd
229#
230VALUE Fall-Through No 0
231VALUE Fall-Through Yes 1
232VALUE Add-Port-To-IP-Address No 0
233VALUE Add-Port-To-IP-Address Yes 1
234
235#
236# Configuration Values
237# uncomment these two lines to turn account expiration on
238#
239
240#VALUE Server-Config Password-Expiration 30
241#VALUE Server-Config Password-Warning 5
242