Active FTP vs. Passive FTP
Somethings need to understand in terms of FTP ==> PORT mode, PASV mode.
Read this help file from Microsoft.
Here also has a very useful article explaining the difference between Active FTP and Passive FTP.
for details, please go to the website.The following chart should help admins remember how each FTP mode works:
Active FTP :A quick summary of the pros and cons of active vs. passive FTP is also in order:
command : client >1023 -> server 21
data : client >1023 <- server 20
Passive FTP :
command : client >1023 -> server 21
data : client >1023 -> server >1023Active FTP is beneficial to the FTP server admin, but detrimental to the client side admin. The FTP server attempts to make connections to random high ports on the client, which would almost certainly be blocked by a firewall on the client side. Passive FTP is beneficial to the client, but detrimental to the FTP server admin. The client will make both connections to the server, but one of them will be to a random high port, which would almost certainly be blocked by a firewall on the server side.
Luckily, there is somewhat of a compromise. Since admins running FTP servers will need to make their servers accessible to the greatest number of clients, they will almost certainly need to support passive FTP. The exposure of high level ports on the server can be minimized by specifying a limited port range for the FTP server to use. Thus, everything except for this range of ports can be firewalled on the server side. While this doesn't eliminate all risk to the server, it decreases it tremendously. See Appendix 1 for more information.
:-(
(得分:1)( http://www.small-island.org )
sad...
(得分:1)( http://anquan11.cn/ | 最新日志: 2006年9月01日 10时35分 星期五 )
\\Only a life lived for others is a life worthwhile.
\\有垃圾邮件么?给俺来两封 - ruis@anquan11.cn
Re:sad...
(得分:1)( http://solidot.org/ | 最新日志: 2006年8月13日 19时54分 星期日 )
Jesse Lee 新ID:CdrPlum 原ID:Silencedge
Re:sad...
(得分:1)