testbed.conf.in 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. [testbed]
  2. AUTOSTART = NO
  3. @JAVAPORT@ PORT = 2101
  4. HOSTNAME = localhost
  5. BINARY = gnunet-service-testbed
  6. # How long should operations wait?
  7. OPERATION_TIMEOUT = 30 s
  8. # Set this to the path where the testbed helper is installed. By default the
  9. # helper binary is searched in @prefix@/lib/gnunet/libexec/
  10. # HELPER_BINARY_PATH = @prefix@/lib/gnunet/libexec/gnunet-helper-testbed
  11. # Add your local network address here. For example, if you want to run
  12. # testbed on a group of hosts connected to network 192.168.1.0/24, then set
  13. # ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
  14. # Multiple network addresses can be given. They should be separated by `;'
  15. ACCEPT_FROM = 127.0.0.1;
  16. ACCEPT_FROM6 = ::1;
  17. UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-testbed.sock
  18. UNIX_MATCH_UID = YES
  19. UNIX_MATCH_GID = YES
  20. # How many maximum number of operations can be run in parallel. This number
  21. # should be decreased if the system is getting overloaded and to reduce the load
  22. # exerted by the emulation.
  23. MAX_PARALLEL_OPERATIONS = 1000
  24. MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 1
  25. # What topology should be generated by the helper functions GNUNET_TESTBED_run()
  26. # and GNUNET_TESTBED_test_run(). This option has no effect if testbed is
  27. # initialized with other functions. Valid values can be found at:
  28. # https://gnunet.org/content/supported-topologies
  29. OVERLAY_TOPOLOGY = NONE
  30. # Number of random links to be included to the generate the above topology.
  31. # Note that not all topologies require this option and ignore it. Topologies
  32. # requiring this option are RANDOM, SMALL_WORLD and SMALL_WORLD ring.
  33. # OVERLAY_RANDOM_LINKS =
  34. # This option is required if the OVERLAY_TOPOLOGY is set to FROM_FILE. It is
  35. # ignored for all other topologies. This option should contain the path to
  36. # the file containing the topology information. The format of the file is
  37. # presented at: https://gnunet.org/content/topology-file-format
  38. # OVERLAY_TOPOLOGY_FILE = /path/to/topology-file
  39. # The following options are required if the OVERLAY_TOPOLOGY is set to
  40. # SCALE_FREE. They are ignored in all other cases.
  41. # The number of maximum peers which can connect to a peer
  42. SCALE_FREE_TOPOLOGY_CAP = 70
  43. # The minimum number of peers which a peer has to connect
  44. SCALE_FREE_TOPOLOGY_M = 5
  45. # How many maximum number of handles to peers' services should be kept open at
  46. # any time. This number also keeps a check on the number of open descriptors as
  47. # opening a service connection results in opening a file descriptor.
  48. MAX_PARALLEL_SERVICE_CONNECTIONS = 256
  49. # Size of the internal testbed cache. It is used to cache handles to peers
  50. # while trying to connect them.
  51. CACHE_SIZE = 30
  52. # Maximum number of file descriptors a testbed controller is permitted to keep
  53. # open.
  54. MAX_OPEN_FDS = 512
  55. # How long should we wait for testbed to setup while using helper functions
  56. # GNUNET_TESTBED_test_run() and GNUNET_TESTBED_run()
  57. SETUP_TIMEOUT = 5 m
  58. # Where should testbed write load statistics data
  59. # STATS_DIR = /tmp/load
  60. # What services should be shared among peers.
  61. # Format is "[<service:share>] [<service:share>] ...". The shared services are
  62. # started standalone without any other peer services or a hostkey. For this
  63. # reason, only services which doesn't depend on other services can only be
  64. # shared. Example: To share peerinfo among every 10 peers. The following spec
  65. # will start 5 peerinfo services when 50 peers are started:
  66. #
  67. # SHARED_SERVICES = peerinfo:10
  68. #
  69. # To share multiple services
  70. #
  71. # SHARED_SERVICES = service1:n_share1 service2:n_share2 ...
  72. #
  73. # Default is to share no services
  74. SHARED_SERVICES =
  75. [testbed-logger]
  76. AUTOSTART = NO
  77. @UNIXONLY@ PORT = 2102
  78. HOSTNAME = localhost
  79. BINARY = gnunet-service-testbed-logger
  80. UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-gnunet-testbed-logger.sock
  81. DIR = /tmp
  82. UNIX_MATCH_UID = YES
  83. UNIX_MATCH_GID = YES
  84. [testbed-barrier]
  85. AUTOSTART = NO
  86. @UNIXONLY@ PORT = 2103
  87. HOSTNAME = localhost
  88. UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-testbed-barrier.sock
  89. UNIX_MATCH_UID = YES
  90. UNIX_MATCH_GID = YES
  91. # This section is related to configuring underlay restrictions to simulate
  92. # connectivity restrictions of NAT boxes
  93. [testbed-underlay]
  94. AUTOSTART = NO
  95. BINARY = gnunet-daemon-testbed-underlay
  96. # The sqlite3 database file containing information about what underlay
  97. # restrictions to apply
  98. # DBFILE =
  99. [latency-logger]
  100. AUTOSTART = NO
  101. BINARY = gnunet-daemon-latency-logger
  102. # The sqlite3 database file where the latency values are to be stored
  103. # DBFILE =