Browse code

- RADIUS dictionary cleanup. Now it contains all attributes and values needed by SER. It contains even standard (IANA registered) attributes but only those that are missing in the radiusclient-ng default dictionary are uncommented, the rest is commented out.

Jan Janak authored on 04/12/2004 22:37:48
Showing 1 changed files
... ...
@@ -9,57 +9,63 @@
9 9
 # Sterman indicates attributes according to
10 10
 # draft-sterman-aaa-sip-00
11 11
 #
12
-# Standard indicates a standard RADIUS attribute
13
-# which is missing in radiusclient dictionary
14
-#
15
-# Digest indicates attributes according to
16
-#
17 12
 # Proprietary indicates an attribute that hasn't
18 13
 # been standardized
19 14
 #
15
+# Check out http://www.iana.org/assignments/radius-types
16
+# for up-to-date list of standard RADIUS attributes
17
+# and values
18
+#
20 19
 
21
-### acc ###
22
-ATTRIBUTE Sip-Method                   101  integer    # Schulzrinne
23
-ATTRIBUTE Sip-Response-Code            102  integer    # Schulzrinne
24
-ATTRIBUTE Sip-Cseq                     103  string     # Schulzrinne
25
-ATTRIBUTE Sip-To-Tag                   104  string     # Schulzrinne
26
-ATTRIBUTE Sip-From-Tag                 105  string     # Schulzrinne
27
-ATTRIBUTE Sip-Branch-Id                106  string     # Schulzrinne
28
-ATTRIBUTE Sip-Translated-Req-ID        107  string     # Schulzrinne
29
-ATTRIBUTE Sip-Translated-Request-URI   107  string     # Proprietary
30
-ATTRIBUTE Sip-Source-Ip-Address        108  ipaddr     # Schulzrinne
31
-ATTRIBUTE Sip-Source-Port              109  integer    # Schulzrinne
32
-VALUE Service-Type Sip-Session          15             # Schulzrinne
33
-VALUE Acct-Status-Type Failed	        15             # Proprietary
34
-
35
-### auth_radius ###
36
-# Sip-Session service type is already defined in acc section
37
-VALUE Service-Type Call-Check           10             # Standard
38
-VALUE Service-Type Emergency-Call       13             # Proprietary
39
-
40
-ATTRIBUTE Digest-Response	       206     string  # Sterman
41
-ATTRIBUTE Digest-Attributes	       207     string  # Sterman
42
-
43
-ATTRIBUTE Sip-Uri-User                 208     string  # Proprietary
44
-ATTRIBUTE Sip-Rpid                     213     string  # Proprietary
45
-
46
-ATTRIBUTE Digest-Realm		      1063     string  # Sterman
47
-ATTRIBUTE Digest-Nonce		      1064     string  # Sterman
48
-ATTRIBUTE Digest-Method	              1065     string  # Sterman
49
-ATTRIBUTE Digest-Uri		      1066     string  # Sterman
50
-ATTRIBUTE Digest-Qop		      1067     string  # Sterman
51
-ATTRIBUTE Digest-Algorithm	      1068     string  # Sterman
52
-ATTRIBUTE Digest-Body-Digest	      1069     string  # Sterman
53
-ATTRIBUTE Digest-Cnonce	              1070     string  # Sterman
54
-ATTRIBUTE Digest-Nonce-Count	      1071     string  # Sterman
55
-ATTRIBUTE Digest-User-Name	      1072     string  # Sterman
20
+#
21
+# NOTE: All standard (IANA registered) attributes are 
22
+#       commented out except those that are missing in 
23
+#       the default dictionary of the radiusclient-ng 
24
+#       library.
25
+#
56 26
 
57
-### group_radius ###
58
-VALUE Service-Type Group-Check          12             # Proprietary
59 27
 
60
-ATTRIBUTE Sip-Group                    211     string  # Proprietary
28
+#### Attributes ###
29
+#ATTRIBUTE User-Name		         1  string     # RFC2865, acc, auth_radius, avp_radius, group_radius, uri_radius
30
+#ATTRIBUTE Service-Type		         6  integer    # RFC2865, acc, auth_radius, avp_radius, group_radius, uri_radius
31
+#ATTRIBUTE Called-Station-Id             30  string     # RFC2865, acc
32
+#ATTRIBUTE Calling-Station-Id            31  string     # RFC2865, acc
33
+#ATTRIBUTE Acct-Status-Type              40  integer    # RFC2865, acc
34
+#ATTRIBUTE Acct-Session-Id               44  string     # RFC2865, acc
35
+ATTRIBUTE Sip-Method                   101  integer    # Schulzrinne, acc
36
+ATTRIBUTE Sip-Response-Code            102  integer    # Schulzrinne, acc
37
+ATTRIBUTE Sip-Cseq                     103  string     # Schulzrinne, acc
38
+ATTRIBUTE Sip-To-Tag                   104  string     # Schulzrinne, acc
39
+ATTRIBUTE Sip-From-Tag                 105  string     # Schulzrinne, acc
40
+ATTRIBUTE Sip-Translated-Request-URI   107  string     # Proprietary, acc
41
+ATTRIBUTE Digest-Response              206  string     # Sterman, auth_radius
42
+ATTRIBUTE Sip-Uri-User                 208  string     # Proprietary, auth_radius
43
+ATTRIBUTE Sip-Group                    211  string     # Proprietary, group_radius
44
+ATTRIBUTE Sip-Rpid                     213  string     # Proprietary, auth_radius
45
+ATTRIBUTE SIP-AVP                      225  string     # Proprietary, avp_radius
46
+ATTRIBUTE Digest-Realm                1063  string     # Sterman, auth_radius
47
+ATTRIBUTE Digest-Nonce                1064  string     # Sterman, auth_radius
48
+ATTRIBUTE Digest-Method               1065  string     # Sterman, auth_radius
49
+ATTRIBUTE Digest-URI                  1066  string     # Sterman, auth_radius
50
+ATTRIBUTE Digest-QOP                  1067  string     # Sterman, auth_radius
51
+ATTRIBUTE Digest-Algorithm            1068  string     # Sterman, auth_radius
52
+ATTRIBUTE Digest-Body-Digest          1069  string     # Sterman, auth_radius
53
+ATTRIBUTE Digest-CNonce               1070  string     # Sterman, auth_radius
54
+ATTRIBUTE Digest-Nonce-Count          1071  string     # Sterman, auth_radius
55
+ATTRIBUTE Digest-User-Name            1072  string     # Sterman, auth_radius
61 56
 
62
-### uri_radius ###
63
-# Call-Check service type is already define in auth_radius
57
+### CISCO Vendor Specific Attributes ###
58
+#VENDOR Cisco              9
59
+#ATTRIBUTE Cisco-AVPair    1   string   Cisco           # VSA, auth_radius
64 60
 
61
+### Acct-Status-Type Values ###
62
+#VALUE Acct-Status-Type     Start             1         # RFC2866, acc
63
+#VALUE Acct-Status-Type     Stop              2         # RFC2866, acc
64
+VALUE Acct-Status-Type     Failed           15         # RFC2866, acc
65 65
 
66
+### Service-Type Values ###
67
+VALUE Service-Type         Call-Check       10         # RFC2865, uri_radius
68
+VALUE Service-Type         Group-Check      12         # Proprietary, group_radius
69
+VALUE Service-Type         Sip-Session      15         # Schulzrinne, acc, auth_radius
70
+VALUE Service-Type         SIP-Caller-AVPs  30         # Proprietary, avp_radius
71
+VALUE Service-Type         SIP-Callee-AVPs  31         # Proprietary, avp_radius