All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
mod-radmin: Administrative and status module for turbulence


mod-radmin is a C turbulence module that provides administrators the hability to check internal turbulence status and to do some administrative tasks like reloading.

Configuring mod-radmin module (server side), long version

The following allows to setup a secure mod-radmin configuration that will allow root users to connect to local server.

To do, so just run the following script bundled with turbulence. It is assumed you have turbulence installed on the system.


After this command is successfully run (follow all instructions), you can start turbulence-ctl as usual.

Configuring mod-radmin module (server side), long version

After enabling the module (see 4.3 Enable a turbulence module), you need to configure a profile path inside turbulence.conf file to allow the profile used by mod-radmin from the locations you want.

Maybe the simpliest way to enable mod-radmin is to allow its usage without passwords only from localhost. This is the best method when developing, but it is really insecure when using Turbulence in production/hostile environment (even only allowing connections from localhost, because that address is accesible to code that runs Turbulence).

Here is how to enable mod-radmin for localhost. Add the following profile path declaration inside <profile-path-configuration> node, found in turbulence.conf file:

<path-def server-name="localhost" src="" path-name="local radmin">
<allow profile="" />

You must ensure this is the first declaration that matches serverName="localhost". If you want to be able to connect with the address (, change server-name declaration.

A more secure mod-radmin configuration will be to use TLS to secure the connection, and SASL to ask for a password before allowing mod-radmin. This method is the recommended for production because allows connecting from any place. Here is how to enable mod-radmin with TLS+SASL:

<path-def server-name="" src=".*" path-name="remote radmin">
<if-success profile="" >
<if-success profile="*" connmark="sasl:is:authenticated" >
<allow profile="" />

NOTE: check mod-sasl documenation to know how to configure a user database that authenticates connections for mod-radmin and mod-tlsdocumentation" to know how to configure the certificate and key to use to secure the connection.

IMPORTANT NOTE: You must configure the profile path that holds mod-radmin without separate="yes". This is because the module must execute in the parent process.

If you configure separate="yes", the module will be activated on child process, making registered profile to be not available (child process can't receive connections, only parents do).

Using mod-radmin (client side)

Assuming you have a Turbulence with mod-radmin enabled, you just connect with:

>> turbulence-ctl
I: connecting turbulence at localhost:602..
I: connected OK!

Now get connections available at this moment and its activity:

tbc-ctl:localhost:602> show connections
>>> Connection list <<<
proc-id conn-id role source dest channels opened ppath auth id last activity bytes recv bytes sent
------- ------- -------- --------------- ------------- --------------- ------------ ------- ------------------------ ---------- ----------
28693 1 master -1 - - - 0 0
28693 2 master -1 - - - 0 0
28693 3 master -1 - - - 0 0
28693 7 listener 2 local radmin - Tue Aug 23 17:18:10 2011 377 1711
28702 7 listener 3 core-admin - Tue Aug 23 17:17:58 2011 1041 603

Write "help" or press to autocomplete two times to get commands autocompleted.

Usual problems found while using mod-radmin

Why I don't see connections or childs?

Check you you have declared profile path supporting mod-radmin without using separate="yes".