From owner-freebsd-ipfw@FreeBSD.ORG Wed Apr 30 10:04:02 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3754837B401 for ; Wed, 30 Apr 2003 10:04:02 -0700 (PDT) Received: from mx1.lphp.org (APastourelles-107-1-21-42.abo.wanadoo.fr [81.51.116.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5884943FBF for ; Wed, 30 Apr 2003 10:04:00 -0700 (PDT) (envelope-from ajacoutot@lphp.org) Received: from srv01.lphp.org.local (localhost [127.0.0.1]) by mx1.lphp.org (8.12.8p1/8.12.8) with ESMTP id h3UH3uQB063403; Wed, 30 Apr 2003 19:03:56 +0200 (CEST) (envelope-from ajacoutot@lphp.org) Received: (from www@localhost) by srv01.lphp.org.local (8.12.8p1/8.12.8/Submit) id h3UH3sb1063402; Wed, 30 Apr 2003 19:03:54 +0200 (CEST) (envelope-from ajacoutot@lphp.org) X-Authentication-Warning: srv01.lphp.org.local: www set sender to ajacoutot@lphp.org using -f Received: from sta01.lphp.org.local (sta01.lphp.org.local [192.168.0.4]) by webmail.lphp.org (IMP) with HTTP for ; Wed, 30 Apr 2003 19:03:54 +0200 Message-ID: <1051722234.3eb001fabde38@webmail.lphp.org> Date: Wed, 30 Apr 2003 19:03:54 +0200 From: Antoine Jacoutot To: "" References: <000401c30f39$136f0020$0501a8c0@neptune> In-Reply-To: <000401c30f39$136f0020$0501a8c0@neptune> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 / FreeBSD-4.8 cc: freebsd-ipfw@freebsd.org Subject: RE: ipfw dynamic rule timeout --> find a solution, but needconfirmation X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 17:04:02 -0000 Selon C_Ahlers : > I realize that the following info is not exactly what you have been > looking for - but it is in the spirit of building that perfect > firewall... :-)) > I would just like to point out that rules 200 and 300 that deal with > traffic to and from 127.0.0.0/8 are NOT necessary. > The reason for this is simple: FreeBSD doesn't allow that traffic, > regardless of the presence of a firewall or not. > If you take a look at some source code, specifically: > \src\sys\netinet\ip_input.c (~ line 357) > \src\sys\netinet\ip_output.c (~ line 807) > you will see code like the following: [...] > The packets are simply dropped... > So this means you have 2 less rules to worry about that just clutter > your ruleset. Great advice, thanks. So you think setting: net.inet.ip.fw.dyn_syn_lifetime=300 net.inet.ip.fw.dyn_ack_lifetime=300 is OK, right ? Thanks a lot for all the help ! -- Antoine Jacoutot ajacoutot@lphp.org http://www.lphp.org "Unix is user friendly... It's just selective about who his friends are..."