pica-node.conf
Section: File Formats (5)
Index
NAME
pica-node.conf – pica-node configuration file
SYNOPSIS
/etc/pica-node.conf
DESCRIPTION
pica-node(8)
reads configuration data from
/etc/pica-node.conf
(or the
file specified with -f on the command line). The file has .INI file format.
All options must be contained in
[pica-node]
section. The possible options and their meanings are as follows:
- announced_addr
- Network address that can be used to reach this instance of pica-node.
Can be specified in form of DNS name or IP adress (Right now only IPv4
address format is supported. IPv6 and domain name support will be added in
future releases). If the computer running pica-node is behind the NAT, externalpublic address of NAT machine must be specified and port forwarding must be
configured. Default value is “autoconfigure” which makes pica-node try to guess
its external IP address. If pica-node is build with miniupnpc support, it will
try to employ UPnP protocol to get external IP from the router and enable port
forwarding.
- listen_port
- Specifies the port number that
pica-node(8)listens on. The default is 2299 - nodes_db_file
- Specifies the nodes database file. This is the SQLite 3 database. It stores
info about available nodes (their address, port, last seen online, etc).
The default is
/var/lib/pica-node/nodelist.db - dh_param_file
- Specifies the path to DH parameters file in .pem format. The default is
/usr/share/pica-node/dhparam4096.pem - disable_reserved_addrs
- Disables usage of reserved IP ranges (127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16 and others).
If such address is received from other node or is set as “announced_addr” value, it will be
rejected. This option can be set to “yes” or “no”. Default is “yes”.
AUTHOR
Anton Sviridenko (anton (at) picapica.im)
SEE ALSO
Time: 15:33:29 GMT, March 14, 2019