#---------------------------------------------------------------------------
#
# $Id: dictionary,v 1.3 2002/04/01 01:28:10 horms Exp $ Copyright 1991-1999 Lucent Technologies Inc
#
#---------------------------------------------------------------------------
#
#	This file contains dictionary translations for parsing
#	requests and generating responses.  All transactions are
#	composed of Attribute/Value Pairs.  The value of each attribute
#	is specified as one of 4 data types.  Valid data types are:
#
#	string - 0-253 octets
#	ipaddr - 4 octets in network byte order
#	integer - 32 bit value in big endian order (high byte first)
#	date - 32 bit value in big endian order - seconds since
#					00:00:00 GMT,  Jan.  1,	 1970
#
#	Enumerated values are stored in the user file with dictionary
#	VALUE translations for easy administration.
#
#	Example:
#
#	ATTRIBUTE	  VALUE
#	---------------	  -----
#	Framed-Protocol = PPP
#	7		= 1	(integer encoding)
#

#
# Obsolete names for backwards compatibility with older users files
# If you want RADIUS accounting logs to use these obsolete names
# instead of the current ones, move this section to the end of the
# dictionary file and kill and restart radiusd
# If you don't have a RADIUS 1.16 users file that you're still using,
# you can delete or ignore this section.
#
ATTRIBUTE	Client-Id		4	ipaddr
ATTRIBUTE	Client-Port-Id		5	integer
ATTRIBUTE	User-Service-Type	6	integer
ATTRIBUTE	Framed-Address		8	ipaddr
ATTRIBUTE	Framed-Netmask		9	ipaddr
ATTRIBUTE	Framed-Filter-Id	11	string
ATTRIBUTE	Login-Host		14	ipaddr
ATTRIBUTE	Login-Port		16	integer
ATTRIBUTE	Old-Password		17	string
ATTRIBUTE	Port-Message		18	string
ATTRIBUTE	Dialback-No		19	string
ATTRIBUTE	Dialback-Name		20	string
ATTRIBUTE	Challenge-State		24	string
VALUE		Service-Type		Dialback-Login-User	3
VALUE		Service-Type		Dialback-Framed-User	4
VALUE		Service-Type		Shell-User		6
VALUE		Framed-Compression	Van-Jacobsen-TCP-IP	1
VALUE		Auth-Type		Unix			1
#
# END of obsolete names for backwards compatibility
#

