Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 13th December 2011
toro7 toro7 is offline
New User
Join Date: Dec 2011
Posts: 3
Default pf.conf label question


I have the following rule in my pf.conf (on OpenBSD 4.3)

rdr pass on $new_if proto tcp from any to port {80,443}  ->
now I want to add a label to this rule. I use the label for later traffic analysis. I tried out a lot of variations, but I think this one should work:

rdr pass on $new_if proto tcp from any to port {80,443} label test ->
But when I try to load the config, I always get the error:
pfctl: Syntax error in config file: pf rules not loaded

Any ideas how I can set the label to this rule. I don't want to split it to a rdr and a pass rule. That works, I want to have it in the same rule.
Reply With Quote

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
Using fetchmail as IMAP client to download mail from a Gmail folder(label) J65nko Guides 0 24th January 2011 04:59 AM
quick question about optimizations in /etc/make.conf thevirtuesofxen FreeBSD Installation and Upgrading 7 15th July 2008 10:29 AM
PF and label counters espenfjo FreeBSD General 2 2nd July 2008 03:17 PM
mplayer osd - set label of audio channel Grizzly FreeBSD General 0 7th June 2008 08:37 PM
FreeBSD Crashes: GEOM_LABEL: Label for provider ad8s1 is ntfs disappearedng FreeBSD General 4 5th June 2008 04:10 PM

All times are GMT. The time now is 11:16 PM.

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