blob: a2f4742fe5d9f0e3889773e3aca95af7856c702f [file] [log] [blame]
Harald Welte8fb759d2019-08-10 21:09:17 +02001;;
2;; %CopyrightBegin%
3;;
4;; Transcribed from RFC 4004 by Harald Welte <laforge@gnumonks.org>
5;;
6;; Licensed under the Apache License, Version 2.0 (the "License");
7;; you may not use this file except in compliance with the License.
8;; You may obtain a copy of the License at
9;;
10;; http://www.apache.org/licenses/LICENSE-2.0
11;;
12;; Unless required by applicable law or agreed to in writing, software
13;; distributed under the License is distributed on an "AS IS" BASIS,
14;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15;; See the License for the specific language governing permissions and
16;; limitations under the License.
17;;
18;; %CopyrightEnd%
19;;
20
21;;
22;; RFC 4004, Diameter Mobile IPv4 Application
23;;
24
25@id 1
26@name diameter_rfc4004
27
28@inherits diameter_gen_base_rfc6733
29
30;; ===========================================================================
31
32@avp_types
33
34 MIP-FA-to-HA-SPI 318 Unsigned32 M
35 MIP-FA-to-MN-SPI 319 Unsigned32 M
36 MIP-Reg-Request 320 OctetString M
37 MIP-Reg-Reply 321 OctetString M
38 MIP-MN-AAA-Auth 322 Grouped M
39 MIP-HA-to-FA-SPI 323 Unsigned32 M
40 MIP-MN-to-FA-MSA 325 Grouped M
41 MIP-FA-to-MN-MSA 326 Grouped M
42 MIP-FA-to-HA-MSA 328 Grouped M
43 MIP-HA-to-FA-MSA 329 Grouped M
44 MIP-MN-to-HA-MSA 331 Grouped M
45 MIP-HA-to-MN-MSA 332 Grouped M
46 MIP-Mobile-Node-Address 333 Address M
47 MIP-Home-Agent-Address 334 Address M
48 MIP-Nonce 335 OctetString M
49 MIP-Candidate-Home-Agent-Host 336 DiameterIdentity M
50 MIP-Feature-Vector 337 Unsigned32 M
51 MIP-Auth-Input-Data-Length 338 Unsigned32 M
52 MIP-Authenticator-Length 339 Unsigned32 M
53 MIP-Authenticator-Offset 340 Unsigned32 M
54 MIP-MN-AAA-SPI 341 Unsigned32 M
55 MIP-Filter-Rule 342 IPFilterRule M
56 MIP-Session-Key 343 OctetString M
57 MIP-FA-Challenge 344 OctetString M
58 MIP-Algorithm-Type 345 Enumerated M
59 MIP-Replay-Mode 346 Enumerated M
60 MIP-Originating-Foreign-AAA 347 Grouped M
61 MIP-Home-Agent-Host 348 Grouped M
62 MIP-MSA-Lifetime 367 Unsigned32 M
63
64
65;; ===========================================================================
66
67@messages
68
69AMR ::= < Diameter Header: 260, REQ, PXY >
70 < Session-Id >
71 { Auth-Application-Id }
72 { User-Name }
73 { Destination-Realm }
74 { Origin-Host }
75 { Origin-Realm }
76 { MIP-Reg-Request }
77 { MIP-MN-AAA-Auth }
78 [ Acct-Multi-Session-Id ]
79 [ Destination-Host ]
80 [ Origin-State-Id ]
81 [ MIP-Mobile-Node-Address ]
82 [ MIP-Home-Agent-Address ]
83 [ MIP-Feature-Vector ]
84 [ MIP-Originating-Foreign-AAA ]
85 [ Authorization-Lifetime ]
86 [ Auth-Session-State ]
87 [ MIP-FA-Challenge ]
88 [ MIP-Candidate-Home-Agent-Host ]
89 [ MIP-Home-Agent-Host ]
90 [ MIP-HA-to-FA-SPI ]
91 * [ Proxy-Info ]
92 * [ Route-Record ]
93 * [ AVP ]
94
95AMA ::= < Diameter Header: 260, PXY >
96 < Session-Id >
97 { Auth-Application-Id }
98 { Result-Code }
99 { Origin-Host }
100 { Origin-Realm }
101 [ Acct-Multi-Session-Id ]
102 [ User-Name ]
103 [ Authorization-Lifetime ]
104 [ Auth-Session-State ]
105 [ Error-Message ]
106 [ Error-Reporting-Host ]
107 [ Re-Auth-Request-Type ]
108 [ MIP-Feature-Vector ]
109 [ MIP-Reg-Reply ]
110 [ MIP-MN-to-FA-MSA ]
111 [ MIP-MN-to-HA-MSA ]
112 [ MIP-FA-to-MN-MSA ]
113 [ MIP-FA-to-HA-MSA ]
114 [ MIP-HA-to-MN-MSA ]
115 [ MIP-MSA-Lifetime ]
116 [ MIP-Home-Agent-Address ]
117 [ MIP-Mobile-Node-Address ]
118 * [ MIP-Filter-Rule ]
119
120
121HAR ::= < Diameter Header: 262, REQ, PXY >
122 < Session-Id >
123 { Auth-Application-Id }
124 { Authorization-Lifetime }
125 { Auth-Session-State }
126 { MIP-Reg-Request }
127 { Origin-Host }
128 { Origin-Realm }
129 { User-Name }
130 { Destination-Realm }
131 { MIP-Feature-Vector }
132 [ Destination-Host ]
133 [ MIP-MN-to-HA-MSA ]
134 [ MIP-MN-to-FA-MSA ]
135 [ MIP-HA-to-MN-MSA ]
136 [ MIP-HA-to-FA-MSA ]
137 [ MIP-MSA-Lifetime ]
138 [ MIP-Originating-Foreign-AAA ]
139 [ MIP-Mobile-Node-Address ]
140 [ MIP-Home-Agent-Address ]
141 * [ MIP-Filter-Rule ]
142 [ Origin-State-Id ]
143
144HAA ::= < Diameter Header: 262, PXY >
145 < Session-Id >
146 { Auth-Application-Id }
147 { Result-Code }
148 { Origin-Host }
149 { Origin-Realm }
150 [ Acct-Multi-Session-Id ]
151 [ User-Name ]
152 [ Error-Reporting-Host ]
153 [ Error-Message ]
154 [ MIP-Reg-Reply ]
155 [ MIP-Home-Agent-Address ]
156 [ MIP-Mobile-Node-Address ]
157 [ MIP-FA-to-HA-SPI ]
158 [ MIP-FA-to-MN-SPI ]
159 [ Origin-State-Id ]
160 * [ Proxy-Info ]
161 * [ AVP ]
162
163
164;; ===========================================================================
165
166@grouped
167
168MIP-MN-AAA-Auth ::= < AVP Header: 322 >
169 { MIP-MN-AAA-SPI }
170 { MIP-Auth-Input-Data-Length }
171 { MIP-Authenticator-Length }
172 { MIP-Authenticator-Offset }
173 * [ AVP ]
174
175 MIP-MN-to-FA-MSA ::= < AVP Header: 325 >
176 ;;{ MIP-MN-FA-SPI }
177 { MIP-Algorithm-Type }
178 { MIP-Nonce }
179 * [ AVP ]
180
181 MIP-FA-to-MN-MSA ::= < AVP Header: 326 >
182 { MIP-FA-to-MN-SPI }
183 { MIP-Algorithm-Type }
184 { MIP-Session-Key }
185 * [ AVP ]
186
187 MIP-MN-to-HA-MSA ::= < AVP Header: 331 >
188 ;;{ MIP-MN-HA-SPI }
189 { MIP-Algorithm-Type }
190 { MIP-Replay-Mode }
191 { MIP-Nonce }
192 * [ AVP ]
193
194 MIP-HA-to-MN-MSA ::= < AVP Header: 332 >
195 ;;{ MIP-HA-to-MN-SPI }
196 { MIP-Algorithm-Type }
197 { MIP-Replay-Mode }
198 { MIP-Session-Key }
199 * [ AVP ]
200
201 MIP-FA-to-HA-MSA ::= < AVP Header: 328 >
202 { MIP-FA-to-HA-SPI }
203 { MIP-Algorithm-Type }
204 { MIP-Session-Key }
205 * [ AVP ]
206
207 MIP-HA-to-FA-MSA ::= < AVP Header: 329 >
208 { MIP-HA-to-FA-SPI }
209 { MIP-Algorithm-Type }
210 { MIP-Session-Key }
211 * [ AVP ]
212
213MIP-Originating-Foreign-AAA ::= < AVP Header: 347 >
214 { Origin-Realm }
215 { Origin-Host }
216 * [ AVP ]
217
218 MIP-Home-Agent-Host ::= < AVP Header: 348 >
219 { Destination-Realm }
220 { Destination-Host }
221 * [ AVP ]