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