PF and UID

Max Laier max at love2party.net
Tue Oct 16 07:25:28 PDT 2007


On Tuesday 16 October 2007, Lorenz Helleis wrote:
> Hello...
>
>  Can I create a rule using PF and UID ?
>
> like this:
>
>  " permit uid 1005 tcp port 22 "
>
> thanks

The syntax is very different, but yes - pf does support matching by user 
credentials on the socket in question.  The pf.conf(5) man page explains 
in detail.  Look for the "user"/"group" modifiers.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20071016/46df133f/attachment.pgp


More information about the freebsd-pf mailing list