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