Bug 140896

Summary: [handbook] Handbook incorrectly states pflog is in pf.ko
Product: Documentation Reporter: Ian Lister <freebsd-bugs>
Component: Books & ArticlesAssignee: Brad Davis <brd>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ian Lister 2009-11-26 13:00:12 UTC
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.

Fix: 

# kldload pflog.ko
# ifconfig pflog0
pflog0: flags=0<> metric 0 mtu 33204
How-To-Repeat: # kldload pf.ko
# ifconfig pflog0
ifconfig: interface pflog0 does not exist
# ifconfig pflog0 create
ifconfig: SIOCIFCREATE2: Invalid argument
Comment 1 Brad Davis freebsd_committer freebsd_triage 2009-11-27 05:46:08 UTC
Responsible Changed
From-To: freebsd-doc->brd

Grab.
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-11-27 17:11:43 UTC
brd         2009-11-27 17:11:34 UTC

  FreeBSD doc repository

  Modified files:
    en_US.ISO8859-1/books/handbook/firewalls chapter.sgml 
  Log:
  Clean up the PF section on loading kernel modules.
  - Give specific clear examples on how to load the pf module and the pflog module.
  - Remove some information that is stated in the section right above.
  - Update the doc to reflect that pflog is now its own module. [1]
  
  PR:             140896 [1]
  
  Revision  Changes    Path
  1.91      +31 -18    doc/en_US.ISO8859-1/books/handbook/firewalls/chapter.sgml
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Brad Davis freebsd_committer freebsd_triage 2009-11-27 17:38:30 UTC
State Changed
From-To: open->closed

Committed, thanks!