#
# Standard Attributes
#
ATTRIBUTE	User-Name		1	string
ATTRIBUTE	Password		2	string
ATTRIBUTE	CHAP-Password		3	string
ATTRIBUTE	NAS-IP-Address		4	ipaddr
ATTRIBUTE	NAS-Port		5	integer
ATTRIBUTE	Service-Type		6	integer
ATTRIBUTE	Framed-Protocol		7	integer
ATTRIBUTE	Framed-IP-Address	8	ipaddr
ATTRIBUTE	Framed-IP-Netmask	9	ipaddr
ATTRIBUTE	Framed-Routing		10	integer
ATTRIBUTE	Filter-Id		11	string
ATTRIBUTE	Framed-MTU		12	integer
ATTRIBUTE	Framed-Compression	13	integer
ATTRIBUTE	Login-IP-Host		14	ipaddr
ATTRIBUTE	Login-Service		15	integer
ATTRIBUTE	Login-TCP-Port		16	integer
# Attribute 17 has not been assigned
ATTRIBUTE	Reply-Message		18	string
ATTRIBUTE	Callback-Number		19	string
ATTRIBUTE	Callback-Id		20	string
ATTRIBUTE	Framed-Route		22	string
ATTRIBUTE	Framed-IPX-Network	23	ipaddr
ATTRIBUTE	State			24	string
ATTRIBUTE	Class			25	string
ATTRIBUTE	Vendor-Specific		26	string
ATTRIBUTE	Session-Timeout		27	integer
ATTRIBUTE	Idle-Timeout		28	integer
ATTRIBUTE	Termination-Action	29	integer
ATTRIBUTE	Called-Station-Id	30	string
ATTRIBUTE	Calling-Station-Id	31	string
ATTRIBUTE	NAS-Identifier		32	string
ATTRIBUTE	Proxy-State		33	string
ATTRIBUTE	Login-LAT-Service	34	string
ATTRIBUTE	Login-LAT-Node		35	string
ATTRIBUTE	Login-LAT-Group		36	string
ATTRIBUTE	Framed-AppleTalk-Link	37	integer
ATTRIBUTE	Framed-AppleTalk-Network	38	integer
ATTRIBUTE	Framed-AppleTalk-Zone	39	string
ATTRIBUTE	Acct-Status-Type	40	integer
ATTRIBUTE	Acct-Delay-Time		41	integer
ATTRIBUTE	Acct-Input-Octets	42	integer
ATTRIBUTE	Acct-Output-Octets	43	integer
ATTRIBUTE	Acct-Session-Id		44	string
ATTRIBUTE	Acct-Authentic		45	integer
ATTRIBUTE	Acct-Session-Time	46	integer
ATTRIBUTE	Acct-Input-Packets	47	integer
ATTRIBUTE	Acct-Output-Packets	48	integer
ATTRIBUTE	Acct-Terminate-Cause	49	integer
ATTRIBUTE	Acct-Multi-Session-Id	50	string
ATTRIBUTE	Acct-Link-Count		51	integer
ATTRIBUTE	Acct-Input-Gigawords	52	integer
ATTRIBUTE	Acct-Output-Gigawords	53	integer
# Attribute 54 has not been assigned
ATTRIBUTE	Event-Timestamp		55	integer
# Attributes 55-59 have not been assigned
ATTRIBUTE	CHAP-Challenge		60	string
ATTRIBUTE	NAS-Port-Type		61	integer
ATTRIBUTE	Port-Limit		62	integer
ATTRIBUTE	Login-LAT-Port		63	string
ATTRIBUTE	Tunnel-Type		64	integer
ATTRIBUTE	Tunnel-Medium-Type	65	integer
ATTRIBUTE	Tunnel-Client-Endpoint	66	string
ATTRIBUTE	Tunnel-Server-Endpoint	67	string
ATTRIBUTE	Acct-Tunnel-Connection	68	string
ATTRIBUTE	Tunnel-Password		69	string
ATTRIBUTE	ARAP-Password		70	string
ATTRIBUTE	ARAP-Features		71	string
ATTRIBUTE	ARAP-Zone-Access	72	integer    
ATTRIBUTE	ARAP-Security		73	integer    
ATTRIBUTE	ARAP-Security-Data	74	string    
ATTRIBUTE	Password-Retry		75	integer   
ATTRIBUTE	Prompt			76	integer
ATTRIBUTE	Connect-Info		77	string
ATTRIBUTE	Configuration-Token	78	string
ATTRIBUTE	EAP-Message		79	string
ATTRIBUTE	Signature		80	string
ATTRIBUTE	Tunnel-Private-Group-ID	81	string
ATTRIBUTE	Tunnel-Assignment-ID	82	string
ATTRIBUTE	Tunnel-Preference	83	integer    
ATTRIBUTE	ARAP-Challenge-Response	84	string
ATTRIBUTE	Acct-Interim-Interval	85	integer
ATTRIBUTE	Acct-Tunnel-Packets-Lost	86	integer
ATTRIBUTE	NAS-Port-Id		87	string
ATTRIBUTE	Framed-Pool		88	string

#
#	Integer Translations
#

#	Service Types

