problem with proxy usage

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
mab
504 Command not implemented
Posts: 7
Joined: 2004-10-05 09:40
Location: France

problem with proxy usage

#1 Post by mab » 2004-10-05 09:52

I cannot connect filezilla through my proxy.

I have a proxy - sambar port 80 - fully functionnal.
and vsocks - port 1080 - fully functionnal too

I want connect a FTP server, and I would prefer go on it with sambar.


What does I have to configure ? I tried setting "paramètre proxy" and "paramètre proxy FTP", put Ip address and port 1080 in socks 4 setting. I tried to put the address an port 80 in the second connection's option.
nothing.

mab
504 Command not implemented
Posts: 7
Joined: 2004-10-05 09:40
Location: France

#2 Post by mab » 2004-10-05 18:41

Is it possible :

I just change the welcome message in the Filezilla server.

How the client recognize the end of welcome message ?

I have sometimes the problem : waiting for welcome message...
but, My filezila client doesn't work, but I have some line in the log.

I think with many try I made, sometime, it's possible to go works.

Can somebody answer my question ? How the client synchronize or detect the end of welcome message ?

User avatar
botg
Site Admin
Posts: 35650
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#3 Post by botg » 2004-10-05 20:06

Multiline replies from the server (including welcome message) start with the reply code followed immediately by a dash.

The end of the reply is reached if there's another line starting with the same code followed by a space. See example below (FZS default welcome message)
220-FileZilla Server version 0.9.4 beta
220-written by Tim Kosse (Tim.Kosse@gmx.de)
220 Please visit http://sourceforge.net/projects/filezilla/

mab
504 Command not implemented
Posts: 7
Joined: 2004-10-05 09:40
Location: France

#4 Post by mab » 2004-10-06 10:10

Ok for that, I have rebuild the original welcome message on the server.

The client continue to don't work.

log :

Trace : ControlSocket.cpp(185): m_pProxyLayer changed state
from 4 to 0 caller=0x003ed054
Trace : ControlSocket.cpp(185): m_pProxyLayer changed state
from 0 to 1 caller=0x003ed054
Etat : Connexion à "mysite" ...
Trace : ControlSocket.cpp(185): m_pProxyLayer changed
state from 1 to 2 caller=0x003ed054
Trace : ControlSocket.cpp(185): m_pProxyLayer changed state
from 2 to 4 caller=0x003ed054
Trace : FtpControlSocket.cpp(772): OnConnect(0) OpMode=1
OpState=-1 caller=0x003ed054
Etat : Connecté à "myproxy":80. Attente du message d'accueil...
Trace : FtpControlSocket.cpp(640): OnReceive(0) OpMode=1
OpState=-1 caller=0x003ed054
Erreur : Inactivité détectée !
Trace : FtpControlSocket.cpp(834): DoClose(0) OpMode=1
OpState=-1 caller=0x003ed054
Trace : FtpControlSocket.cpp(3502): ResetOperation(4100) OpMode=1
OpState=-1 caller=0x003ed054
Erreur : Impossible de se connecter !

"mysite" is the site I want join
"myproxy" is my job proxy, who connect everybody all the time.

I don't know what is wrong, and I suppose the proxy access client connection wrong. I don't need

I think the client connect to the proxy intead of through the proxy.
I have no trace in the log of any connection. (connection with proxy FTP, no proxy - Socks)

mab
504 Command not implemented
Posts: 7
Joined: 2004-10-05 09:40
Location: France

#5 Post by mab » 2004-10-07 19:49

Ok for the description of the last line of the welcome message.

I cannot connect trough my proxy. All of settings I tryed, but no one works...

I don't know what to do !

HELP ! What does I do ?

mab
504 Command not implemented
Posts: 7
Joined: 2004-10-05 09:40
Location: France

#6 Post by mab » 2004-10-08 09:10

I am in passive mode, server and client.

If I set proxy by socket :

Etat : Connexion à mysite ...
Etat : Connecté à mysite. Attente du message d'accueil...
Réponse : 220-FileZilla Server version 0.9.3 beta
Réponse : 220-written by Tim Kosse (Tim.Kosse@gmx.de)
Réponse : 220 Please visit http://sourceforge.net/projects/filezilla/
Commande : USER toto
Réponse : 331 Password required for toto
Commande : PASS ****************
Réponse : 230 Logged on
Commande : FEAT
Réponse : 211-Features:
Réponse : MDTM
Réponse : REST STREAM
Réponse : SIZE
Réponse : MODE Z
Réponse : 211 End
Commande : SYST
Réponse : 215 UNIX emulated by FileZilla
Etat : Connecté
Etat : Récupération de la liste de répertoires...
Commande : PWD
Réponse : 257 "/" is current directory.
Commande : MODE Z
Réponse : 200 MODE set to Z.
Commande : OPTS MODE Z LEVEL 9
Réponse : 200 MODE Z LEVEL set to 9
Commande : PASV
Réponse : 227 Entering Passive Mode (a,b,c,d,12,154)
Commande : TYPE A
Réponse : 200 Type set to A
Commande : LIST
Réponse : 425 Can't open data connection.
Erreur : N'a pas pu récupérer la liste du répertoire

If I try to go with proxy ftp :
Etat : Connexion à monsite.dyndns.org ...
Etat : Connecté à monproxy:8080. Attente du message d'accueil...
Erreur : Inactivité détectée !
Erreur : Impossible de se connecter !
Last edited by mab on 2011-02-21 09:55, edited 1 time in total.

mab
504 Command not implemented
Posts: 7
Joined: 2004-10-05 09:40
Location: France

#7 Post by mab » 2004-10-10 01:04

An other configuration :

This one is through an IPCOP firewall.
If filezilla is set with no proxy, all is very well.
If filezilla is set with ANY proxy, nothing append (waiting for connection)
sure, squid is configured well, IE works in this configuration to see the same FTP site, through the IPCOP proxy squid.

Nothing change in passive mode.

Is there any bug in the proxy part ?

Post Reply