Results 1 to 8 of 8
  1. #1

    Strange cPanel CSF FTP Issue

    Hello,

    I have a VPS running cPanel 11.30 CSF.

    My issue is that it seems I have to whitelist/allow my current IP Address into the firewall before I can access via FTP only. My IP adress is not blocked.

    Any Ideas?

  2. #2
    Join Date
    Aug 2011
    Location
    Slovenia
    Posts
    21
    Does FTP client return any error? By the way, is this an OpenVZ VPS?

  3. #3
    Hey,

    This is my log and no its not an OpenVZ:

    220: --------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    You are user number 5 of 50 allowed.
    Local time is now 21:54. Server port: 21.
    This is a private system - No anonymous login
    IPv6 connections are also welcome on this server.
    You will be disconnected after 15 minutes of inactivity.
    Connected to domain.co.nz.
    Cmd: USER user
    331: User user OK. Password required
    Cmd: PASS xxxxxxxx
    230: OK. Current restricted directory is /
    Cmd: TYPE A
    200: TYPE is now ASCII
    Logged in to domain.co.nz as user.
    Cmd: SYST
    215: UNIX Type: L8
    Cmd: FEAT
    211: Extensions supported:
    EPRT
    IDLE
    MDTM
    SIZE
    REST STREAM
    MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
    MLSD
    AUTH TLS
    PBSZ
    PROT
    ESTA
    PASV
    EPSV
    SPSV
    ESTP
    End.
    Cmd: PWD
    257: "/" is your current location
    Cmd: CWD /public_html
    250: OK. Current directory is /public_html
    Cmd: PORT
    200: PORT command successful
    Cmd: NLST
    Could not accept a data connection: Operation timed out.
    Could not read reply from control connection -- timed out. (SReadline 1)

  4. #4
    Join Date
    Aug 2010
    Location
    Sorting Office
    Posts
    9,523
    Quote Originally Posted by jzmwebdevelopment View Post
    My issue is that it seems I have to whitelist/allow my current IP Address into the firewall before I can access via FTP only. My IP adress is not blocked.
    Check your CSF config for the maximum number of FTP connections allowed (I think the default is 10). Then check your FTP software and see if it has a setting for the number of connections it can open in one session.

    I've seen this happen when someone tries to FTP and their software is opening multiple connections. You can also test it by (temporarily) increasing the limit in CSF to something like 100 and see if you can then FTP without problem. If you can, you need to adjust your FTP software to limit the number of connections it's trying to open, and then bring the CSF limit back down to something more sensible.

    I've also seen some FTP software keep old connections open briefly and open new ones, so if it's limited to (say) 8, it may actually still be trying to hold 16 open.

  5. #5
    Join Date
    Sep 2004
    Posts
    368
    As mention into the csf config file open ports with colon 30000:50000
    Online power for online people!

  6. #6
    Join Date
    Apr 2001
    Location
    Paradise
    Posts
    12,052
    Try setting your connection in PASV mode on your FTP client too.
    Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
    LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
    Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
    DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  7. #7
    Hey,

    I have tried the limits still not working and the connection is PASV

  8. #8
    Hello,

    I followed this tutorial:

    http://corpocrat.com/2010/01/01/howt...-csf-firewall/

    But I still have the same problem.

    Has a solution

Similar Threads

  1. FTP Issue + cPanel Server
    By saurabhs in forum Web Hosting
    Replies: 16
    Last Post: 01-04-2011, 03:53 AM
  2. Strange alerts from CSF - port scans?
    By server prodigy in forum Hosting Security and Technology
    Replies: 4
    Last Post: 05-27-2010, 11:21 AM
  3. Strange FTP server issue
    By vnsg in forum Hosting Security and Technology
    Replies: 3
    Last Post: 08-25-2007, 07:18 PM
  4. FTP issue for Cpanel?
    By vnsg in forum Hosting Software and Control Panels
    Replies: 12
    Last Post: 04-19-2006, 02:25 PM
  5. Strange issue with Cpanel
    By AdamD in forum Hosting Software and Control Panels
    Replies: 3
    Last Post: 11-25-2005, 07:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •