Ftp Issue - directory listing timeout

Discussion in 'Installation/Configuration' started by umano, May 31, 2010.

  1. umano

    umano New Member

    Hi, i have this problem on any website and account hosted by my server.
    I can only connect via ftp on macosx and fetch (ftpclient). Every other software doesn't work (also filezilla on mac)

    I have the last version of ispconfig installed.

    Any Ideas??
    Thank u
  2. CSsab

    CSsab New Member

    What is your setup - are you using pure-ftpd?

    Are there any errors in your system log (via ISPConfig 3 monitor tab) ?
  3. umano

    umano New Member

    no errors this an example of what happen

    Stato: Risoluzione dell'indirizzo IP xxxxx.com in corso
    Stato: Connessione a xx.xx.xx.xx:21...
    Stato: Connessione stabilita, in attesa del messaggio di benvenuto...
    Risposta: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Risposta: 220-You are user number 4 of 50 allowed.
    Risposta: 220-Local time is now 13:22. Server port: 21.
    Risposta: 220-This is a private system - No anonymous login
    Risposta: 220-IPv6 connections are also welcome on this server.
    Risposta: 220 You will be disconnected after 15 minutes of inactivity.
    Comando: USER ----------------
    Risposta: 331 User -------------- OK. Password required
    Comando: PASS *******
    Risposta: 230-User ------------ has group access to: client1 sshusers
    Risposta: 230 OK. Current restricted directory is /
    Comando: SYST
    Risposta: 215 UNIX Type: L8
    Comando: FEAT
    Risposta: 211-Extensions supported:
    Risposta: EPRT
    Risposta: IDLE
    Risposta: MDTM
    Risposta: SIZE
    Risposta: REST STREAM
    Risposta: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
    Risposta: MLSD
    Risposta: ESTP
    Risposta: PASV
    Risposta: EPSV
    Risposta: SPSV
    Risposta: ESTA
    Risposta: AUTH TLS
    Risposta: PBSZ
    Risposta: PROT
    Risposta: 211 End.
    Stato: Connesso
    Stato: Lettura elenco cartelle... (reading folder)
    Comando: PWD
    Risposta: 257 "/" is your current location
    Comando: TYPE I
    Risposta: 200 TYPE is now 8-bit binary
    Comando: PASV
    Risposta: 227 Entering Passive Mode (xxx,xxx,xxx,xxx,95,112)
    Comando: MLSD
    Errore: Tempo scaduto per la connessione (connection timeout)
    Errore: Non è stato possibile leggere il contenuto della cartella (impossible to read folder contents)

    I figured out why Fetch client works and the others don't. It's the MLSD command, fetch use LIST -al instead.
    Last edited: Jun 1, 2010
  4. umano

    umano New Member

    I asked to my hoster and he said "You need to modprobe the iptables ftp helper and make sure you have appropriate iptables entries."


    I simply executed this command /sbin/modprobe ip_conntrack_ftp
    and now ftp works like a charm

    I also added the command to /etc/rc.local to execute it on reboot.
    Last edited: Jun 1, 2010

Share This Page