Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

monitoring RMI calls (by sniffing)  RSS feed

 
amnon shaham
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to get the coller <object, method> by monitoring the RMI traffic only by sniffing the net?
If not, does someone know how can I monitor the RMI calls and get the caller and the callee details together with the response time of the call.
Thx,
Amnon
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes and no. A Remote object's methods are available for invocation through a socket. If you know the primitives of the JRMP protocol, you could sniff this traffic and discern some of the data in transit.
This is one reason people dig into RMI a little bit and set their own socket factories in, typically factories that install SSL-based sessions.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!