docs/140896: Handbook incorrectly states pflog is in pf.ko

Ian Lister freebsd-bugs at lister.dnsalias.net
Thu Nov 26 13:00:13 UTC 2009


>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 at 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:



More information about the freebsd-doc mailing list