You are not logged in.

#1 2018-08-10 11:48:23

K3N8
Member
From: The Netherlands
Registered: 2011-11-02
Posts: 62

[Solved] vsftp issues

Hi,

I've been using vsftp for a couple of months. Before that I used ProFTP for several years. The are a couple of issues I've been experiencing.

1. Random connection losses
2. When using Bluefish directories keep disappearing

I think it has to do with the passive ports I had to set in order for the firewall to work. I used the wiki on Arch Linux to configurate.

Anybody had the same issues?

Thank you in advance.

Alexander

Last edited by K3N8 (2018-08-14 10:35:13)


Arch Linux x86_64 LTS

Offline

#2 2018-08-13 08:55:00

K3N8
Member
From: The Netherlands
Registered: 2011-11-02
Posts: 62

Re: [Solved] vsftp issues

I found that the main issue was because of fail2ban. I removed the vsftpd jail and the connection issues were gone. The Bluefish issie still remains.


Arch Linux x86_64 LTS

Offline

#3 2018-08-13 09:18:28

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,979
Website

Re: [Solved] vsftp issues

Logs would be helpful.
Did you consider this?

echo net.netfilter.nf_conntrack_helper=1 > /etc/sysctl.d/70-conntrack.conf

macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#4 2018-08-14 10:32:30

K3N8
Member
From: The Netherlands
Registered: 2011-11-02
Posts: 62

Re: [Solved] vsftp issues

I added the following to my vsftpd.conf:

pasv_enable=yes
pasv_min_port=64000
pasv_max_port=64321

Then I added the passive ports to my firewall and everything worked just fine. It had nothing to do with fail2ban after all.

Now everything works like a charm.

Last edited by K3N8 (2018-08-14 10:33:24)


Arch Linux x86_64 LTS

Offline

#5 2018-08-14 10:34:55

K3N8
Member
From: The Netherlands
Registered: 2011-11-02
Posts: 62

Re: [Solved] vsftp issues

schard wrote:

Logs would be helpful.

I know, but there were no useful entries in my logfiles.

schard wrote:

Did you consider this?

echo net.netfilter.nf_conntrack_helper=1 > /etc/sysctl.d/70-conntrack.conf

I already solved it. Thank you.


Arch Linux x86_64 LTS

Offline

Board footer

Powered by FluxBB