vsftpd breaks connection on directory listing 08 September 2018, 20:24:19 I needed to grant upload access to a server, so I slapped vsftpd on it and did the configuring of virtual users, directories and such. It's able to recieve connections now, but for whatever reason any attempt to list a directory ends with a disconnection. I even tried FTPing from the same machine the server runs on. This is what I get:Quote230 Login successful.Remote system type is UNIX.Using binary mode to transfer files.ftp> pwd257 "/" is the current directoryftp> ls200 PORT command successful. Consider using PASV.150 Here comes the directory listing.421 Service not available, remote server has closed connectionI already checked for dirlist_enable=yes. I've read this issue may be caused by firewalls, but since I'm connecting from the same machine, this surely can't be the case here. I even installed vsftpd on my home server with default config that allows anonymous login and it has exactly the same issue. Does anybody have a clue?
Re: vsftpd breaks connection on directory listing Reply #1 – 09 September 2018, 15:26:56 Just installed ubuntu server in a virtual box. Got vsftpd, only enabled anonymous login in default config. Directory listing works fine. Possibly broken package in Artix?
Re: vsftpd breaks connection on directory listing Reply #2 – 09 September 2018, 19:35:56 Please, try installing community/vsftpd (from Arch). If that works, then the breakage is in galaxy/vsftpd.
Re: vsftpd breaks connection on directory listing Reply #3 – 09 September 2018, 21:30:00 Tried with community/vsftpd. Same issue.
Re: vsftpd breaks connection on directory listing Reply #4 – 10 September 2018, 10:49:41 Just tried fresh Arch Linux in a virtual box; vsftpd with default configuration that allows anonymous login. It's also not working, although the error messages differ a bit:Quote230 Login successful.Remote system type is UNIX.Using binary mode to transfer files.ftp> pwd257 "/" is the current directoryftp> ls200 PORT command successful. Consider usung PASV.150 Here comes the directory listing.500 OOPS: priv_sock_get_cmdftp> pwd421 Service not available, remote server has closed connection
Re: vsftpd breaks connection on directory listing Reply #5 – 10 September 2018, 11:10:02 I can confirm that adding this:Code: [Select]seccomp_sandbox=NOinto the vsftpd.conf file fixes this issue on both Arch and Artix.Sources here and here.