Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 00:15:36 -0800
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        ipfw@freebsd.org
Subject:   Re: Anti-Spoofing Option
Message-ID:  <20030312081536.GB42446@blossom.cjclark.org>
In-Reply-To: <20030312080622.GA42446@blossom.cjclark.org>
References:  <20030312080622.GA42446@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 12, 2003 at 12:06:22AM -0800, Crist J. Clark wrote:
[snip]

> To turn on anti-spoofing on a firewall, put,
> 
>   # ipfw add 100 pass ip from any to any verrevpath
> 
> Before any other rules. All done (well, only if you're not using
> dynamic rules).

Whoa. Must be getting late. You probably don't want to do that on your
firewall. That was for showing the only rule you need on a router
where you only want to enable antispoofing.

To turn on anti-spoofing for a stateless packet filter, start with,

  # ipfw add 100 deny ip from any to any not verrevpath in

That is deny incoming packets that don't pass the 'verrevpath' check.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




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