fix #3704
[oweals/gnunet.git] / src / fs / fs.conf.in
1 [fs]
2 AUTOSTART = @AUTOSTART@
3 FORCESTART = YES
4 INDEXDB = $GNUNET_DATA_HOME/fs/idxinfo.lst
5 RESPECT = $GNUNET_DATA_HOME/fs/credit/
6 STATE_DIR = $GNUNET_DATA_HOME/fs/persistence/
7 UPDATE_DIR = $GNUNET_DATA_HOME/fs/updates/
8 @UNIXONLY@ PORT = 2094
9 HOSTNAME = localhost
10 BINARY = gnunet-service-fs
11 ACCEPT_FROM = 127.0.0.1;
12 ACCEPT_FROM6 = ::1;
13
14 # Do we introduce artificial delays? (may improve anonymity)
15 DELAY = YES
16
17 # Do we cache content from other nodes? (may improve anonymity)
18 CONTENT_CACHING = YES
19
20 # Do we send unsolicited data to other nodes if we have excess bandwidth?
21 # (may improve anonymity, probably not a good idea if content_caching is NO)
22 CONTENT_PUSHING = YES
23
24 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-fs.sock
25
26 # Do we require users that want to access file-sharing to run this process
27 # (usually not a good idea)
28 UNIX_MATCH_UID = NO
29
30 # Do we require users that want to access file-sharing to be in the 'gnunet' group?
31 UNIX_MATCH_GID = YES
32
33 # Maximum number of requests this peer tracks (important for
34 # memory consumption; 2k RAM/request is not unusual)
35 MAX_PENDING_REQUESTS = 65536
36
37 # How many requests do we have at most waiting in the queue towards
38 # the datastore? (important for memory consumption)
39 DATASTORE_QUEUE_SIZE = 1024
40
41 # Maximum frequency we're allowed to poll the datastore
42 # for content for migration (can be used to reduce
43 # GNUnet's disk-IO rate)
44 MIN_MIGRATION_DELAY = 100 ms
45
46 # For how many neighbouring peers should we allocate hash maps?
47 EXPECTED_NEIGHBOUR_COUNT = 128
48
49 # Disable anonymous file-sharing (but keep non-anonymous transfers)?
50 # This option is mostly for testing.
51 DISABLE_ANON_TRANSFER = NO
52
53 # Maximum number of non-anonymous transfers this peer will support
54 # at the same time.  Excessive values mostly have the problem that
55 # the service might use more memory, so we need to bound this at
56 # some reasonable level.  And if we have a very, very large
57 # number, we probably won't have enough bandwidth to suppor them
58 # well anyway, so better have a moderate cap.
59 MAX_CADET_CLIENTS = 128
60
61
62 [gnunet-auto-share]
63 BINARY = gnunet-auto-share
64 FORCESTART = NO
65
66 # Note: MUST specify path to auto-share directory and CAN specify other options
67 # to gnunet-auto-share here!
68 OPTIONS = $GNUNET_DATA_HOME/fs/share/