[PATCH] pf(4) patch from OpenBSD 4.5

Mario Lobo lobo at bsd.com.br
Tue Oct 19 22:27:19 UTC 2010


On Tuesday 19 October 2010 01:15:36 Max Laier wrote:
> On 18.10.2010 20:16, Brandon Gooch wrote:
> > On Mon, Oct 18, 2010 at 1:10 PM, Ermal Luçi<eri at freebsd.org>  wrote:
> >> Hello,
> >> 
> >> the link http://people.freebsd.org/~eri/pf45_1.diff has the patch for
> >> pf(4) as of OpenBSD 4.5 version.
> >> The patch is against HEAD.
> >> After OpenBSD 4.5 the syntax has changed and this is the reason for
> >> such an 'old' version patch.
> >> 
> >> After importing this one the work will go on the newest version and
> >> decisions on it will than be done.
> >> 
> >> Be aware that this patch has even support for VIMAGE/VNET.
> >> It will enable you to run pf(4) with[in] jails+vnets or just vnets
> >> themselves with separate rulesets
> >> and policies.
> >> pfsync(4) can be loaded as a module also with this patch.
> >> 
> >> Feedback is very welcome.
> > 
> > Should this compile against HEAD, because I think we're missing a header:
> > 
> > brandon at x300:~$ cd /usr/src
> > brandon at x300:/usr/src$ patch<  ~/pf45_1.diff
> 
> $ patch -p0 < ~/pf45_1.diff
> 
> > brandon at x300:/usr/src$ cd /usr/src/sys/modules/pf
> > brandon at x300:modules/pf$ sudo make
> 
> Regards,
>    Max
> _______________________________________________


Would you have any hints to make this work on 7.3 or 8-STABLE?

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winfoes FREE)


More information about the freebsd-pf mailing list