Add manpage comment.
[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
31# If 1, then enable authenticationless login (don't use without turning on ui.onlylocal, unless you know what you're doing)
32set auth.authless 0
33
34set transfer.slots 6
35
36
37# Settings specific to the Direct Connect network:
38
39# Valid strings are:
40# 56Kbps
41# Satellite
42# DSL
43# Cable
44# LAN(T1)
45# LAN(T3)
46set dc.speedstring LAN(T1)
47# Description string:
1b1d1616 48set dc.desc "Dolda Connect User"
d3372da9 49
d3372da9 50# Allowed users and privileges
51# Syntax is "user username [-]privs..."
52# username can be default to match any user that doesn't match the other entries
53# privs can be any of the following:
54# disallow - The only negative permission, which disallows a user from logging in
55# admin - Involves commands controlling the function of the daemon, such as shutting it down remotely
56# fnetctl - Allows connecting and disconnecting fnetnodes (or "Hubs")
57# trans - Allows queuing of transfers
58# transcu - Allows cancelling of uploads
59# chat - Allows sending and receiving of chat messages
60# srch - Allows submitting of search requests
61# all - Equivalent of specifying all the above permissions, including disallow
62# A minus sign preceding a privilege specification revokes that privilege (or, for "all", revokes all privileges, _including_ "disallow").
63# The privileges are scanned from left to right, so "all -disallow" is not the same as "-disallow all".
8c98a2a1 64#
65# By default, if the daemon is not running as root, it will allow the
66# user as which it is running, and noone else. If that matches your
67# setup, there is no need to add any user directives.
68#
69# If, on the other hand, you run your daemon as root, use the
70# following template and add the users you want with the privileges
71# you want.
72#user default disallow
73#user youruser all -disallow