summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc4064.txt
blob: 8c7564f2bea109c4a315a9be59171365f924968e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
Network Working Group                                         A. Patel
Request for Comments: 4064                                    K. Leung
Category: Standards Track                                Cisco Systems
                                                              May 2005


   Experimental Message, Extensions, and Error Codes for Mobile IPv4

Status of This Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2005).

Abstract

   Mobile IPv4 message types range from 0 to 255.  This document
   reserves a message type for use by an individual, company, or
   organization for experimental purposes, to evaluate enhancements to
   Mobile IPv4 messages before a formal standards proposal is issued.

























Patel & Leung               Standards Track                     [Page 1]
^L
RFC 4064   Experimental Message, Extensions, and Error Codes    May 2005


Table of Contents

   1.  Introduction .................................................  2
   2.  Terminology ..................................................  3
   3.  Experimental Message .........................................  3
   4.  Experimental Extensions ......................................  4
       4.1.  Non-skippable Mobile IPv4 Experimental Extension .......  5
       4.2.  Non-skippable ICMP Router Discovery Exp. Extension .....  5
       4.3.  Skippable Mobile IPv4 Experimental Extension ...........  6
       4.4.  Skippable ICMP Router Discovery Experimental Extension .  6
   5.  Experimental Error Codes .....................................  7
   6.  Mobility Entity Considerations ...............................  7
   7.  IANA Considerations ..........................................  7
       7.1.  New Message Type .......................................  8
       7.2.  New Extension Values ...................................  8
       7.3.  New Error Codes ........................................  8
   8.  Security Considerations ......................................  8
   9.  Backward Compatibility Considerations ........................  9
   10. Acknowledgements..............................................  9
   11. References ...................................................  9
       11.1. Normative References ...................................  9
       11.2. Informative References .................................  9

1.  Introduction

   Mobile IPv4 message types range from 0 to 255.  This document
   reserves a message type for experimental purposes, to evaluate
   enhancements to Mobile IPv4 messages before a formal standards
   proposal is issued.

   Without experimental message capability, one would have to select a
   type value from the range defined for IANA assignment, which may
   result in collisions.

   Within a message, Mobile IP defines a general extension mechanism
   allowing optional information to be carried by Mobile IP control
   messages.  Extensions are not skippable if defined in the range [0-
   127] and are skippable if defined in the range [128-255].  This
   document reserves extension types in both the skippable and non-
   skippable ranges for experimental use.

   Mobile IPv4 defines error codes for use by the FA [64-127] and HA
   [128-192].  This document reserves an error code in both of these
   ranges for experimental use.

   The definition of experimental numbers in this document is made
   according to the recommendation of Section 2.2 of BCP 82, RFC 3692.




Patel & Leung               Standards Track                     [Page 2]
^L
RFC 4064   Experimental Message, Extensions, and Error Codes    May 2005


2.  Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [1].

   In addition, this document frequently uses the following terms:

   EXP-MSG-TYPE: A Mobile-IPv4 message number assigned for experimental
   use.  IANA has assigned message number 255 for this.

   EXP-SKIP-EXT-TYPE: A Mobile-IPv4 and ICMP router discovery Agent
   Advertisement extension number assigned for experimental use.  IANA
   has assigned extension number 255 for this.

   EXP-NONSKIP-EXT-TYPE: A Mobile-IPv4 and ICMP router discovery Agent
   Advertisement extension number for experimental use.  IANA has
   assigned extension number 127 for this.

   EXP-HA-ERROR-CODE: A Mobile-IPv4 error code for use by the HA in
   MIPv4 reply messages to indicate an error condition.  IANA has
   assigned error code 192 for this.

   EXP-FA-ERROR-CODE: A Mobile-IPv4 error code for use by FA in reply
   messages to indicate an error condition.  IANA has assigned error
   code 127 for this.

   Mobility Entity: Entities as defined in [2] (home agent, foreign
   agent, and mobile node).

3.  Experimental Message

   As the nature and purpose of an experimental message cannot be known
   in advance, the structure is defined as having an opaque payload.
   Entities implementing the message can interpret the message according
   to their implementation.  Interpreting based on extensions present in
   the message is one suggestion.

   These messages may be used between the mobility entities (Home Agent,
   Foreign Agent, and Mobile Node).  Experimental messages MUST be
   authenticated using any of the authentication mechanisms defined for
   Mobile IP ([2], [5]).

   This message MAY contain extensions defined in Mobile IP, including
   vendor-specific extensions [4].






Patel & Leung               Standards Track                     [Page 3]
^L
RFC 4064   Experimental Message, Extensions, and Error Codes    May 2005


   IP fields:

      Source Address: Typically the interface address from which
      the message is sent.

      Destination Address: The address of the agent or the Mobile
      Node.

   UDP fields:

      Source Port        Set according to RFC 768 (variable)

      Destination Port   Set to the value 434

   Mobile IP fields shown below follow the UDP header.

   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Type      |                 Opaque. . .
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Type       255 (EXP-MSG-TYPE)

   Opaque     Zero or more octets of data, with structure defined only
              by the particular experiment it is used for.

   Once an experimental message has been tested and shown to be useful,
   a permanent number should be obtained through the normal IANA numbers
   assignment procedures.

   A single experimental message type is defined.  This message can
   contain extensions based on which the message can be interpreted.

   Up-to-date values for the message types for Mobile IP control
   messages are specified in the most recent "Assigned Numbers" [3].

