Concepts / Denial of service

Denial of service

IP source spoofing

Also called source address spoofing, forged source, BCP 38, uRPF, ingress filtering

Putting a false source address on a packet, the basis of floods and reflection attacks.

The reply goes to the address the packet names
The reply goes to the address the packet names

Nothing in IP checks the source field. A server answers whatever address is written there, so the reply lands on a host that never sent anything.

IP source spoofing is sending a packet with a false source address. Nothing in IP checks that field, and the reply goes to whatever address it names. UDP and a lone TCP SYN are the easy cases, since no handshake is needed; it underlies [[syn-flood|SYN floods]] and [[dns-amplification]]. The defence is ingress filtering (BCP 38): a provider drops packets whose source could not belong to that customer, often with uRPF.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab