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/01/31 22:55:00 UTC

[jira] [Created] (GEODE-4450) setting a client/server diffie-hellman algorithm breaks client/server subscriptions

Bruce Schuchardt created GEODE-4450:
---------------------------------------

             Summary: 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


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)