4.  Experimental Extensions

   This document reserves Mobile IPv4 extensions in both the skippable
   and non-skippable ranges for experimental purposes.  The long
   extension format (for non-skippable extensions) and short extension
   format (for skippable extensions), as defined by [2], are used for
   Mobile IPv4 experimental extensions.

   Also, ICMP router discovery extension numbers in both the skippable
   and non-skippable ranges are reserved for experimental use.




Patel & Leung               Standards Track                     [Page 4]
^L
RFC 4064   Experimental Message, Extensions, and Error Codes    May 2005


4.1.  Non-skippable Mobile IPv4 Experimental Extension

   This format is applicable for non-skippable extensions and may carry
   information more than 256 bytes.

   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Type      |  Sub-Type     |           Length              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                           Opaque. . .
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Type      127 (EXP-NONSKIP-EXT-TYPE) is the type, which describes an
             experimental extension.

   Sub-Type  A unique number given to each member in the aggregated
             type.

   Length    Indicates the length (in bytes) of the data field within
             this extension.  It does NOT include the Type, Sub-Type,
             and Length fields.

   Opaque    Zero or more octets of data, with structure defined only by
             the particular experiment it is used for.

   As the length field is 16 bits wide, the extension data can exceed
   256 bytes in length.

4.2.  Non-skippable ICMP Router Discovery Exp. Extension

   This format is applicable for non-skippable extensions.

   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Type      |    Length     |           Opaque . . .
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Type     127 (EXP-NONSKIP-EXT-TYPE) is the type, which describes an
            ICMP router discovery experimental extension.

   Length   Indicates the length (in bytes) of the data field within
            this extension.  It does NOT include the Type and Length
            fields.






Patel & Leung               Standards Track                     [Page 5]
^L
RFC 4064   Experimental Message, Extensions, and Error Codes    May 2005


   Opaque   Zero or more octets of data, with structure defined only by
            the particular experiment it is used for.

   A node that receives a router advertisement with this extension
   should ignore the extension if it does not recognize it.

   A mobility entity that understands this extension but does not
   recognize it should drop (ignore) the router advertisement.

4.3.  Skippable Mobile IPv4 Experimental Extension

   This format is applicable for skippable extensions, which carry
   information less than 256 bytes.

   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Type      |  Length     |   Sub-Type    |  Opaque. . .
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Type     255 (EXP-SKIP-EXT-TYPE) is the type, which describes an
            experimental extension.

   Length   Indicates the length (in bytes) of the data field within
            this extension.  It does NOT include the Type and Length
            fields.

   Sub-Type A unique number given to each member in the aggregated type.

   Opaque   Zero or more octets of data, with structure defined only by
            the particular experiment it is used for.

   As the length field is 8 bits wide, the extension data cannot exceed
   256 bytes in length.

4.4.  Skippable ICMP Router Discovery Experimental Extension

   This format is applicable for skippable ICMP router discovery
   extensions.  This extension should be ignored if an implementation
   does not understand it.











Patel & Leung               Standards Track                     [Page 6]
^L
RFC 4064   Experimental Message, Extensions, and Error Codes    May 2005


   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Type      |  Length     |   Opaque. . .
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Type     255 (EXP-SKIP-EXT-TYPE) is the type, which describes an
            experimental extension.

   Length   Indicates the length (in bytes) of the data field within
            this extension.  It does NOT include the Type and Length
            fields.

   Opaque   Zero or more octets of data, with structure defined only by
            the particular experiment it is used for.

5.  Experimental Error Codes

   This document reserves the reply error code EXP-FA-ERROR-CODE for use
   by the FA.  This document also reserves the reply error code EXP-HA-
   ERROR-CODE for use by the HA.

   These experimental error codes may be used in registration reply
   messages.

   It is recommended that experimental error codes be used with
   experimental messages and extensions whenever none of the
   standardized error codes are applicable.

6.  Mobility Entity Considerations

   Mobility entities can send and receive experimental messages.
   Implementations that don't understand the message type SHOULD
   silently discard the message.

   Experimental extensions can be carried in experimental messages and
   standards-defined messages.  In the latter case, it is suggested that
   experimental extensions MUST NOT be used in deployed products and
   that usage be restricted to experiments only.

7.  IANA Considerations

   This document defines a control message to be used between mobility
   entities, two new extension formats, and two new error codes.  To
   ensure correct interoperation based on this specification, IANA has
   reserved values in the Mobile IPv4 number space, as defined in [2],
   for one new message type, two new extensions, and two error codes.




