Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A arachni
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 125
    • Issues 125
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arachni - Web Application Security Scanner Framework
  • arachni
  • Wiki
  • Guides
  • User
  • RPC server

RPC server · Changes

Page history
Updated RPC-server (markdown) authored Jun 22, 2013 by Tasos Laskos's avatar Tasos Laskos
Hide whitespace changes
Inline Side-by-side
guides/user/RPC-server.md
View page @ 2279e2e6
......@@ -19,6 +19,7 @@ your own client using the [[RPC API]]._
* [Simple](#setup-simple)
* [Grid](#setup-grid)
* [Load balancing](#setup-grid-load-balancing)
* [Example](#setup-grid-load-balancing-example)
* [Line Aggregation](#setup-grid-line-aggregation)
* [Example](#setup-grid-line-aggregation-example)
* [Mock example](#setup-grid-line-aggregation-mock-example)
......@@ -35,8 +36,32 @@ This will bind on `localhost:7331` by default.
### <a id="setup-grid" href="#setup-grid">Grid</a>
A grid is a network of interconnected Dispatchers which can be quite useful when
dealing with large workloads.
#### <a id="setup-grid-load-balancing" href="#setup-grid-load-balancing">Load balancing</a>
Load balancing is the default operation of the Grid; nomatter which member receives
the [dispatch](http://rubydoc.info/github/Arachni/arachni/Arachni/RPC/Server/Dispatcher#dispatch-instance_method) call, the Instance will be provided by the least burdened member.
This is completely transparent to the client and allows you to easily scale up
your operation by simply adding more Dispatchers to the Grid, as necessary.
##### <a id="setup-grid-load-balancing-example" href="#setup-grid-load-balancing-example">Example</a>
Starting the first Dispatcher:
arachni_rpcd --nickname="My Dispatcher" --address=192.168.0.1
Adding more in order to form a Grid:
arachni_rpcd --nickname="My second Dispatcher" --address=192.168.0.2 --neighbour=192.168.0.1:7331
Lather, rinse, repeat:
arachni_rpcd --nickname="My third Dispatcher" --address=192.168.0.3 --neighbour=192.168.0.2:7331
arachni_rpcd --nickname="My fourth Dispatcher" --address=192.168.0.4 --neighbour=192.168.0.3:7331
#### <a id="setup-grid-line-aggregation" href="#setup-grid-line-aggregation">Line aggregation</a>
In order to connect the Dispatchers into a grid you'll need to:
......@@ -52,7 +77,7 @@ After that, they will build and maintain their network themselves.
##### <a id="setup-grid-line-aggregation-example" href="#setup-grid-line-aggregation-example">Example</a>
Running the first Dispatcher:
Starting the first Dispatcher:
arachni_rpcd --pipe-id="Pipe 1" --nickname="My Dispatcher" --address=192.168.0.1
......@@ -63,7 +88,7 @@ Adding more in order to form a Grid:
Lather, rinse, repeat:
arachni_rpcd --pipe-id="Pipe 3" --nickname="My third Dispatcher" --address=192.168.0.3 --neighbour=192.168.0.2:7331
arachni_rpcd --pipe-id="Pipe 4" --nickname="My forth Dispatcher" --address=192.168.0.4 --neighbour=192.168.0.3:7331
arachni_rpcd --pipe-id="Pipe 4" --nickname="My fourth Dispatcher" --address=192.168.0.4 --neighbour=192.168.0.3:7331
##### <a id="setup-grid-line-aggregation-mock-example" href="#setup-grid-line-aggregation-mock-example">Mock example</a>
......
Clone repository

Pages [all]

  • Home
  • Installation instructions
  • For users
    • Executables
    • Command Line Interface
    • Web User Interface
    • Distributed components (Dispatchers and Instances)
      • RPC Client
      • RPC Server (Dispatcher)
  • For developers
    • Coding guidelines
    • Core API documentation
    • RPC API
    • Development environment

Can't find what you're looking for? Why not have a look at the support portal?