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