From owner-freebsd-ipfw@FreeBSD.ORG Sat May 6 12:18:41 2006 Return-Path: X-Original-To: ipfw@freebsd.org 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 4CAC916A401 for ; Sat, 6 May 2006 12:18:41 +0000 (UTC) (envelope-from neca@boox.co.yu) Received: from server.boox.co.yu (server.boox.co.yu [194.247.202.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 3904E43D45 for ; Sat, 6 May 2006 12:18:40 +0000 (GMT) (envelope-from neca@boox.co.yu) Received: (qmail 23315 invoked by uid 0); 6 May 2006 11:57:30 -0000 Received: from neca.boox.co.yu (HELO ?194.247.202.241?) (194.247.202.241) by server.boox.co.yu with SMTP; 6 May 2006 11:57:30 -0000 Message-ID: <445C9418.6040201@boox.co.yu> Date: Sat, 06 May 2006 14:18:32 +0200 From: Nenad Gavrilovic User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Patrick Tracanelli References: <20060430135736.GB48117@tin.it> <445B27FF.10803@boox.co.yu> <445B45B4.4030404@freebsdbrasil.com.br> <445B59F4.1090609@boox.co.yu> <445B5E3A.5030800@freebsdbrasil.com.br> In-Reply-To: <445B5E3A.5030800@freebsdbrasil.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ipfw@freebsd.org Subject: Re: [6.x patchset] Ipfw nat and libalias modules X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 May 2006 12:18:41 -0000 Patrick Tracanelli wrote: >>> Probably you dont have the latest RELENG_6 code or it is not in sync >>> (say, manually modified). I have ipfw nat running on -RC1 and -RC2, >>> i386 and amd64 and with clean src the patch applies perfectly. >>> >> Yes, I try again. And I get error again! >> >> cd /usr/obj >> rm ALL >> cd /usr/src >> make clean >> make clean >> make update (files changed by patch) >> make update (NONE!!!) >> >> Apply You patch. And I get the same error. >> >> I install previous patch, and my PC with NAT in-kernel work OK. >> >> Can You help me? >> >> Thanks! > > > How is your code sync'ed? Which RELENG from which date? > > Try > > rm -rf sys/modules/libalias sys/modules/ipfw sys/conf/files/ > > cvsug -g -L2 -h cvsup.freebsd.org > /usr/share/examples/cvsup/stable-supfile > > cd /usr/src/ > cp . > patch -p3 < > > Do a world build. > > I am considering your code is not in sync with recent RELENG_6. If it > is -RC2 try only rm -rfing the mentioned subdirectories and cvsup. > > BTW I have static IPFIREWALL so I added > > options LIBALIAS > > to my kernel conf file > Yes, I find the problem. The problem was in two new files alias_dummy.c and alias_mod.c. Becouse this files is new cvsup don't delete them and patch append to old file (and append, and append, ...) (I didn't try cvsup -D options) When I edit (left only one source, insted of many) compile is OK. Now, I think that we have to make some ipfw example code for NAT in-kernel with and without keep-state/chack-state . I start in monday with stateful ipfw. Thanks for help me!!! (Now I have FreeBSD 6.1)