URPF Overview

URPF prevents network attacks based on source address spoofing and can be performed in strict or loose mode.

Unicast Reverse Path Forwarding (URPF) is a technology used to defend against network attacks based on source address spoofing.

Generally, upon receiving a packet, a router first obtains the destination IP address of the packet and then searches the forwarding table for a route to the destination address. If the router finds such a route, it forwards the packet; otherwise, it discards the packet. A URPF-enabled router, however, obtains the source IP address of a received packet and searches for a route to the source address. If the router fails to find the route, it considers that the source address is a forged one and discards the packet. In this manner, URPF can effectively protect against malicious attacks that are launched by changing the source addresses of packets.

Figure 1 Source address spoofing attacks

DeviceA generates a packet with a pseudo source IP address 2.1.1.1 and sends the packet to DeviceB. DeviceB sends a response packet to DeviceC whose IP address actually is 2.1.1.1. In this manner, DeviceA attacks both DeviceB and DeviceC by sending illegal packets.

URPF can be applied on the upstream inbound interfaces of the router, including two application environments: single-homed client and multi-homed client.

Figure 2 Application of a URPF single-homed client

Figure 3 Application of the URPF multi-homed client

URPF can be applied in the case that a client is connected to multiple ISPs, as shown in Figure 4. In this case, route symmetry has to be ensured.

URPF applied in the scenario where a client is connected to multiple ISPs has the following features:

Figure 4 Application of multi-homed ISPs of URPF

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >