[技术分享 - ISA 篇] FTP 主动? 被动? 傻傻搞不清楚…
2009-12-24 22:36
218 查看
一些时候,我们在通过 ISA 服务器使用 FTP 时 (通常是使用 IE 的 FTP over HTTP), 会发现连接失败。
虽然连接失败的原因可能很多,但如果不通过 ISA 服务器能成功访问 FTP 站点,那问题很有可能与 FTP 的主被动模式有关。
默认情况下,ISA 在处理客户端的 FTP over HTTP 请求时,只会以主动模式与外部 FTP 服务器建立连接,如果要改为 FTP 被动模式,我们需要在 ISA 防火墙服务器上做如下修改:
1. Click Start, click Run, type “regedit”, and then click OK.
2. Locate and double-click the following registry subkey:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/W3Proxy/Parameters
Note:When you use ISA Server 2004 SP2, you must first create the Parameters key under the W3Proxy key.
3. On the Edit menu, point to New, and then click DWORD Value.
4. Type NonPassiveFTPTransfer as the new value, and then press ENTER
5. Right-click NonPassiveFTPTransfer, and then click Modify.
6. In the Value data box, type 0 (zero), and then click OK.
7. Restart ISA firewall service or restart ISA server.
另外,如果 ISA 外部有防火墙,需要确认外部的防火墙支持的 FTP 模式。
参考
============
How to enable passive CERN FTP connections through ISA Server 2000 or ISA Server 2004
http://support.microsoft.com/kb/300641/en-us
FTP 文件传输协议
http://zh.wikipedia.org/zh-cn/%E6%96%87%E4%BB%B6%E4%BC%A0%E8%BE%93%E5%8D%8F%E8%AE%AE
James Yi
Microsoft Support Expert
虽然连接失败的原因可能很多,但如果不通过 ISA 服务器能成功访问 FTP 站点,那问题很有可能与 FTP 的主被动模式有关。
默认情况下,ISA 在处理客户端的 FTP over HTTP 请求时,只会以主动模式与外部 FTP 服务器建立连接,如果要改为 FTP 被动模式,我们需要在 ISA 防火墙服务器上做如下修改:
1. Click Start, click Run, type “regedit”, and then click OK.
2. Locate and double-click the following registry subkey:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/W3Proxy/Parameters
Note:When you use ISA Server 2004 SP2, you must first create the Parameters key under the W3Proxy key.
3. On the Edit menu, point to New, and then click DWORD Value.
4. Type NonPassiveFTPTransfer as the new value, and then press ENTER
5. Right-click NonPassiveFTPTransfer, and then click Modify.
6. In the Value data box, type 0 (zero), and then click OK.
7. Restart ISA firewall service or restart ISA server.
另外,如果 ISA 外部有防火墙,需要确认外部的防火墙支持的 FTP 模式。
参考
============
How to enable passive CERN FTP connections through ISA Server 2000 or ISA Server 2004
http://support.microsoft.com/kb/300641/en-us
FTP 文件传输协议
http://zh.wikipedia.org/zh-cn/%E6%96%87%E4%BB%B6%E4%BC%A0%E8%BE%93%E5%8D%8F%E8%AE%AE
James Yi
Microsoft Support Expert
相关文章推荐
- [技术分享 - ISA 篇] FTP 有“证策”,ISA Web 代理有对策
- [技术分享 - ISA 篇] 登录 FTP 会“迷路”? 给 ISA 服务器一点协助
- [技术分享 - ISA 篇] Oh My..! FTP 终于可以上传了!?
- 主动FTP模式与被动FTP模式
- FTP的主动与被动模式
- FTP两种工作模式:主动模式(Active FTP)和被动模式(Passive FTP)
- FTP的主动模式和被动模式
- FTP主动模式和被动模式的区别
- FTP active mode and assive mode(ftp 主动模式/被动模式)
- [技术分享-ISA/TMG]怎样在 ISA 或者 TMG 上禁止 IPv6 tunneling
- FTP主动模式和被动模式的比较
- 主动FTP vs. 被动FTP 权威解释
- 防火墙对FTP主动和被动模式的影响
- FTP的主动和被动模式详解
- FTP主动模式与被动模式
- FTP的主动模式和被动模式
- ftp 的主动模式和被动模式
- ftp被动模式和主动模式分析
- 重温FTP的主动模式和被动模式
- FTP主动模式和被动模式区别详解