RFC 10078 maps gaps in filters against forged sender addresses

In short

3 levels where SAV can be enforced: access network, intra-AS, inter-AS; 3 mechanisms ACLs, strict uRPF and loose uRPF are the intra-domain tools it examines; 2 scenarios asymmetric routing and hidden prefixes, where they fall short; 5 requirements for any new intra-domain mechanism

What is a forged sender address?

This section is our plain-English reading.

Every packet on the internet carries a "from" address, the source IP address. Nothing in the basic protocol checks that it is true: a machine can write any address it likes there. That is IP source address spoofing. Attackers use it to hide where traffic comes from, and to make a third party receive replies it never asked for, which is the basis of reflection and DDoS attacks. This is our context; the RFC itself only says that SAV "defends against IP source address spoofing" and cites RFC 2827, the 2000 recommendation that networks filter traffic leaving their customers.

Three places to check

The RFC lists three levels at which operators can enforce SAV (see RFC 5210):

The RFC says access-network mechanisms "are not universally deployed", citing CAIDA's Spoofer project, which is why the other two levels are needed. This RFC covers the middle one. Checks on links between routers inside the same AS are also out of scope: those routers are assumed trusted, and fast reroute "can make SAV at internal interfaces technically challenging".

The three tools in use, and where each falls short

Table is our summary of sections 3 and 4.

The RFC frames the problems on three axes: improper block (legitimate packets dropped), improper permit (spoofed packets let through) and operational overhead (how much manual work keeping rules current takes).

Two scenarios where strict uRPF drops good traffic

Asymmetric routing. The RFC's example is a customer network that owns the IPv6 prefix 2001:db8::/55 and connects to two routers of its provider. To balance inbound load, Router 1 advertises 2001:db8:0::/56 and Router 2 advertises 2001:db8:0:100::/56, so inbound traffic for each half enters through a different router. The customer can still send outbound traffic with a source address from the second half through Router 1. Router 1's forwarding table says that prefix is reached via Router 3, so strict uRPF "would improperly drop these legitimate packets". Router 2 has the mirror-image problem.

Hidden prefixes. Sometimes a host or customer legitimately uses source addresses the provider's internal routing never sees. The RFC gives two cases: a cloud tenant's server returning traffic from a service address the operator does not route, as in Direct Server Return (DSR) used by content delivery networks; and a customer network using address space assigned by another provider, as in multi-homing. Strict and loose uRPF both drop such packets, because the address is missing from the table or arrives on an unexpected interface. ACLs could handle it, but only with "authoritative information" about which addresses the customer may use, which "is often missing".

The RFC's diagnosis (section 5): uRPF decisions come from routing state, which "is intended to express reachability rather than authorization of source address usage". A route says where to send a reply, not who may use an address.

Five requirements for new mechanisms

Wording condensed by us from section 5.

The RFC stresses that these requirements "do not mandate or justify any specific extension to routing or other protocols and therefore cannot be used to directly initiate standards-track protocol changes".

Terms in plain English

These explanations are ours.

Where things stand

RFC 10078 is a problem statement, not a fix. It leaves the design of the new mechanisms open and says nothing on how many networks run the existing ones; it points to CAIDA's Spoofer project for the state of deployment, which this story did not read.

Sources

Sources

Related stories

More from Wi-Fi Wizards

All stories from Wi-Fi Wizards