IPF 4.1.8
Goran Gajic
ggajic at sbb.co.yu
Thu May 12 12:26:16 PDT 2005
Hi,
Have you tried building it from source? There is INSTALL.FreeBSD. First
you have to run BSD/kupgrade and then recompile your kernel with options
IPFILTER. If you have tried compiling it on AMD64 here is patch that
solves problem:
--- ip_frag.c Tue Mar 8 13:51:04 2005
+++ ip_frag.c Tue Mar 8 14:53:46 2005
@@ -391,7 +398,7 @@
WRITE_ENTER(&ipf_ipidfrag);
fra = ipfr_newfrag(fin, 0, ipfr_ipidtab);
if (fra != NULL) {
- fra->ipfr_data = (void *)ipid;
+ fra->ipfr_data = (void *)(intptr_t)ipid;
*ipfr_ipidtail = fra;
fra->ipfr_prev = ipfr_ipidtail;
ipfr_ipidtail = &fra->ipfr_next;
@@ -576,7 +583,7 @@
READ_ENTER(&ipf_ipidfrag);
ipf = fr_fraglookup(fin, ipfr_ipidtab);
if (ipf != NULL)
- id = (u_32_t)ipf->ipfr_data;
+ id = (u_32_t)(intptr_t)ipf->ipfr_data;
else
id = 0xffffffff;
RWLOCK_EXIT(&ipf_ipidfrag);
gg.
> Hi
>
> I`ve tried to import IPF 4.1.8 into freebsd-stable (5.4). It's first time I
> tried something similar. Problem is, that the kernel fails to compile (it
> needs somewhere 3 parameters, but gets only 2... or what). I followed the
> readme for freebsd-5. Any help ?
>
> Jan Sebosik
More information about the freebsd-stable
mailing list