Network Working Group N. Freed Request for Comments: 2979 Sun Category: Informational October 2000Behavior of and Requirements for Internet Firewalls
1. Introduction
The Internet is being used for an increasing number of mission critical applications. Because of this many sites find isolated secure intranets insufficient for their needs, even when those intranets are based on and use Internet protocols. Instead they find it necessary to provide direct communications paths between the sometimes hostile Internet and systems or networks which either deal with valuable data, provide vital services, or both.
Freed Informational [Page 1]
RFC 2979 Firewall Requirements October 2000 1.1. Requirements notationThis document occasionally uses terms that appear in capital letters. When the terms "MUST", "SHOULD", "MUST NOT", "SHOULD NOT", and "MAY" appear capitalized, they are being used to indicate particular requirements of this specification. A discussion of the meanings of these terms appears in RFC 2119 [2].
2. Characteristics
Firewalls either act as a protocol end point and relay (e.g., a SMTP client/server or a Web proxy agent), as a packet filter, or some combination of both.
Freed Informational [Page 2]
RFC 2979 Firewall Requirements October 2000
(4) act as an intermediate server in handling SMTP and HTTP connections in either direction, or
3. Firewall Requirements
Applications have to continue to work properly in the presence of firewalls. This translates into the following transparency rule:
Freed Informational [Page 3]
RFC 2979 Firewall Requirements October 2000 3.1. ExamplesThe following sections provide some examples of how the transparency rule actually applies to some specific protocols.
3.1.1. Path MTU Discovery and ICMP
ICMP messages are commonly blocked at firewalls because of a perception that they are a source of security vulnerabilities. This often creates "black holes" for Path MTU Discovery [3], causing legitimate application traffic to be delayed or completely blocked when talking to systems connected via links with small MTUs.
3.1.2. SMTP Extensions
The original SMTP protocol [4] didn't provide a mechanism for negotiating protocol extensions. When this was added [5], some firewall implementations reacted by simply adding the EHLO command to the list of accepted commands. Unfortunately, this is not sufficient: What is necessary is for the firewall to scan the list of EHLO responses and only allow the ones the firewalls understands through. If this isn't done the client and server can end up agreeing to use an extension the firewalls doesn't understand, which can then lead to unnecessary protocol failures.
4. Application Requirements
Firewalls are a fact of life that application protocols must face. As such, application protocols SHOULD be designed to facilitate operation across firewalls, as long as such design choices don't adversely impact the application in other ways. In addition, application protocol specifications MAY include material defining requirements firewalls must meet to properly handle a given application protocol. Examples of proper and improper application protocol design include:
Freed Informational [Page 4]
RFC 2979 Firewall Requirements October 2000
(1) Wrapping a new protocol around HTTP and using port 80 because it is likely to be open isn't a good idea, since it will eventually result in added complexity in firewall handling of port 80.
5. Security Considerations
Good security may occasionally result in interoperability failures between components. This is understood. However, this doesn't mean that gratuitous interoperability failures caused by security components are acceptable.
Freed Informational [Page 5]
RFC 2979 Firewall Requirements October 2000 6. AcknowlegementsBill Sommerfeld provided the text for the Path MTU Discovery example. This document has benefited from discussions with a number of people, including but not limited to: Brian Carpenter, Leslie Daigle, John Klensin, Elliot Lear, and Keith Moore.
7. References
[1] Leech, M., Ganis, M., Lee, Y., Kuris, R., Koblas, D. and L.
8. Author's Address
Ned Freed Sun Microsystems 1050 Lakes Drive West Covina, CA 91790 USA
Freed Informational [Page 6]
RFC 2979 Firewall Requirements October 2000 9. Full Copyright StatementCopyright (C) The Internet Society (2000). All Rights Reserved.