From owner-freebsd-pf@FreeBSD.ORG Sat Nov 20 18:20:02 2010 Return-Path: Delivered-To: freebsd-pf@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7036106566C for ; Sat, 20 Nov 2010 18:20:02 +0000 (UTC) (envelope-from Holger.Rauch@empic.de) Received: from zaphod.cra.heitec.net (zaphod.cra.heitec.net [93.93.254.227]) by mx1.freebsd.org (Postfix) with SMTP id C103A8FC13 for ; Sat, 20 Nov 2010 18:20:01 +0000 (UTC) Received: from MX2.heitec.net ([10.65.102.32]) by eSafe SMTP Relay 1290092420; Sat, 20 Nov 2010 19:19:59 +0100 Received: from MX1.heitec.net ([fe80::7cee:e37c:f13b:cff3]) by MX2.heitec.net ([fe80::e514:6b3f:2ac5:2381%18]) with mapi; Sat, 20 Nov 2010 19:19:59 +0100 From: Holger Rauch To: Odhiambo Washington Thread-Topic: PF from OpenBSD 4.5 available as patch for 8.1-STABLE? Thread-Index: AcuH/XK1GdbXuzyMRZOt4+P/vO3hv///+40AgAAVBYWAAAgwbv//+dMAgAAr9Mj///J+AIABkeeV Date: Sat, 20 Nov 2010 18:15:29 +0000 Message-ID: <1989F0C06F24544989EB233736143E7C01F7B082@MX1.heitec.net> References: <1989F0C06F24544989EB233736143E7C01F7A6CC@MX1.heitec.net><4CE6A052.3010007@thebarn.com><1989F0C06F24544989EB233736143E7C01F7A757@MX1.heitec.net><1989F0C06F24544989EB233736143E7C01F7A78B@MX1.heitec.net> <1989F0C06F24544989EB233736143E7C01F7A8C5@MX1.heitec.net>, In-Reply-To: Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 X-ESAFE-STATUS: [esafe] Mail clean X-ESAFE-DETAILS: [esafe] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-pf@FreeBSD.org" Subject: RE: PF from OpenBSD 4.5 available as patch for 8.1-STABLE? X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2010 18:20:02 -0000 Hi, did exactly that. The file is not in there. So I removed the #include. Ap= art from that, after having applied the patch against HEAD (to check whet= her it applies cleanly there), I'm now faced with this problem: /usr/local/libexec/ccache/world-cc -c -O2 -fno-strict-aliasing -pipe -st= d=3Dc99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W= missing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-poi= nter-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sy= s/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global= =2Eh -fno-common -finline-limit=3D8000 --param inline-unit-growth=3D100 -= -param large-function-growth=3D1000 -fno-omit-frame-pointer -mcmodel=3Dk= ernel -mno-red-zone -mfpmath=3D387 -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/u= sr/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' ha= s no member named 'af' So, the patch seems to remove necessary members of structs. What's the cu= rrent version of PF committed to HEAD, anyway? (I mean, it looks to me li= ke HEAD already contains a more recent revision and the patch might no lo= nger be necessary. Apologies in case my guess is wrong.) Any hints? Thanks & kind regards, Holger ________________________________ From: Odhiambo Washington [odhiambo@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 > 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@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 > 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 compilat= ion 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= =2E1 like me are quite interested in your successful build or world and k= ernel. Do you have a patch that can apply cleanly to 8.1, after the manual chang= es 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 als= o be privileged. It is for the exclusive use of the intended recipient(s)= =2E If you are not the intended recipient(s) please note that any distrib= ution, copying or use of this communication or the information in it is s= trictly prohibited. If you have received this communication in error plea= se notify us immediately by email or by telephone and then delete this em= ail and any copies of it. Diese E-Mail koennte vertrauliche und/oder rechtlich geschuetzte Informat= ionen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-M= ail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender= und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefug= te 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 als= o be privileged. It is for the=20 exclusive use of the intended recipient(s). If you are not the intended r= ecipient(s) please note that any=20 distribution, copying or use of this communication or the information in = it is strictly prohibited. If you have=20 received this communication in error please notify us immediately by emai= l or by telephone and then delete=20 this email and any copies of it. Diese E-Mail koennte vertrauliche und/oder rechtlich geschuetzte Informat= ionen enthalten. Wenn Sie nicht=20 der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, = informieren Sie bitte sofort den=20 Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die= unbefugte Weitergabe dieser=20 Mail sind nicht gestattet. *************************************************************************= *********************