Mercurial > hg > fD-testbed
annotate conf/radpxy.eap.testbed.aaa/freeradius/hints @ 11:44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 16 Sep 2010 14:23:42 +0900 |
parents | |
children |
rev | line source |
---|---|
11
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
1 # hints |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
2 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
3 # The hints file. This file is used to match |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
4 # a request, and then add attributes to it. This |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
5 # process allows a user to login as "bob.ppp" (for example), |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
6 # and receive a PPP connection, even if the NAS doesn't |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
7 # ask for PPP. The "hints" file is used to match the |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
8 # ".ppp" portion of the username, and to add a set of |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
9 # "user requested PPP" attributes to the request. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
10 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
11 # Matching can take place with the the Prefix and Suffix |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
12 # attributes, just like in the "users" file. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
13 # These attributes operate ONLY on the username, though. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
14 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
15 # Note that the attributes that are set for each |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
16 # entry are _NOT_ passed back to the terminal server. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
17 # Instead they are added to the information that has |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
18 # been _SENT_ by the terminal server. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
19 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
20 # This extra information can be used in the users file to |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
21 # match on. Usually this is done in the DEFAULT entries, |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
22 # of which there can be more than one. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
23 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
24 # In addition a matching entry can transform a username |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
25 # for authentication purposes if the "Strip-User-Name" |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
26 # variable is set to Yes in an entry (default is Yes). |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
27 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
28 # A special non-protocol name-value pair called "Hint" |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
29 # can be set to match on in the "users" file. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
30 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
31 # The following is how most ISPs want to set this up. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
32 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
33 # Version: $Id: hints,v 1.4 2004/01/29 16:42:43 aland Exp $ |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
34 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
35 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
36 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
37 DEFAULT Suffix == ".ppp", Strip-User-Name = Yes |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
38 Hint = "PPP", |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
39 Service-Type = Framed-User, |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
40 Framed-Protocol = PPP |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
41 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
42 DEFAULT Suffix == ".slip", Strip-User-Name = Yes |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
43 Hint = "SLIP", |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
44 Service-Type = Framed-User, |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
45 Framed-Protocol = SLIP |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
46 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
47 DEFAULT Suffix == ".cslip", Strip-User-Name = Yes |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
48 Hint = "CSLIP", |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
49 Service-Type = Framed-User, |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
50 Framed-Protocol = SLIP, |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
51 Framed-Compression = Van-Jacobson-TCP-IP |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
52 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
53 ###################################################################### |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
54 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
55 # These entries are old, and commented out by default. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
56 # They confuse too many people when "Peter" logs in, and the |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
57 # server thinks that the user "eter" is asking for PPP. |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
58 # |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
59 #DEFAULT Prefix == "U", Strip-User-Name = No |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
60 # Hint = "UUCP" |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
61 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
62 #DEFAULT Prefix == "P", Strip-User-Name = Yes |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
63 # Hint = "PPP", |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
64 # Service-Type = Framed-User, |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
65 # Framed-Protocol = PPP |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
66 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
67 #DEFAULT Prefix == "S", Strip-User-Name = Yes |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
68 # Hint = "SLIP", |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
69 # Service-Type = Framed-User, |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
70 # Framed-Protocol = SLIP |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
71 |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
72 #DEFAULT Prefix == "C", Strip-User-Name = Yes |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
73 # Hint = "CSLIP", |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
74 # Service-Type = Framed-User, |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
75 # Framed-Protocol = SLIP, |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
76 # Framed-Compression = Van-Jacobson-TCP-IP |
44f87917c579
Added a RADIUS proxy using freeradius in the eap testbed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
77 |