CSF blocking FTP since 12.3.2013. or so

Post Reply
sadistiko303
Junior Member
Posts: 3
Joined: 13 Mar 2013, 13:52

CSF blocking FTP since 12.3.2013. or so

Post by sadistiko303 »

Hi,

I have spent few hours until now trying to solve my problem but without success.
I'm not sure when, but I suppose it started since 12.3.2013.
My clients can't connect to FTP. If I disable csf everithing works fine.
I checked config and TCP_IN/TCP_OUT for IPv4
Open ports are: 20,21,22,25,53,80,110,143,443,465,587,993,995,2077,2078,2082,2083,2086,2087,2095,2096,3306,30000:35000
and I use passive mode in ftp client. BTW all worked well until few days ago.
After MLSD command client gets "PORT failed, try PASV mode!"

Thanks in advance if someone know what else could be problem.

Sorry for bad english.
nottheusual1
Junior Member
Posts: 1
Joined: 13 Mar 2013, 22:39

Re: CSF blocking FTP since 12.3.2013. or so

Post by nottheusual1 »

Add their IP address to the "allow" list. It probably changed or they had a login problem.
sadistiko303
Junior Member
Posts: 3
Joined: 13 Mar 2013, 13:52

Re: CSF blocking FTP since 12.3.2013. or so

Post by sadistiko303 »

NO, I also tried on other accounts. On every account same problem. Also I deleted IP tables, and it didn't help
redexpertos
Junior Member
Posts: 8
Joined: 29 May 2011, 16:28

Re: CSF blocking FTP since 12.3.2013. or so

Post by redexpertos »

Same problem here, since upgrade to WHM 11.36.0 (build 14) on march 12,

this version was moved to release tier this monday I am facing the same problem on all my upgraded vps.

Any suggestions?
redexpertos
Junior Member
Posts: 8
Joined: 29 May 2011, 16:28

Re: CSF blocking FTP since 12.3.2013. or so

Post by redexpertos »

Hello, please check again your /etc/pure-ftpd.conf settings

Seems cpanel has overwrite them with this upgrade.
sadistiko303
Junior Member
Posts: 3
Joined: 13 Mar 2013, 13:52

Re: CSF blocking FTP since 12.3.2013. or so

Post by sadistiko303 »

Well I lost my old configuration with my hard drive crash around New Year. :-( Can someone write here what's important.
My PassivePortRange looks like this:

PassivePortRange 30000 35000
jacobkball
Junior Member
Posts: 4
Joined: 18 Sep 2012, 04:24

Re: CSF blocking FTP since 12.3.2013. or so

Post by jacobkball »

I've been having this problem too, and looking at the pure-ftpd.conf file, it looks like the PassivePortRange was commented out by cPanel.

I've just enabled it, and restarted Pure-FTP, so hopefully will resolve the issue.
jacobkball
Junior Member
Posts: 4
Joined: 18 Sep 2012, 04:24

Re: CSF blocking FTP since 12.3.2013. or so

Post by jacobkball »

Further to my post above, I just wanted to point out a bit of a silly error that may catch people out :-)

The PassivePortRange in the PureFTPd conf file is set to 30000 50000 by default, however the CSF readme talks about ports 30000 - 35000.

My silly error was that I uncommented the PassivePortRange line in the conf, but only opened Ports 30000 - 35000 in CSF, meaning I continued to get MLSD errors which were driving my clients crazy :-)

I believe, fingers crossed, that I have resolved the issue now! (Until cPanel resets the conf file again..)
Post Reply