[Contents] [Prev] [Next] [Index] [Report an Error]


Enable Unicast Reverse-Path Forwarding Check

IP spoofing may occur during a denial-of-service (DoS) attack. IP spoofing allows an intruder to pass IP packets to a destination as genuine traffic, when in fact the packets are not actually meant for the destination. This type of spoofing is harmful because it consumes the destination's resources.

Unicast reverse-path forwarding (RPF) check is a tool to reduce forwarding of IP packets that may be spoofing an address. A unicast RPF check performs a route table lookup on an IP packet's source address, and checks the incoming interface. The router determines whether the packet is arriving from a path that the sender would use to reach the destination. If the packet is from a valid path, the router forwards the packet to the destination address. If it is not from a valid path, the router discards the packet. Unicast RPF is supported for the IPv4 and IPv6 protocol families, as well as for the virtual private network (VPN) address family.

To enable unicast RPF check, include the unicast-reverse-path statement:

[edit]
routing-options {
    forwarding-table     {
        unicast-reverse-path (active-paths | feasible-paths);
    }
}

For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.

To consider only active paths during the unicast RPF check, include the active-paths option. To consider all feasible paths during the unicast RPF check, include the feasible-paths option.

For more information about configuring unicast RPF, see the JUNOS Internet Software Network Interfaces and Class of Service Configuration Guide.


[Contents] [Prev] [Next] [Index] [Report an Error]