VALUE		Service-Type	Login-User		1
VALUE		Service-Type	Framed-User		2
VALUE		Service-Type	Callback-Login-User	3
VALUE		Service-Type	Callback-Framed-User	4
VALUE		Service-Type	Outbound-User		5
VALUE		Service-Type	Administrative-User	6
VALUE           Service-Type    NAS-Prompt-User         7
VALUE           Service-Type    Authenticate-Only	8
VALUE           Service-Type    Callback-NAS-Prompt	9
VALUE           Service-Type    Call-Check		10
VALUE           Service-Type    Callback-Administrative	11
#
# Call-Check-User was used in ComOS 3.8b16 and before; replaced by Call-Check
#
VALUE           Service-Type    Call-Check-User         129

#	Framed Protocols

VALUE		Framed-Protocol		PPP			1
VALUE		Framed-Protocol		SLIP			2
VALUE		Framed-Protocol		ARAP			3
VALUE		Framed-Protocol		GANDALF-SLMLP		4
VALUE		Framed-Protocol		XYLOGICS-IPX-SLIP	5
VALUE		Framed-Protocol		X75			6

#	Framed Routing Values

VALUE		Framed-Routing		None			0
VALUE		Framed-Routing		Broadcast		1
VALUE		Framed-Routing		Listen			2
VALUE		Framed-Routing		Broadcast-Listen	3

#	Framed Compression Types

VALUE		Framed-Compression	None			0
VALUE		Framed-Compression	Van-Jacobson-TCP-IP	1
VALUE		Framed-Compression	IPX-Header		2
VALUE		Framed-Compression	Stac-LZS		3

#	Login Services

VALUE		Login-Service		Telnet			0
VALUE		Login-Service		Rlogin			1
VALUE		Login-Service		TCP-Clear		2
VALUE		Login-Service		PortMaster		3
VALUE		Login-Service		LAT			4
VALUE		Login-Service		X.25-PAD		5
VALUE		Login-Service		X.25-T3POS		6
VALUE		Login-Service		TCP-Clear-Quiet		8

#	Status Types

VALUE		Acct-Status-Type	Start			1
VALUE		Acct-Status-Type	Stop			2
VALUE		Acct-Status-Type	Interim-Update          3
VALUE		Acct-Status-Type	Accounting-On           7
VALUE		Acct-Status-Type	Accounting-Off          8
VALUE		Acct-Status-Type	Tunnel-Start            9
VALUE		Acct-Status-Type	Tunnel-Stop             10
VALUE		Acct-Status-Type	Tunnel-Reject           11
VALUE		Acct-Status-Type	Tunnel-Link-Start       12
VALUE		Acct-Status-Type	Tunnel-Link-Stop        13
VALUE		Acct-Status-Type	Tunnel-Link-Reject      14
VALUE		Acct-Status-Type	Failed			15

#	Authentication Types

VALUE		Acct-Authentic		RADIUS			1
VALUE		Acct-Authentic		Local			2
VALUE		Acct-Authentic		Remote			3

#	Termination Options

VALUE		Termination-Action	Default			0
VALUE		Termination-Action	RADIUS-Request		1

#	NAS Port Types

VALUE		NAS-Port-Type		Async			0
VALUE		NAS-Port-Type		Sync			1
VALUE		NAS-Port-Type		ISDN			2
VALUE		NAS-Port-Type		ISDN-V120		3
VALUE		NAS-Port-Type		ISDN-V110		4
VALUE		NAS-Port-Type		Virtual			5
VALUE		NAS-Port-Type		PIAFS			6
VALUE		NAS-Port-Type		HDLC-Clear-Channel	7
VALUE		NAS-Port-Type		X.25			8
VALUE		NAS-Port-Type		X.75			9
VALUE		NAS-Port-Type		G.3-Fax			10
VALUE		NAS-Port-Type		SDSL			11
VALUE		NAS-Port-Type		ADSL-CAP		12
VALUE		NAS-Port-Type		ADSL-DMT		13
VALUE		NAS-Port-Type		IDSL			14
VALUE		NAS-Port-Type		Ethernet		15

