Who Defines the Internet: RFCs, the IETF, IEEE and Real Implementations
Who writes the Internet's rules and how: the IETF and its bodies, how an Internet-Draft becomes an RFC, RFC streams and statuses, other standards groups, the history of TCP/IP software, and the spoofing and denial-of-service attacks the architecture allows.
kvi5hnuCode Sprout team member17 min readOn this page
Every protocol in this course is written down somewhere, and someone decided what it says. When two programs disagree about how TCP should behave, the answer is in a document called an RFC. Knowing where those documents come from, how to read their status, and how they relate to real software will save you from a classic mistake: treating every RFC as a binding standard, or treating any one operating system's behavior as "what the protocol says".
This article covers the organizations, the documents, the software, and finally the kinds of attack the Internet's design makes possible.
The IETF and its relatives
The protocols at the core of the Internet, including IPv4, IPv6, TCP, UDP, DNS, TLS and QUIC (the protocols article 3 introduced), are developed by the Internet Engineering Task Force (IETF). The IETF has no members in the usual sense. Anyone can join its mailing lists, comment on drafts and contribute, for free. Its motto, "rough consensus and running code", says how decisions are made: by broad agreement among participants, preferably backed by working implementations, not by votes.
The IETF meets in person three times a year in different parts of the world (in 2026: Shenzhen in March, Vienna in July and San Francisco in November), with remote participation too. Meetings charge a registration fee, with waivers available, but most real work happens on the open mailing lists between meetings.
Several bodies surround it:
| Body | Role |
|---|---|
| Working groups | Do the detailed work on one topic each (for example tcpm for TCP maintenance, quic, dnsop). Each has volunteer chairs and a charter. Working groups are grouped into areas, such as Transport or Internet. |
| IESG (Internet Engineering Steering Group) | The area directors. They approve documents to be published as standards and manage the working groups. |
| IAB (Internet Architecture Board) | Looks after the long-term architecture, oversees the RFC Series and IANA, and handles relations with other standards organizations. |
| IRTF (Internet Research Task Force) | Runs research groups on topics not ready for standardization, such as the congestion-control research group. |
| ISOC (Internet Society) | A nonprofit that supports the IETF and promotes Internet policy and education worldwide. |
| IANA (Internet Assigned Numbers Authority) | Keeps the registries of protocol numbers: port numbers, protocol numbers, DNS record types, and the root of the address and name systems. |
RFCs
Every official Internet standard is published as an RFC. The name once meant "Request for Comments", but today it's just a name: an RFC is a finished, permanent document with a number. RFC 791 defines IPv4, RFC 9293 defines TCP, and RFC numbers have passed 9900.
Before becoming an RFC, a document is an Internet-Draft: a working document that anyone can post, that changes through numbered versions (-00, -01, ...), and that expires after six months unless updated. Drafts aren't standards and shouldn't be cited as if they were, even though many protocols, such as BBR congestion control (a TCP algorithm for choosing how fast to send), are widely deployed while still drafts.

