Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2009 12:50:33 GMT
From:      Ian Lister <freebsd-bugs@lister.dnsalias.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/140896: Handbook incorrectly states pflog is in pf.ko
Message-ID:  <200911261250.nAQCoXCx081745@www.freebsd.org>
Resent-Message-ID: <200911261300.nAQD0CoI057294@freefall.freebsd.org>

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

>Number:         140896
>Category:       docs
>Synopsis:       Handbook incorrectly states pflog is in pf.ko
>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:   Thu Nov 26 13:00:12 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ian Lister
>Release:        7.2-RELEASE
>Organization:
>Environment:
FreeBSD singha.lister.id.au 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The current version of the FreeBSD Handbook on the web states, in section 30.4.1 "Using the PF loadable kernel module", that pf.ko "was created with pflog(4) enabled".  However, this does not appear to have been the case for several years; pflog(4) was apparently moved to a separate pflog.ko in 2006 (see svn r155337).  The handbook needs to be updated to reflect this.
>How-To-Repeat:
# kldload pf.ko
# ifconfig pflog0
ifconfig: interface pflog0 does not exist
# ifconfig pflog0 create
ifconfig: SIOCIFCREATE2: Invalid argument

>Fix:
# kldload pflog.ko
# ifconfig pflog0
pflog0: flags=0<> metric 0 mtu 33204


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



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