Menu

How to check if the message going through the Jgroups is encrypted or not ?

Rajesh
2017-04-05
2017-04-05
  • Rajesh

    Rajesh - 2017-04-05

    Hi,

    We are working on a product in which we use Jgroups for muticast communication. We have enabled JGroup security using SYM_ENCRYPT and keystore approach. We want to check if the message transfer beteen different node of the cluster through JGroups is encrypted or not. Is there any way using which we can check if the messages are getting encrypted or not ?

    Thanks,
    Rajesh

     
    • Bela Ban

      Bela Ban - 2017-04-05

      I suggest that you write a demo app which sends simple strings between
      members. You could use the Chat demo shipped with JGroups, as it sends
      chat messages as simple strings.

      Then add a protocol such as SNIFF [1] above SYM_ENCRYPT so that it
      should see unencrypted data and print the strings.

      Next, move SNIFF below SYM_ENCRYPT. It should now not be able to print
      the strings, but only garbage as the data is encrypted.

      [1]
      https://github.com/belaban/JGroups/blob/master/src/org/jgroups/protocols/SNIFF.java

      On 05/04/17 08:18, Rajesh wrote:

      Hi,

      We are working on a product in which we use Jgroups for muticast
      communication. We have enabled JGroup security using SYM_ENCRYPT and
      keystore approach. We want to check if the message transfer beteen
      different node of the cluster through JGroups is encrypted or not. Is
      there any way using which we can check if the messages are getting
      encrypted or not ?

      Thanks,
      Rajesh


      How to check if the message going through the Jgroups is encrypted or
      not ?
      https://sourceforge.net/p/javagroups/discussion/18794/thread/22883b21/?limit=25#f203


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/javagroups/discussion/18794/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Bela Ban, JGroups lead (http://www.jgroups.org)

       
  • Rajesh

    Rajesh - 2017-04-05

    Thanks for the quick response. SNIFF is available from versions later than 3.6.10. If we want to see the message in earlier versions with ENCRYPT, do we have any similar mechanism ?

     

Log in to post a comment.