[PATCH] pf(4) patch from OpenBSD 4.5

Max Laier max at laiers.net
Tue Oct 19 04:28:19 UTC 2010


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


More information about the freebsd-pf mailing list