Patel & Leung               Standards Track                     [Page 7]
^L
RFC 4064   Experimental Message, Extensions, and Error Codes    May 2005


7.1.  New Message Type


   A new Mobile IPv4 control message using UDP port 434, type 255 (EXP-
   MSG-TYPE), has been defined by IANA.  This value has been taken from
   the same number space as Mobile IP Registration Request (Type = 1)
   and Mobile IP Registration Reply (Type = 3).

7.2.  New Extension Values

   The following extension types are introduced by this specification:

   Experimental non-skippable extension: The value 127 (EXP-NONSKIP-
   EXT-TYPE) has been assigned from the numbering space for non-
   skippable extensions, which may appear in Mobile IPv4 control
   messages.

   Also, the same number, 127 (EXP-NONSKIP-EXT-TYPE), has been assigned
   from the numbering space for non-skippable extensions, which may
   appear in ICMP router discovery messages.

   Experimental skippable extension: The value 255 (EXP-SKIP-EXT-TYPE)
   has been assigned from the numbering space for skippable extensions,
   which may appear in Mobile IPv4 control messages.

   Also, the same number, 255 (EXP-SKIP-EXT-TYPE), has been assigned
   from the numbering space for skippable extensions, which may appear
   in ICMP router discovery messages.

7.3. New Error Codes

   The value 192 (EXP-HA-ERROR-CODE) has been defined by IANA to be used
   as a code field in messages generated by HA.

   Also, the value 127 (EXP-FA-ERROR-CODE) has been defined by IANA to
   be used as the code field in messages generated by the FA.

8.  Security Considerations

   Like all Mobile IP control messages, the experimental messages MUST
   be authenticated per the requirements specified in [2] or [5].
   Experimental messages without a valid authenticator SHOULD be
   discarded.








Patel & Leung               Standards Track                     [Page 8]
^L
RFC 4064   Experimental Message, Extensions, and Error Codes    May 2005


9.  Backward Compatibility Considerations

   Mobility entities that don't understand the experimental message MUST
   silently discard it.

   Mobility entities that don't understand the experimental skippable
   extensions MUST ignore them.  Mobility entities that don't understand
   the non-skippable experimental extensions MUST silently discard the
   message containing them.  This behavior is consistent with section
   1.8 of [2].

   Foreign Agents and Home Agents SHOULD include an experimental error
   code in a reply message only if they have a general indication that
   the receiving entity would be able to parse it.  This is indicated if
   the request message was of type EXP-MSG-TYPE or contained at least
   one experimental extension.

10.  Acknowledgements

   The authors would like to acknowledge Henrik Levkowetz for his
   detailed review of the document and suggestion to incorporate
   experimental extensions in this draft.

   The authors would also like to acknowledge Thomas Narten for his
   initial review of the document and reference to [6] for general
   guidelines.

11.  References

11.1.  Normative References

   [1]  Bradner, S., "Key words for use in RFCs to Indicate Requirement
        Levels", BCP 14, RFC 2119, March 1997.

   [2]  Perkins, C., "IP Mobility Support for IPv4", RFC 3344, August
        2002.

   [3]  Reynolds, J., "Assigned Numbers: RFC 1700 is Replaced by an
        On-line Database", RFC 3232, January 2002.

11.2.  Informative References

   [4]  Dommety, G. and K. Leung, "Mobile IP
        Vendor/Organization-Specific Extensions", RFC 3115, April 2001.

   [5]  Perkins, C. and P. Calhoun, "Mobile IPv4 Challenge/Response
        Extensions", RFC 3012, November 2000.




Patel & Leung               Standards Track                     [Page 9]
^L
RFC 4064   Experimental Message, Extensions, and Error Codes    May 2005


   [6]  Narten, T., "Assigning Experimental and Testing Numbers
        Considered Useful", BCP 82, RFC 3692, January 2004.

Authors' Addresses

   Questions and comments about this document should be directed to the
   Mobile IPv4 working group:

   mip4@ietf.org

   Questions and comments about this document may also be directed to
   the authors:

   Alpesh Patel
   Cisco Systems
   170 W. Tasman Drive,
   San Jose, CA 95134 USA

   Phone: +1 408-853-9580
   EMail: alpesh@cisco.com


   Kent Leung
   Cisco Systems
   170 W. Tasman Drive,
   San Jose, CA 95134 USA

   Phone: +1 408-526-5030
   EMail: kleung@cisco.com






















Patel & Leung               Standards Track                    [Page 10]
^L
RFC 4064   Experimental Message, Extensions, and Error Codes    May 2005


Full Copyright Statement

   Copyright (C) The Internet Society (2005).

   This document is subject to the rights, licenses and restrictions
   contained in BCP 78, and except as set forth therein, the authors
   retain all their rights.

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
   ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
   INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
   INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in BCP 78 and BCP 79.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at ietf-
   ipr@ietf.org.

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.







Patel & Leung               Standards Track                    [Page 11]
^L