school project

Tom Judge tom at tomjudge.com
Mon Dec 28 21:33:23 UTC 2009


On 28/12/2009 14:39, Martin Baumann wrote:
> Hi,
>
> Firstly I want to apologize for interrupting you with such a stupid
> thing but i need help.
>
> I have to write adaptive application firewall as PF module(using ioctl
> or anchor...).
>
> The problem is I don't know where I should look for some documentation
> or some API description, so I don't know how to start.
>
> I am looking for some person who wrote module for PF to help me start
> and answer me some simple questions.
>   
Hi Martin,

There are a number of userland daemons that do this kind of thing already:

* ftpsesame
* miniupnpd

These are but 2 of a long list.

There is a guide on the miniupnpd website on how to interface with rules
in anchors for both NAT and filter type rules.


Hope this is useful.

Tom


More information about the freebsd-pf mailing list