OpenBSD, pf.conf and user IDs / names
I am a happy user of OpenBSD. Currently I have some problems I am trying to resolve.
In my pf.conf I want to use a rule with a user name. The pf.conf manual page shows two things related to this: When logging add '(user)' after the log and when filtering add user <user name or ID> to the rule.
To test all this I used nc to output some UDP traffic and I added the following rule to my pf.conf:
pass out log (user) quick on $ExtIF proto udp
with "tcpdump -eli pflog0" I can see the result of my nc UDP output traffic but no user name is displayed.
when modifying the rule into:
pass out log (user) quick on $ExtIF proto udp user <my user name>
The rule is not matched anymore. I also tried my user ID instead of name but that did not match either.
Can anybody tell me what I am doing wrong in relation to the rule in pf.conf and maybe the options for tcpdump when trying to display the user name.
|Thread||Thread Starter||Forum||Replies||Last Post|
|HOWTO: mounting an USB device as normal non-root user in OpenBSD||J65nko||Guides||5||1 Week Ago 09:49 AM|
|OpenBSD: create user sh script||J65nko||Guides||3||31st January 2010 08:29 PM|
|How to Run K3B with normal user openBSD 4.4||mfaridi||OpenBSD General||6||12th November 2008 10:25 PM|
|difference between rc.conf and loader.conf||disappearedng||FreeBSD General||5||3rd September 2008 05:54 AM|