From stevenschlansker@berkeley.edu  Mon Jun  1 19:12:56 2009
Return-Path: <stevenschlansker@berkeley.edu>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 255C2106567A
	for <freebsd-gnats-submit@freebsd.org>; Mon,  1 Jun 2009 19:12:56 +0000 (UTC)
	(envelope-from stevenschlansker@berkeley.edu)
Received: from gateway0.EECS.Berkeley.EDU (gateway0.EECS.Berkeley.EDU [169.229.60.87])
	by mx1.freebsd.org (Postfix) with ESMTP id 10C2E8FC1B
	for <freebsd-gnats-submit@freebsd.org>; Mon,  1 Jun 2009 19:12:55 +0000 (UTC)
	(envelope-from stevenschlansker@berkeley.edu)
Received: from [192.168.1.13] (adsl-75-18-223-100.dsl.pltn13.sbcglobal.net [75.18.223.100])
	(authenticated bits=0)
	by gateway0.EECS.Berkeley.EDU (8.14.3/8.13.5) with ESMTP id n51IhuoB016189
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT)
	for <freebsd-gnats-submit@freebsd.org>; Mon, 1 Jun 2009 11:43:58 -0700 (PDT)
Message-Id: <CC33BCB3-D046-4184-921F-35D92522C79A@berkeley.edu>
Date: Mon, 1 Jun 2009 11:43:51 -0700
From: Steven Schlansker <stevenschlansker@berkeley.edu>
To: freebsd-gnats-submit@freebsd.org
Subject: pfsync(4) not usable with GENERIC kernel

>Number:         135162
>Category:       kern
>Synopsis:       [pfsync] pfsync(4) not usable with GENERIC kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-pf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 01 19:20:01 UTC 2009
>Closed-Date:    Tue Sep 11 11:02:12 UTC 2012
>Last-Modified:  Tue Sep 11 11:02:12 UTC 2012
>Originator:     Steven Schlansker
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
UC Berkeley EECS
>Environment:
 System: FreeBSD universe.stevenschlansker.is-a-geek.org 7.2-RELEASE  
 FreeBSD 7.2-RELEASE #0: Sat May 9 14:28:16 PDT 2009 root@universe.stevenschlansker.is-a-geek.org 
 :/usr/obj/usr/src/sys/GENERIC amd64
 
>Description:
 The pfsync(4) device is not usable from a GENERIC kernel.  pf is
 compiled as a module, and pfsync is not usable as a kernel module.
 According to a newsgroup post from 2005 (ref:
 http://lists.freebsd.org/pipermail/freebsd-pf/2005-October/001521.html)
 the main problem is that pfsync requires a multicast protocol, which
 must be done statically.  Perhaps this limitation has been removed.
 Failing that, it seems that a pfsync.ko with only unicast support
 (syncpeer option) could work as a module even without multicast support,
 allowing people who wish to use pfsync on a GENERIC kernel (to take
 advantage of freebsd-update, for example)
 
>How-To-Repeat:
          N/A
>Fix:
 Choose 1:
 1) Allow dynamic registration of multicast protocols (probably the
 eventual "right" solution)
 2) Allow module builds of pfsync which are unicast-only.
 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-pf 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Jun 2 02:28:18 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135162 
State-Changed-From-To: open->closed 
State-Changed-By: glebius 
State-Changed-When: Tue Sep 11 11:01:39 UTC 2012 
State-Changed-Why:  
I'm pretty sure this is fixed in 9.0-RELEASE, and may be even in 8.0-RELEASE. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135162 
>Unformatted:
