Xmlrpc - get caller's IP address in handler?


I have an xmlrpc standalone server created using

XMLRPC::Server#add_handler( interface, obj )

It all works nicely, but I really want to log the address of the calling
machine as they hit the handler method (I’m using the service to provide
a kind of port knocking in addition to another service). Is there any
way of getting this information?



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs