DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th February 2009
kasse kasse is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 67
Default Configuring authpf freebsd

Hello I have problems using authpf on my freebsd 7.1.

When I try to log in with ssh, it exits with the error "error removing stale rulesets".
Further, instead of being greeted by the authpf messages, I am greeted with the regular /etc/motd, then the connection is closed.

Here are some stats on my setup.
Code:
$ ls -l /etc/authpf
total 6
-rw-r--r--  1 root  wheel   6 Feb  7 01:38 authpf.allow
-rw-r--r--  1 root  wheel   0 Feb  6 00:34 authpf.conf
-rw-r--r--  1 root  wheel  32 Feb  7 00:28 authpf.message
-rw-r--r--  1 root  wheel  92 Feb  6 22:44 authpf.rules
Code:
$ sudo ls -l /var
total 96

drwxrwx---   2 root    authpf     512 Feb  7 03:52 authpf
Code:
$ mount -pv

fdescfs			/dev/fd			fdescfs	rw		0 0
mounted with "mount -t fdescfs null /dev/fd

Code:
$ cat /etc/ssh/sshd_config

Protocol 2
ClientAliveInterval 15
ClientAliveCountMax 3
Code:
$ cat /etc/login.conf

authpf:\
	:welcome=/etc/motd.authpf:\
        :shell=/usr/sbin/authpf:\
        :tc=default:
and I ran "cap_mkdb /etc/login.conf" and changed the login shell to "/usr/sbin/aufhpf " of the user I am trying to log in with using vipw.

pf.conf and authpf.rules are similar to the ones in authpf faq at openbsd.org.

There is nothing in the /var/log/authpf logs except the "error removing stale rulesets".

Also I am not really sure about the /var/aufpf and file-descriptor file system.
I just did what I saw in some old post on google, since it is not in my "man aufhpf".

(I am sorry if I missed something obvious, I really have no idea what I am doing.)

Last edited by kasse; 7th February 2009 at 12:35 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
It's necesary to use firmware configuring rum or zyd? ximo FreeBSD General 7 8th July 2009 10:05 AM
Exempting clients from AuthPF Kristijan NetBSD Security 1 12th July 2008 12:09 AM
Help configuring pine cssgalactic FreeBSD General 4 29th June 2008 11:50 PM
Need Help Configuring Postfix iainnitro General software and network 6 8th June 2008 04:55 AM
Configuring VLANs under FreeBSD Popof FreeBSD General 5 13th May 2008 04:08 PM


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick