From nobody@FreeBSD.org  Sun Nov 27 18:35:22 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1BC6116A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Nov 2005 18:35:22 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6869C43D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Nov 2005 18:35:16 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jARIZEbZ080669
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Nov 2005 18:35:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jARIZEkK080668;
	Sun, 27 Nov 2005 18:35:14 GMT
	(envelope-from nobody)
Message-Id: <200511271835.jARIZEkK080668@www.freebsd.org>
Date: Sun, 27 Nov 2005 18:35:14 GMT
From: Maximillian Dornseif <mdornseif@informatik.uni-mannheim.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: authpf needs fdescfs
X-Send-Pr-Version: www-2.3

>Number:         89635
>Category:       docs
>Synopsis:       authpf(8) needs fdescfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mlaier
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 27 18:40:01 GMT 2005
>Closed-Date:    Tue Mar 28 15:28:10 GMT 2006
>Last-Modified:  Tue Mar 28 15:28:10 GMT 2006
>Originator:     Maximillian Dornseif
>Release:        6.0
>Organization:
Pi1 - Laboratory for Dependable Distributed Systems - University of Mannheim
>Environment:
FreeBSD koon.dorala.23.nu 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sat Nov 26 15:38:15 CET 2005     root@koon.dorala.23.nu:/usr/src/sys/i386/compile/KOON  i386
>Description:
For authpf to work fdescfs must be mounted to /dev/fd. This seems to be
completely undocumented and even from studying the sourcecode one needs
some experience in the workings of FreeBSD to guess what the issue is.
I stumbled on http://lists.freebsd.org/mailman/htdig/freebsd-pf/2005-May/001014.html
and so found out what is missing.

On a related note: /var/authpf does not exist by defaults and tne manpage
gives no hints on this directory or which premissions are the "correct" ones.
>How-To-Repeat:
mkdir /etc/authpf/
touch /etc/authpf/authpf.conf
mkdir /var/authpf/
<create a user with authpf as shell>
<ssh into the machine as this user>
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.

pfctl: /dev/fd/4: No such file or directory
Unable to modify filters
Connection to 213.xxx.xxx.xxx closed.

>Fix:
mount fdescfs
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->mlaier 
Responsible-Changed-By: brueffer 
Responsible-Changed-When: Sun Nov 27 21:09:47 CET 2005 
Responsible-Changed-Why:  
Over to our pf maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89635 
State-Changed-From-To: open->closed 
State-Changed-By: mlaier 
State-Changed-When: Tue Mar 28 15:27:29 UTC 2006 
State-Changed-Why:  
Documented in authpf(8) as of rev. 1.2 - Thanks for the report. 

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