Not every RFC is a standard
The most important thing to check about an RFC is its status, shown at the top of every one:
- Standards track. Since RFC 6410 (2011) there are two levels. Proposed Standard is where most protocols live, and where many stay for good. Internet Standard is for mature, widely deployed protocols, which also get an STD number. For example, TCP (RFC 9293) is STD 7 and IPv6 (RFC 8200) is STD 86. Older documents may still say Draft Standard, a level that was folded into Internet Standard.
- Best Current Practice (BCP). Operational advice and IETF process, with a BCP number. For example, BCP 38 says networks should filter forged source addresses, as you'll see below.
- Informational and Experimental. Useful material that isn't a standard: explanations, designs to try out, descriptions of what some vendor does.
- Historic. Obsolete specifications kept for the record.
An RFC never changes after publication. If mistakes are found, they're listed as errata on the RFC's web page. A real change needs a new RFC that updates the old one (adds to it) or obsoletes it (replaces it). For example, RFC 9293 obsoleted the original TCP specification, RFC 793 from 1981, and gathered 40 years of fixes into one document. Always check whether an RFC has been obsoleted before relying on it: the RFC Editor's info page for each RFC shows this.
Streams
RFCs come from different sources, called streams, and only the IETF stream produces Internet standards:
- the IETF stream: standards, BCPs and other IETF consensus documents,
- the IRTF stream: research results,
- the IAB stream: architectural guidance,
- the Independent stream: documents submitted to the RFC Editor directly, often informational descriptions of a company's protocol, and occasional April 1 jokes,
- the Editorial stream: policies for the RFC Series itself, set up in 2022 by RFC 9280, which RFC 9920 obsoleted in 2026.
Since late 2019, RFCs are written in an XML format and published as HTML, PDF and plain text. The plain-text look of older RFCs is just history.
How to read requirements
Standards-track RFCs use capitalized keywords with precise meanings, defined in RFC 2119 and RFC 8174: MUST and MUST NOT are absolute requirements, SHOULD and SHOULD NOT mean you need a good reason to do otherwise, and MAY means optional. When an article in this course says an implementation "must" do something, it usually reflects one of these keywords.
A few RFCs are worth knowing because they gather requirements from many others:
- RFC 1122 and RFC 1123 (together STD 3), the Host Requirements: what every IPv4 host must do, from the link layer to applications. Old, but still cited constantly.
- RFC 1812, the Router Requirements for IPv4 routers.
- RFC 8504 (BCP 220), the IPv6 Node Requirements, for both hosts and routers. A successor is being worked on as an Internet-Draft.
The current list of all Internet standards is the "Official Internet Protocol Standards" page on the RFC Editor's website.
Other standards organizations
The IETF doesn't define everything a network uses:
- IEEE, mainly its 802 committee, standardizes the link layer: 802.3 (Ethernet), 802.11 (Wi-Fi), 802.1 (bridging, VLANs or virtual LANs, link aggregation and network access control). Part 3 of this course covers these.
- W3C (the World Wide Web Consortium) and WHATWG (the Web Hypertext Application Technology Working Group) define the Web platform. The WHATWG maintains HTML, the URL standard and the Fetch standard as "living standards", and the W3C works on CSS, accessibility and many web APIs. HTTP itself is an IETF protocol.
- ITU-T (the standards arm of the International Telecommunication Union) standardizes telephone and transport-network technology, such as optical networks and video codecs (jointly with ISO, the International Organization for Standardization). 3GPP (the 3rd Generation Partnership Project) defines mobile networks, including 4G LTE and 5G, which carry a large share of all Internet traffic.
Implementations
A standard is only words. What you actually meet on the network is implementations, and they differ in defaults, timers, options and bugs.

