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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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 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 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Backport SNIFF. It's half a page of code, and such a backport should be
trivial.
On 05/04/17 12:13, Rajesh wrote:
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 ?
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
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:
--
Bela Ban, JGroups lead (http://www.jgroups.org)
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 ?
Backport SNIFF. It's half a page of code, and such a backport should be
trivial.
On 05/04/17 12:13, Rajesh wrote:
--
Bela Ban, JGroups lead (http://www.jgroups.org)