DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th April 2017
dash1747 dash1747 is offline
New User
 
Join Date: Feb 2017
Posts: 2
Default Issue running vsftpd on OpenBSD 6.0 and 6.1

I've been running vsftpd on OpenBSD for a number of years. It's been working fine on 5.7, 5.8, and 5.9. My vsftpd.conf file is very simple (minimal changes).

Here are the uncommented bits in vsftpd.conf
Code:
local_enable=YES
write_enable=YES
local_umask=006
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
idle_session_timeout=420
nopriv_user=_vsftpd
chroot_local_user=YES
secure_chroot_dir=/var/empty
pasv_min_port=49152
pasv_max_port=65535
text_userdb_names=YES
listen=YES
I have a single user account tuser01 with the shell set to /sbin/nologin
The tuser01 account is a member of group ftpusers. The home folder is for tuser is /storage01/ftpudata/tuser01 which is owned by root:ftpusers with permissions set to 750

I have added /sbin/nologin to /etc/shells

The above configuration works on all of my OpenBSD boxes except 6.0 and 6.1. On 5.9 boxes I run some with ftp and others with ftps with no issues.

The vsftpd daemon runs but at login I receive "500 OOPS: priv_sock_get_result" Connection closed by remote host.


Any insight would be helpful.

Last edited by ocicat; 15th April 2017 at 11:05 PM. Reason: Please use [code] & [/code] tags when posting file contents.
Reply With Quote
  #2   (View Single Post)  
Old 15th April 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Hello, and welcome!

The vsftpd package has been at version 3.0.3 since OpenBSD 5.8, which indicates to me that your problem is not necessarily a problem with vsftpd itself. I would guess -- never having used the application -- that your PF configuration may be interfering with communication.

If you don't receive any real help here in the next fiew days, I recommmend you reach out to Benoit, the maintainer. You'll find his Email address with $ pkg_info vsftpd.
Reply With Quote
  #3   (View Single Post)  
Old 15th April 2017
dash1747 dash1747 is offline
New User
 
Join Date: Feb 2017
Posts: 2
Default

Thanks for the reply.

I don't think PF is involved. I eliminated that early on by disabling PF completely 'pfctl -d'.

As I said I can take this same config and put it on 5.9 and it works every time. It's pretty spooky.

I will take your advice and give it a bit and see if others weigh in.

I did reach out to Benoit a few months back via email but I didn't get a reply.

I decided to wait until 6.1 came out and see if the behavior changed.

I could try him again if need be.

Thanks for taking the time to reply. Very appreciated.
Reply With Quote
  #4   (View Single Post)  
Old 16th April 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
I did reach out to Benoit a few months back via email but I didn't get a reply.
Sorry you had trouble reaching him. Perhaps your Email didn't reach him, or ended up filtered as spam. Should you fail to reach him a second time, try via the ports@ mailing list.
Reply With Quote
Reply


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
running OpenBSD from live CD's bsd-keith OpenBSD Installation and Upgrading 22 29th March 2015 03:28 PM
vsftpd port issue on FreeBSD 8.2 x64 sparky FreeBSD Ports and Packages 7 29th March 2012 11:50 AM
Running Symantec Netbackup under OpenBSD tcleamy OpenBSD General 2 26th March 2011 04:20 AM
Getting OpenBSD up and running Larry OpenBSD Installation and Upgrading 10 14th May 2010 11:14 PM
Anyone running an OpenBSD email server ? roundkat OpenBSD General 9 10th May 2008 03:08 AM


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