Akka remote actors filter connections by IP

I'm trying to add security to my remote actors. I've set untrusted-mode: http://doc.akka.io/docs/akka/snapshot/scala/remoting.html

Is it possible to add IP filtering, to allow connection only from specific server? For example I have one master and 10 slaves, I want to allow only for my master (specific IP) to connect my slaves.

In open source everyone could just create a new instance of my master, and connect to my real slaves. How can make it secure?


Using IP filtering is not very secure as it's easy to fake an IP. Luckily Akka comes with secure transport support via SSL and secure cookie support.

A cookie is like an API key and will be required to establish the connection. SSL will guarantee eavesdropping is not possible to steal the secure cookie. See this doc for example.

I made a simple project that uses Akka remoting and SSL with secure cookie. Try it out here. Read how to setup SSL certificate storage and such here.

Need Your Help

UIImageView Animation Stopping in UITableView

iphone cocoa-touch uikit

I have a UIImageView inside of a UITableViewCell. The UIImageView animates. For some odd reason, when the cell goes out of view, the animation stops. The UIImageView is never initialized again and ...

symfony2 application, vagrant & ant: stty: standard input: Invalid argument

php ant symfony phpunit stty

I am trying to move my development environment (symfony2 application) from my windows 7 localhost to a virtual machine using vagrant and the default ubuntu 10.04 64 bit machine. Everything is set u...