AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 427655
Accepted
Castro Roy
Castro Roy
Asked: 2012-09-15 17:20:53 +0800 CST2012-09-15 17:20:53 +0800 CST 2012-09-15 17:20:53 +0800 CST

鱿鱼和 ftp 连接

  • 772

我有一个用于 http 和 ftp 连接的 squid 代理服务器,我正在尝试使用 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

我嗅探流量,并且 filezilla 正在尝试连接到不同的端口并且代理拒绝它看起来,这是嗅探结果的一部分

CONNECT 201.150.36.227:61179 HTTP/1.1
Host: 201.150.36.227:61179
User-Agent: FileZilla

每次都是不同的端口,所以,我不能在鱿鱼中允许它,而且,我将 filezilla 设置为使用主动连接,结果相同,被动连接,结果再次相同,所以,我没有子弹了,并且我需要你的帮助,也许 filezilla 或 squid 中的设置可以完成这项工作,所以,在这里帮忙

这是 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
ftp
  • 1 1 个回答
  • 10509 Views

1 个回答

  • Voted
  1. Best Answer
    Castro Roy
    2012-09-28T13:00:48+08:002012-09-28T13:00:48+08:00

    我在 squid.conf 中添加了一个端口范围,并配置了 filezilla 以限制它将要使用的端口范围

    acl SSL_ports port 50000-50010
    

    现在,它工作得很好。

    谢谢

    • 1

相关问题

  • 知道任何适用于 Windows 的快速可编写脚本的 ftp 客户端吗?[关闭]

  • 无法连接到我的 FTP 服务器,为什么?

  • 无法再连接到 FTP 站点

  • 您更喜欢哪个 FTP 客户端,为什么?

  • XP下设置FTP服务器时出错

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve