RFC 1958
Architectural Principles of the Internet
Architectural Principles of the Internet π¦
Network Working Group πΈ
- RFC number: 1958 π
- Author: B. Carpenter, Editor, from the IAB π§
- Category: Informational π
- Date: June 1996 π
- Obsoletes or updates: the title block doesn't list anything this one obsoletes or updates β¨
Status of This Memo π
Okay so, this memo gives information to the Internet community. It is not an Internet standard of any kind π. Distribution of this memo is unlimited, so share it with everyone π .
Abstract π
The Internet and its architecture grew in an evolutionary way from modest beginnings, not from some Grand Plan π±. That evolution is literally one of the main reasons the technology is so successful π. Still, it seems useful to record a snapshot of the current principles of the Internet architecture πΈ. This is meant for general guidance and general interest. It is in no way meant to be a formal or invariant reference model π«Ά.
Table of Contents π
1. Constant Change..............................................1
2. Is there an Internet Architecture?...........................2
3. General Design Issues........................................4
4. Name and address issues......................................5
5. External Issues..............................................6
6. Related to Confidentiality and Authentication................6
Acknowledgements................................................7
References......................................................7
Security Considerations.........................................8
Editor's Address................................................8
1. Constant Change π
Okay bestie, when we're hunting for Internet architectural principles, we have to remember that technical change is nonstop in the information technology industry. The Internet reflects this, obviously π. Over the 25 years since the ARPANET started, various measures of the size of the Internet have gone up by factors between 1000 (backbone speed) and 1000000 (number of hosts) π. So some architectural principles inevitably change. Principles that seemed inviolable a few years ago are deprecated today π. Principles that seem sacred today will be deprecated tomorrow. The principle of constant change is perhaps the only principle of the Internet that SHOULD survive indefinitely π.
So the point of this document is NOT to lay down dogma about how Internet protocols should be designed, or even how they should fit together π ββοΈ. It's more about sharing guidelines that have been useful in the past, and that may be useful to people designing new protocols or evaluating those designs π§ .
Think of it like this: the Internet grows by constantly renewing the individual streets and buildings of a city, not by bulldozing the whole city and rebuilding it ποΈβ¨. The architectural principles are meant to give us a framework for cooperation and standards. Basically it's a small "spanning set" of rules that generates a big, varied, evolving space of technology π¦.
Some current technical triggers for change include the limits to the scaling of IPv4, the fact that gigabit/second networks and multimedia present fundamentally new challenges, and the need for quality of service and security guarantees in the commercial Internet πΌ.
As Lord Kelvin stated in 1895, "Heavier-than-air flying machines are impossible." π We would be foolish to imagine that the principles listed below are more than a snapshot of our current understanding π« .
2. Is there an Internet Architecture? π€
2.1 Many members of the Internet community would argue that there is no architecture, just a tradition, which wasn't written down for the first 25 years (or at least not by the IAB) π. Still, in very general terms, the community believes that the goal is connectivity, the tool is the Internet Protocol, and the intelligence is end to end rather than hidden in the network π.
The current exponential growth of the network seems to show that connectivity is its own reward. It's more valuable than any individual application, like mail or the World-Wide Web π. This connectivity requires technical cooperation between service providers, and it flourishes in the increasingly liberal and competitive commercial telecommunications environment π .
The key to global connectivity is the inter-networking layer π. The key to exploiting this layer over diverse hardware that provides global connectivity is the "end to end argument" π.
2.2 It is generally felt that in an ideal situation there SHOULD be one, and only one, protocol at the Internet level π. This allows for uniform and relatively seamless operations in a competitive, multi-vendor, multi-provider public network π€. There can of course be multiple protocols to satisfy different requirements at other levels, and there are many successful examples of large private networks using multiple network layer protocols π§.
In practice, there are at least two reasons why more than one network layer protocol might be in use on the public Internet. Firstly, there can be a need for a gradual transition from one version of IP to another π. Secondly, fundamentally new requirements might lead to a fundamentally new protocol π¦.
The Internet level protocol MUST be independent of the hardware medium and hardware addressing π. This approach lets the Internet exploit any new digital transmission technology of any kind, and decouple its addressing mechanisms from the hardware πΈ. It also makes the Internet the easy way to interconnect fundamentally different transmission media, and gives it a single platform for a wide variety of Information Infrastructure applications and services π. There is a good exposition of this model, and other important fundamental issues, in [Clark] π.
2.3 It is also generally felt that end-to-end functions can best be realized by end-to-end protocols π.
The end-to-end argument is discussed in depth in [Saltzer] π§ . The basic argument is that, as a first principle, certain required end-to-end functions can only be performed correctly by the end-systems themselves. A specific case is that any network, however carefully designed, will be subject to transmission failures at some statistically determined rate π€. The best way to cope with this is to accept it, and give responsibility for the integrity of communication to the end systems. Another specific case is end-to-end security π.
To quote from [Saltzer]:
"The function in question can completely and correctly be implemented only with the knowledge and help of the application standing at the endpoints of the communication system. Therefore, providing that questioned function as a feature of the communication system itself is not possible. (Sometimes an incomplete version of the function provided by the communication system may be useful as a performance enhancement.")
This principle has big consequences if we require applications to survive partial network failures π¨. An end-to-end protocol design SHOULD NOT rely on maintaining state inside the network. Here, state means information about the state of the end-to-end communication π§©. That state SHOULD be maintained only in the endpoints, in such a way that it can only be destroyed when the endpoint itself breaks. This is known as fate-sharing πͺ’. An immediate consequence is that datagrams are better than classical virtual circuits π. The network's job is to transmit datagrams as efficiently and flexibly as possible π.
Everything else SHOULD be done at the fringes πΏ.
To perform its services, the network maintains some state information: routes, QoS guarantees that it makes, session information where that is used in header compression, compression histories for data compression, and the like πΊοΈ. This state MUST be self-healing. Adaptive procedures or protocols MUST exist to derive and maintain that state, and to change it when the topology or activity of the network changes π§. The volume of this state MUST be minimized, and the loss of the state MUST NOT result in more than a temporary denial of service, as long as connectivity exists β³. Manually configured state MUST be kept to an absolute minimum π .
2.4 Fortunately, nobody owns the Internet, there is no centralized control, and nobody can turn it off π₯³. Its evolution depends on rough consensus about technical proposals, and on running code π». Engineering feedback from real implementations is more important than any architectural principles π οΈ.
3. General Design Issues π οΈ
3.1 Heterogeneity is inevitable and MUST be supported by design π. Multiple types of hardware MUST be allowed for, for example transmission speeds differing by at least 7 orders of magnitude, various computer word lengths, and hosts ranging from memory-starved microprocessors up to massively parallel supercomputers π₯οΈ. Multiple types of application protocol MUST be allowed for, ranging from the simplest, such as remote login, up to the most complex, such as distributed databases ποΈ.
3.2 If there are several ways of doing the same thing, choose one π―. If a previous design, in the Internet context or elsewhere, has successfully solved the same problem, choose the same solution unless there is a good technical reason not to π. Duplication of the same protocol functionality SHOULD be avoided as far as possible, but of course this argument shouldn't be used to reject improvements π«.
3.3 All designs MUST scale readily to very many nodes per site and to many millions of sites πΆ.
3.4 Performance and cost MUST be considered as well as functionality π°.
3.5 Keep it simple. When in doubt during design, choose the simplest solution βοΈ.
3.6 Modularity is good. If you can keep things separate, do so π§©.
3.7 In many cases it is better to adopt an almost complete solution now, rather than wait until a perfect solution can be found β°.
3.8 Avoid options and parameters whenever possible π ββοΈ. Any options and parameters SHOULD be configured or negotiated dynamically rather than manually βοΈ.
3.9 Be strict when sending and tolerant when receiving π . Implementations MUST follow specifications precisely when sending to the network, and tolerate faulty input from the network π«Ά. When in doubt, discard faulty input silently, without returning an error message unless the specification requires it π€«.
3.10 Be parsimonious with unsolicited packets, especially multicasts and broadcasts π¦.
3.11 Circular dependencies MUST be avoided π.
For example, routing MUST NOT depend on look-ups in the Domain Name System (DNS), since the updating of DNS servers depends on successful routing π.
3.12 Objects SHOULD be self-describing (include type and size), within reasonable limits π·οΈ. Only type codes and other magic numbers assigned by the Internet Assigned Numbers Authority (IANA) MAY be used β¨.
3.13 All specifications SHOULD use the same terminology and notation, and the same bit- and byte-order convention π.
3.14 And perhaps most important: nothing gets standardized until there are multiple instances of running code ππ₯.
4. Name and address issues β¨
4.1 okay bestie, rule number one of naming: design nothing that requires addresses to be hard coded or saved on non-volatile storage π ββοΈ (unless it's an essential requirement, like in a name server or configuration server π§ββοΈ). In general, user applications should use names rather than addresses π
4.2 a single naming structure should be used. one naming system, no drama π
4.3 public names (the ones that are widely visible π) should be in case-independent ASCII. This specifically covers DNS names, and protocol elements that get sent in text format π
4.4 addresses must be unambiguous, meaning unique within any scope where they may appear π. No two-addresses-same-name chaos π
4.5 upper layer protocols must be able to identify end-points unambiguously π―. Realistically, today that means addresses must be the same at the start and the finish of transmission β¨
5. External Issues π
5.1 prefer unpatented tech π¦, but if the best tech is patented and available to everyone on reasonable terms, using it is totally acceptable π
5.2 export controls on some parts of Internet tech are only of secondary importance when picking what goes into the standards π. All of the tech required to implement Internet standards can be made in every country, so worldwide deployment doesn't depend on being exportable from any particular country or countries πΈ
5.3 any implementation that doesn't include all of the required components cannot claim conformance with the standard π«. no shortcuts, bestie π€
5.4 designs should be fully international, with support for localisation (adapting to local character sets) π. In particular, there should be a uniform approach to character set tagging for information content π·οΈ
6. Related to Confidentiality and Authentication π
6.1 all designs must fit into the IP security architecture π‘οΈ
6.2 it is highly desirable that Internet carriers protect the privacy and authenticity of all traffic π₯Ή, but this is not a requirement of the architecture. Confidentiality and authentication are the responsibility of end users and must be implemented in the protocols that end users use π«Ά. Endpoints should not depend on the confidentiality or integrity of the carriers. Carriers may choose to provide some level of protection, but this is secondary to the primary responsibility of end users to protect themselves π
6.3 wherever a cryptographic algorithm is called for in a protocol, the protocol should be designed to permit alternative algorithms to be used, and the specific algorithm employed in a particular implementation should be explicitly labeled π·οΈ. Official labels for algorithms are to be recorded by the IANA π
(It can be argued that this principle could be generalised beyond the security area. π€)
6.4 in choosing algorithms, the algorithm should be one which is widely regarded as strong enough to serve the purpose πͺ. Among alternatives that are all strong enough, preference should be given to algorithms that have stood the test of time and are not unnecessarily inefficient β³
6.5 to ensure interoperation between endpoints making use of security services, one algorithm (or suite of algorithms) should be mandated to ensure the ability to negotiate a secure context between implementations π€. Without this, implementations might not have an algorithm in common and not be able to communicate securely π
Acknowledgements π
This document is a collective work of the Internet community, published by the Internet Architecture Board. Special thanks to Fred Baker, Noel Chiappa, Donald Eastlake, Frank Kastenholz, Neal McBurnett, Masataka Ohta, Jeff Schiller and Lansing Sloan π«Ά
References π
Note that the references have been deliberately limited to two fundamental papers on the Internet architecture. π§
[Clark] The Design Philosophy of the DARPA Internet Protocols, D.D.Clark, Proc SIGCOMM 88, ACM CCR Vol 18, Number 4, August 1988, pages 106-114 (reprinted in ACM CCR Vol 25, Number 1, January 1995, pages 102-111).
[Saltzer] End-To-End Arguments in System Design, J.H. Saltzer, D.P.Reed, D.D.Clark, ACM TOCS, Vol 2, Number 4, November 1984, pp 277-288.
Security Considerations π¨
Security issues are discussed throughout this memo. π± Honestly, the whole document is basically a security love letter π
Editor's Address π
Brian E. Carpenter
Group Leader, Communications Systems
Computing and Networks Division
CERN
European Laboratory for Particle Physics
1211 Geneva 23, Switzerland
Phone: +41 22 767-4967
Fax: +41 22 767-7155
EMail: brian@dxcoms.cern.ch
π¦ where this page comes from
- ietf: rfc1958 1996-06
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms