Skip Menu |

This queue is for tickets about the Net-FTPSSL CPAN distribution.

Report information
The Basics
Id: 82094
Status: resolved
Priority: 0/
Queue: Net-FTPSSL

People
Owner: Nobody in particular
Requestors: Robert-jean.Denault [...] telus.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.23

Attachments
10-complex.t
FTPSSL.pm
image001.gif
image001.png
myLog.txt
proxy_ftp_test_trace_log_new.txt
proxy_test_trace_log_new.142.168.64.140-I-P-0.txt
proxy_test_trace_log_new.txt
simple_test.pl
test_trace_log_new.142.168.64.140-C--0.txt
test_trace_log_new.142.168.64.140-I-C-0.txt
test_trace_log_new.142.168.64.140-I-P-0.txt
trace.zip



Subject: Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Tue, 18 Dec 2012 14:38:55 -0500
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>
.Hello Mr. Leach, I would like to contribute a new feature to your Net::FTPSSL package. I have added support for an http proxy to your module. Here are the modifications that I added as a unified diff. 2 Files were changed FTPSSL.pm, and MakeFile.PL Index: FTPSSL.pm =================================================================== --- FTPSSL.pm (revision 5094) +++ FTPSSL.pm (revision 5119) @@ -21,6 +21,7 @@ use File::Copy; use Time::Local; use Sys::Hostname; +use Net::HTTPTunnel; use Carp qw( carp croak ); use Errno qw/ EINTR /; @@ -118,6 +119,12 @@ my $emulate_bug = $arg->{EmulateBug} || 0; # Undocumented feature. + # + # HTTP Proxy parameters + # + my $proxyHost = $arg->{ProxyHost}; + my $proxyPort = $arg->{ProxyPort} || 3128; + # Determine where to write the Debug info to ... my $pv = sprintf ("%s [%vd]", $], $^V); # The version of perl! if ( $use_logfile ) { @@ -172,19 +179,43 @@ # We start with a clear connection, because I don't know if the # connection will be implicit or explicit or remain clear after all. + my $socket; my %socketArgs = ( PeerAddr => $host, PeerPort => $port, Proto => 'tcp', Timeout => $timeout ); $socketArgs{LocalAddr} = $localaddr if (defined $localaddr); + if (defined($proxyHost)) { + # + # Set the proxy parameters for the future data connections. + # + Net::SSLeay::set_proxy($proxyHost, $proxyPort); - my $socket = IO::Socket::INET->new ( %socketArgs ) + $socket = Net::HTTPTunnel->new('proxy-host' => $proxyHost, + 'proxy-port' => $proxyPort, + 'remote-host' => $host, + 'remote-port' => $port) + or + return _croak_or_return (undef, $die, $dbg_flg, + "Can't open HTTP Proxy tunnel connection ($proxyHost:$proxyPort) to ($host:$port)"); +# $socket = IO::Socket::INET->new_from_fd($tunnel, 'r+'); +# $socket->timeout($timeout); + } else { + + $socket = IO::Socket::INET->new ( %socketArgs ) or return _croak_or_return (undef, $die, $dbg_flg, - "Can't open tcp connection! ($host:$port)"); + "Can't open tcp connection! ($host:$port)"); + } - $socket->autoflush(1); + if ($socket->can('autoflush')) { + $socket->autoflush(1); + } else { + my $oldFh = select $socket; + $| = 1; + select $oldFh; + } ${*$socket}{debug} = $debug; ${*$socket}{Croak} = $die; @@ -276,6 +307,8 @@ ${*$obj}{type} = MODE_ASCII; ${*$obj}{data_prot} = $data_prot; ${*$obj}{Croak} = $die; + ${*$obj}{ProxyPort} = $proxyPort; + ${*$obj}{ProxyHost} = $proxyHost if defined($proxyHost); ${*$obj}{FixPutTs} = ${*$obj}{FixGetTs} = $pres_ts; ${*$obj}{OverridePASV} = $pasvHost; ${*$obj}{dcsc_mode} = FTPS_PASV; @@ -500,14 +533,26 @@ "Can't open private data connection to $host:$port"); } elsif ( ${*$self}{data_prot} eq DATA_PROT_CLEAR ) { - my %socketArgs = %{${*$self}{mySocketOpts}}; - $socketArgs{PeerAddr} = $host; - $socketArgs{PeerPort} = $port; + if (exists(${*$self}{ProxyHost})) { + my $proxyHost = ${*$self}{ProxyHost}; + my $proxyPort = ${*$self}{ProxyPort}; + $socket = Net::HTTPTunnel->new('proxy-host' => $proxyHost, + 'proxy-port' => $proxyPort, + 'remote-host' => $host, + 'remote-port' => $port) + or return $self->_croak_or_return (0, + "Can't open HTTP Proxy tunnel data connection ($proxyHost:$proxyPort) to ($host:$port)"); + #$socket = IO::Socket::INET->new_from_fd($tunnel, "r+"); + #$socket->timeout(${*$self}{timeout}); + } else { + my %socketArgs = %{${*$self}{mySocketOpts}}; + $socketArgs{PeerAddr} = $host; + $socketArgs{PeerPort} = $port; - $socket = IO::Socket::INET->new( %socketArgs ) or + $socket = IO::Socket::INET->new( %socketArgs ) or return $self->_croak_or_return (0, "Can't open clear data connection to $host:$port"); - + } } else { # TODO: Fix so DATA_PROT_SAFE & DATA_PROT_CONFIDENTIAL work. return $self->_croak_or_return (0, "Currently doesn't support mode ${*$self}{data_prot} for data channels to $host:$port"); @@ -544,8 +589,16 @@ return $self->_croak_or_return (0, "Currently doesn't support mode ${*$self}{data_prot} for data channels."); } - $io->autoflush (1); + if ($io->can('autoflush')) { + $io->autoflush(1); + } else { + my $oldFh = select $io; + $| = 1; + select $oldFh; + } + delete(${*$self}{data_ch}); + # $self->_debug_print_hash ("host", "port", ${*$self}{data_prot}, $io); return ( $io ); @@ -599,7 +652,12 @@ $dati .= $tmp; } - $io->close(); + if ($io->can('close')) { + $io->close(); + } else { + close($io); + undef($io); + } # To catch the expected "226 Closing data connection." if ( $self->response() != CMD_OK ) { @@ -798,7 +856,7 @@ } } # End else ASCII ... - unless ($pos) { + unless ($pos) { return $self->_croak_or_return (0, "System seek error before Truncation: $!"); } @@ -987,7 +1045,12 @@ print STDERR ". done! (" . $self->_fmt_num ($total) . " byte(s))\n" if (${*$self}{trace}); - $io->close(); + if ($io->can('close')) { + $io->close(); + } else { + close($io); + undef($io); + } # To catch the expected "226 Closing data connection." if ( $self->response() != CMD_OK ) { @@ -1423,8 +1486,14 @@ } } - $io->close(); + if ($io->can('close')) { + $io->close(); + } else { + close($io); + undef($io); + } + # To catch the expected "226 Closing data connection." if ( $self->response() != CMD_OK ) { return $self->_croak_or_return (); @@ -2528,7 +2597,7 @@ sub _close_LOG { - my $self = shift; + my $self = shift; if ( defined $self && exists ${*$self}{ftpssl_filehandle} ) { my $FILE = ${*$self}{ftpssl_filehandle}; @@ -2554,12 +2623,12 @@ use Net::FTPSSL; - my $ftps = Net::FTPSSL->new('ftp.yoursecureserver.com', + my $ftps = Net::FTPSSL->new('ftp.yoursecureserver.com', Encryption => EXP_CRYPT, - Debug => 1) + Debug => 1) or die "Can't open ftp.yoursecureserver.com\n$Net::FTPSSL::ERRSTR"; - $ftps->login('anonymous', 'user@localhost') + $ftps->login('anonymous', 'user@localhost') or die "Can't login: ", $ftps->last_message(); $ftps->cwd("/pub") or die "Can't change directory: " . $ftps->last_message(); @@ -3002,7 +3071,7 @@ to security concerns it is recommended that you do not use this method.> If the version of I<IO::Socket::SSL> you have installed is too old, this -function will not work since I<stop_SSL> won't be defined (like in v1.08). So +function will not work since I<stop_SSL> won't be defined (like in v1.08). So it is recommended that you be on at least I<version 1.18> or later if you plan on using this function. Index: Makefile.PL =================================================================== --- Makefile.PL (revision 5094) +++ Makefile.PL (revision 5119) @@ -6,7 +6,7 @@ NAME => 'Net::FTPSSL', VERSION_FROM => 'FTPSSL.pm', # finds $VERSION # e.g., Module::Name => 1.1 - PREREQ_PM => { IO::Socket::SSL => 1.08, Net::SSLeay::Handle => 0.0, File::Basename => 0.0, File::Copy => 0.0, Time::Local => 0.0, Sys::Hostname => 0.0 }, + PREREQ_PM => { IO::Socket::SSL => 1.08, Net::SSLeay::Handle => 0.0, File::Basename => 0.0, File::Copy => 0.0, Time::Local => 0.0, Sys::Hostname => 0.0, Net::HTTPTunnel => 0.51 }, ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'FTPSSL.pm', # retrieve abstract from module AUTHOR => 'Curtis Leach <cleach at cpan dot org>') : ()), Should you have any questions or concerns please do not hesitate to contact me Robert Denault Programmeur-analyste principal II/ Senior Programmer-Analyst II TELUS Solutions en santé | avec l'expertise d'Emergis TELUS Health Solutions | backed by Emergis T : (450) 928 6000 x 3740 T : 1 (866) 363 7447 x 3740 robert.denault@telus.com telussante.com telushealth.com [cid:image001.gif@01CDDD2D.233B0630] Le présent courriel et tout document joint sont destinés uniquement à la personne ou à l'entité à qui il est adressé et peut contenir des renseignements confidentiels. Si vous n'êtes pas le destinataire visé, veuillez nous en informer sans délai et détruire le courriel et les documents ainsi que toute copie qui en aurait été faite. Merci. This message and any accompanying attachments are intended only for the person(s) to whom this message is addressed and may contain privileged, proprietary and/or confidential information. Any unauthorized use, disclosure, reproduction or distribution of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete or destroy this message, including any attachments. Thank you. .

Message body is not shown because it is too large.

Download image001.gif
image/gif 1.3k
image001.gif
Hello, Sorry about the delay in responding. I've taken an initial look at the Net::HTTPTunnel code and it looks like an interesting enhancement. I'll be taking a closer look at it over the next few days or so. Since I don't have such a set up, would you be interested in testing out a beta release for me? I'd need you to turn on the logs during your testing and return them to me so that I could document that everything is working as expected. Curtis On Tue Dec 18 14:39:14 2012, Robert-jean.Denault@telus.com wrote: Show quoted text
> .Hello Mr. Leach, > > I would like to contribute a new feature to your Net::FTPSSL package. > I have added support for an http proxy to your module. Here are > the > modifications that I added as a unified diff. 2 Files were changed > FTPSSL.pm, and MakeFile.PL > > Index: FTPSSL.pm > =================================================================== > --- FTPSSL.pm (revision 5094) > +++ FTPSSL.pm (revision 5119) > @@ -21,6 +21,7 @@ > use File::Copy; > use Time::Local; > use Sys::Hostname; > +use Net::HTTPTunnel; > use Carp qw( carp croak ); > use Errno qw/ EINTR /; > @@ -118,6 +119,12 @@ > my $emulate_bug = $arg->{EmulateBug} || 0; # Undocumented > feature. > > + # > + # HTTP Proxy parameters > + # > + my $proxyHost = $arg->{ProxyHost}; > + my $proxyPort = $arg->{ProxyPort} || 3128; > + > # Determine where to write the Debug info to ... > my $pv = sprintf ("%s [%vd]", $], $^V); # The version of perl! > if ( $use_logfile ) { > @@ -172,19 +179,43 @@ > # We start with a clear connection, because I don't know if the > # connection will be implicit or explicit or remain clear after > all. > + my $socket; > my %socketArgs = ( PeerAddr => $host, > PeerPort => $port, > Proto => 'tcp', > Timeout => $timeout > ); > $socketArgs{LocalAddr} = $localaddr if (defined $localaddr); > + if (defined($proxyHost)) { > + # > + # Set the proxy parameters for the future data connections. > + # > + Net::SSLeay::set_proxy($proxyHost, $proxyPort); > - my $socket = IO::Socket::INET->new ( %socketArgs ) > + $socket = Net::HTTPTunnel->new('proxy-host' => $proxyHost, > + 'proxy-port' => $proxyPort, > + 'remote-host' => $host, > + 'remote-port' => $port) > + or > + return _croak_or_return (undef, $die, $dbg_flg, > + "Can't open HTTP Proxy > tunnel connection ($proxyHost:$proxyPort) to ($host:$port)"); > +# $socket = IO::Socket::INET->new_from_fd($tunnel, 'r+'); > +# $socket->timeout($timeout); > + } else { > + > + $socket = IO::Socket::INET->new ( %socketArgs ) > or > return _croak_or_return (undef, $die, $dbg_flg, > - "Can't open tcp connection! > ($host:$port)"); > + "Can't open tcp connection! > ($host:$port)"); > + } > - $socket->autoflush(1); > + if ($socket->can('autoflush')) { > + $socket->autoflush(1); > + } else { > + my $oldFh = select $socket; > + $| = 1; > + select $oldFh; > + } > ${*$socket}{debug} = $debug; > ${*$socket}{Croak} = $die; > @@ -276,6 +307,8 @@ > ${*$obj}{type} = MODE_ASCII; > ${*$obj}{data_prot} = $data_prot; > ${*$obj}{Croak} = $die; > + ${*$obj}{ProxyPort} = $proxyPort; > + ${*$obj}{ProxyHost} = $proxyHost if defined($proxyHost); > ${*$obj}{FixPutTs} = ${*$obj}{FixGetTs} = $pres_ts; > ${*$obj}{OverridePASV} = $pasvHost; > ${*$obj}{dcsc_mode} = FTPS_PASV; > @@ -500,14 +533,26 @@ > "Can't open private data connection to > $host:$port"); > } elsif ( ${*$self}{data_prot} eq DATA_PROT_CLEAR ) { > - my %socketArgs = %{${*$self}{mySocketOpts}}; > - $socketArgs{PeerAddr} = $host; > - $socketArgs{PeerPort} = $port; > + if (exists(${*$self}{ProxyHost})) { > + my $proxyHost = ${*$self}{ProxyHost}; > + my $proxyPort = ${*$self}{ProxyPort}; > + $socket = Net::HTTPTunnel->new('proxy-host' => > $proxyHost, > + 'proxy-port' => > $proxyPort, > + 'remote-host' => $host, > + 'remote-port' => $port) > + or return $self->_croak_or_return (0, > + "Can't open HTTP Proxy tunnel data > connection ($proxyHost:$proxyPort) to ($host:$port)"); > + #$socket = IO::Socket::INET->new_from_fd($tunnel, "r+"); > + #$socket->timeout(${*$self}{timeout}); > + } else { > + my %socketArgs = %{${*$self}{mySocketOpts}}; > + $socketArgs{PeerAddr} = $host; > + $socketArgs{PeerPort} = $port; > - $socket = IO::Socket::INET->new( %socketArgs ) or > + $socket = IO::Socket::INET->new( %socketArgs ) or > return $self->_croak_or_return (0, > "Can't open clear data connection to > $host:$port"); > - > + } > } else { > # TODO: Fix so DATA_PROT_SAFE & DATA_PROT_CONFIDENTIAL work. > return $self->_croak_or_return (0, "Currently doesn't support > mode ${*$self}{data_prot} for data channels to $host:$port"); > @@ -544,8 +589,16 @@ > return $self->_croak_or_return (0, "Currently doesn't support > mode ${*$self}{data_prot} for data channels."); > } > - $io->autoflush (1); > + if ($io->can('autoflush')) { > + $io->autoflush(1); > + } else { > + my $oldFh = select $io; > + $| = 1; > + select $oldFh; > + } > + delete(${*$self}{data_ch}); > + > # $self->_debug_print_hash ("host", "port", ${*$self}{data_prot}, > $io); > return ( $io ); > @@ -599,7 +652,12 @@ > $dati .= $tmp; > } > - $io->close(); > + if ($io->can('close')) { > + $io->close(); > + } else { > + close($io); > + undef($io); > + } > # To catch the expected "226 Closing data connection." > if ( $self->response() != CMD_OK ) { > @@ -798,7 +856,7 @@ > } > } # End else ASCII ... > - unless ($pos) { > + unless ($pos) { > return $self->_croak_or_return (0, > "System seek error before Truncation: > $!"); > } > @@ -987,7 +1045,12 @@ > print STDERR ". done! (" . $self->_fmt_num ($total) . " byte(s))\n" > if (${*$self}{trace}); > - $io->close(); > + if ($io->can('close')) { > + $io->close(); > + } else { > + close($io); > + undef($io); > + } > # To catch the expected "226 Closing data connection." > if ( $self->response() != CMD_OK ) { > @@ -1423,8 +1486,14 @@ > } > } > - $io->close(); > + if ($io->can('close')) { > + $io->close(); > + } else { > + close($io); > + undef($io); > + } > + > # To catch the expected "226 Closing data connection." > if ( $self->response() != CMD_OK ) { > return $self->_croak_or_return (); > @@ -2528,7 +2597,7 @@ > sub _close_LOG > { > - my $self = shift; > + my $self = shift; > if ( defined $self && exists ${*$self}{ftpssl_filehandle} ) { > my $FILE = ${*$self}{ftpssl_filehandle}; > @@ -2554,12 +2623,12 @@ > use Net::FTPSSL; > - my $ftps = Net::FTPSSL->new('ftp.yoursecureserver.com', > + my $ftps = Net::FTPSSL->new('ftp.yoursecureserver.com', > Encryption => EXP_CRYPT, > - Debug => 1) > + Debug => 1) > or die "Can't open > ftp.yoursecureserver.com\n$Net::FTPSSL::ERRSTR"; > - $ftps->login('anonymous', 'user@localhost') > + $ftps->login('anonymous', 'user@localhost') > or die "Can't login: ", $ftps->last_message(); > $ftps->cwd("/pub") or die "Can't change directory: " . $ftps-
> >last_message();
> @@ -3002,7 +3071,7 @@ > to security concerns it is recommended that you do not use this > method.> > If the version of I<IO::Socket::SSL> you have installed is too old, > this > -function will not work since I<stop_SSL> won't be defined (like in > v1.08). So > +function will not work since I<stop_SSL> won't be defined (like in > v1.08). So > it is recommended that you be on at least I<version 1.18> or later if > you plan > on using this function. > Index: Makefile.PL > =================================================================== > --- Makefile.PL (revision 5094) > +++ Makefile.PL (revision 5119) > @@ -6,7 +6,7 @@ > NAME => 'Net::FTPSSL', > VERSION_FROM => 'FTPSSL.pm', # finds $VERSION > # e.g., Module::Name => > 1.1 > - PREREQ_PM => { IO::Socket::SSL => 1.08, > Net::SSLeay::Handle => 0.0, File::Basename => 0.0, File::Copy => > 0.0, Time::Local => 0.0, Sys::Hostname => 0.0 }, > + PREREQ_PM => { IO::Socket::SSL => 1.08, > Net::SSLeay::Handle => 0.0, File::Basename => 0.0, File::Copy => > 0.0, Time::Local => 0.0, Sys::Hostname => 0.0, Net::HTTPTunnel => > 0.51 }, > ($] >= 5.005 ? ## Add these new keywords supported since > 5.005 > (ABSTRACT_FROM => 'FTPSSL.pm', # retrieve abstract > from module > AUTHOR => 'Curtis Leach <cleach at cpan dot org>') : > ()), > > Should you have any questions or concerns please do not hesitate to > contact me > Robert Denault > Programmeur-analyste principal II/ Senior Programmer-Analyst II > TELUS Solutions en santé | avec l'expertise d'Emergis > TELUS Health Solutions | backed by Emergis > T : (450) 928 6000 x 3740 > T : 1 (866) 363 7447 x 3740 > robert.denault@telus.com > telussante.com telushealth.com > > [cid:image001.gif@01CDDD2D.233B0630] > Le présent courriel et tout document joint sont destinés uniquement à > la personne ou à l'entité à qui il est adressé et peut contenir des > renseignements confidentiels. Si vous n'êtes pas le destinataire > visé, veuillez nous en informer sans délai et détruire le courriel > et les documents ainsi que toute copie qui en aurait été faite. > Merci. > This message and any accompanying attachments are intended only for > the person(s) to whom this message is addressed and may contain > privileged, proprietary and/or confidential information. Any > unauthorized use, disclosure, reproduction or distribution of this > message or its attachments is strictly prohibited. If you have > received this message in error, please notify the sender > immediately and permanently delete or destroy this message, > including any attachments. Thank you. > . >
Subject: RE: [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Tue, 8 Jan 2013 13:02:27 -0500
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>

Message body is not shown because it is too large.

Hi Robert, Hopefully the offer for testing out my changes is still open. I had to do some more research and so I had to tweak your patch a bit to support proxies that require user names & passwords as well. I also wanted to tweak the code so that Net::HTTPTunnel wasn't required unless you were using a proxy server since I know adding a new required module can be a big deal to some setups. Also instead of passing all the proxy values as separate arguments, I'm implementing it as a single option ProxyArgs. (ProxyArgs => \%options). This way I can support all the Net::HTTPTunnel options without having to update my code every time that module adds a new feature. So call like: my %opts = ("proxy-port" => 80, "proxy-host" => "my_proxy_server.com"); my $ftps=Net::FTPSSL->neew("server"', Port=>99, ProxyArgs=>\%opts, ...); Attached is my beta release. Please let me know how it turns out & return the logs that went with your tests! I didn't provide a test client since I figured you already had one to test with when you generated your patch in the 1st place. I haven't had the chance to add a proxy server to the test suite yet. Curtis On Tue Jan 08 13:02:42 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hello Curtis, > > I assume the testing would involved running the your > package test suite? Would there be any other tests involved? I > should be able to run some tests. All the tests would be execute > on Red Hat servers and using Squid as the proxy. > > > Should you > have any questions or concerns please do not hesitate to contact me > Robert Denault > Programmeur-analyste principal II/ Senior > Programmer-Analyst II > TELUS Solutions en santé | avec l’expertise > d’Emergis > TELUS Health Solutions | backed by Emergis > T : (450) > 928 6000 x 3740 > T : 1 (866) 363 7447 x 3740 > robert.denault@telus.com  > telussante.com  telushealth.com > Le présent courriel et tout document joint sont destinés uniquement > à la personne ou à l’entité à qui il est adressé et peut contenir > des renseignements confidentiels. Si vous n’êtes pas le > destinataire visé, veuillez nous en informer sans délai et détruire > le courriel et les documents ainsi que toute copie qui en aurait > été faite. Merci.  > This message and any accompanying attachments > are intended only for the person(s) to whom this message is > addressed and may contain privileged, proprietary and/or > confidential information. Any unauthorized use, disclosure, > reproduction or distribution of this message or its attachments is > strictly prohibited. If you have received this message in error, > please notify the sender immediately and permanently delete or > destroy this message, including any attachments. Thank you. > . >
Subject: FTPSSL.pm

Message body is not shown because it is too large.

Subject: RE: [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Fri, 1 Feb 2013 10:58:02 -0500
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>
Hi Curtis, Yes, I should have some time to run tests around the middle of next week. I let you know how things go. Regards, Robert Denault Programmeur-analyste principal II/ Senior Programmer-Analyst II TELUS Solutions en santé | avec l’expertise d’Emergis TELUS Health Solutions | backed by Emergis T : (450) 928 6000 x 3740 T : 1 (866) 363 7447 x 3740 robert.denault@telus.com  telussante.com  telushealth.com   Le présent courriel et tout document joint sont destinés uniquement à la personne ou à l’entité à qui il est adressé et peut contenir des renseignements confidentiels. Si vous n’êtes pas le destinataire visé, veuillez nous en informer sans délai et détruire le courriel et les documents ainsi que toute copie qui en aurait été faite. Merci.  This message and any accompanying attachments are intended only for the person(s) to whom this message is addressed and may contain privileged, proprietary and/or confidential information. Any unauthorized use, disclosure, reproduction or distribution of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete or destroy this message, including any attachments. Thank you. . -----Message d'origine----- De : Curtis Leach via RT [mailto:bug-Net-FTPSSL@rt.cpan.org] Envoyé : January 29, 2013 9:03 PM À : Robert-Jean Denault Objet : [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22 <URL: https://rt.cpan.org/Ticket/Display.html?id=82094 > Hi Robert, Hopefully the offer for testing out my changes is still open. I had to do some more research and so I had to tweak your patch a bit to support proxies that require user names & passwords as well. I also wanted to tweak the code so that Net::HTTPTunnel wasn't required unless you were using a proxy server since I know adding a new required module can be a big deal to some setups. Also instead of passing all the proxy values as separate arguments, I'm implementing it as a single option ProxyArgs. (ProxyArgs => \%options). This way I can support all the Net::HTTPTunnel options without having to update my code every time that module adds a new feature. So call like: my %opts = ("proxy-port" => 80, "proxy-host" => "my_proxy_server.com"); my $ftps=Net::FTPSSL->neew("server"', Port=>99, ProxyArgs=>\%opts, ...); Attached is my beta release. Please let me know how it turns out & return the logs that went with your tests! I didn't provide a test client since I figured you already had one to test with when you generated your patch in the 1st place. I haven't had the chance to add a proxy server to the test suite yet. Curtis On Tue Jan 08 13:02:42 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hello Curtis, > > I assume the testing would involved running the your > package test suite? Would there be any other tests involved? I > should be able to run some tests. All the tests would be execute > on Red Hat servers and using Squid as the proxy. > > > Should you > have any questions or concerns please do not hesitate to contact me > Robert Denault > Programmeur-analyste principal II/ Senior > Programmer-Analyst II > TELUS Solutions en santé | avec l’expertise > d’Emergis > TELUS Health Solutions | backed by Emergis T : (450) > 928 6000 x 3740 > T : 1 (866) 363 7447 x 3740 > robert.denault@telus.com > telussante.com  telushealth.com > Le présent courriel et tout document joint sont destinés uniquement > à la personne ou à l’entité à qui il est adressé et peut contenir > des renseignements confidentiels. Si vous n’êtes pas le > destinataire visé, veuillez nous en informer sans délai et détruire > le courriel et les documents ainsi que toute copie qui en aurait > été faite. Merci. > This message and any accompanying attachments > are intended only for the person(s) to whom this message is > addressed and may contain privileged, proprietary and/or > confidential information. Any unauthorized use, disclosure, > reproduction or distribution of this message or its attachments is > strictly prohibited. If you have received this message in error, > please notify the sender immediately and permanently delete or > destroy this message, including any attachments. Thank you. > . >
Hi Robert, I just got finished adding it the proxy prompts to my test case. Try it out during your testing if you like. Curtis On Fri Feb 01 10:58:10 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hi Curtis, > > Yes, I should have some time to run tests around the > middle of next week. I let you know how things go. > > Regards, > Robert Denault > Programmeur-analyste principal II/ Senior > Programmer-Analyst II > TELUS Solutions en santé | avec l’expertise > d’Emergis > TELUS Health Solutions | backed by Emergis > T : (450) > 928 6000 x 3740 > T : 1 (866) 363 7447 x 3740 > robert.denault@telus.com  > telussante.com  telushealth.com > Le présent courriel et tout document joint sont destinés uniquement > à la personne ou à l’entité à qui il est adressé et peut contenir > des renseignements confidentiels. Si vous n’êtes pas le > destinataire visé, veuillez nous en informer sans délai et détruire > le courriel et les documents ainsi que toute copie qui en aurait > été faite. Merci.  > This message and any accompanying attachments > are intended only for the person(s) to whom this message is > addressed and may contain privileged, proprietary and/or > confidential information. Any unauthorized use, disclosure, > reproduction or distribution of this message or its attachments is > strictly prohibited. If you have received this message in error, > please notify the sender immediately and permanently delete or > destroy this message, including any attachments. Thank you. > . > -----Message d'origine----- > De : Curtis Leach via RT [mailto:bug- > Net-FTPSSL@rt.cpan.org] > Envoyé : January 29, 2013 9:03 PM > À : > Robert-Jean Denault > Objet : [rt.cpan.org #82094] Adding support > for HTTP proxy to Net::FTPSSL 0.22 > > <URL: > https://rt.cpan.org/Ticket/Display.html?id=82094 > > > Hi Robert, > Hopefully the offer for testing out my changes is still open. I > had to do some more research and so I had to tweak your patch a bit > to support proxies that require user names & passwords as well. I > also wanted to tweak the code so that Net::HTTPTunnel wasn't > required unless you were using a proxy server since I know adding a > new required module can be a big deal to some setups. > > Also > instead of passing all the proxy values as separate arguments, I'm > implementing it as a single option ProxyArgs. > (ProxyArgs => > \%options). > > This way I can support all the Net::HTTPTunnel > options without having to update my code every time that module > adds a new feature. > > So call like: > my %opts = ("proxy-port" => > 80, "proxy-host" => "my_proxy_server.com"); my $ftps=Net::FTPSSL-
> >neew("server"', Port=>99, ProxyArgs=>\%opts, ...);
> > Attached is > my beta release. Please let me know how it turns out & return the > logs that went with your tests! I didn't provide a test client > since I figured you already had one to test with when you generated > your patch in the 1st place. I haven't had the chance to add a > proxy server to the test suite yet. > > Curtis > > On Tue Jan 08 > 13:02:42 2013, Robert-jean.Denault@telus.com wrote:
> > Hello
> Curtis,
> > > > I assume the testing would involved running the your
> > package test suite? Would there be any other tests involved?
> I
> > should be able to run some tests. All the tests would be
> execute
> > on Red Hat servers and using Squid as the proxy. > >
> >
> > Should you > > have any questions or concerns please do not
> hesitate to contact me
> > Robert Denault > > Programmeur-analyste
> principal II/ Senior
> > Programmer-Analyst II > > TELUS Solutions
> en santé | avec l’expertise
> > d’Emergis > > TELUS Health
> Solutions | backed by Emergis T : (450)
> > 928 6000 x 3740 > > T
> : 1 (866) 363 7447 x 3740
> > robert.denault@telus.com > >
> telussante.com  telushealth.com
> > Le présent courriel et tout
> document joint sont destinés uniquement
> > à la personne ou à
> l’entité à qui il est adressé et peut contenir
> > des
> renseignements confidentiels. Si vous n’êtes pas le
> >
> destinataire visé, veuillez nous en informer sans délai et détruire
> > le courriel et les documents ainsi que toute copie qui en
> aurait
> > été faite. Merci. > > This message and any accompanying
> attachments
> > are intended only for the person(s) to whom this
> message is
> > addressed and may contain privileged, proprietary
> and/or
> > confidential information. Any unauthorized use,
> disclosure,
> > reproduction or distribution of this message or
> its attachments is
> > strictly prohibited. If you have received
> this message in error,
> > please notify the sender immediately
> and permanently delete or
> > destroy this message, including any
> attachments. Thank you.
> > . > >
Subject: 10-complex.t

Message body is not shown because it is too large.

Hi Robert, I just got finished adding it the proxy prompts to my test case. Try it out during your testing if you like. Curtis On Fri Feb 01 10:58:10 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hi Curtis, > > Yes, I should have some time to run tests around the > middle of next week. I let you know how things go. > > Regards, > Robert Denault > Programmeur-analyste principal II/ Senior > Programmer-Analyst II > TELUS Solutions en santé | avec l’expertise > d’Emergis > TELUS Health Solutions | backed by Emergis > T : (450) > 928 6000 x 3740 > T : 1 (866) 363 7447 x 3740 > robert.denault@telus.com  > telussante.com  telushealth.com > Le présent courriel et tout document joint sont destinés uniquement > à la personne ou à l’entité à qui il est adressé et peut contenir > des renseignements confidentiels. Si vous n’êtes pas le > destinataire visé, veuillez nous en informer sans délai et détruire > le courriel et les documents ainsi que toute copie qui en aurait > été faite. Merci.  > This message and any accompanying attachments > are intended only for the person(s) to whom this message is > addressed and may contain privileged, proprietary and/or > confidential information. Any unauthorized use, disclosure, > reproduction or distribution of this message or its attachments is > strictly prohibited. If you have received this message in error, > please notify the sender immediately and permanently delete or > destroy this message, including any attachments. Thank you. > . > -----Message d'origine----- > De : Curtis Leach via RT [mailto:bug- > Net-FTPSSL@rt.cpan.org] > Envoyé : January 29, 2013 9:03 PM > À : > Robert-Jean Denault > Objet : [rt.cpan.org #82094] Adding support > for HTTP proxy to Net::FTPSSL 0.22 > > <URL: > https://rt.cpan.org/Ticket/Display.html?id=82094 > > > Hi Robert, > Hopefully the offer for testing out my changes is still open. I > had to do some more research and so I had to tweak your patch a bit > to support proxies that require user names & passwords as well. I > also wanted to tweak the code so that Net::HTTPTunnel wasn't > required unless you were using a proxy server since I know adding a > new required module can be a big deal to some setups. > > Also > instead of passing all the proxy values as separate arguments, I'm > implementing it as a single option ProxyArgs. > (ProxyArgs => > \%options). > > This way I can support all the Net::HTTPTunnel > options without having to update my code every time that module > adds a new feature. > > So call like: > my %opts = ("proxy-port" => > 80, "proxy-host" => "my_proxy_server.com"); my $ftps=Net::FTPSSL-
> >neew("server"', Port=>99, ProxyArgs=>\%opts, ...);
> > Attached is > my beta release. Please let me know how it turns out & return the > logs that went with your tests! I didn't provide a test client > since I figured you already had one to test with when you generated > your patch in the 1st place. I haven't had the chance to add a > proxy server to the test suite yet. > > Curtis > > On Tue Jan 08 > 13:02:42 2013, Robert-jean.Denault@telus.com wrote:
> > Hello
> Curtis,
> > > > I assume the testing would involved running the your
> > package test suite? Would there be any other tests involved?
> I
> > should be able to run some tests. All the tests would be
> execute
> > on Red Hat servers and using Squid as the proxy. > >
> >
> > Should you > > have any questions or concerns please do not
> hesitate to contact me
> > Robert Denault > > Programmeur-analyste
> principal II/ Senior
> > Programmer-Analyst II > > TELUS Solutions
> en santé | avec l’expertise
> > d’Emergis > > TELUS Health
> Solutions | backed by Emergis T : (450)
> > 928 6000 x 3740 > > T
> : 1 (866) 363 7447 x 3740
> > robert.denault@telus.com > >
> telussante.com  telushealth.com
> > Le présent courriel et tout
> document joint sont destinés uniquement
> > à la personne ou à
> l’entité à qui il est adressé et peut contenir
> > des
> renseignements confidentiels. Si vous n’êtes pas le
> >
> destinataire visé, veuillez nous en informer sans délai et détruire
> > le courriel et les documents ainsi que toute copie qui en
> aurait
> > été faite. Merci. > > This message and any accompanying
> attachments
> > are intended only for the person(s) to whom this
> message is
> > addressed and may contain privileged, proprietary
> and/or
> > confidential information. Any unauthorized use,
> disclosure,
> > reproduction or distribution of this message or
> its attachments is
> > strictly prohibited. If you have received
> this message in error,
> > please notify the sender immediately
> and permanently delete or
> > destroy this message, including any
> attachments. Thank you.
> > . > >
Subject: 10-complex.t

Message body is not shown because it is too large.

Subject: RE: [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Fri, 8 Feb 2013 09:56:48 -0500
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>
Hello Curtis, I started testing your new version with the http proxy integration. I have attaché the logs from the first series of tests. I ran into some issues when using the a clear command channel with a proxy(proxy_test_trace_log_new.txt), and an implicit connection with a clear data channel through the proxy (proxy_ftp_test_trace_log_new.txt). Error occurs around line 146 of 10-complex.t in the check_for_pasv_issue subroutine. I have also added the other trace file the 10-complex.t script generated with my other attempts. I also noticed that the calls made on the close of the data channels in the new version do not include a check for can close. I had added these because the clear data channel when going through the http proxy (Net::HTTPTunnel) do not support the close method, and had to be closed using close($io). I like your idea of using the my_flush. Same idea would work with the data channel close. I looking at the can close code I saw I also missed one in the list method (see below). [cid:image001.png@01CE05E2.93D59940] Should you have any questions or concerns please do not hesitate to contact me Robert Denault Programmeur-analyste principal II/ Senior Programmer-Analyst II TELUS Solutions en santé | avec l’expertise d’Emergis TELUS Health Solutions | backed by Emergis T : (450) 928 6000 x 3740 T : 1 (866) 363 7447 x 3740 robert.denault@telus.com telussante.com telushealth.com Le présent courriel et tout document joint sont destinés uniquement à la personne ou à l’entité à qui il est adressé et peut contenir des renseignements confidentiels. Si vous n’êtes pas le destinataire visé, veuillez nous en informer sans délai et détruire le courriel et les documents ainsi que toute copie qui en aurait été faite. Merci. This message and any accompanying attachments are intended only for the person(s) to whom this message is addressed and may contain privileged, proprietary and/or confidential information. Any unauthorized use, disclosure, reproduction or distribution of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete or destroy this message, including any attachments. Thank you. . -----Message d'origine----- De : Curtis Leach via RT [mailto:bug-Net-FTPSSL@rt.cpan.org] Envoyé : February 1, 2013 8:44 PM À : Robert-Jean Denault Objet : [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22 <URL: https://rt.cpan.org/Ticket/Display.html?id=82094 > Hi Robert, I just got finished adding it the proxy prompts to my test case. Try it out during your testing if you like. Curtis On Fri Feb 01 10:58:10 2013, Robert-jean.Denault@telus.com<mailto:Robert-jean.Denault@telus.com> wrote: Show quoted text
> Hi Curtis,
Show quoted text
>
Show quoted text
> Yes, I should have some time to run tests around the
Show quoted text
> middle of next week. I let you know how things go.
Show quoted text
>
Show quoted text
> Regards,
Show quoted text
> Robert Denault
Show quoted text
> Programmeur-analyste principal II/ Senior
Show quoted text
> Programmer-Analyst II
Show quoted text
> TELUS Solutions en santé | avec l’expertise
Show quoted text
> d’Emergis
Show quoted text
> TELUS Health Solutions | backed by Emergis T : (450)
Show quoted text
> 928 6000 x 3740
Show quoted text
> T : 1 (866) 363 7447 x 3740
Show quoted text
> robert.denault@telus.com<mailto:robert.denault@telus.com>
Show quoted text
> telussante.com telushealth.com
Show quoted text
> Le présent courriel et tout document joint sont destinés uniquement
Show quoted text
> à la personne ou à l’entité à qui il est adressé et peut contenir
Show quoted text
> des renseignements confidentiels. Si vous n’êtes pas le
Show quoted text
> destinataire visé, veuillez nous en informer sans délai et détruire
Show quoted text
> le courriel et les documents ainsi que toute copie qui en aurait
Show quoted text
> été faite. Merci.
Show quoted text
> This message and any accompanying attachments
Show quoted text
> are intended only for the person(s) to whom this message is
Show quoted text
> addressed and may contain privileged, proprietary and/or
Show quoted text
> confidential information. Any unauthorized use, disclosure,
Show quoted text
> reproduction or distribution of this message or its attachments is
Show quoted text
> strictly prohibited. If you have received this message in error,
Show quoted text
> please notify the sender immediately and permanently delete or
Show quoted text
> destroy this message, including any attachments. Thank you.
Show quoted text
> .
Show quoted text
> -----Message d'origine-----
Show quoted text
> De : Curtis Leach via RT [mailto:bug-
Show quoted text
> Net-FTPSSL@rt.cpan.org<mailto:Net-FTPSSL@rt.cpan.org>]
Show quoted text
> Envoyé : January 29, 2013 9:03 PM
Show quoted text
> À :
Show quoted text
> Robert-Jean Denault
Show quoted text
> Objet : [rt.cpan.org #82094] Adding support
Show quoted text
> for HTTP proxy to Net::FTPSSL 0.22
Show quoted text
>
Show quoted text
> <URL:
Show quoted text
Show quoted text
>
Show quoted text
> Hi Robert,
Show quoted text
> Hopefully the offer for testing out my changes is still open. I
Show quoted text
> had to do some more research and so I had to tweak your patch a bit
Show quoted text
> to support proxies that require user names & passwords as well. I
Show quoted text
> also wanted to tweak the code so that Net::HTTPTunnel wasn't
Show quoted text
> required unless you were using a proxy server since I know adding a
Show quoted text
> new required module can be a big deal to some setups.
Show quoted text
>
Show quoted text
> Also
Show quoted text
> instead of passing all the proxy values as separate arguments, I'm
Show quoted text
> implementing it as a single option ProxyArgs.
Show quoted text
> (ProxyArgs =>
Show quoted text
> \%options).
Show quoted text
>
Show quoted text
> This way I can support all the Net::HTTPTunnel
Show quoted text
> options without having to update my code every time that module
Show quoted text
> adds a new feature.
Show quoted text
>
Show quoted text
> So call like:
Show quoted text
> my %opts = ("proxy-port" =>
Show quoted text
> 80, "proxy-host" => "my_proxy_server.com"); my $ftps=Net::FTPSSL-
Show quoted text
> >neew("server"', Port=>99, ProxyArgs=>\%opts, ...);
Show quoted text
>
Show quoted text
> Attached is
Show quoted text
> my beta release. Please let me know how it turns out & return the
Show quoted text
> logs that went with your tests! I didn't provide a test client
Show quoted text
> since I figured you already had one to test with when you generated
Show quoted text
> your patch in the 1st place. I haven't had the chance to add a
Show quoted text
> proxy server to the test suite yet.
Show quoted text
>
Show quoted text
> Curtis
Show quoted text
>
Show quoted text
> On Tue Jan 08
Show quoted text
> 13:02:42 2013, Robert-jean.Denault@telus.com<mailto:Robert-jean.Denault@telus.com> wrote:
Show quoted text
> > Hello
Show quoted text
> Curtis,
Show quoted text
> >
Show quoted text
> > I assume the testing would involved running the your
Show quoted text
> > package test suite? Would there be any other tests involved?
Show quoted text
> I
Show quoted text
> > should be able to run some tests. All the tests would be
Show quoted text
> execute
Show quoted text
> > on Red Hat servers and using Squid as the proxy.
Show quoted text
> >
Show quoted text
> >
Show quoted text
> > Should you
Show quoted text
> > have any questions or concerns please do not
Show quoted text
> hesitate to contact me
Show quoted text
> > Robert Denault
Show quoted text
> > Programmeur-analyste
Show quoted text
> principal II/ Senior
Show quoted text
> > Programmer-Analyst II
Show quoted text
> > TELUS Solutions
Show quoted text
> en santé | avec l’expertise
Show quoted text
> > d’Emergis
Show quoted text
> > TELUS Health
Show quoted text
> Solutions | backed by Emergis T : (450)
Show quoted text
> > 928 6000 x 3740
Show quoted text
> > T
Show quoted text
> : 1 (866) 363 7447 x 3740
Show quoted text
> > robert.denault@telus.com<mailto:robert.denault@telus.com>
Show quoted text
> >
Show quoted text
> telussante.com telushealth.com
Show quoted text
> > Le présent courriel et tout
Show quoted text
> document joint sont destinés uniquement
Show quoted text
> > à la personne ou à
Show quoted text
> l’entité à qui il est adressé et peut contenir
Show quoted text
> > des
Show quoted text
> renseignements confidentiels. Si vous n’êtes pas le
Show quoted text
> >
Show quoted text
> destinataire visé, veuillez nous en informer sans délai et détruire
Show quoted text
> > le courriel et les documents ainsi que toute copie qui en
Show quoted text
> aurait
Show quoted text
> > été faite. Merci.
Show quoted text
> > This message and any accompanying
Show quoted text
> attachments
Show quoted text
> > are intended only for the person(s) to whom this
Show quoted text
> message is
Show quoted text
> > addressed and may contain privileged, proprietary
Show quoted text
> and/or
Show quoted text
> > confidential information. Any unauthorized use,
Show quoted text
> disclosure,
Show quoted text
> > reproduction or distribution of this message or
Show quoted text
> its attachments is
Show quoted text
> > strictly prohibited. If you have received
Show quoted text
> this message in error,
Show quoted text
> > please notify the sender immediately
Show quoted text
> and permanently delete or
Show quoted text
> > destroy this message, including any
Show quoted text
> attachments. Thank you.
Show quoted text
> > .
Show quoted text
> >

Message body is not shown because it is too large.

Download image001.png
image/png 78.1k
image001.png

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Hi Robert, I got your logs. I'll try to look into things a bit more closely over the next few days. But I have a question, what version IO::Socket & IO::Socket::INET are you using? I'm asking because of your need to put the can() calls into my code. If I'm reading the docs on can() correctly, all it's doing is checking if that object has the requested function defined. And if you are at a real old version of these modules, I may be better off putting in a requirement for a later release of these modules instead of adding more & more checks like you've been suggesting. You can quickly get the version installed by running the following command: perl -we 'use IO::Socket::INET 99.9;' It will throw an error & give you the current version. Curtis On Fri Feb 08 09:57:20 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hello Curtis, > > > > I started testing your new version with the http > proxy integration. I have attaché the logs from the first series > of tests. I ran into some issues when using the a clear command > channel with a proxy(proxy_test_trace_log_new.txt), and an implicit > connection with a clear data channel through the proxy > (proxy_ftp_test_trace_log_new.txt). > > > > Error occurs around line > 146 of 10-complex.t in the check_for_pasv_issue subroutine. > I have also added the other trace file the 10-complex.t script > generated with my other attempts. > > > > > > I also noticed that > the calls made on the close of the data channels in the new version > do not include a check for can close. I had added these because > the clear data channel when going through the http proxy > (Net::HTTPTunnel) do not support the close method, and had to be > closed using close($io). > > > > I like your idea of using the > my_flush. Same idea would work with the data channel close. I > looking at the can close code I saw I also missed one in the list > method (see below). > > > > [cid:image001.png@01CE05E2.93D59940] > Should you have any questions or concerns please do not hesitate to > contact me > > Robert Denault > > Programmeur-analyste principal II/ > Senior Programmer-Analyst II > > TELUS Solutions en santé | avec > l’expertise d’Emergis > > TELUS Health Solutions | backed by Emergis > T : (450) 928 6000 x 3740 > > T : 1 (866) 363 7447 x 3740 > robert.denault@telus.com > > telussante.com telushealth.com > Le présent courriel et tout document joint sont destinés uniquement > à la personne ou à l’entité à qui il est adressé et peut contenir > des renseignements confidentiels. Si vous n’êtes pas le > destinataire visé, veuillez nous en informer sans délai et détruire > le courriel et les documents ainsi que toute copie qui en aurait > été faite. Merci. > > This message and any accompanying attachments > are intended only for the person(s) to whom this message is > addressed and may contain privileged, proprietary and/or > confidential information. Any unauthorized use, disclosure, > reproduction or distribution of this message or its attachments is > strictly prohibited. If you have received this message in error, > please notify the sender immediately and permanently delete or > destroy this message, including any attachments. Thank you. > > . > -----Message d'origine----- > De : Curtis Leach via RT [mailto:bug- > Net-FTPSSL@rt.cpan.org] > Envoyé : February 1, 2013 8:44 PM > À : > Robert-Jean Denault > Objet : [rt.cpan.org #82094] Adding support > for HTTP proxy to Net::FTPSSL 0.22 > > > > <URL: > https://rt.cpan.org/Ticket/Display.html?id=82094 > > > > > Hi > Robert, > > > > I just got finished adding it the proxy prompts to > my test case. Try it out during your testing if you like. > Curtis > > > > On Fri Feb 01 10:58:10 2013, Robert- > jean.Denault@telus.com<mailto:Robert-jean.Denault@telus.com> wrote:
> > Hi Curtis,
>
> >
>
> > Yes, I should have some time to run
> tests around the >
> > middle of next week. I let you know how
> things go. >
> >
>
> > Regards,
>
> > Robert Denault
>
> >
> Programmeur-analyste principal II/ Senior >
> > Programmer-
> Analyst II >
> > TELUS Solutions en santé | avec l’expertise
>
> >
> d’Emergis >
> > TELUS Health Solutions | backed by Emergis T : (450)
> > 928 6000 x 3740
>
> > T : 1 (866) 363 7447 x 3740
>
> >
> robert.denault@telus.com<mailto:robert.denault@telus.com> >
Subject: RE: [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Fri, 8 Feb 2013 14:19:23 -0500
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>
Hi Curtis, Here is my version of IO:Socket:INET and perl IO::Socket::INET version 99.9 required--this is only version 1.31 at -e line 1. This is perl 5, version 12, subversion 1 (v5.12.1) built for x86_64-linux-thread-multi The problem is not the IO:Socket:INET but rather the Net::HTTPTunnel object that gets created for a clear data channel when using the http proxy. Than object is not at IO::Socket::INET object, and does not have a close method. } elsif ( ${*$self}{data_prot} eq DATA_PROT_CLEAR && exists ${*self}{myProxyArgs} ) { eval { require Net::HTTPTunnel; # So not everyone has to install this module ... $socket = Net::HTTPTunnel->new ( %proxyArgs ); }; if ($@) { # Should never happen, since this error is already handled in new(). return $self->_croak_or_return (0, "Missing Perl Module Error:\n" . $@); } unless ( defined $socket ) { return $self->_croak_or_return (0, "Can't open HTTP Proxy data connection tunnel from $msg to $host:$port"); } Should you have any questions or concerns please do not hesitate to contact me Robert Denault Programmeur-analyste principal II/ Senior Programmer-Analyst II TELUS Solutions en santé | avec l’expertise d’Emergis TELUS Health Solutions | backed by Emergis T : (450) 928 6000 x 3740 T : 1 (866) 363 7447 x 3740 robert.denault@telus.com telussante.com telushealth.com Le présent courriel et tout document joint sont destinés uniquement à la personne ou à l’entité à qui il est adressé et peut contenir des renseignements confidentiels. Si vous n’êtes pas le destinataire visé, veuillez nous en informer sans délai et détruire le courriel et les documents ainsi que toute copie qui en aurait été faite. Merci. This message and any accompanying attachments are intended only for the person(s) to whom this message is addressed and may contain privileged, proprietary and/or confidential information. Any unauthorized use, disclosure, reproduction or distribution of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete or destroy this message, including any attachments. Thank you. . -----Message d'origine----- De : Curtis Leach via RT [mailto:bug-Net-FTPSSL@rt.cpan.org] Envoyé : February 8, 2013 12:55 PM À : Robert-Jean Denault Objet : [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22 <URL: https://rt.cpan.org/Ticket/Display.html?id=82094 > Hi Robert, I got your logs. I'll try to look into things a bit more closely over the next few days. But I have a question, what version IO::Socket & IO::Socket::INET are you using? I'm asking because of your need to put the can() calls into my code. If I'm reading the docs on can() correctly, all it's doing is checking if that object has the requested function defined. And if you are at a real old version of these modules, I may be better off putting in a requirement for a later release of these modules instead of adding more & more checks like you've been suggesting. You can quickly get the version installed by running the following command: perl -we 'use IO::Socket::INET 99.9;' It will throw an error & give you the current version. Curtis On Fri Feb 08 09:57:20 2013, Robert-jean.Denault@telus.com<mailto:Robert-jean.Denault@telus.com> wrote: Show quoted text
> Hello Curtis,
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> I started testing your new version with the http
Show quoted text
> proxy integration. I have attaché the logs from the first series
Show quoted text
> of tests. I ran into some issues when using the a clear command
Show quoted text
> channel with a proxy(proxy_test_trace_log_new.txt), and an implicit
Show quoted text
> connection with a clear data channel through the proxy
Show quoted text
> (proxy_ftp_test_trace_log_new.txt).
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> Error occurs around line
Show quoted text
> 146 of 10-complex.t in the check_for_pasv_issue subroutine.
Show quoted text
> I have also added the other trace file the 10-complex.t script
Show quoted text
> generated with my other attempts.
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> I also noticed that
Show quoted text
> the calls made on the close of the data channels in the new version
Show quoted text
> do not include a check for can close. I had added these because
Show quoted text
> the clear data channel when going through the http proxy
Show quoted text
> (Net::HTTPTunnel) do not support the close method, and had to be
Show quoted text
> closed using close($io).
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> I like your idea of using the
Show quoted text
> my_flush. Same idea would work with the data channel close. I
Show quoted text
> looking at the can close code I saw I also missed one in the list
Show quoted text
> method (see below).
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> [cid:image001.png@01CE05E2.93D59940]
Show quoted text
> Should you have any questions or concerns please do not hesitate to
Show quoted text
> contact me
Show quoted text
>
Show quoted text
> Robert Denault
Show quoted text
>
Show quoted text
> Programmeur-analyste principal II/
Show quoted text
> Senior Programmer-Analyst II
Show quoted text
>
Show quoted text
> TELUS Solutions en santé | avec
Show quoted text
> l’expertise d’Emergis
Show quoted text
>
Show quoted text
> TELUS Health Solutions | backed by Emergis
Show quoted text
> T : (450) 928 6000 x 3740
Show quoted text
>
Show quoted text
> T : 1 (866) 363 7447 x 3740
Show quoted text
> robert.denault@telus.com<mailto:robert.denault@telus.com>
Show quoted text
>
Show quoted text
> telussante.com telushealth.com
Show quoted text
> Le présent courriel et tout document joint sont destinés uniquement
Show quoted text
> à la personne ou à l’entité à qui il est adressé et peut contenir
Show quoted text
> des renseignements confidentiels. Si vous n’êtes pas le
Show quoted text
> destinataire visé, veuillez nous en informer sans délai et détruire
Show quoted text
> le courriel et les documents ainsi que toute copie qui en aurait
Show quoted text
> été faite. Merci.
Show quoted text
>
Show quoted text
> This message and any accompanying attachments
Show quoted text
> are intended only for the person(s) to whom this message is
Show quoted text
> addressed and may contain privileged, proprietary and/or
Show quoted text
> confidential information. Any unauthorized use, disclosure,
Show quoted text
> reproduction or distribution of this message or its attachments is
Show quoted text
> strictly prohibited. If you have received this message in error,
Show quoted text
> please notify the sender immediately and permanently delete or
Show quoted text
> destroy this message, including any attachments. Thank you.
Show quoted text
>
Show quoted text
> .
Show quoted text
> -----Message d'origine-----
Show quoted text
> De : Curtis Leach via RT [mailto:bug-
Show quoted text
> Net-FTPSSL@rt.cpan.org<mailto:Net-FTPSSL@rt.cpan.org>]
Show quoted text
> Envoyé : February 1, 2013 8:44 PM
Show quoted text
> À :
Show quoted text
> Robert-Jean Denault
Show quoted text
> Objet : [rt.cpan.org #82094] Adding support
Show quoted text
> for HTTP proxy to Net::FTPSSL 0.22
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> <URL:
Show quoted text
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> Hi
Show quoted text
> Robert,
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> I just got finished adding it the proxy prompts to
Show quoted text
> my test case. Try it out during your testing if you like.
Show quoted text
> Curtis
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> On Fri Feb 01 10:58:10 2013, Robert-
Show quoted text
> jean.Denault@telus.com<mailto:Robert-jean.Denault@telus.com<mailto:jean.Denault@telus.com%3cmailto:Robert-jean.Denault@telus.com>> wrote:
Show quoted text
> > Hi Curtis,
Show quoted text
>
Show quoted text
> >
Show quoted text
>
Show quoted text
> > Yes, I should have some time to run
Show quoted text
> tests around the
Show quoted text
>
Show quoted text
> > middle of next week. I let you know how
Show quoted text
> things go.
Show quoted text
>
Show quoted text
> >
Show quoted text
>
Show quoted text
> > Regards,
Show quoted text
>
Show quoted text
> > Robert Denault
Show quoted text
>
Show quoted text
> >
Show quoted text
> Programmeur-analyste principal II/ Senior
Show quoted text
>
Show quoted text
> > Programmer-
Show quoted text
> Analyst II
Show quoted text
>
Show quoted text
> > TELUS Solutions en santé | avec l’expertise
Show quoted text
>
Show quoted text
> >
Show quoted text
> d’Emergis
Show quoted text
>
Show quoted text
> > TELUS Health Solutions | backed by Emergis T : (450)
Show quoted text
> > 928 6000 x 3740
Show quoted text
>
Show quoted text
> > T : 1 (866) 363 7447 x 3740
Show quoted text
>
Show quoted text
> >
Show quoted text
> robert.denault@telus.com<mailto:robert.denault@telus.com<mailto:robert.denault@telus.com%3cmailto:robert.denault@telus.com>>
Show quoted text
>

Message body is not shown because it is too large.

Hi Robert, Thanks for your help with your test results and comments last time. It's a bit tough to test things out when you don't have a server to test directly against. I made the recommended "close()" changes and I think I finally found the bug that was causing 10-complex.t to barf! There were a few typos in the code that Perl was treating as undefs instead of errors. Could you please test things out again & let me know if this patch finally works? I'm hoping to be able to respond more quickly now that the craziness at the paying job is slowing down again. Curtis On Fri Feb 08 14:19:38 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hi Curtis, > > > > Here is my version of IO:Socket:INET and perl > IO::Socket::INET version 99.9 required--this is only version 1.31 > at -e line 1. > > > > This is perl 5, version 12, subversion 1 > (v5.12.1) built for x86_64-linux-thread-multi > > > > The problem is > not the IO:Socket:INET but rather the Net::HTTPTunnel object that > gets created for a clear data channel when using the http proxy. > Than object is not at IO::Socket::INET object, and does not have a > close method. > > > > } elsif ( ${*$self}{data_prot} eq > DATA_PROT_CLEAR && exists ${*self}{myProxyArgs} ) { > > eval { > require Net::HTTPTunnel; # So not everyone has to install this > module ... > > > > $socket = Net::HTTPTunnel->new ( > %proxyArgs ); > > }; > > if ($@) { > > # Should > never happen, since this error is already handled in new(). > return $self->_croak_or_return (0, "Missing Perl Module Error:\n" . > $@); > > } > > unless ( defined $socket ) { > return $self->_croak_or_return (0, > > "Can't > open HTTP Proxy data connection tunnel from $msg to $host:$port"); > } > > > > Should you have any questions or concerns please do not > hesitate to contact me > > Robert Denault > > Programmeur-analyste > principal II/ Senior Programmer-Analyst II > > TELUS Solutions en > santé | avec l’expertise d’Emergis > > TELUS Health Solutions | > backed by Emergis > > T : (450) 928 6000 x 3740 > > T : 1 (866) 363 > 7447 x 3740 > > robert.denault@telus.com >
Subject: FTPSSL.pm

Message body is not shown because it is too large.

Hi Robert, Any word yet on whether you'll be able to test my latest patch? Here it is again along with the test program. Curtis On Sat Mar 02 03:14:43 2013, CLEACH wrote: Show quoted text
> Hi Robert, > > Thanks for your help with your test results and comments last time. > It's a bit tough to test things out when you don't have a server to test > directly against. > > I made the recommended "close()" changes and I think I finally found the > bug that was causing 10-complex.t to barf! There were a few typos in > the code that Perl was treating as undefs instead of errors. > > Could you please test things out again & let me know if this patch > finally works? I'm hoping to be able to respond more quickly now that > the craziness at the paying job is slowing down again. > > Curtis > > On Fri Feb 08 14:19:38 2013, Robert-jean.Denault@telus.com wrote:
> > Hi Curtis, > > > > > > > > Here is my version of IO:Socket:INET and perl > > IO::Socket::INET version 99.9 required--this is only version 1.31 > > at -e line 1. > > > > > > > > This is perl 5, version 12, subversion 1 > > (v5.12.1) built for x86_64-linux-thread-multi > > > > > > > > The problem is > > not the IO:Socket:INET but rather the Net::HTTPTunnel object that > > gets created for a clear data channel when using the http proxy. > > Than object is not at IO::Socket::INET object, and does not have a > > close method. > > > > > > > > } elsif ( ${*$self}{data_prot} eq > > DATA_PROT_CLEAR && exists ${*self}{myProxyArgs} ) { > > > > eval { > > require Net::HTTPTunnel; # So not everyone has to install this > > module ... > > > > > > > > $socket = Net::HTTPTunnel->new ( > > %proxyArgs ); > > > > }; > > > > if ($@) { > > > > # Should > > never happen, since this error is already handled in new(). > > return $self->_croak_or_return (0, "Missing Perl Module Error:\n" . > > $@); > > > > } > > > > unless ( defined $socket ) { > > return $self->_croak_or_return (0, > > > > "Can't > > open HTTP Proxy data connection tunnel from $msg to $host:$port"); > > } > > > > > > > > Should you have any questions or concerns please do not > > hesitate to contact me > > > > Robert Denault > > > > Programmeur-analyste > > principal II/ Senior Programmer-Analyst II > > > > TELUS Solutions en > > santé | avec l’expertise d’Emergis > > > > TELUS Health Solutions | > > backed by Emergis > > > > T : (450) 928 6000 x 3740 > > > > T : 1 (866) 363 > > 7447 x 3740 > > > > robert.denault@telus.com > >
Subject: FTPSSL.pm

Message body is not shown because it is too large.

Subject: 10-complex.t

Message body is not shown because it is too large.

Subject: RE: [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Mon, 18 Mar 2013 13:31:13 -0400
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>
Hello Curtis, Sorry about the delay, will run some tests this week. Should you have any questions or concerns please do not hesitate to contact me Robert Denault Programmeur-analyste principal II/ Senior Programmer-Analyst II TELUS Solutions en santé | avec l’expertise d’Emergis TELUS Health Solutions | backed by Emergis T : (450) 928 6000 x 3740 T : 1 (866) 363 7447 x 3740 robert.denault@telus.com  telussante.com  telushealth.com   Le présent courriel et tout document joint sont destinés uniquement à la personne ou à l’entité à qui il est adressé et peut contenir des renseignements confidentiels. Si vous n’êtes pas le destinataire visé, veuillez nous en informer sans délai et détruire le courriel et les documents ainsi que toute copie qui en aurait été faite. Merci.  This message and any accompanying attachments are intended only for the person(s) to whom this message is addressed and may contain privileged, proprietary and/or confidential information. Any unauthorized use, disclosure, reproduction or distribution of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete or destroy this message, including any attachments. Thank you. . -----Message d'origine----- De : Curtis Leach via RT [mailto:bug-Net-FTPSSL@rt.cpan.org] Envoyé : March 18, 2013 11:52 AM À : Robert-Jean Denault Objet : [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22 <URL: https://rt.cpan.org/Ticket/Display.html?id=82094 > Hi Robert, Any word yet on whether you'll be able to test my latest patch? Here it is again along with the test program. Curtis On Sat Mar 02 03:14:43 2013, CLEACH wrote: Show quoted text
> Hi Robert, > > Thanks for your help with your test results and comments last time. > It's a bit tough to test things out when you don't have a server to > test directly against. > > I made the recommended "close()" changes and I think I finally found > the bug that was causing 10-complex.t to barf! There were a few typos > in the code that Perl was treating as undefs instead of errors. > > Could you please test things out again & let me know if this patch > finally works? I'm hoping to be able to respond more quickly now that > the craziness at the paying job is slowing down again. > > Curtis > > On Fri Feb 08 14:19:38 2013, Robert-jean.Denault@telus.com wrote:
> > Hi Curtis, > > > > > > > > Here is my version of IO:Socket:INET and perl > > IO::Socket::INET version 99.9 required--this is only version 1.31 > > at -e line 1. > > > > > > > > This is perl 5, version 12, subversion 1 > > (v5.12.1) built for x86_64-linux-thread-multi > > > > > > > > The problem is > > not the IO:Socket:INET but rather the Net::HTTPTunnel object that > > gets created for a clear data channel when using the http proxy. > > Than object is not at IO::Socket::INET object, and does not have a > > close method. > > > > > > > > } elsif ( ${*$self}{data_prot} eq > > DATA_PROT_CLEAR && exists ${*self}{myProxyArgs} ) { > > > > eval { > > require Net::HTTPTunnel; # So not everyone has to install this > > module ... > > > > > > > > $socket = Net::HTTPTunnel->new ( > > %proxyArgs ); > > > > }; > > > > if ($@) { > > > > # Should > > never happen, since this error is already handled in new(). > > return $self->_croak_or_return (0, "Missing Perl Module Error:\n" . > > $@); > > > > } > > > > unless ( defined $socket ) { > > return $self->_croak_or_return (0, > > > > "Can't > > open HTTP Proxy data connection tunnel from $msg to $host:$port"); > > } > > > > > > > > Should you have any questions or concerns please do not > > hesitate to contact me > > > > Robert Denault > > > > Programmeur-analyste > > principal II/ Senior Programmer-Analyst II > > > > TELUS Solutions en > > santé | avec l’expertise d’Emergis > > > > TELUS Health Solutions | > > backed by Emergis > > > > T : (450) 928 6000 x 3740 > > > > T : 1 (866) 363 > > 7447 x 3740 > > > > robert.denault@telus.com > >
Subject: RE: [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Fri, 22 Mar 2013 12:02:23 -0400
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>

Message body is not shown because it is too large.

Message body is not shown because it is too large.

Download trace.zip
application/x-zip-compressed 14.4k

Message body not shown because it is not plain text.

Hi Robert, I think I found the bug in the Net::FTPSSL code when working with a clear data channel. Somehow my code failed to update the host/port pair being used when creating the data channel. This patch should fix all the errors. Can you please re-run your test cases again and send me the results? I'll have to look into what is causing the warnings after I know that the bugs have been addressed, since bugs can cause strange warnings. It may also be something in 10-complex.t, so if you are being prompted for the proxy password, that could be the source of the problem. Curtis On Fri Mar 22 12:02:50 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hello Curtis, > > > > Here is the test matrix I ran today. I have > included a zip file with the trace files. Each file is prefixed > with the test number. > >
Subject: FTPSSL.pm

Message body is not shown because it is too large.

Subject: RE: [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Mon, 1 Apr 2013 13:43:28 -0400
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>
Hello Curtis, Here are the results of my latest tests: Test No Connection Mode Data Connectio Use TLS PASV or EPSV Proxy Result 01 Implicit Protected TLS PASV None Passed 02 Implicit Clear TLS PASV None Passed 03 Clear Clear ---- PASV None Passed 04 Implicit Protected TLS PASV Yes Passed but with see warnings (1) 05 Implicit Clear TLS PASV Yes Passed 06 Clear Clear ---- PASV Yes Passed 07 Implicit Protected SSL PASV None Passed 08 Implicit Clear SSL PASV None Passed 09 Implicit Protected SSL PASV Yes Warnings(2) 10 Implicit Clear SSL PASV Yes Passed Warnings (1): t/10-complex.t ...... 42/60 # # Check out the following warnings from Net-FTPSSL and report to developer with logs: # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235, <$socket> line 1. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Warnings(2) t/10-complex.t ...... 45/60 # # Check out the following warnings from Net-FTPSSL and report to developer with logs: # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235, <$socket> line 1. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. Should you have any questions or concerns please do not hesitate to contact me Robert Denault Programmeur-analyste principal II/ Senior Programmer-Analyst II TELUS Solutions en santé | avec l’expertise d’Emergis TELUS Health Solutions | backed by Emergis T : (450) 928 6000 x 3740 T : 1 (866) 363 7447 x 3740 robert.denault@telus.com telussante.com telushealth.com Le présent courriel et tout document joint sont destinés uniquement à la personne ou à l’entité à qui il est adressé et peut contenir des renseignements confidentiels. Si vous n’êtes pas le destinataire visé, veuillez nous en informer sans délai et détruire le courriel et les documents ainsi que toute copie qui en aurait été faite. Merci. This message and any accompanying attachments are intended only for the person(s) to whom this message is addressed and may contain privileged, proprietary and/or confidential information. Any unauthorized use, disclosure, reproduction or distribution of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete or destroy this message, including any attachments. Thank you. . -----Message d'origine----- De : Curtis Leach via RT [mailto:bug-Net-FTPSSL@rt.cpan.org] Envoyé : March 25, 2013 2:43 PM À : Robert-Jean Denault Objet : [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22 <URL: https://rt.cpan.org/Ticket/Display.html?id=82094 > Hi Robert, I think I found the bug in the Net::FTPSSL code when working with a clear data channel. Somehow my code failed to update the host/port pair being used when creating the data channel. This patch should fix all the errors. Can you please re-run your test cases again and send me the results? I'll have to look into what is causing the warnings after I know that the bugs have been addressed, since bugs can cause strange warnings. It may also be something in 10-complex.t, so if you are being prompted for the proxy password, that could be the source of the problem. Curtis On Fri Mar 22 12:02:50 2013, Robert-jean.Denault@telus.com<mailto:Robert-jean.Denault@telus.com> wrote: Show quoted text
> Hello Curtis,
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> Here is the test matrix I ran today. I have
Show quoted text
> included a zip file with the trace files. Each file is prefixed
Show quoted text
> with the test number.
Show quoted text
>
Show quoted text
>

Message body is not shown because it is too large.

Download trace.zip
application/x-zip-compressed 26.2k

Message body not shown because it is not plain text.

Hi Robert, Thanks for the test results. I'm glad everything is finally working. I'm starting to look into what is causing the warnings. But at least they all seem to be related to opening a secure data channel. Can you please use the attached test program to redo test # 4 only? Implicit/Protected/Proxy I'm trying to rule out that the warnings were due to a bug in my test script. Curtis On Mon Apr 01 13:44:11 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hello Curtis, > > > > Here are the results of my latest tests: > Test No > > > Connection Mode > > > Data Connectio > > > Use TLS > PASV or EPSV > > > Proxy > > > Result > > > 01 > > > Implicit > Protected > > > TLS > > > PASV > > > None > > > Passed > > > 02 > Implicit > > > Clear > > > TLS > > > PASV > > > None > > > Passed > 03 > > > Clear > > > Clear > > > ---- > > > PASV > > > None > > > Passed > 04 > > > Implicit > > > Protected > > > TLS > > > PASV > > > Yes > Passed but with see warnings (1) > > > 05 > > > Implicit > > > Clear > TLS > > > PASV > > > Yes > > > Passed > > > 06 > > > Clear > > > Clear > ---- > > > PASV > > > Yes > > > Passed > > > 07 > > > Implicit > Protected > > > SSL > > > PASV > > > None > > > Passed > > > 08 > Implicit > > > Clear > > > SSL > > > PASV > > > None > > > Passed > 09 > > > Implicit > > > Protected > > > SSL > > > PASV > > > Yes > Warnings(2) > > > 10 > > > Implicit > > > Clear > > > SSL > > > PASV > Yes > > > Passed > > > > > > > Warnings (1): > > t/10-complex.t ...... > 42/60 # > > # Check out the following warnings from Net-FTPSSL and > report to developer with logs: > > # Use of uninitialized value > $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. >
Subject: 10-complex.t

Message body is not shown because it is too large.

Subject: RE: [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Mon, 8 Apr 2013 13:40:46 -0400
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>
Hello Curtis, Here are the results of the test, I’ve attached the trace file also. t/10-complex.t ...... 41/60 # # Check out the following warnings from Net-FTPSSL and report to developer with logs: # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235, <$socket> line 1. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # t/10-complex.t ...... ok t/20-certificate.t .. 1/11 # # Should you have any questions or concerns please do not hesitate to contact me Robert Denault Programmeur-analyste principal II/ Senior Programmer-Analyst II TELUS Solutions en santé | avec l’expertise d’Emergis TELUS Health Solutions | backed by Emergis T : (450) 928 6000 x 3740 T : 1 (866) 363 7447 x 3740 robert.denault@telus.com telussante.com telushealth.com Le présent courriel et tout document joint sont destinés uniquement à la personne ou à l’entité à qui il est adressé et peut contenir des renseignements confidentiels. Si vous n’êtes pas le destinataire visé, veuillez nous en informer sans délai et détruire le courriel et les documents ainsi que toute copie qui en aurait été faite. Merci. This message and any accompanying attachments are intended only for the person(s) to whom this message is addressed and may contain privileged, proprietary and/or confidential information. Any unauthorized use, disclosure, reproduction or distribution of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete or destroy this message, including any attachments. Thank you. . -----Message d'origine----- De : Curtis Leach via RT [mailto:bug-Net-FTPSSL@rt.cpan.org] Envoyé : April 2, 2013 12:19 PM À : Robert-Jean Denault Objet : [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22 <URL: https://rt.cpan.org/Ticket/Display.html?id=82094 > Hi Robert, Thanks for the test results. I'm glad everything is finally working. I'm starting to look into what is causing the warnings. But at least they all seem to be related to opening a secure data channel. Can you please use the attached test program to redo test # 4 only? Implicit/Protected/Proxy I'm trying to rule out that the warnings were due to a bug in my test script. Curtis On Mon Apr 01 13:44:11 2013, Robert-jean.Denault@telus.com<mailto:Robert-jean.Denault@telus.com> wrote: Show quoted text
> Hello Curtis,
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> Here are the results of my latest tests:
Show quoted text
> Test No
Show quoted text
>
Show quoted text
>
Show quoted text
> Connection Mode
Show quoted text
>
Show quoted text
>
Show quoted text
> Data Connectio
Show quoted text
>
Show quoted text
>
Show quoted text
> Use TLS
Show quoted text
> PASV or EPSV
Show quoted text
>
Show quoted text
>
Show quoted text
> Proxy
Show quoted text
>
Show quoted text
>
Show quoted text
> Result
Show quoted text
>
Show quoted text
>
Show quoted text
> 01
Show quoted text
>
Show quoted text
>
Show quoted text
> Implicit
Show quoted text
> Protected
Show quoted text
>
Show quoted text
>
Show quoted text
> TLS
Show quoted text
>
Show quoted text
>
Show quoted text
> PASV
Show quoted text
>
Show quoted text
>
Show quoted text
> None
Show quoted text
>
Show quoted text
>
Show quoted text
> Passed
Show quoted text
>
Show quoted text
>
Show quoted text
> 02
Show quoted text
> Implicit
Show quoted text
>
Show quoted text
>
Show quoted text
> Clear
Show quoted text
>
Show quoted text
>
Show quoted text
> TLS
Show quoted text
>
Show quoted text
>
Show quoted text
> PASV
Show quoted text
>
Show quoted text
>
Show quoted text
> None
Show quoted text
>
Show quoted text
>
Show quoted text
> Passed
Show quoted text
> 03
Show quoted text
>
Show quoted text
>
Show quoted text
> Clear
Show quoted text
>
Show quoted text
>
Show quoted text
> Clear
Show quoted text
>
Show quoted text
>
Show quoted text
> ----
Show quoted text
>
Show quoted text
>
Show quoted text
> PASV
Show quoted text
>
Show quoted text
>
Show quoted text
> None
Show quoted text
>
Show quoted text
>
Show quoted text
> Passed
Show quoted text
> 04
Show quoted text
>
Show quoted text
>
Show quoted text
> Implicit
Show quoted text
>
Show quoted text
>
Show quoted text
> Protected
Show quoted text
>
Show quoted text
>
Show quoted text
> TLS
Show quoted text
>
Show quoted text
>
Show quoted text
> PASV
Show quoted text
>
Show quoted text
>
Show quoted text
> Yes
Show quoted text
> Passed but with see warnings (1)
Show quoted text
>
Show quoted text
>
Show quoted text
> 05
Show quoted text
>
Show quoted text
>
Show quoted text
> Implicit
Show quoted text
>
Show quoted text
>
Show quoted text
> Clear
Show quoted text
> TLS
Show quoted text
>
Show quoted text
>
Show quoted text
> PASV
Show quoted text
>
Show quoted text
>
Show quoted text
> Yes
Show quoted text
>
Show quoted text
>
Show quoted text
> Passed
Show quoted text
>
Show quoted text
>
Show quoted text
> 06
Show quoted text
>
Show quoted text
>
Show quoted text
> Clear
Show quoted text
>
Show quoted text
>
Show quoted text
> Clear
Show quoted text
> ----
Show quoted text
>
Show quoted text
>
Show quoted text
> PASV
Show quoted text
>
Show quoted text
>
Show quoted text
> Yes
Show quoted text
>
Show quoted text
>
Show quoted text
> Passed
Show quoted text
>
Show quoted text
>
Show quoted text
> 07
Show quoted text
>
Show quoted text
>
Show quoted text
> Implicit
Show quoted text
> Protected
Show quoted text
>
Show quoted text
>
Show quoted text
> SSL
Show quoted text
>
Show quoted text
>
Show quoted text
> PASV
Show quoted text
>
Show quoted text
>
Show quoted text
> None
Show quoted text
>
Show quoted text
>
Show quoted text
> Passed
Show quoted text
>
Show quoted text
>
Show quoted text
> 08
Show quoted text
> Implicit
Show quoted text
>
Show quoted text
>
Show quoted text
> Clear
Show quoted text
>
Show quoted text
>
Show quoted text
> SSL
Show quoted text
>
Show quoted text
>
Show quoted text
> PASV
Show quoted text
>
Show quoted text
>
Show quoted text
> None
Show quoted text
>
Show quoted text
>
Show quoted text
> Passed
Show quoted text
> 09
Show quoted text
>
Show quoted text
>
Show quoted text
> Implicit
Show quoted text
>
Show quoted text
>
Show quoted text
> Protected
Show quoted text
>
Show quoted text
>
Show quoted text
> SSL
Show quoted text
>
Show quoted text
>
Show quoted text
> PASV
Show quoted text
>
Show quoted text
>
Show quoted text
> Yes
Show quoted text
> Warnings(2)
Show quoted text
>
Show quoted text
>
Show quoted text
> 10
Show quoted text
>
Show quoted text
>
Show quoted text
> Implicit
Show quoted text
>
Show quoted text
>
Show quoted text
> Clear
Show quoted text
>
Show quoted text
>
Show quoted text
> SSL
Show quoted text
>
Show quoted text
>
Show quoted text
> PASV
Show quoted text
> Yes
Show quoted text
>
Show quoted text
>
Show quoted text
> Passed
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
>
Show quoted text
> Warnings (1):
Show quoted text
>
Show quoted text
> t/10-complex.t ......
Show quoted text
> 42/60 #
Show quoted text
>
Show quoted text
> # Check out the following warnings from Net-FTPSSL and
Show quoted text
> report to developer with logs:
Show quoted text
>
Show quoted text
> # Use of uninitialized value
Show quoted text
> $auth in concatenation (.) or string at
Show quoted text
> /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-
Show quoted text
> multi/Net/SSLeay/Handle.pm line 235.
Show quoted text
>

Message body is not shown because it is too large.

Message body is not shown because sender requested not to inline it.

Hi Robert, I guess it was too much to hope for that the warning was due to a bug was in my test script. So here is another patch. Can you please rerun test 4 again and resend the logs? I enabled further logging in my class to make sure that I'm being passed what I think I am in all cases. Hopefully this will provide me enough details to figure out whats going on with the warnings if they still happen. If it doesn't fix things, I'm going to have to do a much deeper dive into what set_proxy() & make_socket)() do as well as provide you with a custom test script to print out some values from Net::SSLeay & Net::SSLeay::Handle. I'm going to have to provide you with a much smaller test script to work with in that case. I really want to find out where the warnings are coming from since this may be a sign that my code will break in a future release of Net::SSLeay & Net::SSLeay::Handle. Sine the $auth variable should never be undef after set_proxy() is called. Curtis On Mon Apr 08 13:41:16 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hello Curtis, > > > > Here are the results of the test, I’ve attached the trace file also. > > > > t/10-complex.t ...... 41/60 # > > # Check out the following warnings from Net-FTPSSL and report to > developer with logs: > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235, <$socket> line 1. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > > # > > t/10-complex.t ...... ok > > t/20-certificate.t .. 1/11 # > > # > > > > > > > > Should you have any questions or concerns please do not hesitate to > contact me > > Robert Denault > > Programmeur-analyste principal II/ Senior Programmer-Analyst II > > TELUS Solutions en santé | avec l’expertise d’Emergis > > TELUS Health Solutions | backed by Emergis > > T : (450) 928 6000 x 3740 > > T : 1 (866) 363 7447 x 3740 > > robert.denault@telus.com > > telussante.com telushealth.com
Subject: FTPSSL.pm

Message body is not shown because it is too large.

Hi Robert, Here's another beta, I've added a few Carp lines around what I think is the offending code. It also prints out what variables I think are causing us headaches. Hopefully this will put the warnings into some kind of context. Curtis On Tue Apr 09 20:45:43 2013, CLEACH wrote: Show quoted text
> Hi Robert, > > I guess it was too much to hope for that the warning was due to a bug > was in my test script. So here is another patch. Can you please > rerun test 4 again and resend the logs? > > I enabled further logging in my class to make sure that I'm being > passed what I think I am in all cases. Hopefully this will provide > me enough details to figure out whats going on with the warnings if > they still happen. > > If it doesn't fix things, I'm going to have to do a much deeper dive > into what set_proxy() & make_socket)() do as well as provide you > with a custom test script to print out some values from Net::SSLeay > & Net::SSLeay::Handle. I'm going to have to provide you with a > much smaller test script to work with in that case. > > I really want to find out where the warnings are coming from since > this may be a sign that my code will break in a future release of > Net::SSLeay & Net::SSLeay::Handle. Sine the $auth variable should > never be undef after set_proxy() is called. > > Curtis > > On Mon Apr 08 13:41:16 2013, Robert-jean.Denault@telus.com wrote:
> > Hello Curtis, > > > > > > > > Here are the results of the test, I’ve attached the trace file also. > > > > > > > > t/10-complex.t ...... 41/60 # > > > > # Check out the following warnings from Net-FTPSSL and report to > > developer with logs: > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235, <$socket> line 1. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # > > > > t/10-complex.t ...... ok > > > > t/20-certificate.t .. 1/11 # > > > > # > > > > > > > > > > > > > > > > Should you have any questions or concerns please do not hesitate to > > contact me > > > > Robert Denault > > > > Programmeur-analyste principal II/ Senior Programmer-Analyst II > > > > TELUS Solutions en santé | avec l’expertise d’Emergis > > > > TELUS Health Solutions | backed by Emergis > > > > T : (450) 928 6000 x 3740 > > > > T : 1 (866) 363 7447 x 3740 > > > > robert.denault@telus.com > > > > telussante.com telushealth.com
Subject: FTPSSL.pm

Message body is not shown because it is too large.

Subject: RE: [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Fri, 12 Apr 2013 14:00:20 -0400
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>
Hello Curtis, Here are the results of the test. t/10-complex.t ...... 42/60 # # Check out the following warnings from Net-FTPSSL and report to developer with logs: # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235, <$socket> line 1. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # Use of uninitialized value $auth in concatenation (.) or string at /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi/Net/SSLeay/Handle.pm line 235. # t/10-complex.t ...... ok t/20-certificate.t .. 1/11 # # # You can also perform a certificate test. # Some information will be required for this test: # A secure ftp server expecting a client certificate, # a user, a password and a directory where the user # has permissions to read and write. # See the README file for instructions on how to fully # enable this test! # # Do you want to do a certificate test ? (Y|N) [N] N t/20-certificate.t .. ok All tests successful. Files=3, Tests=74, 137 wallclock secs ( 0.04 usr 0.01 sys + 0.24 cusr 0.04 csys = 0.33 CPU) Result: PASS Should you have any questions or concerns please do not hesitate to contact me Robert Denault Programmeur-analyste principal II/ Senior Programmer-Analyst II TELUS Solutions en santé | avec l’expertise d’Emergis TELUS Health Solutions | backed by Emergis T : (450) 928 6000 x 3740 T : 1 (866) 363 7447 x 3740 robert.denault@telus.com  telussante.com  telushealth.com   Le présent courriel et tout document joint sont destinés uniquement à la personne ou à l’entité à qui il est adressé et peut contenir des renseignements confidentiels. Si vous n’êtes pas le destinataire visé, veuillez nous en informer sans délai et détruire le courriel et les documents ainsi que toute copie qui en aurait été faite. Merci.  This message and any accompanying attachments are intended only for the person(s) to whom this message is addressed and may contain privileged, proprietary and/or confidential information. Any unauthorized use, disclosure, reproduction or distribution of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete or destroy this message, including any attachments. Thank you. . -----Message d'origine----- De : Curtis Leach via RT [mailto:bug-Net-FTPSSL@rt.cpan.org] Envoyé : April 11, 2013 7:18 PM À : Robert-Jean Denault Objet : [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22 <URL: https://rt.cpan.org/Ticket/Display.html?id=82094 > Hi Robert, Here's another beta, I've added a few Carp lines around what I think is the offending code. It also prints out what variables I think are causing us headaches. Hopefully this will put the warnings into some kind of context. Curtis On Tue Apr 09 20:45:43 2013, CLEACH wrote: Show quoted text
> Hi Robert, > > I guess it was too much to hope for that the warning was due to a bug > was in my test script. So here is another patch. Can you please > rerun test 4 again and resend the logs? > > I enabled further logging in my class to make sure that I'm being > passed what I think I am in all cases. Hopefully this will provide > me enough details to figure out whats going on with the warnings if > they still happen. > > If it doesn't fix things, I'm going to have to do a much deeper dive > into what set_proxy() & make_socket)() do as well as provide you > with a custom test script to print out some values from Net::SSLeay > & Net::SSLeay::Handle. I'm going to have to provide you with a > much smaller test script to work with in that case. > > I really want to find out where the warnings are coming from since > this may be a sign that my code will break in a future release of > Net::SSLeay & Net::SSLeay::Handle. Sine the $auth variable should > never be undef after set_proxy() is called. > > Curtis > > On Mon Apr 08 13:41:16 2013, Robert-jean.Denault@telus.com wrote:
> > Hello Curtis, > > > > > > > > Here are the results of the test, I’ve attached the trace file also. > > > > > > > > t/10-complex.t ...... 41/60 # > > > > # Check out the following warnings from Net-FTPSSL and report to > > developer with logs: > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235, <$socket> line 1. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # Use of uninitialized value $auth in concatenation (.) or string at > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > multi/Net/SSLeay/Handle.pm line 235. > > > > # > > > > t/10-complex.t ...... ok > > > > t/20-certificate.t .. 1/11 # > > > > # > > > > > > > > > > > > > > > > Should you have any questions or concerns please do not hesitate to > > contact me > > > > Robert Denault > > > > Programmeur-analyste principal II/ Senior Programmer-Analyst II > > > > TELUS Solutions en santé | avec l’expertise d’Emergis > > > > TELUS Health Solutions | backed by Emergis > > > > T : (450) 928 6000 x 3740 > > > > T : 1 (866) 363 7447 x 3740 > > > > robert.denault@telus.com > > > > telussante.com telushealth.com

Message body is not shown because sender requested not to inline it.

Hi Robert, I guess you missed my last email with a new beta. I had added a few more debug lines in it. There were no surprises in the expanded logs like I hoped. Here is the beta again with a new test program that's much smaller. I'll be very happy if this new test program reproduces the problem. It means that I'm on the right track of trying to get the warnings resolved. It's usage is: simple_test.pl host port user password I've hard coded the Proxy info & other values into the program based you your previous log file settings. Curtis On Fri Apr 12 14:00:56 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hello Curtis, > > Here are the results of the test. > > t/10-complex.t ...... 42/60 # > # Check out the following warnings from Net-FTPSSL and report to > developer with logs: > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235, <$socket> line 1. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # Use of uninitialized value $auth in concatenation (.) or string at > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > multi/Net/SSLeay/Handle.pm line 235. > # > t/10-complex.t ...... ok > t/20-certificate.t .. 1/11 # > # > # You can also perform a certificate test. > # Some information will be required for this test: > # A secure ftp server expecting a client certificate, > # a user, a password and a directory where the user > # has permissions to read and write. > # See the README file for instructions on how to fully > # enable this test! > # > # Do you want to do a certificate test ? (Y|N) [N] > N > t/20-certificate.t .. ok > All tests successful. > Files=3, Tests=74, 137 wallclock secs ( 0.04 usr 0.01 sys + 0.24 > cusr 0.04 csys = 0.33 CPU) > Result: PASS > > > Should you have any questions or concerns please do not hesitate to > contact me > Robert Denault > Programmeur-analyste principal II/ Senior Programmer-Analyst II > TELUS Solutions en santé | avec l’expertise d’Emergis > TELUS Health Solutions | backed by Emergis > T : (450) 928 6000 x 3740 > T : 1 (866) 363 7447 x 3740 > robert.denault@telus.com  > telussante.com  telushealth.com >   > > Le présent courriel et tout document joint sont destinés uniquement à > la personne ou à l’entité à qui il est adressé et peut contenir des > renseignements confidentiels. Si vous n’êtes pas le destinataire > visé, veuillez nous en informer sans délai et détruire le courriel > et les documents ainsi que toute copie qui en aurait été faite. > Merci.  > This message and any accompanying attachments are intended only for > the person(s) to whom this message is addressed and may contain > privileged, proprietary and/or confidential information. Any > unauthorized use, disclosure, reproduction or distribution of this > message or its attachments is strictly prohibited. If you have > received this message in error, please notify the sender > immediately and permanently delete or destroy this message, > including any attachments. Thank you. > . > > > -----Message d'origine----- > De : Curtis Leach via RT [mailto:bug-Net-FTPSSL@rt.cpan.org] > Envoyé : April 11, 2013 7:18 PM > À : Robert-Jean Denault > Objet : [rt.cpan.org #82094] Adding support for HTTP proxy to > Net::FTPSSL 0.22 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=82094 > > > Hi Robert, > > Here's another beta, I've added a few Carp lines around what I think > is the offending code. It also prints out what variables I think > are causing us headaches. Hopefully this will put the warnings > into some kind of context. > > Curtis > > On Tue Apr 09 20:45:43 2013, CLEACH wrote:
> > Hi Robert, > > > > I guess it was too much to hope for that the warning was due to a
> bug
> > was in my test script. So here is another patch. Can you please > > rerun test 4 again and resend the logs? > > > > I enabled further logging in my class to make sure that I'm being > > passed what I think I am in all cases. Hopefully this will
> provide
> > me enough details to figure out whats going on with the warnings
> if
> > they still happen. > > > > If it doesn't fix things, I'm going to have to do a much deeper dive > > into what set_proxy() & make_socket)() do as well as provide you > > with a custom test script to print out some values from
> Net::SSLeay
> > & Net::SSLeay::Handle. I'm going to have to provide you with a > > much smaller test script to work with in that case. > > > > I really want to find out where the warnings are coming from since > > this may be a sign that my code will break in a future release of > > Net::SSLeay & Net::SSLeay::Handle. Sine the $auth variable
> should
> > never be undef after set_proxy() is called. > > > > Curtis > > > > On Mon Apr 08 13:41:16 2013, Robert-jean.Denault@telus.com wrote:
> > > Hello Curtis, > > > > > > > > > > > > Here are the results of the test, I’ve attached the trace file
> also.
> > > > > > > > > > > > t/10-complex.t ...... 41/60 # > > > > > > # Check out the following warnings from Net-FTPSSL and report to > > > developer with logs: > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235, <$socket> line 1. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # Use of uninitialized value $auth in concatenation (.) or string
> at
> > > /opt2/local/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread- > > > multi/Net/SSLeay/Handle.pm line 235. > > > > > > # > > > > > > t/10-complex.t ...... ok > > > > > > t/20-certificate.t .. 1/11 # > > > > > > # > > > > > > > > > > > > > > > > > > > > > > > > Should you have any questions or concerns please do not hesitate
> to
> > > contact me > > > > > > Robert Denault > > > > > > Programmeur-analyste principal II/ Senior Programmer-Analyst II > > > > > > TELUS Solutions en santé | avec l’expertise d’Emergis > > > > > > TELUS Health Solutions | backed by Emergis > > > > > > T : (450) 928 6000 x 3740 > > > > > > T : 1 (866) 363 7447 x 3740 > > > > > > robert.denault@telus.com > > > > > > telussante.com telushealth.com
> > >
Subject: simple_test.pl
#!/usr/bin/env perl use strict; use warnings; use Net::FTPSSL; use Carp; { my %proxy = ( "proxy-host" => "142.168.66.218", "proxy-port" => 8000 ); if ($#ARGV != 4 && $#ARGV != 3) { die ("Usage: host port user password\n"); } my ($host, $port, $usr, $pwd, $ans) = @ARGV; my $ftps; my %callback_hash; my $simple_log = "myLog.txt"; open (OLDERR, ">&STDERR"); open (STDERR, "> $simple_log") or die ("Can't redirect STDERR to a log file!\n"); print "\n"; print "Connecting to server $host ...\n"; eval { if (defined $ans && $ans =~ m/^n*$/i) { $ftps = Net::FTPSSL->new ($host, Debug=>1, Trace=> 1, Encryption=>EXP_CRYPT, Port=>$port, Croak=>1); } else { $ftps = Net::FTPSSL->new ($host, Debug=>1, Trace=> 1, Encryption=>IMP_CRYPT, Port=>$port, Croak=>1, ProxyArgs=>\%proxy); } $ftps->login ($usr, $pwd); # $ftps->set_callback (\&callback_func, \&end_callback_func, \%callback_hash); print "Running test 1 ...\n"; carp ("\n\n=====================================================\n"); my @lst = $ftps->nlst(); carp ("\n-----------------------------------------------------\n" . "Listing 1: ", join (", ", @lst), "\n"); print "Running test 2 ...\n"; carp ("\n\n=====================================================\n"); @lst = $ftps->list (); carp ("\n-----------------------------------------------------\n" . "Listing 2: ", join ("\n : ", @lst), "\n"); print "Running test 3 ...\n"; carp ("\n\n=====================================================\n"); @lst = $ftps->nlst(); carp ("\n-----------------------------------------------------\n" . "Listing 3: ", join (", ", @lst), "\n"); print "Closing the connection!\n"; carp ("\n\n=====================================================\n"); $ftps->quit(); }; open (STDERR, ">&OLDERR"); if ($@) { die ("\n" . $@ . "\n"); } print "\nPlease return the log file: $simple_log\n\n"; close (OLDERR); } sub callback_func { my $ftps_function_name = shift; my $data_ref = shift; my $data_len_ref = shift; my $total_len = shift; my $callback_dta_ref = shift; print "Data: ", ${$data_ref}, "\n"; } sub end_callback_func { my $ftps_function_name = shift; my $total_len = shift; my $callback_dta_ref = shift; return (""); }
Subject: FTPSSL.pm

Message body is not shown because it is too large.

Subject: RE: [rt.cpan.org #82094] Adding support for HTTP proxy to Net::FTPSSL 0.22
Date: Mon, 6 May 2013 14:50:35 -0400
To: "bug-Net-FTPSSL [...] rt.cpan.org" <bug-Net-FTPSSL [...] rt.cpan.org>
From: Robert-Jean Denault <Robert-jean.Denault [...] telus.com>

Message body is not shown because it is too large.

Message body is not shown because sender requested not to inline it.

Version 0.23 has been released with your fix. Hopefully we've caught all warnings. Curtis On Mon May 06 14:51:04 2013, Robert-jean.Denault@telus.com wrote: Show quoted text
> Hello Curtis, > > Sorry about the delay. Here is the log you requested. > > > Should you have any questions or concerns please do not hesitate to > contact me > Robert Denault > Programmeur-analyste principal II/ Senior Programmer-Analyst II > TELUS Solutions en santé | avec l’expertise d’Emergis > TELUS Health Solutions | backed by Emergis > T : (450) 928 6000 x 3740 > T : 1 (866) 363 7447 x 3740 > robert.denault@telus.com > telussante.com  telushealth.com > > > Le présent courriel et tout document joint sont destinés uniquement à > la personne ou à l’entité à qui il est adressé et peut contenir des > renseignements confidentiels. Si vous n’êtes pas le destinataire visé, > veuillez nous en informer sans délai et détruire le courriel et les > documents ainsi que toute copie qui en aurait été faite. Merci. > This message and any accompanying attachments are intended only for > the person(s) to whom this message is addressed and may contain > privileged, proprietary and/or confidential information. Any > unauthorized use, disclosure, reproduction or distribution of this > message or its attachments is strictly prohibited. If you have > received this message in error, please notify the sender immediately > and permanently delete or destroy this message, including any > attachments. Thank you. > . > >