aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs.conf.in
blob: 7c483a44988f6357244f1db5db0e58f7e5a2b4d0 (plain) (blame)
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
[fs]
START_ON_DEMAND = @START_ON_DEMAND@
FORCESTART = YES
INDEXDB = $GNUNET_DATA_HOME/fs/idxinfo.lst
RESPECT = $GNUNET_DATA_HOME/fs/credit/
STATE_DIR = $GNUNET_DATA_HOME/fs/persistence/
UPDATE_DIR = $GNUNET_DATA_HOME/fs/updates/
@UNIXONLY@ PORT = 2094
HOSTNAME = localhost
BINARY = gnunet-service-fs
ACCEPT_FROM = 127.0.0.1;
ACCEPT_FROM6 = ::1;

# Do we introduce artificial delays? (may improve anonymity)
DELAY = YES

# Do we cache content from other nodes? (may improve anonymity)
CONTENT_CACHING = YES

# Do we send unsolicited data to other nodes if we have excess bandwidth?
# (may improve anonymity, probably not a good idea if content_caching is NO)
CONTENT_PUSHING = YES

UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-fs.sock

# Do we require users that want to access file-sharing to run this process
# (usually not a good idea)
UNIX_MATCH_UID = NO

# Do we require users that want to access file-sharing to be in the 'gnunet' group?
UNIX_MATCH_GID = YES

# Maximum number of requests this peer tracks (important for
# memory consumption; 2k RAM/request is not unusual)
MAX_PENDING_REQUESTS = 65536

# How many requests do we have at most waiting in the queue towards
# the datastore? (important for memory consumption)
DATASTORE_QUEUE_SIZE = 32

# Maximum frequency we're allowed to poll the datastore
# for content for migration (can be used to reduce
# GNUnet's disk-IO rate)
MIN_MIGRATION_DELAY = 100 ms

# For how many neighbouring peers should we allocate hash maps?
EXPECTED_NEIGHBOUR_COUNT = 128

# Disable anonymous file-sharing (but keep non-anonymous transfers)?
# This option is mostly for testing.
DISABLE_ANON_TRANSFER = NO

# Maximum number of non-anonymous transfers this peer will support
# at the same time.  Excessive values mostly have the problem that
# the service might use more memory, so we need to bound this at
# some reasonable level.  And if we have a very, very large
# number, we probably won't have enough bandwidth to support them
# well anyway, so better have a moderate cap.
MAX_CADET_CLIENTS = 128


[gnunet-auto-share]
BINARY = gnunet-auto-share
FORCESTART = NO

# Note: MUST specify path to auto-share directory and CAN specify other options
# to gnunet-auto-share here!
OPTIONS = $GNUNET_DATA_HOME/fs/share/