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