[Net-ssleay-devel] Strange problem with IE and Net::SSLeay
Mike McCauley
mikem at open.com.au
Fri Feb 24 10:56:42 UTC 2006
Hello.
I still cant reproduce your problem.
I think there is at least one bug in your program.
You read from <$client> until /CONNECT (.*):\d+/ is seen, but the client may
have sent more lines (in fact IE does send more lines as part of the initial
request). But your code stops reading the request as soon as it sees /CONNECT
(.*):\d+/, leaving an unknown amount of data in the perl and/or OS buffers.
I thoink you should absorb the entire CONNECT request (until \r\n\r\n) before
starting SSL.
I am not convinced this is a Net::SSLeay problem.
Cheers.
On Friday 24 February 2006 17:26, aflab at free.fr wrote:
> Hello,
>
> Selon Mike McCauley <mikem at open.com.au>:
> > I havent been able to reproduce this problem, but since you did not post
> > your entire program, I cant be sure if we are doing things the same way.
>
> Ok in attachment this is a simple example.
>
> > Also, you dont mention which version of net_ssleay or openssl you are
> > using.
>
> Tested on
>
> This is perl, v5.8.5 built for i386-linux-thread-multi
> perl -MNet::SSLeay -e 'print $Net::SSLeay::VERSION,"\n"'
> 1.25
> OpenSSL 0.9.7a Feb 19 2003
>
>
>
> And
>
>
> This is perl, v5.8.7 built for i686-linux-thread-multi
> perl -MNet::SSLeay -e 'print $Net::SSLeay::VERSION,"\n"'
> 1.30
> OpenSSL 0.9.7h 11 Oct 2005
>
>
>
>
> Thanks for your help
--
Mike McCauley mikem at open.com.au
Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au
Phone +61 7 5598-7474 Fax +61 7 5598-7070
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP etc on Unix, Windows, MacOS, NetWare etc.
More information about the Net-ssleay-devel
mailing list