Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 May 2006 14:18:32 +0200
From:      Nenad Gavrilovic <neca@boox.co.yu>
To:        Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
Cc:        ipfw@freebsd.org
Subject:   Re: [6.x patchset] Ipfw nat and libalias modules
Message-ID:  <445C9418.6040201@boox.co.yu>
In-Reply-To: <445B5E3A.5030800@freebsdbrasil.com.br>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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> .
> patch -p3 < <patch>
>
> 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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445C9418.6040201>