-
Notifications
You must be signed in to change notification settings - Fork 6
/
wired.conf.in
158 lines (121 loc) · 4.37 KB
/
wired.conf.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# wired.conf
### SERVER ############################################################
# Name of the server.
# (default "Wired Server")
name = Wired Server
# A short description of the server.
# (default "Wired Server")
description = Wired Server
# A specific address to bind to, instead of binding to all available
# addresses. Can be specified more than once, for each address the
# server should listen on.
# (no default)
#address = localhost
# Port number to listen on.
# (default 4871)
port = 4871
# Automatically map port using NAT-PMP or UPnP if available.
# (default "no")
map port = no
# Name or id of the user that the server should operate as.
# (default "wired")
user = nark
# Name or id of the group that the server should operate as.
# (default "daemon")
group = daemon
# Ask the server to accept or not incoming connections
# that do not use an SSL encryption cipher.
# (default yes)
force encryption = yes
# Ask the server to only accept connections from
# the preferred cipher. If -1 is selected, all encryption
# ciphers are accepted.
#
# Supported ciphers:
#
# ALL = -1
# RSA-AES128-SHA1 = 0 (deprecated)
# RSA-AES192-SHA1 = 1 (deprecated)
# RSA-AES256-SHA1 = 2 (legacy)
# RSA-BF128-SHA1 = 3 (deprecated)
# RSA-3DES192-SHA1 = 4 (deprecated)
# RSA-AES128-SHA256 = 5 (deprecated)
# RSA-AES192-SHA256 = 6 (recommended)
# RSA-AES256-SHA256 = 7 (recommended)
# RSA-BF128-SHA256 = 8 (deprecated)
# RSA-3DES192-SHA256 = 9 (deprecated)
# RSA-AES128-SHA512 = 10 (deprecated)
# RSA-AES192-SHA512 = 11 (recommended)
# RSA-AES256-SHA512 = 12 (recommended)
# RSA-BF128-SHA512 = 13 (deprecated)
# RSA-3DES192-SHA512 = 14 (deprecated)
#
# (default -1)
preferred cipher = -1
### DATABASE #############################################################
# If set, snapshots database every 'snapshot time'.
# (default yes)
snapshots = yes
# If set, snapshots database after this many seconds. Without it, snapshots
# will use the default value.
# (default 86400)
snapshot time = 86400
### EVENTS #############################################################
# Older events will be automatically deleted after 'events time'.
# Accepted values for 'events time' are: none, daily, weekly, monthly,
# yearly.
# (default "none")
events time = none
### FILES #############################################################
# Path to the files directory.
# (default "files")
files = files
# If set, indexes files after this many seconds. Without it, no
# automatic indexing takes place.
# (default 14400)
# index time = 14400
### TRANSFERS #########################################################
# Maximum number of downloads across all clients.
# (default 10)
total downloads = 10
# Maximum number of uploads across all clients.
# (default 10)
total uploads = 10
# Maximum total speed of downloads in bytes/sec.
# (no default)
#total download speed = 100000
# Maximum total speed of uploads in bytes/sec.
# (no default)
#total upload speed = 50000
### TRACKERS ##########################################################
# If set, registers with all configured trackers.
# (default "no")
register = no
# A URL of a tracker to register with. The tracker is connected to at
# startup, and then periodically informed with status updates. The
# path of the URL is the category to register as. Can be specified more
# than once, for each tracker that the server should register with.
# (default "wired://wired.read-write.fr/")
tracker = wired://wired.read-write.fr/
# IP address to send to the tracker. If this is not set, the tracker
# will automatically register the server as the originating IP address.
# Set this to your external address if you're on the same subnet as the
# tracker, and you're using private addresses behind a firewall.
# (no default)
# ip = 127.0.0.1
# If set, enables the tracker.
# (default "no")
enable tracker = no
# Categories that servers can register with on this tracker. Can be
# specified more than once, for each category. Use "/" to separate
# subcategories.
# (no default)
# category = Category
# category = Category/Subcategory
### PATHS #############################################################
# Paths that do not begin with a / are taken to be relative the root
# path (-d flag).
# Path to an image file that will be sent to clients as the banner.
# PNG file format is recommended. Maximum image size is 200x32 pixels.
# (no default)
banner = banner.png