mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ali (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRMINA-891) SSLHandler throws SSLException during handshake that sequence number triggers
Date Fri, 04 May 2012 23:51:49 GMT

    [ https://issues.apache.org/jira/browse/DIRMINA-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268808#comment-13268808

Ali commented on DIRMINA-891:

I added simple MINA server and client project. But in order to reproduce error, some modifications
is needed in jsse.jar of JDK. 

 - Rehandshake trigger of sequence number decreased to 0xf00 (not to wait!)
 - Also two bugs those I reported to Oracle are resolved.

Modified jsse.jar and edited classes are added as attachment. 

And here is java version that i used:

java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode)
> SSLHandler throws SSLException during handshake that sequence number triggers
> -----------------------------------------------------------------------------
>                 Key: DIRMINA-891
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-891
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.3, 2.0.4
>            Reporter: Ali
>         Attachments: MINARehandshake.zip, jsse.jar, sun.security.ssl.zip
> During second re-handshake that triggered to avoid sequence number overlap by SSLEngine,
SSLEngine's unwrap method may return SSLEngineResult with BUFFER_OVERFLOW status and NEED_WRAP
handshake status.
> In this case checkStatus method of SSLHandler will throw SSLException.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message