Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2003 14:02:52 +0200
From:      =?iso-8859-1?Q?Sten_Daniel_S=F8rsdal?= <sten.daniel.sorsdal@wan.no>
To:        "Haesu" <haesu@towardex.com>, <freebsd-isp@freebsd.org>
Subject:   RE: uRPF on FreeBSD
Message-ID:  <0AF1BBDF1218F14E9B4CCE414744E70F1F3F14@exchange.wanglobal.net>

index | next in thread | raw e-mail

> 
> Is there any reverse-path verification feature in FreeBSD kernel?
> 
> reverse-path verification as in uRPF (unicast reverse path 
> filtering) widely
> used for anti-ip-spoofing.
> 
> If it is supported, then does FreeBSD's uPRF implementation 
> also allow loose
> and strict check like on Cisco?  
> 

Yes, IPFW2 has this option implemented as option 'verrevpath'.
ex.	deny not verrevpath

man ipfw says:

     verrevpath
             For incoming packets, a routing table lookup is done on the
             packet's source address.  If the interface on which the packet
             entered the system matches the outgoing interface for the route,
             the packet matches.  If the interfaces do not match up, the
             packet does not match.  All outgoing packets or packets with no
             incoming interface match.

             The name and functionality of the option is intentionally similar
             to the Cisco IOS command:

                   ip verify unicast reverse-path

             This option can be used to make anti-spoofing rules.

-- Sten


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0AF1BBDF1218F14E9B4CCE414744E70F1F3F14>