Re: pf build errors
Joerg Sonnenberger wrote:
> On Sat, Oct 23, 2004 at 12:29:23PM +0100, Mark Cullen wrote:
>
>>While building a kernel with device pf and device pflog I noticed an error:
>>
>>/usr/src/sys/net/pf/if_pflog.c: In function `pflog_clone_create':
>>/usr/src/sys/net/pf/if_pflog.c:131: `IFT_PFLOG' undeclared (first use in
>>this function)
>>/usr/src/sys/net/pf/if_pflog.c:131: (Each undeclared identifier is
>>reported only once
>>/usr/src/sys/net/pf/if_pflog.c:131: for each function it appears in.)
>
>
> Fixed.
>
> [skip]
>
>>/usr/src/sys/net/pf/pf.c: In function `pf_send_tcp':
>>/usr/src/sys/net/pf/pf.c:1308: structure has no member named `pf_flags'
>>/usr/src/sys/net/pf/pf.c:1308: `PF_MBUF_GENERATED' undeclared (first use
>>in this function)
>
>
> Hopefully fixed too.
>
>
>>Uh, I'll stop there. Basically I think its broken! Or did I do something
>>a little wrong?
>
>
> No, the Stable tag was partly wrong, it pointed before the PF commit.
> Drop me a mail off list, if it still doesn't compile.
I just now did a cvsup and noticed some files changed. I am now
recompiling. Thanks!
>
>
>>Here's the end of my kernel config, where I generally add options myself:
>>
>>options IPFIREWALL
>
>
> Mixing firewalls?
>
Well, IPFW2 seems to be broken with natd/divert so I wanted to give pf a
shot. Should I remove IPFIREWALL if I want to use pf?
>
>>options IPDIVERT
>>options IPSTEALTH
>>options RANDOM_IP_ID
>>options DEVICE_POLLING
>>options HZ=1000
>>options DUMMYNET
>>#options IPFW2
>>device pf
>>device pflog
--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at
http://www.mozilla.org/products/thunderbird/
討論串 (同標題文章)