Changeset 597:f051e3795dae in freeDiameter for extensions/dict_mip6i
- Timestamp:
- Nov 17, 2010, 7:56:35 PM (13 years ago)
- Branch:
- default
- Children:
- 598:d46af51c019d, 599:1dade7d4cf2e
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/dict_mip6i/dict_mip6i.c
r595 r597 34 34 *********************************************************************************************************/ 35 35 36 /********************************************************************************************************* 36 /* 37 37 38 The following table complete the one in RFC 5778, page 18. The AVPs are implemented below following the order of this table. 38 39 We try to keep the structure of the grouped AVP by declaring the contained AVPs just before the grouped AVP they depend on. … … 44 45 MIP-Mobile-Node-Address 333 4004 Address 45 46 + MIP-Home-Agent-Address 334 4004 Address 46 ++ Destination-Host 293 3588 DiameterIdentity implemented in base protocol47 ++ Destination-Realm 283 3588 DiameterIdentity implemented in base protocol47 ++ Destination-Host 293 3588 DiameterIdentity 48 ++ Destination-Realm 283 3588 DiameterIdentity 48 49 + MIP-Home-Agent-Host 348 4004 Grouped 49 50 + MIP6-Home-Link-Prefix 125 5447 OctetString 50 51 MIP6-Agent-Info 486 5447 Grouped 51 User-Name 1 3588 UTF8String implemented in base protocol52 User-Name 1 3588 UTF8String 52 53 Service-Selection 493 5778 UTF8String 53 54 + MIP-Replay-Mode 346 4004 Enumerated … … 70 71 Accounting-Input-Packets 365 4004, 4005 Unsigned64 71 72 Accounting-Output-Packets 366 4004, 4005 Unsigned64 72 Acct-Multi-Session-Id 50 3588 UTF8String implemented in base protocol73 Acct-Multi-Session-Id 50 3588 UTF8String 73 74 Acct-Session-Time 46 2866, 4004 Unsigned32 74 75 MIP6-Feature-Vector ---------------------------------- … … 79 80 QoS-Resources ---------------------------------- 80 81 QoS-Capability ---------------------------------- 81 MIP-Careof-Address 487 5778 Address needed in MIP6I at least for implementation reasons82 83 REST OF THE AVPs IN THE MIR & MIA EXCLUDING *[AVP] 82 MIP-Careof-Address 487 5778 Address needed (appears in MIR/MIA) 83 84 REST OF THE AVPs IN THE MIR & MIA EXCLUDING *[AVP] (as written on page 19 of RFC 5778) 84 85 85 86 MIP6-Request 86 87 87 Session-ID 263 3588 (diameter)88 Session-ID 263 3588 88 89 Auth-Application-Id 258 3588 89 90 User-Name 1 3588 … … 92 93 Origin-Realm 296 3588 93 94 Auth-Request-Type 274 3588 94 Destination-Host 293 358895 95 Origin-State-Id 278 3588 96 NAS-Identifier 32 2865 (radius) string... needed97 NAS-IP-Address 4 2865 ?? needed98 NAS-IPv6-Address 95 3162 ?? needed99 NAS-Port-Type 61 2865 ?? needed100 Called-Station-Id 30 2865 ?? needed101 Calling-Station-Id 31 2865 ?? needed96 NAS-Identifier 32 2865 radius (see avp) needed (radius) 97 NAS-IP-Address 4 2865 radius (see avp) needed (radius) 98 NAS-IPv6-Address 95 3162 radius (see avp) needed (radius) 99 NAS-Port-Type 61 2865 radius (see avp) needed (radius) 100 Called-Station-Id 30 2865 radius (see avp) needed (radius) 101 Calling-Station-Id 31 2865 radius (see avp) needed (radius) 102 102 MIP6-Feature-Vector ------------ 103 MIP6-Auth-Mode 494 5778 Enumerated needed in MIP6I at least for implementation reasons104 MIP-MN-AAA-SPI 341 5778 Unsigned32 needed in MIP6I at least for implementation reasons103 MIP6-Auth-Mode 494 5778 Enumerated needed (mip6a) 104 MIP-MN-AAA-SPI 341 5778 Unsigned32 needed (mip6a) 105 105 MIP-MN-HA-SPI ------------ 106 106 MIP-Mobile-Node-Address ------------ 107 107 MIP6-Agent-Info ------------ 108 108 MIP-Careof-Address ------------ 109 MIP-Authenticator 488 5778 OctetString needed in MIP6I at least for implementation reasons110 MIP-MAC-Mobility-Data 489 5778 OctetString needed in MIP6I at least for implementation reasons111 MIP-Timestamp 490 5778 OctetString needed in MIP6I at least for implementation reasons109 MIP-Authenticator 488 5778 OctetString needed (mip6a) 110 MIP-MAC-Mobility-Data 489 5778 OctetString needed (mip6a) 111 MIP-Timestamp 490 5778 OctetString needed (mip6a) 112 112 QoS-Capability ------------ 113 113 QoS-Resources ------------ … … 121 121 MIP6-Answer - All of them are already implemented as base protocol AVPs or implemented earlier. 122 122 123 Session-Id 263 3588 (diameter) 124 Auth-Application-Id 258 3588 125 Result-Code 268 3588 126 Origin-Host 264 3588 127 Origin-Realm 296 3588 128 Auth-Request-Type 274 3588 129 User-Name 1 3588 130 Authorization-Lifetime 291 3588 131 Auth-Session-State 277 3588 132 Error-Message 281 3588 133 Error-Reporting-Host 294 3588 134 Re-Auth-Request-Type 285 3588 135 MIP6-Feature-Vector ------------------- 136 MIP-Agent-Info ------------------- 137 MIP-Mobile-Node-Address ------------------- 138 MIP-MN-HA-MSA ------------------- 139 QoS-Resources ------------------- 140 Chargeable-User-Identity ------------------- 141 Service-Selection ------------------- 142 Origin-State-Id 278 3588 143 Proxy-Info 284 3588 144 Redirect-Host 292 3588 145 Redirect-Host-Usage 261 3588 146 Redirect-Max-Cache-Time 262 3588 147 Failed-AVP 279 3588 148 149 Other AVPs? 150 151 ************************************************************************************************************/ 123 */ 152 124 153 125 /**************************************************************************************************************************************** … … 155 127 * This table is a copy of the registry named "MIP6 Authentication Mode Registry" and managed by IANA. * 156 128 * source : http://www.iana.org/assignments/aaa-parameters/aaa-parameters.txt * 157 * 129 * up to date on october 2010 * 158 130 * * 159 131 * Value Token Reference * … … 166 138 167 139 /* 168 NOTES TO SELF 169 170 http://www.iana.org/assignments/aaa-parameters/aaa-parameters.txt 171 important, a suivre et verifier si il y a des evolutions 172 173 - a quoi sert le int dict---init juste avant le debut du dico? 174 175 -verifier si je ne fais pas des define pour rien 176 177 -dire de pas oublier d'inclure le dictionnaire eap 178 179 inclure la rfc5777? ou le faire dans un autre fichier? 180 181 la valeur MIP6_AUTH_MN_AAA est utilisee par quoi?? verifier. 182 183 ne pas oublier de changer la clause bsd 184 185 186 187 140 141 NOTES 142 143 check for omissions ! 188 144 189 145 */ … … 244 200 /* Defines if there are any */ 245 201 246 / * New Result-Code for MIP (RFC5778, Section 7.*) */202 //New Result-Code for MIP (RFC5778, Section 7.*) 247 203 #define DIAMETER_SUCCESS_RELOCATE_HA 2009 248 204 #define DIAMETER_ERROR_MIP6_AUTH_MODE 5041 205 206 //others 249 207 #define MIP6_AUTH_MN_AAA 1 250 208 … … 872 830 873 831 /////////////////////////////////////////////////////////// 874 /* Other AVPs needed in MIP6I for implementation reasons*/832 /* REST OF THE AVP IN THE MIR AND MIA EXCLUDING *[AVP] */ 875 833 /////////////////////////////////////////////////////////// 876 834
Note: See TracChangeset
for help on using the changeset viewer.