From owner-freebsd-net Mon Nov 19 3:52:10 2001 Delivered-To: freebsd-net@freebsd.org Received: from garfield.bmk.com.au (bmkind.lnk.telstra.net [139.130.51.118]) by hub.freebsd.org (Postfix) with ESMTP id 69E9F37B41F for ; Mon, 19 Nov 2001 03:51:59 -0800 (PST) Received: from localhost (brendan@localhost) by garfield.bmk.com.au (8.9.3/8.9.3) with SMTP id WAA39840; Mon, 19 Nov 2001 22:51:46 +1100 (EST) (envelope-from brendan@bmk.com.au) Date: Mon, 19 Nov 2001 22:51:46 +1100 (EST) From: Brendan Kosowski Reply-To: Brendan Kosowski To: cjclark@alum.mit.edu Cc: FreeBSD Networking Subject: Re: Services very slow on Firewall/nat boxes. In-Reply-To: <20011119021802.N69555@blossom.cjclark.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have now fixed the problem by getting rid of the UGLY DENY rule that is present in the "open" firewall ruleset, ie "deny all from any to 127.0.0.0/8". All services are now lightning fast on my firewall/nat. Best regards to all. -------------------- On Mon, 19 Nov 2001, Crist J. Clark wrote: > On Mon, Nov 19, 2001 at 08:45:11PM +1100, Brendan Kosowski wrote: > > > > I am running natd on a FreeBSD box with IPFIREWALL and IPDIVERT added to > > the kernel. Firewall type is open. > > > > I have noticed that when you run a server (eg. sendmail, named, pop3 etc.) > > on the above, initial connection to the service is very slow (ie. between > > 5 and 60 seconds ), however once connection has been established data > > transfer becomes very fast (as per normal). > > > > If I disable natd and replace kernel with original, initial connection to > > services is very fast. > > DNS. Your machine is timing out making DNS queries. > -- > 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-net" in the body of the message