-
Notifications
You must be signed in to change notification settings - Fork 0
/
draft-shore-icmp-aup-03.txt
840 lines (282 loc) · 15.5 KB
/
draft-shore-icmp-aup-03.txt
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
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
Network Working Group M. Shore
Internet-Draft No Mountain Software
Intended status: BCP C. Pignataro
Expires: September 26, 2013 Cisco Systems, Inc.
March 25, 2013
An Acceptable Use Policy for New ICMP Types and Codes
draft-shore-icmp-aup-03
Abstract
Concerns about lack of clarity concerning when to add new Internet
Control Message Protocol (ICMP) types and/or codes have highlighted a
need to describe policies for when adding new features to ICMP is
desirable and when it is not. In this document we provide a basic
description of ICMP's role in the IP stack and some guidelines for
the future.
Status of this Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on September 26, 2013.
Copyright Notice
Copyright (c) 2013 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
Shore & Pignataro Expires September 26, 2013 [Page 1]
Internet-Draft ICMP AUP March 2013
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Acceptable use policy . . . . . . . . . . . . . . . . . . . . 4
2.1. Classification of existing message types . . . . . . . . . 4
2.1.1. A few notes on RPL . . . . . . . . . . . . . . . . . . 7
3. ICMP's role in the internet . . . . . . . . . . . . . . . . . 8
4. Management vs. control . . . . . . . . . . . . . . . . . . . . 9
5. Security considerations . . . . . . . . . . . . . . . . . . . 11
6. IANA considerations . . . . . . . . . . . . . . . . . . . . . 12
7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 13
8. Informative references . . . . . . . . . . . . . . . . . . . . 14
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 15
Shore & Pignataro Expires September 26, 2013 [Page 2]
Internet-Draft ICMP AUP March 2013
1. Introduction
There has been some recent concern expressed about a lack of clarity
around when to add new message types and codes to ICMP (including
ICMPv4 [RFC792] and ICMPv6 [RFC4443]). We attempt to lay out a
description of when (and when not) to move functionality into ICMP.
This document is the result of discussions among ICMP experts within
the OPS area's IP Diagnostics Technical Interest Group [1] and
concerns expressed by the OPS area leadership.
Shore & Pignataro Expires September 26, 2013 [Page 3]
Internet-Draft ICMP AUP March 2013
2. Acceptable use policy
In this document we describe a proposed acceptable use policy for new
ICMP message types and codes, and provide some background behind the
proposed policy.
In summary, we propose that any future message types added to ICMP
should be limited to two broad categories:
1. to inform a datagram's originator that a forwarding plane anomaly
has been encountered downstream. The datagram originator must be
able to determine whether or not the datagram was discarded by
examining the ICMP message
2. to discover on-link routers and hosts, and network-specific
parameters
While we do not want ICMP to be a general-purpose network management
protocol it does have a role to play in conveying dynamic information
about a network.
2.1. Classification of existing message types
This section provides a rough breakdown of existing message types
according to the taxonomy described in Section 2.
IPV4 forwarding plane anomaly reporting
3: Destination unreachable
4: Source quench (deprecated)
5: Redirect
6: Alternate host address
11 Time exceeded
12 Parameter problem
31: Datagram converson error
32: Mobile host redirect
Shore & Pignataro Expires September 26, 2013 [Page 4]
Internet-Draft ICMP AUP March 2013
41: ICMP messages utilized by experimental mobility protocols,
such as Seamoby
IPv4 router or host discovery
0: Echo reply
8: Echo
9: Router advertisement
10: Router solicitation
13: Timestamp
14: Timestamp reply
15: Information request
16: Information reply
17: Address mask request
18: Address mask reply
30: Traceroute
33: IPv6 Where-Are-You
34: IPv6 I-Am-Here
35: Mobile registration request
36: Mobile registration reply
37: Domain name request
38: Domain name reply
39: SKIP
40: Photuris
Shore & Pignataro Expires September 26, 2013 [Page 5]
Internet-Draft ICMP AUP March 2013
41: ICMP messages utilized by experimental mobility protocols,
such as Seamoby
IPv6 forwarding plane anomaly reporting
1: Destination unreachable
2: Packet too big
3: Time exceeded
4: Parameter problem
137: Redirect message
150: ICMP messages utilized by experimental mobility protocols,
such as Seamoby
IPv6 router or host discovery
128: Echo request
129: Echo reply
130: Multicast listener query
131: Multicast listener report
132: Multicast listener done
133: Router solicitation
134: Router advertisement
135: Neighbor solicitation
136: Neighbor advertisement
138: Router renumbering
139: ICMP node information query
Shore & Pignataro Expires September 26, 2013 [Page 6]
Internet-Draft ICMP AUP March 2013
140: ICMP node information response
141: Inverse neighbor discovery solicitation message
142: Inverse neighbor discovery advertisement message
143: Version 2 multicast listener report
144: Home agent address discovery request message
145: Home agent address discovery reply message
146: Mobile prefix solicitation
147: Mobile prefix advertisement
148: Certification path solicitation message
149: Certification path advertisement message
150: ICMP messages utilized by experimental mobility protocols,
such as Seamoby
151: Multicast router advertisement
152: Multicast router solicitation
153: Multicast router termination
154: FMIPv6 messages
155: RPL control message
2.1.1. A few notes on RPL
RPL, the IPv6 Routing protocol for low-power and lossy networks (see
[RFC6550]) appears to be something of an outlier among the existing
ICMP message types, as the expansion of its acronym appears to be an
actual routing protocol using ICMP for transport.
This should be considered anomalous and is not a model for future
ICMP message types. Our understanding is that the working group
initially defined a discovery protocol extending existing ICMPv6 ND
messages before moving to its own native ICMP type.
Shore & Pignataro Expires September 26, 2013 [Page 7]
Internet-Draft ICMP AUP March 2013
3. ICMP's role in the internet
ICMP was originally intended to be a mechanism for routers to report
error conditions back to hosts [RFC792]. The word "control" in the
protocol name did not describe ICMP's function (i.e. it did not
"control" the internet), but rather that it was used to communicate
about the control functions in the internet. For example, even
though ICMP included a redirect message type, it was and is not used
as a routing protocol.
Most likely because of the presence of the word "control" in the
protocol name, ICMP is often understood to be a control protocol,
borrowing some terminology from circuit networks and the PSTN. That
is probably not correct - it might be more correct to describe it as
being closer to a management plane protocol, given the data plane/
control plane/ management plane taxonomy often used in describing
telephony protocols. However, layering in IP networks is not very
clean and there's often some intermingling of function that can tend
to lead to confusion about where to place new functions.
In following sections we provide some background on the differences
between control and management traffic.
Shore & Pignataro Expires September 26, 2013 [Page 8]
Internet-Draft ICMP AUP March 2013
4. Management vs. control
In this section we attempt to draw a distinction between management
and control planes, acknowledging in advance that this may serve to
muddle the differences even further. Ultimately the difference may
not matter that much for the purpose of creating a policy for adding
new types to ICMP, but because that terminology has become
ubiquitous, even in IETF discussions, and because it has come up in
prior discussions of ICMP policies, it seems worthwhile to take a few
paragraph to describe what they are and what they are not.
The terms "management plane" and "control plane" came into use to
describe one aspect of layering in telecommunications networks. It
is particularly important, in the context of this discussion, to
understand that "control plane" in telecomm networks almost always
refers to 'signaling,' or call control and network control
information. This includes "call" establishment and teardown, route
establishment and teardown, requesting QoS or other parameters, and
so on.
"Management," on the other hand, tends to fall under the rubric
"OAM," or "Operations, Administration, and Management." typical
functions include fault management and performance monitoring
(Service Level Agreement [SLA] compliance), discovery, etc.
The correct answer to the question of where ICMP fits into the
management/control/data taxonomy is that it doesn't, at least not
neatly. While some of the message types are unambiguously management
message, at least within the narrow confines of a management/control
dichotomy (ICMP type 3, or "unreachable" messages), others are less
clearly identifiable. For example, the "redirect" (ICMP type 5)
message can be construed to contain control (in this case, routing)
information, even though it is in some very real sense an error
message.
At this time,
o there are many, many other protocols that can be (and are) used
for control traffic, whether they're routing protocols, telephony
signaling protocols, QoS protocols, middlebox protocols, AAA
protocols, etc.
o the transport characteristics needed by control traffic can be
incompatible with the ICMP protocol standard -- for example, they
may require reliable delivery, very large payloads, or have
security requirements that cannot be met.
and because of this we propose that any future message types added to
Shore & Pignataro Expires September 26, 2013 [Page 9]
Internet-Draft ICMP AUP March 2013
ICMP must conform to the policy proposed in Section 2. ICMP should
not be used as a routing or network management protocol.
Shore & Pignataro Expires September 26, 2013 [Page 10]
Internet-Draft ICMP AUP March 2013
5. Security considerations
This document attempts to describe a high-level policy for adding
ICMP types and codes. While special attention must be paid to the
security implications of any particular new ICMP type or code,
specific security considerations are outside the scope of this paper.
Shore & Pignataro Expires September 26, 2013 [Page 11]
Internet-Draft ICMP AUP March 2013
6. IANA considerations
There are no actions required by IANA.
Shore & Pignataro Expires September 26, 2013 [Page 12]
Internet-Draft ICMP AUP March 2013
7. Acknowledgments
This document was originally proposed by, and received substantial
review and suggestions from, Ron Bonica. Discussions with Pascal
Thubert helped clarify the history of RPL's use of ICMP. We are
grateful for feedback from Joe Clarke and Wen Zhang.
Shore & Pignataro Expires September 26, 2013 [Page 13]
Internet-Draft ICMP AUP March 2013
8. Informative references
[RFC792] Postel, J., "INTERNET CONTROL MESSAGE PROTOCOL", RFC 792,
September 1981.
[RFC4443] Conta, A., Deering, S., and M. Gupta, "Internet Control
Message Protocol (ICMPv6) for the Internet Protocol
Version 6 (IPv6) Specification", RFC 4443, March 2006.
[RFC6550] Winter, T., Thubert, P., Brandt, A., Hui, J., Kelsey, R.,
Levis, P., Pister, K., Struik, R., Vasseur, JP., and R.
Alexander, "RPL: IPv6 Routing Protocol for Low-Power and
Lossy Networks", RFC 6550, March 2012.
[1] <https://svn.tools.ietf.org/area/ops/trac/wiki/TIG_DIAGNOSTICS>
Shore & Pignataro Expires September 26, 2013 [Page 14]
Internet-Draft ICMP AUP March 2013
Authors' Addresses
Melinda Shore
No Mountain Software
PO Box 16271
Two Rivers, AK 99716
US
Phone: +1 907 322 9522
Email: melinda.shore@nomountain.net
Carlos Pignataro
Cisco Systems, Inc.
7200-12 Kit Creek Road
Research Triangle Park, NC 27709
US
Email: cpignata@cisco.com
Shore & Pignataro Expires September 26, 2013 [Page 15]