fillewila FTP 防火墙 主动 被动 模式 引起 连接超时
- font size decrease font size increase font size
- Print Email
下面为大家介绍一下FTP连接中的PASV和PORT模式:
PORT其实是Standard模式的另一个名字,又称为Active模式。中文意思是“主动模式。
PASV也就是Passive的简写。中文就是“被动模式。
两者之间有什么不同:
不同之处是由于PORT这个方式需要在接上TCP 21端口后,服务器通过自己的TCP 20来发出数据。并且需要建立一个新的连接来传送档案。而PORT的命令包含一些客户端没用的资料,所以有了PASv的出现。
而PASV模式就当然拥有PORT模式的优点及去掉一些PORT的缺点。PASV运行方式就是当服务器接收到PASV命令时,就会自动从端口1024到5000中随机选择,而且还会使用同一个端口来传送数据,不用建立新的连接
Last modified onSaturday, 05 January 2013 13:24
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0008 | 412632 | {main}( ) | .../index.php:0 |
2 | 0.1966 | 4263064 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1966 | 4263064 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.5268 | 11454208 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.5275 | 11478904 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.5283 | 11534232 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.5290 | 11561632 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.5397 | 11961264 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.5397 | 11961264 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.5511 | 12611968 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.5511 | 12611968 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.5567 | 12983008 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.5590 | 13003376 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.6442 | 15805664 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.6442 | 15805664 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.6474 | 15978600 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in Server 2008
- Read 3673 times
( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0008 | 412632 | {main}( ) | .../index.php:0 |
2 | 0.1966 | 4263064 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1966 | 4263064 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.5268 | 11454208 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.5275 | 11478904 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.5283 | 11534232 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.5290 | 11561632 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.5397 | 11961264 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.5397 | 11961264 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.5511 | 12611968 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.5511 | 12611968 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.5567 | 12983008 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.5590 | 13003376 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.6442 | 15805664 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.6442 | 15805664 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.6474 | 15978600 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |