From owner-freebsd-current@FreeBSD.ORG Tue Mar 16 09:38:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27FFA16A4CE for ; Tue, 16 Mar 2004 09:38:32 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62AB543D2D for ; Tue, 16 Mar 2004 09:38:31 -0800 (PST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i2GHb6US064450 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 16 Mar 2004 18:37:08 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i2GHaEhn073701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Mar 2004 18:36:15 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id i2GHaEwJ003163; Tue, 16 Mar 2004 18:36:14 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id i2GHaDeS003162; Tue, 16 Mar 2004 18:36:13 +0100 (CET) (envelope-from ticso) Date: Tue, 16 Mar 2004 18:36:12 +0100 From: Bernd Walter To: Mike Jakubik Message-ID: <20040316173612.GG610@cicely12.cicely.de> References: <63357.66.11.183.182.1079448584.squirrel@wettoast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <63357.66.11.183.182.1079448584.squirrel@wettoast.net> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on cicely12.cicely.de cc: freebsd-current@freebsd.org Subject: Re: NAT problems when world+kernel compiled with -O2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 17:38:32 -0000 On Tue, Mar 16, 2004 at 09:49:44AM -0500, Mike Jakubik wrote: > Hello, > > I ran a cvsup on current yesterday at around 9:50pm EST. Being curious if > the world compiles with -O2 yet, I gave it a shot. everything compiled > fine, no errors. After a mergemaster, and the reboot everything seemed > fine. At this point I went over to my windows machine (which uses the fbsd > box as a nat gateway) and I noticed that internet was not working. I was > unable to establish any TCP connections to the internet. DNS however was > working fine and TCP connections to the box itself worked as well. > Internet was also accessible from the fbsd box. I couldn’t find any > obvious errors in the configuration (it was not changed since the last > cvsup, ~3 weeks ago), so I decided to recompile without -O2, and > everything started working ok again. I understand that -O2 is not > officially supported, but maybe this can point out some problem that > should be looked in to. Here are my make.conf options that were used: Yes - libalias doesn't like -O2. Recompile libalias without -O2 and maybe without setting CPUTYPE and you are fine. IIRC packets go out fine, but incoming packets just get into natd and never come out again. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de