From: Operating system: Linux PHP version: 5.3.2 Package: FTP related Bug Type: Feature/Change Request Bug description:Enable CCC function on ftp_ssl_connect
Description: ------------ Encrypted connections do not work well with stateful firewalls. This is because firewalls intercept PORT and PASV commands sent through the control connection in order to open a port for the data connection. Since the control connection is encrypted, the firewall cannot see which port the server or client have negotiated for the data connection. The CCC command (clear control channel) is supposed to facilitate this. It is issued after the connection is made, and user ID's and passwords have been exhanged over the encrypted connection. After the CCC is issued the control channel is no longer encrypted, but the data connection is. Issuing a ftp_raw command with "CCC" as the argument is not sufficient. This tells the remote server that the control channel has been cleared, however in fact, the PHP client is still encrypting it. Please enable CCC functionality. One way of doing this is to add an optional parameter on the ftp_ssl_connect function that clears the control connection after the connection is negotiated with the remote site. -- Edit bug report at http://bugs.php.net/bug.php?id=52178&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52178&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52178&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52178&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52178&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52178&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52178&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52178&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52178&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52178&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52178&r=support Expected behavior: http://bugs.php.net/fix.php?id=52178&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52178&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52178&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52178&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52178&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52178&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52178&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52178&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52178&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52178&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52178&r=mysqlcfg