From owner-cvs-all@FreeBSD.ORG Fri Apr 23 07:28:39 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADF3016A4D5; Fri, 23 Apr 2004 07:28:39 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA06F43D49; Fri, 23 Apr 2004 07:28:39 -0700 (PDT) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3NESdGe063837; Fri, 23 Apr 2004 07:28:39 -0700 (PDT) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3NESdcd063836; Fri, 23 Apr 2004 07:28:39 -0700 (PDT) (envelope-from andre) Message-Id: <200404231428.i3NESdcd063836@repoman.freebsd.org> From: Andre Oppermann Date: Fri, 23 Apr 2004 07:28:39 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/ipfw ipfw.8 ipfw2.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2004 14:28:39 -0000 andre 2004/04/23 07:28:39 PDT FreeBSD src repository Modified files: sbin/ipfw ipfw.8 ipfw2.c Log: Add the option versrcreach to verify that a valid route to the source address of a packet exists in the routing table. The default route is ignored because it would match everything and render the check pointless. This option is very useful for routers with a complete view of the Internet (BGP) in the routing table to reject packets with spoofed or unrouteable source addresses. Example: ipfw add 1000 deny ip from any to any not versrcreach also known in Cisco-speak as: ip verify unicast source reachable-via any Reviewed by: luigi Revision Changes Path 1.143 +17 -1 src/sbin/ipfw/ipfw.8 1.47 +11 -1 src/sbin/ipfw/ipfw2.c