The reference implementations for many years came from the University of California, Berkeley, in the BSD (Berkeley Software Distribution) Unix releases. 4.2BSD (1983) introduced the sockets API, and 4.3BSD Tahoe (1988) added TCP congestion control after the Internet's congestion collapses of 1986. Berkeley's freely available networking code became the starting point for many others. Its descendants today include FreeBSD and Apple's operating systems (macOS and iOS).
Today the main implementations are:
- Linux, which runs most servers, Android phones, home routers and the cloud. New TCP features usually appear here first. The course lab runs Linux.
- Windows, whose stack was rewritten for Windows Vista (2007) with built-in IPv6 and a dual-stack design.
- Apple's stack in macOS and iOS, derived from BSD.
- FreeBSD, used in some network appliances and content-delivery servers.
- Embedded stacks such as lwIP, and the stacks in real-time operating systems, used in small devices.
There's also a growing amount of transport code outside the operating system. QUIC, for example, normally runs inside the application (in browsers and server libraries) on top of UDP, so its behavior depends on the library, not the kernel.
Implementations deviate from the standards in small ways, and occasionally in big ones. This course says "on Linux" whenever a behavior is an implementation choice rather than a rule, and notes where Windows or macOS differ. When you debug a real problem, the operating system's own documentation and source code matter as much as the RFC.
Attacks the architecture allows
The Internet was designed for cooperative users. Its core decision, delivering datagrams by destination address only, has a security consequence that later articles return to again and again: nothing checks the source address.
Spoofing
A program with enough privileges can put any source address it likes into the packets it sends. This is called spoofing. The packets are still delivered, because routers look only at the destination, but the receiver can't tell where they really came from. Spoofing makes attribution, finding the real sender, very difficult.
The lab shows this. The client host, whose real address is 192.0.2.10, sent three UDP datagrams to the server, one with its real address and two with forged ones. First, with no filtering on the router. The first two lines are the router's filter settings (0 means off). The capture lines are in tcpdump format: source address and port, >, destination address and port, with the port written after the last dot, so 192.0.2.10.40000 means address 192.0.2.10, port 40000:
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.eth0.rp_filter = 0
sent a UDP datagram claiming to come from 192.0.2.10
sent a UDP datagram claiming to come from 203.0.113.99
sent a UDP datagram claiming to come from 198.51.100.200
-- what the server's capture saw:
IP 192.0.2.10.40000 > 198.51.100.10.9999: UDP, length 25
IP 203.0.113.99.40000 > 198.51.100.10.9999: UDP, length 27
IP 198.51.100.200.40000 > 198.51.100.10.9999: UDP, length 29
All three arrived. The server has no way to know that 203.0.113.99 and 198.51.100.200 never sent anything.
The defense is for networks to drop packets whose source address can't be right. This is ingress filtering, described in BCP 38 (RFC 2827) and BCP 84. Linux routers have a built-in version called reverse-path filtering: for each arriving packet, the router checks whether it would send a reply to that source address out of the same interface. If not, it drops the packet. With rp_filter turned on (set to 1) at the router:
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.eth0.rp_filter = 1
sent a UDP datagram claiming to come from 192.0.2.10
sent a UDP datagram claiming to come from 203.0.113.99
sent a UDP datagram claiming to come from 198.51.100.200
-- what the server's capture saw:
IP 192.0.2.10.40000 > 198.51.100.10.9999: UDP, length 25
-- router r1's counter of packets dropped by the reverse-path check:
TcpExtIPReversePathFilter 2
Only the honest datagram got through. The router dropped the two forged ones and counted them in the kernel counter TcpExtIPReversePathFilter (it's filed under TcpExt for historical reasons, but it counts packets of any protocol): it has no route to 203.0.113.99 at all, and it would reach 198.51.100.200 on its other interface, not the one the packet came in on.
Denial of service
A denial-of-service (DoS) attack uses up some resource so that legitimate users can't be served: a server's CPU or memory, a link's capacity, or a table such as a firewall's connection list. A distributed denial-of-service (DDoS) attack uses many computers at once, often thousands of compromised devices organized into a botnet.
Spoofing makes one kind of DDoS especially effective, the reflection and amplification attack:

The attacker sends small requests to many open servers, forging the victim's address as the source. The servers reply to the victim, and if each reply is much larger than the request, the attacker's bandwidth is multiplied. DNS, NTP (the Network Time Protocol, which sets clocks) and memcached (a caching server) have all been abused this way, which is one reason later articles discuss rate limits, response sizes and closing open servers. Article 63 covers a related attack on TCP itself, the SYN flood, which fills a server's table of half-open connections with fake connection requests.
Unauthorized access
Other attacks aim to get into systems: exploiting a bug in a protocol implementation to take control of a machine, stealing or guessing credentials, or impersonating a legitimate user or server. Software written to do this is malware. Taking over many machines and controlling them together creates the botnets used for DDoS. People who find such flaws and report them so they can be fixed, rather than exploiting them, are often called "white hats".
No encryption by default
The original protocols also had no confidentiality or authentication at all: anyone on the path could read and change traffic. That has changed dramatically. Most web traffic now uses TLS, DNS can be encrypted, and QUIC encrypts almost all of its own headers. But the base protocols, IP, TCP, UDP, ARP (which finds a neighbor's hardware address) and DHCP (which hands out addresses), still trust whatever they receive. Part 13 covers how security was added on top.
Common questions
Is every RFC an Internet standard?
No. Only standards-track RFCs (Proposed Standard or Internet Standard) from the IETF stream are standards. Many RFCs are informational, experimental, BCPs or historic, and some even describe ideas the IETF disagrees with. Check the status line at the top.
Can an RFC be edited after it's published?
No. Corrections are recorded as errata, and any real change needs a new RFC that updates or obsoletes the old one. That's why it matters to check whether the RFC you're reading has been replaced: the RFC Editor's info page for each RFC lists "Obsoleted by" and "Updated by".
If a feature is only in an Internet-Draft, can I use it?
Yes, and many people do, but know what you're relying on. A draft can still change in incompatible ways, and its version number matters. BBR congestion control and many TLS extensions were widely deployed while still drafts.
Who decides port numbers and protocol numbers?
IANA keeps those registries, following rules set in RFCs. For example, a new System port needs IETF review, while a User port can be registered by anyone who asks. The registries are on IANA's website.
Does the IETF standardize Wi-Fi and Ethernet?
No, the IEEE 802 committee does. The IETF defines how IP runs over those links, for example how IPv6 addresses are formed from Ethernet interface identifiers, but not the links themselves.
Why does my operating system behave differently from what the RFC says?
Implementations often choose different defaults within what the RFC allows, implement newer drafts before they're RFCs, or occasionally violate the RFC for compatibility or performance. When behavior matters, check the operating system's documentation as well as the RFC.
Why can't the Internet just check source addresses everywhere?
A router in the middle of the Internet often can't tell which source addresses are valid on a given interface, because traffic can legitimately arrive by many paths. Filtering works best at the edge, where a network knows exactly which addresses its customers use. That's why BCP 38 asks every network to filter its own customers.
Summary
- The IETF develops the core Internet protocols in open working groups, guided by "rough consensus and running code". The IESG approves standards, the IAB oversees architecture, the IRTF does research, ISOC supports it all and IANA keeps the number registries.
- Internet-Drafts are temporary working documents. RFCs are permanent and numbered, and are never edited. Corrections are errata, and changes come in new RFCs that update or obsolete old ones.
- Check an RFC's status: only standards-track documents (Proposed Standard, Internet Standard with an STD number) are standards. BCPs, Informational, Experimental and Historic RFCs aren't. Only the IETF stream produces standards.
- MUST, SHOULD and MAY have precise meanings. RFC 1122/1123, RFC 1812 and RFC 8504 collect host, router and IPv6 node requirements.
- IEEE 802 defines Ethernet and Wi-Fi, W3C and WHATWG the Web platform, ITU-T and 3GPP telephone and mobile networks.
- What you meet in practice are implementations: Linux, Windows, Apple's BSD-derived stack, FreeBSD, embedded stacks, and QUIC libraries in applications.
- Routers forward by destination only, so source addresses can be forged. In the lab, a router delivered all three datagrams until reverse-path filtering dropped the two forged ones. Spoofing enables reflection and amplification DDoS attacks, and ingress filtering (BCP 38) is the main defense.
Practice questions
1. You find RFC 793 while reading about TCP. What should you check before relying on it, and what will you find?
Answer
Whether it has been obsoleted or updated. RFC 793 was obsoleted by RFC 9293 (2022), which is the current TCP specification and incorporates decades of updates and errata.
2. An RFC's header says "Category: Informational" and "Stream: Independent Submission". Is it an Internet standard?
Answer
No. Informational RFCs aren't standards, and the Independent stream never produces IETF standards. It might describe a vendor's protocol or an idea that was never standardized.
3. What's the difference between "SHOULD" and "MUST" in an RFC?
Answer
MUST is an absolute requirement. SHOULD means the behavior is strongly recommended, but there may be valid reasons in particular circumstances to do otherwise, as long as the implementer understands the consequences.
4. In the lab, why did the router drop the datagram claiming to come from 198.51.100.200, even though that address is on a network the router is connected to?
Answer
Reverse-path filtering checks whether the router would send a reply to the source address out of the interface the packet arrived on. The packet came in on the client-side interface, but the route to 198.51.100.200 goes out of the server-side interface, so the check failed and the packet was dropped.
5. Why are UDP-based services such as DNS and NTP popular for amplification attacks, and why doesn't the same trick work as well against a TCP web server?
Answer
UDP has no handshake, so a server answers a single spoofed request immediately, and some requests produce replies many times larger. A TCP server only sends data after the three-way handshake completes, and the handshake can't complete with a forged source because the reply goes to the real owner of that address. (A spoofed SYN still gets a small SYN-ACK, which allows only limited reflection.)
6. Which organization would you look to for the definitive specification of each: Wi-Fi 7, HTTP/3, the HTML parsing rules, the TCP port number for PostgreSQL?
Answer
Wi-Fi 7: IEEE (802.11be). HTTP/3: the IETF (RFC 9114). HTML parsing: the WHATWG HTML Living Standard. PostgreSQL's port: IANA's port number registry (5432).
Previous: Ports, Names and Applications: Client/Server, Peer-to-Peer and the Sockets API
Next: Tools of the Trade: ip, ss, ping, dig, tcpdump and Reading a Packet Capture

More in TCP/IP Course
Quiz: TCP/IP Delicate Details
Twenty-five questions on the details that catch out experienced engineers: sequence numbers for SYN and FIN, TIME_WAIT versus tcp_fin_timeout, Karn's algorithm, socket buffer doubling, even and odd ephemeral ports, IPv6 checksums and fragmentation, negative DNS caching, and capture filter traps.
Quiz: TCP/IP Interview Questions
Thirty-three networking questions of the kind asked in developer, SRE and network engineering interviews: what happens when you load a URL, TCP versus UDP, handshakes, closing and TIME_WAIT, subnetting, NAT, DNS, MTU problems, congestion, TLS and QUIC, and debugging slow or failing connections.
Quiz: TCP/IP Course Final Exam (All Parts)
The final exam for the TCP/IP course: thirty questions across all fourteen parts, from packets and addressing through Ethernet, ARP, IP, DHCP, NAT, ICMP, UDP, DNS, TCP connections, reliability, congestion control, security, QUIC and troubleshooting.
Quiz: Modern Transports and Troubleshooting (TCP/IP Part 14)
Review modern transports and troubleshooting: QUIC packets, handshakes, 0-RTT, streams and connection migration, HTTP/3, Multipath TCP, SCTP multihoming, and a layered method for diagnosing real network faults.
Discussion
Sign in to ask a question or share what you learned.