-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdraft-ietf-opsec-ip-options-filtering-00.txt
1680 lines (1019 loc) · 55.1 KB
/
draft-ietf-opsec-ip-options-filtering-00.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
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Operational Security Capabilities for F. Gont
IP Network Infrastructure (opsec) UTN-FRH / SI6 Networks
Internet-Draft R. Atkinson
Intended status: BCP Consultant
Expires: December 13, 2012 C. Pignataro
Cisco
June 11, 2012
Recommendations on filtering of IPv4 packets containing IPv4 options
draft-ietf-opsec-ip-options-filtering-00.txt
Abstract
This document document provides advice on the filtering of IPv4
packets based on the IPv4 options they contain. Additionally, it
discusses the operational and interoperability implications of
dropping packets based on the IP options they contain.
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 December 13, 2012.
Copyright Notice
Copyright (c) 2012 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
Gont, et al. Expires December 13, 2012 [Page 1]
Internet-Draft Filtering of IP-optioned packets June 2012
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Terminology and Conventions Used in This Document . . . . 3
2. IP Options . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3. General Security Implications of IP options . . . . . . . . . 5
3.1. Processing Requirements . . . . . . . . . . . . . . . . . 5
4. Advice on the Handling of Packets with Specific IP Options . . 5
4.1. End of Option List (Type = 0) . . . . . . . . . . . . . . 5
4.2. No Operation (Type = 1) . . . . . . . . . . . . . . . . . 6
4.3. Loose Source and Record Route (LSRR) (Type = 131) . . . . 7
4.4. Strict Source and Record Route (SSRR) (Type = 137) . . . . 8
4.5. Record Route (Type = 7) . . . . . . . . . . . . . . . . . 9
4.6. Stream Identifier (Type = 136) (obsolete) . . . . . . . . 10
4.7. Internet Timestamp (Type = 68) . . . . . . . . . . . . . . 11
4.8. Router Alert (Type = 148) . . . . . . . . . . . . . . . . 12
4.9. Probe MTU (Type = 11) (obsolete) . . . . . . . . . . . . . 13
4.10. Reply MTU (Type = 12) (obsolete) . . . . . . . . . . . . . 13
4.11. Traceroute (Type = 82) . . . . . . . . . . . . . . . . . . 14
4.12. DoD Basic Security Option (Type = 130) . . . . . . . . . . 14
4.13. DoD Extended Security Option (Type = 133) . . . . . . . . 16
4.14. Commercial IP Security Option (CIPSO) (Type = 134) . . . . 17
4.15. VISA (Type = 142) . . . . . . . . . . . . . . . . . . . . 19
4.16. Extended Internet Protocol (Type = 145) . . . . . . . . . 19
4.17. Address Extension (Type = 147) . . . . . . . . . . . . . . 20
4.18. Sender Directed Multi-Destination Delivery (Type = 149) . 20
4.19. Dynamic Packet State (Type = 151) . . . . . . . . . . . . 21
4.20. Upstream Multicast Pkt. (Type = 152) . . . . . . . . . . . 22
4.21. Quick-Start (Type = 25) . . . . . . . . . . . . . . . . . 22
4.22. RFC3692-style Experiment (Types = 30, 94, 158, and 222) . 23
4.23. Other IP Options . . . . . . . . . . . . . . . . . . . . . 24
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 25
6. Security Considerations . . . . . . . . . . . . . . . . . . . 25
7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 25
8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.1. Normative References . . . . . . . . . . . . . . . . . . . 25
8.2. Informative References . . . . . . . . . . . . . . . . . . 26
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 29
Gont, et al. Expires December 13, 2012 [Page 2]
Internet-Draft Filtering of IP-optioned packets June 2012
1. Introduction
This document document discusses the filtering of IPv4 packets based
on the IPv4 options they contain. Since various protocols may use
IPv4 options to some extent, dropping packets based on the options
they contain may have implications on the proper functioning of the
protocol. Therefore, this document attempts to discuss the
operational and interoperability implications of such dropping.
Additionally, it outlines what a network operator might do in a
typical enterprise or Service Provider environments.
We note that data seems to indicate that there is a current
widespread practice of blocking IPv4 optioned packets. There are
various plausible approaches to minimize the potential negative
effects of IPv4 optioned packets while allowing some options
semantics. One approach is to allow for specific options that are
expected or needed, and a default deny. A different approach is to
deny unneeded options and a default allow. Yet a third possible
approach is to allow for end-to-end semantics by ignoring options and
treating packets as un-optioned while in transit. Experiments and
currently-available data tends to support the first or third
approaches as more realistic. Some results of regarding the current
state of affairs with respect to dropping packets containing IP
options can be found in [MEDINA].
We also note that while this document provides advice on dropping
packets on a "per IP option type", not all devices may provide this
capability with such granularity. Additionally, even in cases in
which such functionality is provided, the operator might want to
specify a dropping policy with a coarser granularity (rather than on
a "per IP option type" granularity), as indicated above.
Finally, in scenarios in which processing of IP options by
intermediate systems is not required, a widespread approach is to
simply ignore IP options, and process the corresponding packets as if
they do not contain any IP options.
1.1. Terminology and Conventions Used in This Document
The terms "fast path", "slow path", and associated relative terms
("faster path" and "slower path") are loosely defined as in Section 2
of [RFC6398].
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 [RFC2119].
Gont, et al. Expires December 13, 2012 [Page 3]
Internet-Draft Filtering of IP-optioned packets June 2012
2. IP Options
IP options allow for the extension of the Internet Protocol
There are two cases for the format of an option:
o Case 1: A single byte of option-type.
o Case 2: An option-type byte, an option-length byte, and the actual
option-data bytes.
IP options of Case 1 have the following syntax:
+-+-+-+-+-+-+-+-+- - - - - - - - -
| option-type | option-data
+-+-+-+-+-+-+-+-+- - - - - - - - -
The length of IP options of Case 1 is implicitly specified by the
option-type byte.
IP options of Case 2 have the following syntax:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -
| option-type | option-length | option-data
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -
In this case, the option-length byte counts the option-type byte and
the option-length byte, as well as the actual option-data bytes.
All current and future options except "End of Option List" (Type = 0)
and "No Operation" (Type = 1), are of Class 2.
The option-type has three fields:
o 1 bit: copied flag.
o 2 bits: option class.
o 5 bits: option number.
The copied flag indicates whether this option should be copied to all
fragments in the event the packet carrying it needs to be fragmented:
o 0 = not copied.
o 1 = copied.
The values for the option class are:
Gont, et al. Expires December 13, 2012 [Page 4]
Internet-Draft Filtering of IP-optioned packets June 2012
o 0 = control.
o 1 = reserved for future use.
o 2 = debugging and measurement.
o 3 = reserved for future use.
This format allows for the creation of new options for the extension
of the Internet Protocol (IP).
Finally, the option number identifies the syntax of the rest of the
option.
The "IP OPTION NUMBERS" registry [IANA-IP] contains the list of the
currently assigned IP option numbers.
3. General Security Implications of IP options
3.1. Processing Requirements
Router architectures can perform IP option processing in a slower
path. Unless protective measures are taken, this represents a
potential Denial of Service (DoS) risk, as there is possibility for
the option processing to overwhelm the router's CPU or the protocols
processed in the router's slow path. Additional considerations for
protecting the router control plane from IP optioned packets can be
found in [RFC6192].
4. Advice on the Handling of Packets with Specific IP Options
The following subsections contain a description of each of the IP
options that have so far been specified, a discussion of possible
interoperability implications if packets containing such options are
dropped, and specific advice on whether to drop packets containing
these options in a typical enterprise or Service Provider
environment.
4.1. End of Option List (Type = 0)
4.1.1. Uses
This option is used to indicate the "end of options" in those cases
in which the end of options would not coincide with the end of the
Internet Protocol Header.
Gont, et al. Expires December 13, 2012 [Page 5]
Internet-Draft Filtering of IP-optioned packets June 2012
4.1.2. Option Specification
Specified in RFC 791 [RFC0791].
4.1.3. Threats
No security issues are known for this option, other than the general
security implications of IP options discussed in Section 3.
4.1.4. Operational and Interoperability Impact if Blocked
Packets containing any IP options are likely to include an End of
Option List. Therefore, if packets containing this option are
dropped, it is very likely that legitimate traffic is blocked.
4.1.5. Advice
Routers, security gateways, and firewalls SHOULD NOT drop packets
containing this option.
4.2. No Operation (Type = 1)
4.2.1. Uses
The no-operation option is basically meant to allow the sending
system to align subsequent options in, for example, 32-bit
boundaries.
4.2.2. Option Specification
Specified in RFC 791 [RFC0791].
4.2.3. Threats
No security issues are known for this option, other than the general
security implications of IP options discussed in Section 3.
4.2.4. Operational and Interoperability Impact if Blocked
Packets containing any IP options are likely to include a No
Operation option. Therefore, if packets containing this option are
dropped, it is very likely that legitimate traffic is blocked.
4.2.5. Advice
Routers, security gateways, and firewalls SHOULD NOT drop packets
containing this option.
Gont, et al. Expires December 13, 2012 [Page 6]
Internet-Draft Filtering of IP-optioned packets June 2012
4.3. Loose Source and Record Route (LSRR) (Type = 131)
RFC 791 states that this option should appear, at most, once in a
given packet. Thus, if a packet contains more than one LSRR option,
it should be dropped, and this event should be logged (e.g., a
counter could be incremented to reflect the packet drop).
Additionally, packets containing a combination of LSRR and SSRR
options should be dropped, and this event should be logged (e.g., a
counter could be incremented to reflect the packet drop).
4.3.1. Uses
This option lets the originating system specify a number of
intermediate systems a packet must pass through to get to the
destination host. Additionally, the route followed by the packet is
recorded in the option. The receiving host (end-system) must use the
reverse of the path contained in the received LSRR option.
The LSSR option can be of help in debugging some network problems.
Some ISP (Internet Service Provider) peering agreements require
support for this option in the routers within the peer of the ISP.
4.3.2. Option Specification
Specified in RFC 791 [RFC0791].
4.3.3. Threats
The LSRR option has well-known security implications. Among other
things, the option can be used to:
o Bypass firewall rules
o Reach otherwise unreachable internet systems
o Establish TCP connections in a stealthy way
o Learn about the topology of a network
o Perform bandwidth-exhaustion attacks
Of these attack vectors, the one that has probably received least
attention is the use of the LSRR option to perform bandwidth
exhaustion attacks. The LSRR option can be used as an amplification
method for performing bandwidth-exhaustion attacks, as an attacker
could make a packet bounce multiple times between a number of systems
by carefully crafting an LSRR option.
Gont, et al. Expires December 13, 2012 [Page 7]
Internet-Draft Filtering of IP-optioned packets June 2012
This is the IPv4-version of the IPv6 amplification attack that was
widely publicized in 2007 [Biondi2007]. The only difference is
that the maximum length of the IPv4 header (and hence the LSRR
option) limits the amplification factor when compared to the IPv6
counter-part.
Additionally, some implementations have been found to fail to include
proper sanity checks on the LSRR option, thus leading to security
issues.
[Microsoft1999] is a security advisory about a vulnerability
arising from improper validation of the Pointer field of the LSRR
option.
Finally, we note that some systems were known for providing a system-
wide toggle to enable support for this option for those scenarios in
which this option is required. However, improper implementation of
such system-wide toggle caused those systems to support the LSRR
option even when explicitly configured not to do so.
[OpenBSD1998] is a security advisory about an improper
implementation of such a system-wide toggle in 4.4BSD kernels.
4.3.4. Operational and Interoperability Impact if Blocked
Network troubleshooting techniques that may employ the LSRR option
(such as ping or traceroute) would break. Nevertheless, it should be
noted that it is virtually impossible to use the LSRR option for
troubleshooting, due to widespread dropping of packets that contain
such option.
4.3.5. Advice
Routers, security gateways, and firewalls SHOULD, by default, drop IP
packets that contain an LSRR option.
4.4. Strict Source and Record Route (SSRR) (Type = 137)
4.4.1. Uses
This option allows the originating system to specify a number of
intermediate systems a packet must pass through to get to the
destination host. Additionally, the route followed by the packet is
recorded in the option, and the destination host (end-system) must
use the reverse of the path contained in the received SSRR option.
This option is similar to the Loose Source and Record Route (LSRR)
option, with the only difference that in the case of SSRR, the route
Gont, et al. Expires December 13, 2012 [Page 8]
Internet-Draft Filtering of IP-optioned packets June 2012
specified in the option is the exact route the packet must take
(i.e., no other intervening routers are allowed to be in the route).
The SSSR option can be of help in debugging some network problems.
Some ISP (Internet Service Provider) peering agreements require
support for this option in the routers within the peer of the ISP.
4.4.2. Option Specification
Specified in RFC 791 [RFC0791].
4.4.3. Threats
The SSRR option has the same security implications as the LSRR
option. Please refer to Section 4.3 for a discussion of such
security implications.
4.4.4. Operational and Interoperability Impact if Blocked
Network troubleshooting techniques that may employ the SSRR option
(such as ping or traceroute) would break. Nevertheless, it should be
noted that it is virtually impossible to use the SSR option for
trouble-shooting, due to widespread dropping of packets that contain
such option.
4.4.5. Advice
Routers, security gateways, and firewalls SHOULD, by default, drop IP
packets that contain an SSRR option.
4.5. Record Route (Type = 7)
4.5.1. Uses
This option provides a means to record the route that a given packet
follows.
4.5.2. Option Specification
Specified in RFC 791 [RFC0791].
4.5.3. Threats
This option can be exploited to map the topology of a network.
However, the limited space in the IP header limits the usefulness of
this option for that purpose.
Gont, et al. Expires December 13, 2012 [Page 9]
Internet-Draft Filtering of IP-optioned packets June 2012
4.5.4. Operational and Interoperability Impact if Blocked
Network troubleshooting techniques that may employ the RR option
(such as ping with the RR option) would break. Nevertheless, it
should be noted that it is virtually impossible to use such
techniques due to widespread dropping of packets that contain RR
options.
4.5.5. Advice
Routers, security gateways, and firewalls SHOULD drop IP packets
containing a Record Route option.
4.6. Stream Identifier (Type = 136) (obsolete)
The Stream Identifier option originally provided a means for the 16-
bit SATNET stream Identifier to be carried through networks that did
not support the stream concept.
However, as stated by Section 3.2.1.8 of RFC 1122 [RFC1122] and
Section 4.2.2.1 of RFC 1812 [RFC1812], this option is obsolete.
Therefore, it must be ignored by the processing systems. See also
Section 5.
RFC 791 states that this option appears at most once in a given
datagram. Therefore, if a packet contains more than one instance of
this option, it should be dropped, and this event should be logged
(e.g., a counter could be incremented to reflect the packet drop).
4.6.1. Uses
This option is obsolete. There is no current use for this option.
4.6.2. Option Specification
Specified in RFC 791 [RFC0791], and obsoleted in RFC 1122 [RFC1122]
and RFC 1812 [RFC1812].
4.6.3. Threats
No security issues are known for this option, other than the general
security implications of IP options discussed in Section 3.
4.6.4. Operational and Interoperability Impact if Blocked
None.
Gont, et al. Expires December 13, 2012 [Page 10]
Internet-Draft Filtering of IP-optioned packets June 2012
4.6.5. Advice
Routers, security gateways, and firewalls SHOULD drop IP packets
containing a Stream Identifier option.
4.7. Internet Timestamp (Type = 68)
4.7.1. Uses
This option provides a means for recording the time at which each
system processed this datagram.
4.7.2. Option Specification
Specified by RFC 791 [RFC0791].
4.7.3. Threats
The timestamp option has a number of security implications. Among
them are:
o It allows an attacker to obtain the current time of the systems
that process the packet, which the attacker may find useful in a
number of scenarios.
o It may be used to map the network topology, in a similar way to
the IP Record Route option.
o It may be used to fingerprint the operating system in use by a
system processing the datagram.
o It may be used to fingerprint physical devices, by analyzing the
clock skew.
[Kohno2005] describes a technique for fingerprinting devices by
measuring the clock skew. It exploits, among other things, the
timestamps that can be obtained by means of the ICMP timestamp
request messages [RFC0791]. However, the same fingerprinting method
could be implemented with the aid of the Internet Timestamp option.
4.7.4. Operational and Interoperability Impact if Blocked
No security issues are known for this option, other than the general
security implications of IP options discussed in Section 3.
Gont, et al. Expires December 13, 2012 [Page 11]
Internet-Draft Filtering of IP-optioned packets June 2012
4.7.5. Advice
Routers, security gateways, and firewalls SHOULD drop IP packets
containing an Internet Timestamp option.
4.8. Router Alert (Type = 148)
4.8.1. Uses
The Router Alert option has the semantic "routers should examine this
packet more closely, if they participate in the functionality denoted
by the Value of the option".
4.8.2. Option Specification
The Router Alert option is defined in RFC 2113 [RFC2113] and later
updates to it have been clarified by RFC 5350 [RFC5350]. It contains
a 16-bit Value governed by an IANA registry (see [RFC5350]).
4.8.3. Threats
The security implications of the Router Alert option have been
discussed in detail in [RFC6398]. Basically, the Router Alert option
might be exploited to perform a Denial of Service (DoS) attack by
exhausting CPU resources at the processing routers.
4.8.4. Operational and Interoperability Impact if Blocked
Applications that employ the Router Alert option (such as RSVP
[RFC2205]) would break.
4.8.5. Advice
This option SHOULD be allowed only in controlled environments, where
the option can be used safely. [RFC6398] identifies some such
environments. In unsafe environments, packets containing this option
SHOULD be dropped.
A given router, security gateway, or firewall system has no way of
knowing a priori whether this option is valid in its operational
environment. Therefore, routers, security gateways, and firewalls
SHOULD, by default, ignore the Router Alert option. Additionally,
Routers, security gateways, and firewalls SHOULD have a configuration
setting that indicates whether they should react act on the Router
Alert option as indicated in the corresponding specification or
ignore the option, or whether packets containing this option should
be dropped (with the default configuration being to ignore the Router
Alert option).
Gont, et al. Expires December 13, 2012 [Page 12]
Internet-Draft Filtering of IP-optioned packets June 2012
4.9. Probe MTU (Type = 11) (obsolete)
4.9.1. Uses
This option originally provided a mechanism to discover the Path-MTU.
It has been declared obsolete.
4.9.2. Option Specification
This option was originally defined in RFC 1063 [RFC1063], and was
obsoleted with RFC 1191 [RFC1191]. This option is now obsolete, as
RFC 1191 obsoletes RFC 1063 without using IP options.
4.9.3. Threats
No security issues are known for this option, other than the general
security implications of IP options discussed in Section 3.
4.9.4. Operational and Interoperability Impact if Blocked
None
4.9.5. Advice
Routers, security gateways, and firewalls SHOULD drop IP packets that
contain a Probe MTU option.
4.10. Reply MTU (Type = 12) (obsolete)
4.10.1. Uses
This option and originally provided a mechanism to discover the Path-
MTU. It is now obsolete.
4.10.2. Option Specification
This option was originally defined in RFC 1063 [RFC1063], and was
obsoleted with RFC 1191 [RFC1191]. This option is now obsolete, as
RFC 1191 obsoletes RFC 1063 without using IP options.
4.10.3. Threats
No security issues are known for this option, other than the general
security implications of IP options discussed in Section 3.
Gont, et al. Expires December 13, 2012 [Page 13]
Internet-Draft Filtering of IP-optioned packets June 2012
4.10.4. Operational and Interoperability Impact if Blocked
None
4.10.5. Advice
Routers, security gateways, and firewalls SHOULD drop IP packets that
contain a Reply MTU option.
4.11. Traceroute (Type = 82)
4.11.1. Uses
This option originally provided a mechanism to trace the path to a
host.
4.11.2. Option Specification
This option was originally specified by RFC 1393 [RFC1393]. The
Traceroute option is defined as "experimental" and it was never
widely deployed on the public Internet.
4.11.3. Threats
No security issues are known for this option, other than the general
security implications of IP options discussed in Section 3.
4.11.4. Operational and Interoperability Impact if Blocked
None
4.11.5. Advice
Routers, security gateways, and firewalls SHOULD drop IP packets that
contain a Traceroute option.
4.12. DoD Basic Security Option (Type = 130)
4.12.1. Uses
This option is used by Multi-Level-Secure (MLS) end-systems and
intermediate systems in specific environments to [RFC1108]:
o Transmit from source to destination in a network standard
representation the common security labels required by computer
security models [Landwehr81],
Gont, et al. Expires December 13, 2012 [Page 14]
Internet-Draft Filtering of IP-optioned packets June 2012
o Validate the datagram as appropriate for transmission from the
source and delivery to the destination, and,
o Ensure that the route taken by the datagram is protected to the
level required by all protection authorities indicated on the
datagram.
The DoD Basic Security Option (BSO) is currently implemented in a
number of operating systems (e.g., [IRIX2008], [SELinux2008],
[Solaris2008], and [Cisco-IPSO]), and deployed in a number of high-
security networks. These networks are typically either in physically
secure locations, protected by military/governmental communications
security equipment, or both. Such networks are typically built using
commercial off-the-shelf (COTS) IP routers and Ethernet switches, but
are not normally interconnected with the global public Internet.
This option probably has more deployment now than when the IESG
removed this option from the IETF standards-track. [RFC5570]
describes a similar option recently defined for IPv6 and has much
more detailed explanations of how sensitivity label options are used
in real-world deployments.
4.12.2. Option Specification
It is specified by RFC 1108 [RFC1108]], which obsoleted RFC 1038
[RFC1038] (which in turn obsoleted the Security Option defined in RFC
791 [RFC0791]).
RFC 791 [RFC0791] defined the "Security Option" (Type = 130),
which used the same option type as the DoD Basic Security option
discussed in this section. Later, RFC 1038 [RFC1038] revised the
IP security options, and in turn was obsoleted by RFC 1108
[RFC1108]. The "Security Option" specified in RFC 791 is
considered obsolete by Section 3.2.1.8 of RFC 1122 [RFC1122] and
Section 4.2.2.1 of RFC 1812 [RFC1812], and therefore the
discussion in this section is focused on the DoD Basic Security
option specified by RFC 1108 [RFC1108].
Section 4.2.2.1 of RFC 1812 states that routers "SHOULD implement
this option".
Many Cisco routers that run Cisco IOS include support dropping
packets that contain this option with per-interface granularity.
This capability has been present in many Cisco routers since the
early 1990s [Cisco-IPSO-Cmds]. Some governmental products
reportedly support BSO, notably CANEWARE [RFC4949]. Support for
BSO is included in the "IPsec Configuration Policy Information
Model" [RFC3585] and in the "IPsec Security Policy Database
Configuration MIB" [RFC4807].
Gont, et al. Expires December 13, 2012 [Page 15]
Internet-Draft Filtering of IP-optioned packets June 2012
4.12.3. Threats
Presence of this option in a packet does not by itself create any
specific new threat (other than the usual generic issues that might
be created if packets with options are forwarded via the "slow
path"). Packets with this option ought not normally be seen on the
global public Internet.
4.12.4. Operational and Interoperability Impact if Blocked
If packets with this option are blocked or if the option is stripped
from the packet during transmission from source to destination, then
the packet itself is likely to be dropped by the receiver because it
isn't properly labelled. In some cases, the receiver might receive
the packet but associate an incorrect sensitivity label with the
received data from the packet whose BSO was stripped by an
intermediate router or firewall. Associating an incorrect
sensitivity label can cause the received information either to be
handled as more sensitive than it really is ("upgrading") or as less
sensitive than it really is ("downgrading"), either of which is
problematic.
4.12.5. Advice
Routers, security gateways, and firewalls SHOULD NOT by default
modify or remove this option from IP packets and SHOULD NOT by
default drop packets containing this option. For auditing reasons,
Routers, security gateways, and firewalls SHOULD be capable of
logging the numbers of packets containing the BSO on a per-interface
basis. Also, Routers, security gateways, and firewalls SHOULD be
capable of dropping packets based on the BSO presence as well as the
BSO values.
4.13. DoD Extended Security Option (Type = 133)
4.13.1. Uses
This option permits additional security labeling information, beyond
that present in the Basic Security Option (Section 4.12), to be
supplied in an IP datagram to meet the needs of registered
authorities.
4.13.2. Option Specification
The DoD Extended Security Option (ESO) is specified by RFC 1108
[RFC1108].
Gont, et al. Expires December 13, 2012 [Page 16]
Internet-Draft Filtering of IP-optioned packets June 2012
Many Cisco routers that run Cisco IOS include support for dropping
packets that contain this option with a per-interface granularity.
This capability has been present in many Cisco routers since the
early 1990s [Cisco-IPSO-Cmds]. Some governmental products
reportedly support ESO, notably CANEWARE [RFC4949]. Support for
ESO is included in the "IPsec Configuration Policy Information
Model" [RFC3585] and in the "IPsec Security Policy Database
Configuration MIB" [RFC4807].
4.13.3. Threats
Presence of this option in a packet does not by itself create any
specific new threat (other than the usual generic issues that might
be created if packets with options are forwarded via the "slow
path"). Packets with this option ought not normally be seen on the
global public Internet
4.13.4. Operational and Interoperability Impact if Blocked
If packets with this option are blocked or if the option is stripped
from the packet during transmission from source to destination, then
the packet itself is likely to be dropped by the receiver because it
isn't properly labelled. In some cases, the receiver might receive
the packet but associate an incorrect sensitivity label with the
received data from the packet whose ESO was stripped by an
intermediate router or firewall. Associating an incorrect
sensitivity label can cause the received information either to be
handled as more sensitive than it really is ("upgrading") or as less
sensitive than it really is ("downgrading"), either of which is
problematic.
4.13.5. Advice
Routers, security gateways, and firewalls SHOULD NOT by default
modify or remove this option from IP packets and SHOULD NOT by
default drop packets containing this option. For auditing reasons,
Routers, security gateways, and firewalls SHOULD be capable of
logging the numbers of packets containing the ESO on a per-interface
basis. Also, Routers, security gateways, and firewalls SHOULD be
capable of dropping packets based on the ESO presence as well as the
ESO values.
4.14. Commercial IP Security Option (CIPSO) (Type = 134)
4.14.1. Uses
This option was proposed by the Trusted Systems Interoperability
Group (TSIG), with the intent of meeting trusted networking
Gont, et al. Expires December 13, 2012 [Page 17]
Internet-Draft Filtering of IP-optioned packets June 2012
requirements for the commercial trusted systems market place.
It is currently implemented in a number of operating systems (e.g.,
IRIX [IRIX2008], Security-Enhanced Linux [SELinux2008], and Solaris
[Solaris2008]), and deployed in a number of high-security networks.
4.14.2. Option Specification
This option is specified in [CIPSO1992] and [FIPS1994]. There are
zero known IP router implementations of CIPSO. Several MLS operating
systems support CIPSO, generally the same MLS operating systems that
support IPSO.
The TSIG proposal was taken to the Commercial Internet Security
Option (CIPSO) Working Group of the IETF [CIPSOWG1994], and an
Internet-Draft was produced [CIPSO1992]. The Internet-Draft was
never published as an RFC, but the proposal was later standardized
by the U.S. National Institute of Standards and Technology (NIST)
as "Federal Information Processing Standard Publication 188"
[FIPS1994].
4.14.3. Threats
Presence of this option in a packet does not by itself create any
specific new threat (other than the usual generic issues that might
be created if packets with options are forwarded via the "slow
path"). Packets with this option ought not normally be seen on the
global public Internet.
4.14.4. Operational and Interoperability Impact if Blocked
If packets with this option are blocked or if the option is stripped
from the packet during transmission from source to destination, then
the packet itself is likely to be dropped by the receiver because it
isn't properly labelled. In some cases, the receiver might receive
the packet but associate an incorrect sensitivity label with the
received data from the packet whose CIPSO was stripped by an
intermediate router or firewall. Associating an incorrect
sensitivity label can cause the received information either to be
handled as more sensitive than it really is ("upgrading") or as less
sensitive than it really is ("downgrading"), either of which is
problematic.
4.14.5. Advice