Page 1 of 1

The server does not support FTP

Posted: 2018-12-29 00:01
by xavpro
So i enable the firewall of my ubuntu vps when i connect with root to ftp all fine, But whit my open game panel all ftp inside of it not working said ECONNABORTED I'm trying to figure out how to make it working agaisn whit my firewall... Thanks

Re: The server does not support FTP

Posted: 2018-12-29 00:04
by xavpro
the logs (sry my filezilla iis in french):
Statut : Connecté
Statut : Récupération du contenu du dossier...
Statut : Contenu du dossier "/" affiché avec succès
Statut : Récupération du contenu du dossier "/"...
Statut : Contenu du dossier "/" affiché avec succès
Statut : Récupération du contenu du dossier "/"...
Statut : Contenu du dossier "/" affiché avec succès
Statut : Récupération du contenu du dossier "/"...
Commande : PASV
Erreur : Affichage du contenu du dossier annulée par l'utilisateur
Statut : Déconnecté du serveur : ECONNABORTED - Connexion annulée
Statut : Déconnecté du serveur
Statut : Connexion à xxx.xx.xxx.xxx:21...
Statut : Connexion établie, attente du message d'accueil...
Statut : Serveur non sécurisé, celui-ci ne supporte pas FTP sur TLS.
Statut : Connecté
Statut : Récupération du contenu du dossier "/"...
Commande : CWD /
Réponse : 250 OK. Current directory is /
Commande : PWD
Réponse : 257 "/" is your current location
Commande : TYPE I
Réponse : 200 TYPE is now 8-bit binary
Commande : PASV
Réponse : 227 Entering Passive Mode (xxx,xx,xxx,xxx,34,174)
Commande : MLSD
Erreur : Connection interrompue après 20 secondes d'inactivité
Erreur : Impossible de récupérer le contenu du dossier
Statut : Déconnecté du serveur
Statut : Connexion à xxx.xx.xxx.xxx:21...
Statut : Connexion établie, attente du message d'accueil...
Statut : Serveur non sécurisé, celui-ci ne supporte pas FTP sur TLS.
Statut : Connecté
Statut : Récupération du contenu du dossier "/"...
Commande : CWD /
Réponse : 250 OK. Current directory is /
Commande : TYPE I
Réponse : 200 TYPE is now 8-bit binary
Commande : PASV
Réponse : 227 Entering Passive Mode (xxx,xx,xxx,xxx,217,146)
Commande : MLSD
Erreur : Connection interrompue après 20 secondes d'inactivité
Erreur : Impossible de récupérer le contenu du dossier

Re: The server does not support FTP

Posted: 2018-12-29 18:46
by botg
Please test your server on https://ftptest.net/

Re: The server does not support FTP

Posted: 2018-12-29 19:00
by xavpro
on explicit FTP over TLS:

Status: Connected, waiting for welcome message...

Reply: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------

Reply: 220-You are user number 6 of 50 allowed.

Reply: 220-Local time is now 13:58. Server port: 21.

Reply: 220-This is a private system - No anonymous login

Reply: 220-IPv6 connections are also welcome on this server.

Reply: 220 You will be disconnected after 15 minutes of inactivity.

Command: CLNT https://ftptest.net on behalf of xx.xx.x.xx.xx

Reply: 530 You aren't logged in

Command: AUTH TLS

Reply: 500 This security scheme is not implemented

Warning: Server refused AUTH TLS, trying deprecated AUTH SSL fallback.

Command: AUTH SSL

Reply: 500 This security scheme is not implemented

Error: Server refused FTP over TLS

Re: The server does not support FTP

Posted: 2018-12-29 19:01
by xavpro
On Allow fallback to plain FTP:



Status: Connected, waiting for welcome message...

Reply: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------

Reply: 220-You are user number 6 of 50 allowed.

Reply: 220-Local time is now 13:59. Server port: 21.

Reply: 220-This is a private system - No anonymous login

Reply: 220-IPv6 connections are also welcome on this server.

Reply: 220 You will be disconnected after 15 minutes of inactivity.

Command: CLNT https://ftptest.net on behalf of xx.xx.xx.xx

Reply: 530 You aren't logged in

Command: AUTH TLS

Reply: 500 This security scheme is not implemented

Warning: Server refused AUTH TLS, trying deprecated AUTH SSL fallback.

Command: AUTH SSL

Reply: 500 This security scheme is not implemented

Warning: Server refused AUTH SSL, falling back to insecure plaintext FTP.

Command: USER Mathis

Reply: 331 User Mathis OK. Password required

Command: PASS ******

Reply: 230 OK. Current directory is /

Command: SYST

Reply: 215 UNIX Type: L8

Command: FEAT

Reply: 211-Extensions supported:

Reply: EPRT

Reply: IDLE

Reply: MDTM

Reply: SIZE

Reply: MFMT

Reply: REST STREAM

Reply: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;

Reply: MLSD

Reply: AUTH TLS

Reply: PBSZ

Reply: PROT

Reply: UTF8

Reply: TVFS

Reply: ESTA

Reply: PASV

Reply: EPSV

Reply: SPSV

Reply: ESTP

Reply: 211 End.

Command: PWD

Reply: 257 "/" is your current location

Status: Current path is /

Command: TYPE I

Reply: 200 TYPE is now 8-bit binary

Command: PASV

Reply: 227 Entering Passive Mode (xxx,xx,xxx,xxx,143,253)

Command: MLSD

Error: Connection timed out

Re: The server does not support FTP

Posted: 2018-12-29 19:02
by xavpro
It's doing the same thing on FZ it's timed out entering in passive mode. but when firewall disable all work

Re: The server does not support FTP

Posted: 2018-12-30 00:52
by boco
Well, then you've found the culprit: The firewall is blocking the data ports. FTP needs more ports, apart from the one you connect initially to (21 by default). There is a whole range (100 ports at the minimum) of data port you need to
1. configure in the server software,
2. open in the firewall (all of them), and
3. forward them in any NAT (if any).

Re: The server does not support FTP

Posted: 2018-12-30 21:12
by xavpro
is there a waay to see all of the port because idk

Re: The server does not support FTP

Posted: 2018-12-31 19:22
by xavpro
In the log of ubuntu kern.log i found UFW Block so which is the port in that line??

Dec 30 06:24:21 vps194028 kernel: [132080.990655] [UFW BLOCK] IN=ens3 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=92.63.194.33 DST=158.xx.xxx.157 LEN=40 TOS=0x00 PREC=0x00 TTL=245 ID=36070 PROTO=TCP SPT=41152 DPT=32000 WINDOW=1024 RES=0x00 SYN URGP=0

Re: The server does not support FTP

Posted: 2019-01-01 11:15
by botg
Packets comes from the source port (SPT) and are directed to the destination port (DPT).