1#
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
26# The dictionary format now supports vendor-specific attributes.
27# Vendors are introduced like this:
28#
29#	VENDOR vendor_name vendor_number
30#
31# For example:
32#
33#	VENDOR RoaringPenguin 10055
34#
35# Vendor-specific attributes have a fifth field with the name of the
36# vendor.  For example:
37#
38#       ATTRIBUTE RP-Upstream-Speed-Limit 1 integer RoaringPenguin
39#
40# introduces a Roaring Penguin vendor-specific attribbute with name
41# RP-Upstream-Speed-Limit, number 1, type integer and vendor RoaringPenguin.
42
43#
44#	Following are the proper new names. Use these.
45#
46ATTRIBUTE	User-Name		1	string
47ATTRIBUTE	Password		2	string
48ATTRIBUTE	CHAP-Password		3	string
49ATTRIBUTE	NAS-IP-Address		4	ipaddr
50ATTRIBUTE	NAS-Port-Id		5	integer
51ATTRIBUTE	Service-Type		6	integer
52ATTRIBUTE	Framed-Protocol		7	integer
53ATTRIBUTE	Framed-IP-Address	8	ipaddr
54ATTRIBUTE	Framed-IP-Netmask	9	ipaddr
55ATTRIBUTE	Framed-Routing		10	integer
56ATTRIBUTE	Filter-Id		11	string
57ATTRIBUTE	Framed-MTU		12	integer
58ATTRIBUTE	Framed-Compression	13	integer
59ATTRIBUTE	Login-IP-Host		14	ipaddr
60ATTRIBUTE	Login-Service		15	integer
61ATTRIBUTE	Login-TCP-Port		16	integer
62ATTRIBUTE	Reply-Message		18	string
63ATTRIBUTE	Callback-Number		19	string
64ATTRIBUTE	Callback-Id		20	string
65ATTRIBUTE	Framed-Route		22	string
66ATTRIBUTE	Framed-IPX-Network	23	ipaddr
67ATTRIBUTE	State			24	string
68ATTRIBUTE	Class			25	string
69ATTRIBUTE	Session-Timeout		27	integer
70ATTRIBUTE	Idle-Timeout		28	integer
71ATTRIBUTE	Termination-Action	29	integer
72ATTRIBUTE	Called-Station-Id	30	string
73ATTRIBUTE	Calling-Station-Id	31	string
74ATTRIBUTE	NAS-Identifier		32	string
75ATTRIBUTE	Acct-Status-Type	40	integer
76ATTRIBUTE	Acct-Delay-Time		41	integer
77ATTRIBUTE	Acct-Input-Octets	42	integer
78ATTRIBUTE	Acct-Output-Octets	43	integer
79ATTRIBUTE	Acct-Session-Id		44	string
80ATTRIBUTE	Acct-Authentic		45	integer
81ATTRIBUTE	Acct-Session-Time	46	integer
82ATTRIBUTE	Acct-Input-Packets	47	integer
83ATTRIBUTE	Acct-Output-Packets	48	integer
84ATTRIBUTE	Acct-Terminate-Cause	49	integer
85ATTRIBUTE       Chap-Challenge          60      string
86ATTRIBUTE	NAS-Port-Type		61	integer
87ATTRIBUTE	Port-Limit		62	integer
88ATTRIBUTE	Connect-Info		77	string
89
90# RFC 2869
91ATTRIBUTE	Acct-Interim-Interval	85	integer
92
93#
94#	Experimental Non Protocol Attributes used by Cistron-Radiusd
95#
96ATTRIBUTE	Huntgroup-Name		221	string
97ATTRIBUTE	User-Category		1029	string
98ATTRIBUTE	Group-Name		1030	string
99ATTRIBUTE	Simultaneous-Use	1034	integer
100ATTRIBUTE	Strip-User-Name		1035	integer
101ATTRIBUTE	Fall-Through		1036	integer
102ATTRIBUTE	Add-Port-To-IP-Address	1037	integer
103ATTRIBUTE	Exec-Program		1038	string
104ATTRIBUTE	Exec-Program-Wait	1039	string
105ATTRIBUTE	Hint			1040	string
106
107#
108#	Non-Protocol Attributes
109#	These attributes are used internally by the server
110#
111ATTRIBUTE	Expiration		  21	date
112ATTRIBUTE	Auth-Type		1000	integer
113ATTRIBUTE	Menu			1001	string
114ATTRIBUTE	Termination-Menu	1002	string
115ATTRIBUTE	Prefix			1003	string
116ATTRIBUTE	Suffix			1004	string
117ATTRIBUTE	Group			1005	string
118ATTRIBUTE	Crypt-Password		1006	string
119ATTRIBUTE	Connect-Rate		1007	integer
120
121#
122#       Experimental, implementation specific attributes
123#
124# Limit session traffic
125ATTRIBUTE	Session-Octets-Limit	227	integer
126# What to assume as limit - 0 in+out, 1 in, 2 out, 3 max(in,out)
127ATTRIBUTE	Octets-Direction	228	integer
128
129#
130#	Integer Translations
131#
132
133#	User Types
134
135VALUE		Service-Type		Login-User		1
136VALUE		Service-Type		Framed-User		2
137VALUE		Service-Type		Callback-Login-User	3
138VALUE		Service-Type		Callback-Framed-User	4
139VALUE		Service-Type		Outbound-User		5
140VALUE		Service-Type		Administrative-User	6
141VALUE		Service-Type		NAS-Prompt-User		7
142
143#	Framed Protocols
144
145VALUE		Framed-Protocol		PPP			1
146VALUE		Framed-Protocol		SLIP			2
147
148#	Framed Routing Values
149
150VALUE		Framed-Routing		None			0
151VALUE		Framed-Routing		Broadcast		1
152VALUE		Framed-Routing		Listen			2
153VALUE		Framed-Routing		Broadcast-Listen	3
154
155#	Framed Compression Types
156
157VALUE		Framed-Compression	None			0
158VALUE		Framed-Compression	Van-Jacobson-TCP-IP	1
159
160#	Login Services
161
162VALUE		Login-Service		Telnet			0
163VALUE		Login-Service		Rlogin			1
164VALUE		Login-Service		TCP-Clear		2
165VALUE		Login-Service		PortMaster		3
166
167#	Status Types
168
169VALUE		Acct-Status-Type	Start			1
170VALUE		Acct-Status-Type	Stop			2
171VALUE		Acct-Status-Type	Accounting-On		7
172VALUE		Acct-Status-Type	Accounting-Off		8
173
174#	Authentication Types
175
176VALUE		Acct-Authentic		RADIUS			1
177VALUE		Acct-Authentic		Local			2
178VALUE		Acct-Authentic		PowerLink128		100
179
180#	Termination Options
181
182VALUE		Termination-Action	Default			0
183VALUE		Termination-Action	RADIUS-Request		1
184
185#	NAS Port Types, available in 3.3.1 and later
186
187VALUE		NAS-Port-Type		Async			0
188VALUE		NAS-Port-Type		Sync			1
189VALUE		NAS-Port-Type		ISDN			2
190VALUE		NAS-Port-Type		ISDN-V120		3
191VALUE		NAS-Port-Type		ISDN-V110		4
192
193#	Acct Terminate Causes, available in 3.3.2 and later
194
195VALUE           Acct-Terminate-Cause    User-Request            1
196VALUE           Acct-Terminate-Cause    Lost-Carrier            2
197VALUE           Acct-Terminate-Cause    Lost-Service            3
198VALUE           Acct-Terminate-Cause    Idle-Timeout            4
199VALUE           Acct-Terminate-Cause    Session-Timeout         5
200VALUE           Acct-Terminate-Cause    Admin-Reset             6
201VALUE           Acct-Terminate-Cause    Admin-Reboot            7
202VALUE           Acct-Terminate-Cause    Port-Error              8
203VALUE           Acct-Terminate-Cause    NAS-Error               9
204VALUE           Acct-Terminate-Cause    NAS-Request             10
205VALUE           Acct-Terminate-Cause    NAS-Reboot              11
206VALUE           Acct-Terminate-Cause    Port-Unneeded           12
207VALUE           Acct-Terminate-Cause    Port-Preempted          13
208VALUE           Acct-Terminate-Cause    Port-Suspended          14
209VALUE           Acct-Terminate-Cause    Service-Unavailable     15
210VALUE           Acct-Terminate-Cause    Callback                16
211VALUE           Acct-Terminate-Cause    User-Error              17
212VALUE           Acct-Terminate-Cause    Host-Request            18
213
214#
215#	Non-Protocol Integer Translations
216#
217
218VALUE		Auth-Type		Local			0
219VALUE		Auth-Type		System			1
220VALUE		Auth-Type		SecurID			2
221VALUE		Auth-Type		Crypt-Local		3
222VALUE		Auth-Type		Reject			4
223
224#
225#	Cistron extensions
226#
227VALUE		Auth-Type		Pam			253
228VALUE		Auth-Type		None			254
229
230#
231#	Experimental Non-Protocol Integer Translations for Cistron-Radiusd
232#
233VALUE		Fall-Through		No			0
234VALUE		Fall-Through		Yes			1
235VALUE		Add-Port-To-IP-Address	No			0
236VALUE		Add-Port-To-IP-Address	Yes			1
237
238#
239#	Configuration Values
240#	uncomment these two lines to turn account expiration on
241#
242
243#VALUE		Server-Config		Password-Expiration	30
244#VALUE		Server-Config		Password-Warning	5
245
246#       Octets-Direction
247VALUE		Octets-Direction        Sum			0
248VALUE		Octets-Direction        Input			1
249VALUE		Octets-Direction        Output			2
250VALUE		Octets-Direction        MaxOveral		3
251VALUE		Octets-Direction        MaxSession		4
252
253INCLUDE /etc/radiusclient/dictionary.microsoft
254