fs.conf.in 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. [fs]
  2. START_ON_DEMAND = @START_ON_DEMAND@
  3. IMMEDIATE_START = 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. # PREFIX = valgrind
  14. # Do we introduce artificial delays? (may improve anonymity)
  15. DELAY = YES
  16. # Do we cache content from other nodes? (may improve anonymity)
  17. CONTENT_CACHING = YES
  18. # Do we send unsolicited data to other nodes if we have excess bandwidth?
  19. # (may improve anonymity, probably not a good idea if content_caching is NO)
  20. CONTENT_PUSHING = YES
  21. UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-fs.sock
  22. # Do we require users that want to access file-sharing to run this process
  23. # (usually not a good idea)
  24. UNIX_MATCH_UID = NO
  25. # Do we require users that want to access file-sharing to be in the 'gnunet' group?
  26. UNIX_MATCH_GID = YES
  27. # Maximum number of requests this peer tracks (important for
  28. # memory consumption; 2k RAM/request is not unusual)
  29. MAX_PENDING_REQUESTS = 65536
  30. # How many requests do we have at most waiting in the queue towards
  31. # the datastore? (important for memory consumption)
  32. DATASTORE_QUEUE_SIZE = 32
  33. # Maximum frequency we're allowed to poll the datastore
  34. # for content for migration (can be used to reduce
  35. # GNUnet's disk-IO rate)
  36. MIN_MIGRATION_DELAY = 100 ms
  37. # For how many neighbouring peers should we allocate hash maps?
  38. EXPECTED_NEIGHBOUR_COUNT = 128
  39. # Disable anonymous file-sharing (but keep non-anonymous transfers)?
  40. # This option is mostly for testing.
  41. DISABLE_ANON_TRANSFER = NO
  42. # Maximum number of non-anonymous transfers this peer will support
  43. # at the same time. Excessive values mostly have the problem that
  44. # the service might use more memory, so we need to bound this at
  45. # some reasonable level. And if we have a very, very large
  46. # number, we probably won't have enough bandwidth to support them
  47. # well anyway, so better have a moderate cap.
  48. MAX_CADET_CLIENTS = 128
  49. [gnunet-auto-share]
  50. BINARY = gnunet-auto-share
  51. IMMEDIATE_START = NO
  52. # Note: MUST specify path to auto-share directory and CAN specify other options
  53. # to gnunet-auto-share here!
  54. OPTIONS = $GNUNET_DATA_HOME/fs/share/