fillewila FTP 防火墙 主动 被动 模式 引起 连接超时

下面为大家介绍一下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
#TimeMemoryFunctionLocation
10.0008412632{main}( ).../index.php:0
20.19664263064Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.19664263064Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.526811454208Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.527511478904Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.528311534232Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.529011561632require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.539711961264K2ControllerItem->execute( ).../k2.php:64
90.539711961264K2ControllerItem->display( ).../BaseController.php:710
100.551112611968K2ControllerItem->display( ).../item.php:78
110.551112611968K2ControllerItem->display( ).../controller.php:19
120.556712983008Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.559013003376K2ViewItem->display( ).../ViewController.php:102
140.644215805664K2ViewItem->display( ).../view.html.php:742
150.644215805664K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.647415978600include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) 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
#TimeMemoryFunctionLocation
10.0008412632{main}( ).../index.php:0
20.19664263064Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.19664263064Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.526811454208Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.527511478904Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.528311534232Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.529011561632require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.539711961264K2ControllerItem->execute( ).../k2.php:64
90.539711961264K2ControllerItem->display( ).../BaseController.php:710
100.551112611968K2ControllerItem->display( ).../item.php:78
110.551112611968K2ControllerItem->display( ).../controller.php:19
120.556712983008Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.559013003376K2ViewItem->display( ).../ViewController.php:102
140.644215805664K2ViewItem->display( ).../view.html.php:742
150.644215805664K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.647415978600include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top