Bug in s_client when talking POP3 protocol?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in s_client when talking POP3 protocol?

Johann Myrkraverk Oskarsson
Hi all,

When I use openssl s_client to talk to pop servers, I get

RENEGOTIATING
27229:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake failure:s3_pkt.c:539:

when I use the RETR command.  This is not a problem if I use TOP to show the entire message.  It happens both when I talk to pop.myopera.com and pop.aol.com.

Is this a bug in the s_client?  Complete sessions can be seen here:

  http://www.myrkraverk.com/~johann/pop.myopera.com.session.txt

--
  Johann

  I'm not from the internet, I just work there.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Bug in s_client when talking POP3 protocol?

Johann Myrkraverk Oskarsson
Hi,

On Thu, Jan 26, 2012, at 02:14 PM, Johann Myrkraverk Oskarsson wrote:

> When I use openssl s_client to talk to pop servers, I get
>
> RENEGOTIATING
> 27229:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake
> failure:s3_pkt.c:539:
>
> when I use the RETR command.

I found out this is an "expected" behaviour in the man page in the following obscure part:

CONNECTED COMMANDS
     If a connection is established with an SSL server then any
     data received from the server is displayed and any key
     presses will be sent to the server. When used interactively
     (which means neither -quiet nor -ign_eof have been given),
     the session will be renegotiated if the line begins with an
     R, and if the line begins with a Q or if end of file is
     reached, the connection will be closed down.

Adding -quiet to the command line suppresses this behaviour.  Hopefully this message will help someone googling in the future.


--
  Johann

  I'm not from the internet, I just work there.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Bug in s_client when talking POP3 protocol?

nicksif
This post has NOT been accepted by the mailing list yet.
Hi Johann,

It helped me, thanks!

Nick