You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2018/02/02 19:01:00 UTC
[jira] [Commented] (GEODE-4450) setting a client/server
diffie-hellman algorithm breaks client/server subscriptions
[ https://issues.apache.org/jira/browse/GEODE-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350810#comment-16350810 ]
Bruce Schuchardt commented on GEODE-4450:
-----------------------------------------
This feature was accidentally broken by [~jinmeiliao] in her fix for GEODE-1571, SHA 39c56843bdaa67f0df4dbbb9edc096e8cb4e12e6. That was on 30 june 2016. If there had been tests for this feature that change would have caused them to fail.
> setting a client/server diffie-hellman algorithm breaks client/server subscriptions
> -----------------------------------------------------------------------------------
>
> Key: GEODE-4450
> URL: https://issues.apache.org/jira/browse/GEODE-4450
> Project: Geode
> Issue Type: Improvement
> Components: client/server
> Reporter: Bruce Schuchardt
> Priority: Major
>
> Having found that there are no tests for the security-client-dhalgo setting I modified a test to use it. The client/server handshake in the subscription thread (cache client updater) hung on the server side trying to read client credentials.
> I tracked this down to CacheClientNotifier.registerClient, which sends a 105 byte to the client along with some other bytes in its writeMessage() method. The client isn't expecting this message and interprets the 105 as a failure to register with the server. The client then abandons the handshake and the server hangs until its read times out.
> See also GEODE-4353, which wants to deprecate this broken feature.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)