Move INSTALL to doc/.
[doldaconnect.git] / config / doldacond.conf
CommitLineData
d3372da9 1# Dolda Connect default configuration file
2
3# Default nick name
4set cli.defnick DoldaConnectUser
5
749b9098 6# Shares: The syntax is "share sharename sharepath", where sharename
7# is the name of the share as the peers see it, and sharepath is the
8# local path to the shared files.
9share Video /home/pub/video
10share Music /home/pub/audio
11
d3372da9 12# Net mode:
13# 0 - Active
14# 1 - Passive
15# 2 - Will be SOCKS proxy when implemented
16set net.mode 0
17
749b9098 18# If -1, the daemon will not listen for UI connections over TCP at all
19# (only on a local Unix socket). Please comment the following line to
20# enable listening for TCP UI connections on the default port, but
21# read the INSTALL file first.
22set ui.port -1
23
d3372da9 24# If 1, then accept UI connections only over the loopback interface
25set ui.onlylocal 0
26
27# If 1, then enable authenticationless login (don't use without turning on ui.onlylocal, unless you know what you're doing)
28set auth.authless 0
29
30set transfer.slots 6
31
32
33# Settings specific to the Direct Connect network:
34
35# Valid strings are:
36# 56Kbps
37# Satellite
38# DSL
39# Cable
40# LAN(T1)
41# LAN(T3)
42set dc.speedstring LAN(T1)
43# Description string:
1b1d1616 44set dc.desc "Dolda Connect User"
d3372da9 45
d3372da9 46# Allowed users and privileges
47# Syntax is "user username [-]privs..."
48# username can be default to match any user that doesn't match the other entries
49# privs can be any of the following:
50# disallow - The only negative permission, which disallows a user from logging in
51# admin - Involves commands controlling the function of the daemon, such as shutting it down remotely
52# fnetctl - Allows connecting and disconnecting fnetnodes (or "Hubs")
53# trans - Allows queuing of transfers
54# transcu - Allows cancelling of uploads
55# chat - Allows sending and receiving of chat messages
56# srch - Allows submitting of search requests
57# all - Equivalent of specifying all the above permissions, including disallow
58# A minus sign preceding a privilege specification revokes that privilege (or, for "all", revokes all privileges, _including_ "disallow").
59# The privileges are scanned from left to right, so "all -disallow" is not the same as "-disallow all".
8c98a2a1 60#
61# By default, if the daemon is not running as root, it will allow the
62# user as which it is running, and noone else. If that matches your
63# setup, there is no need to add any user directives.
64#
65# If, on the other hand, you run your daemon as root, use the
66# following template and add the users you want with the privileges
67# you want.
68#user default disallow
69#user youruser all -disallow