RFC 2644 BEST CURRENT PRACTICE ROUTING · SECURITY

Changing the Default for Directed Broadcasts in Routers

This memo flips the default so routers block directed broadcasts unless an operator turns the feature on.

On rfc-editor.org ↗
PUBLISHED
August 1999
AUTHORS
D. Senie
STREAM
Legacy
BUILDS ON
RFC 1812 — IPv4 Router Requirements
SERIES
BCP 34
NEW DEFAULT
Blocking receipt and forwarding
DOI
10.17487/RFC2644

RFC text

Contents
Original text · RFC Editor View on rfc-editor.org ↗
Network Working Group                                           D. Senie
Request for Comments: 2644                        Amaranth Networks Inc.
Updates: 1812                                                August 1999
BCP: 34
Category: Best Current Practice


        Changing the Default for Directed Broadcasts in Routers

Status of this Memo

   This document specifies an Internet Best Current Practices for the
   Internet Community, and requests discussion and suggestions for
   improvements.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (1999).  All Rights Reserved.

1. Introduction

   Router Requirements [1] specifies that routers must receive and
   forward directed broadcasts. It also specifies that routers MUST have
   an option to disable this feature, and that this option MUST default
   to permit the receiving and forwarding of directed broadcasts.  While
   directed broadcasts have uses, their use on the Internet backbone
   appears to be comprised entirely of malicious attacks on other
   networks.

   Changing the required default for routers would help ensure new
   routers connected to the Internet do not add to the problems already
   present.

   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 RFC 2119.

2. Discussion

   Damaging denial of service attacks led to the writing of [2] on
   Ingress Filtering. Many network providers and corporate networks have
   endorsed the use of these methods to ensure their networks are not
   the source of such attacks.

   A recent trend in Smurf Attacks [3] is to target networks which
   permit directed broadcasts from outside their networks. By permitting
   directed broadcasts, these systems become "Smurf Amplifiers."

   While the continued implementation of ingress filters remains the
   best way to limit these attacks, restricting directed broadcasts
   should also receive priority.

   Network service providers and corporate network operators are urged
   to ensure their networks are not susceptible to directed broadcast
   packets originating outside their networks.

   Mobile IP [4] had provisions for using directed broadcasts in a
   mobile node's use of  dynamic agent discovery. While some
   implementations support this feature, it is unclear whether it is
   useful. Other methods of achieving the same result are documented in
   [5]. It may be worthwhile to consider removing the language on using
   directed broadcasts as Mobile IP progresses on the standards track.

3. Recommendation

   Router Requirements [1] is updated as follows:

   Section 4.2.2.11 (d) is replaced with:

      (d) { <Network-prefix>, -1 }

      Directed Broadcast - a broadcast directed to the specified network
      prefix.  It MUST NOT be used as a source address.  A router MAY
      originate Network Directed Broadcast packets.  A router MAY have a
      configuration option to allow it to receive directed broadcast
      packets, however this option MUST be disabled by default, and thus
      the router MUST NOT receive Network Directed Broadcast packets
      unless specifically configured by the end user.

   Section 5.3.5.2, second paragraph replaced with:

      A router MAY have an option to enable receiving network-prefix-
      directed broadcasts on an interface and MAY have an option to
      enable forwarding network-prefix-directed broadcasts.  These
      options MUST default to blocking receipt and blocking forwarding
      of network-prefix-directed broadcasts.

4. Security Considerations

   The goal of this document is to reduce the efficacy of certain types
   of denial of service attacks.

5. References

   [1] Baker, F., "Requirements for IP Version 4 Routers", RFC 1812,
       June 1995.

   [2] Ferguson, P. and D. Senie, "Ingress Filtering", RFC 2267, January
       1998.

   [3] See the pages by Craig Huegen at:
       http://www.quadrunner.com/~chuegen/smurf.txt, and the CERT
       advisory at: http://www.cert.org/advisories/CA-98.01.smurf.html

   [4] Perkins, C., "IP Mobility Support", RFC 2002, October 1996.

   [5] P. Calhoun, C. Perkins, "Mobile IP Dynamic Home Address
       Allocation Extensions", Work in Progress.

6. Acknowledgments

   The author would like to thank Brandon Ross of Mindspring and Gabriel
   Montenegro of Sun for their input.

7. Author's Address

   Daniel Senie
   Amaranth Networks Inc.
   324 Still River Road
   Bolton, MA 01740

   Phone: (978) 779-6813
   EMail: dts@senie.com

8.  Full Copyright Statement

   Copyright (C) The Internet Society (1999).  All Rights Reserved.

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS 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.

Acknowledgement

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

ISO Plain Language

On this page
PROBLEMRFC 1812 required routers to receive and forward directed broadcasts by default, even though on the Internet backbone their use appeared to consist entirely of malicious attacks on other networks.
MECHANISMThe memo replaces two passages of RFC 1812 so that receiving and forwarding network-prefix-directed broadcasts are options that MUST default to blocking.
WHY IT MATTERSNewly deployed routers no longer add to the Smurf amplifier problem unless the operator deliberately enables the feature.

§1The Old Default and Why It Changed

Router Requirements (RFC 1812) specified that routers must receive and forward directed broadcasts. It also required routers to have an option to disable the feature, but said that option MUST default to permitting the receiving and forwarding.

The author notes that directed broadcasts have uses, yet on the Internet backbone their use appears to consist entirely of malicious attacks on other networks. Changing the required default would help keep new routers connected to the Internet from adding to the problems already present.

A directed broadcast is one message addressed to every computer on a network. The older router rules required routers to pass these messages along unless told otherwise. Because the only serious use on the Internet backbone was attacks, this memo changes the default to blocking.

§2Smurf Attacks and Amplifiers

Damaging denial of service attacks led to the writing of RFC 2267 on Ingress Filtering. A recent trend in Smurf Attacks is to target networks that permit directed broadcasts from outside their networks. By permitting them, those systems become Smurf Amplifiers.

Ingress filtering remains the best way to limit these attacks, but restricting directed broadcasts should also receive priority. Network service providers and corporate network operators are urged to ensure their networks are not susceptible to directed broadcast packets originating outside their networks.

The memo also notes that Mobile IP (RFC 2002) had provisions for directed broadcasts in dynamic agent discovery. It is unclear whether that is useful, and the text suggests it may be worth considering removing that language.

A network that accepts these broadcasts from outside can be used to multiply an attacker's traffic onto a victim, and the RFC calls such a network a Smurf Amplifier. Operators are urged to close that opening, even though filtering at the source remains the best defense.

§3The New Router Requirements

Section 4.2.2.11 (d) of RFC 1812 is replaced. A directed broadcast of the form { <Network-prefix>, -1 } MUST NOT be used as a source address. A router MAY originate such packets, and MAY have a configuration option to receive them, but that option MUST be disabled by default, so the router MUST NOT receive them unless the end user configures it.

The second paragraph of section 5.3.5.2 is replaced as well. A router MAY have options to enable receiving and forwarding network-prefix-directed broadcasts on an interface, and these options MUST default to blocking receipt and blocking forwarding.

Under the new rules a router starts with the feature switched off. It must not receive or forward these broadcasts unless an administrator deliberately turns the option on.

§4Security Considerations

The purpose of the memo is security: to reduce the efficacy of certain types of denial of service attacks. The RFC lists no other security considerations.

The aim is to make some kinds of denial of service attacks less effective. The RFC mentions no other security effects.

§5References