#	Acct Terminate Causes

VALUE		Acct-Terminate-Cause	User-Request		1
VALUE		Acct-Terminate-Cause	Lost-Carrier		2
VALUE		Acct-Terminate-Cause	Lost-Service		3
VALUE		Acct-Terminate-Cause	Idle-Timeout		4
VALUE		Acct-Terminate-Cause	Session-Timeout		5
VALUE		Acct-Terminate-Cause	Admin-Reset		6
VALUE		Acct-Terminate-Cause	Admin-Reboot		7
VALUE		Acct-Terminate-Cause	Port-Error		8
VALUE		Acct-Terminate-Cause	NAS-Error		9
VALUE		Acct-Terminate-Cause	NAS-Request		10
VALUE		Acct-Terminate-Cause	NAS-Reboot		11
VALUE		Acct-Terminate-Cause	Port-Unneeded		12
VALUE		Acct-Terminate-Cause	Port-Preempted		13
VALUE		Acct-Terminate-Cause	Port-Suspended		14
VALUE		Acct-Terminate-Cause	Service-Unavailable	15
VALUE		Acct-Terminate-Cause	Callback		16
VALUE		Acct-Terminate-Cause	User-Error		17
VALUE		Acct-Terminate-Cause	Host-Request		18

#	Tunnel Types

VALUE		Tunnel-Type		PPTP			1
VALUE		Tunnel-Type		L2F			2
VALUE		Tunnel-Type		L2TP			3
VALUE		Tunnel-Type		ATMP			4
VALUE		Tunnel-Type		VTP			5
VALUE		Tunnel-Type		AH			6
VALUE		Tunnel-Type		IP-IP			7
VALUE		Tunnel-Type		MIN-IP-IP		8
VALUE		Tunnel-Type		ESP			9
VALUE		Tunnel-Type		GRE			10
VALUE		Tunnel-Type		DVS			11
VALUE		Tunnel-Type		IP-in-IP		12

#	Tunnel Medium Types

VALUE		Tunnel-Medium-Type	IP			1
VALUE		Tunnel-Medium-Type	IP6			2
VALUE		Tunnel-Medium-Type	NSAP			3
VALUE		Tunnel-Medium-Type	HDLC			4
VALUE		Tunnel-Medium-Type	BBN			5
VALUE		Tunnel-Medium-Type	Ether_802		6
VALUE		Tunnel-Medium-Type	E.163			7
VALUE		Tunnel-Medium-Type	E.164			8
VALUE		Tunnel-Medium-Type	F.69			9
VALUE		Tunnel-Medium-Type	X.121			10
VALUE		Tunnel-Medium-Type	IPX			11
VALUE		Tunnel-Medium-Type	AppleTalk		12
VALUE		Tunnel-Medium-Type	DECnet			13
VALUE		Tunnel-Medium-Type	Banyan			14

#	Prompt
VALUE		Prompt			No-Echo			0
VALUE		Prompt			Echo			1

#
# Vendor-Specific attributes use the SMI Network Management Private
# Enterprise Code from the "Assigned Numbers" RFC
#
VENDOR		Livingston	307
VENDOR		Lucent		1751

