]>
Commit | Line | Data |
---|---|---|
d3372da9 | 1 | # Dolda Connect default configuration file |
2 | ||
3 | # Default nick name | |
4 | set cli.defnick DoldaConnectUser | |
5 | ||
6 | # Net mode: | |
7 | # 0 - Active | |
8 | # 1 - Passive | |
9 | # 2 - Will be SOCKS proxy when implemented | |
10 | set net.mode 0 | |
11 | ||
12 | # If 1, then accept UI connections only over the loopback interface | |
13 | set 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) | |
16 | set auth.authless 0 | |
17 | ||
18 | set 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) | |
30 | set dc.speedstring LAN(T1) | |
31 | # Description string: | |
32 | set dc.desc Dolda Connect User | |
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 | 35 | share Video /home/pub/video |
36 | share 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". | |
52 | ||
53 | # In this default configuration, the user called "youruser" (that is, change it), | |
54 | # has all privileges except, of course, "disallow", and all other users are disallowed from logging in. | |
55 | user default disallow | |
56 | user youruser all -disallow |