Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2005 18:35:14 GMT
From:      Maximillian Dornseif <mdornseif@informatik.uni-mannheim.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/89635: authpf needs fdescfs
Message-ID:  <200511271835.jARIZEkK080668@www.freebsd.org>
Resent-Message-ID: <200511271840.jARIe1re048803@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511271835.jARIZEkK080668>