#
# Livingston Vendor-Specific Attributes (requires ComOS 3.8 and RADIUS 2.1)
#
ATTRIBUTE	LE-Terminate-Detail		2	string	Livingston
ATTRIBUTE	LE-Advice-of-Charge		3	string	Livingston
ATTRIBUTE	LE-Connect-Detail		4	string  Livingston
ATTRIBUTE	LE-IP-Pool			6	string  Livingston
ATTRIBUTE	LE-IP-Gateway			7	ipaddr  Livingston
ATTRIBUTE	LE-Modem-Info			8	string	Livingston
ATTRIBUTE       LE-IPSec-Log-Options		9	integer	Livingston
ATTRIBUTE       LE-IPSec-Deny-Action		10	integer	Livingston
ATTRIBUTE       LE-IPSec-Active-Profile		11	string	Livingston
ATTRIBUTE	LE-IPSec-Outsource-Profile	12	string	Livingston
ATTRIBUTE	LE-IPSec-Passive-Profile	13	string	Livingston
ATTRIBUTE	LE-NAT-TCP-Session-Timeout	14	integer	Livingston
ATTRIBUTE	LE-NAT-Other-Session-Timeout	15	integer	Livingston
ATTRIBUTE	LE-NAT-Log-Options		16	integer	Livingston
ATTRIBUTE	LE-NAT-Sess-Dir-Fail-Action	17	integer	Livingston
ATTRIBUTE	LE-NAT-Inmap			18	string	Livingston
ATTRIBUTE	LE-NAT-Outmap			19	string	Livingston
ATTRIBUTE	LE-NAT-Outsource-Inmap		20	string	Livingston
ATTRIBUTE	LE-NAT-Outsource-Outmap		21	string	Livingston
ATTRIBUTE	LE-Admin-Group			22	string  Livingston
ATTRIBUTE	LE-Multicast-Client		23	integer	Livingston

VALUE	LE-IPSec-Deny-Action	Drop		1
VALUE	LE-IPSec-Deny-Action	ICMP-Reject	2
VALUE	LE-IPSec-Deny-Action	Pass-Through	3

VALUE	LE-IPsec-Log-Options	SA-Success-On	1
VALUE	LE-IPSec-Log-Options	SA-Failure-On	2
VALUE	LE-IPSec-Log-Options	Console-On	3
VALUE	LE-IPSec-Log-Options	Syslog-On	4
VALUE	LE-IPSec-Log-Options	SA-Success-Off	5
VALUE	LE-IPSec-Log-Options	SA-Failure-Off	6
VALUE	LE-IPSec-Log-Options	Console-Off	7
VALUE	LE-IPSec-Log-Options	Syslog-Off	8

VALUE	LE-NAT-Sess-Dir-Fail-Action	Drop		1
VALUE	LE-NAT-Sess-Dir-Fail-Action	ICMP-Reject	2
VALUE	LE-NAT-Sess-Dir-Fail-Action	Pass-Through	3

VALUE	LE-NAT-Log-Options	Session-Success-On	1
VALUE	LE-NAT-Log-Options	Session-Failure-On	2
VALUE	LE-NAT-Log-Options	Console-On	3
VALUE	LE-NAT-Log-Options	Syslog-On	4
VALUE	LE-NAT-Log-Options	Success-Off	5
VALUE	LE-NAT-Log-Options	Failure-Off	6
VALUE	LE-NAT-Log-Options	Console-Off	7
VALUE	LE-NAT-Log-Options	Syslog-Off	8

VALUE	LE-Multicast-Client     On      1

#
#	Non-Protocol Attributes
#	These attributes are used internally by the server
#
ATTRIBUTE	Expiration		  21	date
ATTRIBUTE	Auth-Type		1000	integer
ATTRIBUTE	Menu			1001	string
ATTRIBUTE	Termination-Menu	1002	string
ATTRIBUTE	Prefix			1003	string
ATTRIBUTE	Suffix			1004	string
ATTRIBUTE	Group			1005	string
ATTRIBUTE	Crypt-Password		1006	string
ATTRIBUTE	Connect-Rate		1007	integer

#
#	Non-Protocol Integer Translations
#

VALUE		Auth-Type		Local			0
VALUE		Auth-Type		System			1
VALUE		Auth-Type		SecurID			2
VALUE		Auth-Type		Crypt-Local		3
VALUE		Auth-Type		Reject			4
VALUE		Auth-Type		ActivCard		5

#
#	Configuration Values
#	comment out these two lines to turn account expiration off
#

VALUE		Server-Config		Password-Expiration	30
VALUE		Server-Config		Password-Warning	5


