This project is no longer maintained nor used by Arachni, it has been substituted by Arachni-RPC.
Version | 0.2 |
---|---|
Github page | http://github.com/Arachni/arachni-rpc-em |
Code Documentation | http://rubydoc.info/github/Arachni/arachni-rpc-em/ |
Author | Tasos "Zapotek" Laskos (@Zap0tek) |
@ArachniScanner | |
Copyright | 2011-2013 |
License | 3-clause BSD |
Arachni-RPC EM is an implementation of the Arachni-RPC
protocol using EventMachine and provides both a server and a client.
It's capable of:
- Performing and handling a few thousand requests per second (depending on call size, network conditions and the like).
- Operating over TCP/IP and UNIX domain sockets.
- Configurable retry-on-failure for requests.
- Keep-alive and connection re-use.
- TLS encryption (with peer verification).
- Asynchronous and synchronous requests.
- Handling server-side asynchronous calls that require a block (or any method that passes its result to a block instead of returning it).
- Token-based authentication.
- Primary and secondary/fallback serializers
- Server will expect the Client to use the primary serializer, if the Request cannot be parsed using the primary one, it will revert to using the fallback to parse the Request and serialize the Response.
The files in the examples/
directory go through everything in great detail.
Also, the tests under spec/arachni/rpc/
cover everything too so they can
provide you with hints.
gem install arachni-rpc-em
If you want to clone the repository and work with the source code:
git co git://github.com/arachni/arachni-rpc-em.git
cd arachni-rpc-em
bundle install
bundle exec rake spec
Warning: Some of the test cases include stress-testing, don't be alarmed when RAM usage hits 5GB and CPU utilization hits 100%.
Please send your feedback using GitHub's issue system at http://github.com/arachni/arachni-rpc-em/issues.
Arachni-RPC EM is provided under the 3-clause BSD license.
See the LICENSE file for more information.