Bug 89635

Summary: authpf(8) needs fdescfs
Product: Documentation Reporter: Maximillian Dornseif <mdornseif>
Component: Books & ArticlesAssignee: mlaier
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Maximillian Dornseif 2005-11-27 18:40:01 UTC
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.

Fix: 

mount fdescfs
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.
Comment 1 Christian Brueffer freebsd_committer freebsd_triage 2005-11-27 20:09:47 UTC
Responsible Changed
From-To: freebsd-doc->mlaier

Over to our pf maintainer.
Comment 2 mlaier freebsd_committer freebsd_triage 2006-03-28 16:27:29 UTC
State Changed
From-To: open->closed

Documented in authpf(8) as of rev. 1.2 - Thanks for the report.