Project

General

Profile

Server Configuration - tinyidsd

TinyIDS ships with a default configuration file for tinyidsd, located at /etc/tinyids/tinyidsd.conf.default

It is highly recommended that you do not edit that file, because this file will be overwritten after a TinyIDS upgrade. Instead, you should create a copy of this file and save it at the default location where tinyidsd searched for its configuration file:

cp /etc/tinyids/tinyidsd.conf.default /etc/tinyids/tinyidsd.conf

Now open /etc/tinyids/tinyidsd.conf in your favorite text editor make your modifications.

tinyidsd Configuration Options

db_path
The path to the database file. The server process should have read/write permission on this location

db_path = /var/lib/tinyids/tinyids.db

interface
Interface on which the server should bind

interface = 0.0.0.0

port
Port on which the server should bind

port = 10500

user
It is recommended to create a dedicated user which will be used to run tinyidsd. If you set a user/group combination here, make sure they exist in the system. If the 'user' option is left blank, the server will not drop privilieges and will continue to run as user that launched it.

user = tinyids

group
If the server drops privileges, this is the group that will be used for the server process.

group = tinyids

logfile
Logfile path

logfile = /var/log/tinyidsd.log

loglevel
Logfile level

loglevel = debug

debug_protocol
If this option is enabled and tinyidsd is launched with the --debug switch or the logfile level is set to 'debug', all communication with the clients be printed to STDERR or to the logfile respectively. Note that using this option all sensitive information, like passphrases, is printed without any encryption.

debug_protocol = 0

use_keys
If 'use_keys' is enabled, then the server client communication will be encrypted using public key infrastructure. Make sure you distribute the server's public key to the clients.

use_keys = 0

keys_dir
Directory where the keys should be searched or created if missing.

keys_dir = /etc/tinyids/keys/

key_bits
Set the bit length of the generated keys.

key_bits = 384