DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th June 2015
EverydayDiesel EverydayDiesel is offline
Shell Scout
 
Join Date: Jan 2009
Posts: 124
Default authpf - putty connects really fast and then closes

Hello I am trying to get authpf working in of.

I have these rules in my pf.conf (there are more rules but I have to type these manually)
table <authpf_users> persist
Pass out on $EXT from any to any
Pass in on $WRLS inet proto TCP from any to any port ssh
Anchor "authpf/*" in on $WRLS


I have setup a user called
Testuser
Class authpf
Shell /sbin/nologin

When I try to connect with username and password, putty connects and immediately closes. I can. Very briefly see a message that says your last login time was ##.

Can someone please tell me what I am doing wrong. Thanks in advance!
Reply With Quote
  #2   (View Single Post)  
Old 4th June 2015
EverydayDiesel EverydayDiesel is offline
Shell Scout
 
Join Date: Jan 2009
Posts: 124
Default

I found my issue.

You must create /etc/authpf/users/testuser/authpf.rules to get this to work. I thought it was optional
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
authpf, authpf.rules unable to modify filters kbeaucha OpenBSD Security 16 10th May 2012 09:46 PM
Security problem in PuTTY SSH client fixed J65nko News 0 12th December 2011 04:26 PM
Fresh PuTTY J65nko News 2 15th July 2011 02:03 AM
ssh and PuTTY Configuration rtwingfield FreeBSD Security 4 8th June 2009 09:55 PM
another program like Putty mfaridi FreeBSD Security 4 7th July 2008 02:41 PM


All times are GMT. The time now is 02:06 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