DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th February 2011
PvSw1 PvSw1 is offline
New User
 
Join Date: Feb 2011
Posts: 3
Thanked 0 Times in 0 Posts
Default OpenBSD, pf.conf and user IDs / names

Hi all,

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.
So:
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD: create user sh script J65nko Guides 3 31st January 2010 08:29 PM
HOWTO: mounting an USB device as normal non-root user in OpenBSD J65nko Guides 4 24th December 2008 01:43 AM
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


All times are GMT. The time now is 09:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick