docs/89635: authpf needs fdescfs

Maximillian Dornseif mdornseif at informatik.uni-mannheim.de
Sun Nov 27 18:40:02 UTC 2005


>Number:         89635
>Category:       docs
>Synopsis:       authpf needs fdescfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 27 18:40:01 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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 FreeBSDD 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:
>Unformatted:



More information about the freebsd-doc mailing list