我有一个鱿鱼代理服务器,http和ftp连接,我试图用filezilla打开一个FTP,但它总是失败,错误说:
Status: Connection with proxy established, performing handshake... Response: Proxy reply: HTTP/1.0 403 Forbidden Error: Proxy handshake failed: ECONNRESET - Connection reset by peer Error: Connection timed out Error: Failed to retrieve directory listing
我嗅探stream量,并且,filezilla正尝试连接到不同的端口,并且代理拒绝了它,这是sniff结果的一部分
CONNECT 201.150.36.227:61179 HTTP/1.1 Host: 201.150.36.227:61179 User-Agent: FileZilla
每次是不同的端口,所以,我不能让它在鱿鱼,我也设置filezilla使用主动连接,相同的结果,被动连接,同样的结果,所以,我是子弹,和我需要你的帮助,也许在filezilla或鱿鱼的设置可以做的工作,所以,在这里举手
这是filezilla的完整日志
Status: Connecting to uhma.mx through proxy Status: Connecting to 172.19.216.13:3128... Status: Connection with proxy established, performing handshake... Response: Proxy reply: HTTP/1.0 200 Connection established Status: Connection established, waiting for welcome message... Response: 220 ProFTPD 1.3.3a Server (a3 FTP CUATRO) [201.150.36.227] Command: USER uhmamx Response: 331 Password required for uhmamx Command: PASS ******* Response: 230 User uhmamx logged in Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is the current directory Command: TYPE I Response: 200 Type set to I Command: PASV Response: 227 Entering Passive Mode (201,150,36,227,238,251). Command: MLSD Status: Connecting to 172.19.216.13:3128... Status: Connection with proxy established, performing handshake... Response: Proxy reply: HTTP/1.0 403 Forbidden Error: Proxy handshake failed: ECONNRESET - Connection reset by peer Error: Connection timed out Error: Failed to retrieve directory listing
我添加了一个端口范围到squid.conf,并configuration了filezilla来限制它将要使用的端口范围
acl SSL_ports port 50000-50010
现在,它工作得很好。
谢谢