Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2006 08:31:11 GMT
From:      Niki Denev <nike_d@cytexbg.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/93590: pf.conf's man page mentions route labels, but they are not supported on FreeBSD for now
Message-ID:  <200602200831.k1K8VBeo055229@www.freebsd.org>
Resent-Message-ID: <200602200840.k1K8e8sq075285@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93590
>Category:       docs
>Synopsis:       pf.conf's man page mentions route labels, but they are not supported on FreeBSD for now
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 20 08:40:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Niki Denev
>Release:        6.1-PRERELEASE
>Organization:
>Environment:
FreeBSD router.office 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #3: Sat Feb 18 16:43:43 EET 2006     ndenev@router.office:/usr/obj/usr/src/sys/ROUTER  i386
>Description:
I found that pf.conf's manual page
mentions rtlabels :

           route <label>   Any address whose associated route has label
                           <label>.  See route(4) and route(8).

But it seems that this is OpenBSD specific, and not implemented in FreeBSD?
While it would be VERY cool to have this feature in FreeBSD, maybe
the manual page should be updated to not include it for now?
>How-To-Repeat:
man pf.conf :)

>Fix:
--- pf.conf.5.orig      Sun Feb 19 13:49:27 2006
+++ pf.conf.5   Sun Feb 19 13:53:10 2006
@@ -1283,13 +1283,6 @@
 .Bl -tag -width xxxxxxxxxxxxxx -compact
 .It Ar any
 Any address.
-.It Ar route <label>
-Any address whose associated route has label
-.Ar <label> .
-See
-.Xr route 4
-and
-.Xr route 8 .
 .It Ar no-route
 Any address which is not currently routable.
 .It Ar <table>
@@ -1383,7 +1376,6 @@
 pass in proto tcp from 10.0.0.0/8 port > 1024 \e
       to ! 10.1.2.3 port != ssh
 pass in proto tcp from any os "OpenBSD" flags S/SA
-pass in proto tcp from route "DTAG"
 .Ed
 .It Ar all
 This is equivalent to "from any to any".
@@ -2734,7 +2726,7 @@
                  "from" ( "any" | "no-route" | "self" | host |
                  "{" host-list "}" | "route" string ) [ port ] [ os ]
                  "to"   ( "any" | "no-route" | "self" | host |
-                 "{" host-list "}" | "route" string ) [ port ]
+                 "{" host-list "}" ) [ port ]

 ipspec         = "any" | host | "{" host-list "}"
 host           = [ "!" ] ( address [ "/" mask-bits ] | "<" string ">" )

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602200831.k1K8VBeo055229>