PF from OpenBSD 4.5 available as patch for 8.1-STABLE?

Holger Rauch Holger.Rauch at empic.de
Sat Nov 20 18:20:02 UTC 2010


Hi,

did exactly that. The file is not in there. So I removed the #include. Apart from that, after having applied the patch against HEAD (to check whether it applies cleanly there), I'm now faced with this problem:

/usr/local/libexec/ccache/world-cc -c -O2 -fno-strict-aliasing -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror  /usr/src/sys/contrib/altq/altq/altq_red.c -I/usr/src/sys/contrib/pf
/usr/src/sys/contrib/altq/altq/altq_red.c: In function 'mark_ecn':
/usr/src/sys/contrib/altq/altq/altq_red.c:523: error: 'struct pf_mtag' has no member named 'af'

So, the patch seems to remove necessary members of structs. What's the current version of PF committed to HEAD, anyway? (I mean, it looks to me like HEAD already contains a more recent revision and the patch might no longer be necessary. Apologies in case my guess is wrong.)

Any hints?

Thanks & kind regards,

Holger

________________________________
From: Odhiambo Washington [odhiambo at gmail.com]
Sent: Friday, November 19, 2010 20:17
To: Holger Rauch
Subject: Re: PF from OpenBSD 4.5 available as patch for 8.1-STABLE?

I think you have to grab the src for HEAD and `find` it.


On Fri, Nov 19, 2010 at 10:13 PM, Holger Rauch <Holger.Rauch at empic.de<mailto:Holger.Rauch at empic.de>> wrote:
Hi,

seems like I need /usr/src/sys/contrib/pf/net/if_pflow.h. Where can I get it from? (It doesn't seem to be included in the patch). I also browsed

http://code.bsd64.org/browse/freebsd/HEAD/src/sys/contrib/pf/net/

but couldn't find it there.


Thanks in advance & kind regards,

   Holger

________________________________
From: Odhiambo Washington [odhiambo at gmail.com<mailto:odhiambo at gmail.com>]
Sent: Friday, November 19, 2010 18:28
To: Holger Rauch

Subject: Re: PF from OpenBSD 4.5 available as patch for 8.1-STABLE?



On Fri, Nov 19, 2010 at 8:09 PM, Holger Rauch <Holger.Rauch at empic.de<mailto:Holger.Rauch at empic.de>> wrote:
Rehi,

just in case somebody is interested. I just applied the referenced patch and it applied without any major problems. I only had to remove/add a few #includes manually (due to .rej files). So, I don't suspect any compilation problems. I'm currently waiting for

make buildworld && make buildkernel

to complete. Once it's done, I hope it works without any problems (apart from the known bugs).

Given that the patch was meant for HEAD, I believe other people running 8.1 like me are quite interested in your successful build or world and kernel.

Do you have a patch that can apply cleanly to 8.1, after the manual changes you made?


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


THE standard software for Aviation Authorities

________________________________
IMPORTANT NOTICE / WICHTIGER HINWEIS
This communication contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any distribution, copying or use of this communication or the information in it is strictly prohibited. If you have received this communication in error please notify us immediately by email or by telephone and then delete this email and any copies of it.
Diese E-Mail koennte vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.
________________________________




--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


THE standard software for Aviation Authorities

**********************************************************************************************
IMPORTANT NOTICE / WICHTIGER HINWEIS
This communication contains information which is confidential and may also be privileged. It is for the 
exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any 
distribution, copying or use of this communication or the information in it is strictly prohibited. If you have 
received this communication in error please notify us immediately by email or by telephone and then delete 
this email and any copies of it.
Diese E-Mail koennte vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht 
der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser 
Mail sind nicht gestattet.
**********************************************************************************************


More information about the freebsd-pf mailing list