old-network-settings 1.2 KB

123456789101112131415161718192021
  1. if host == 'cluck2':
  2. num_clients = 150
  3. num_guards = 28 # number of relays (including guards)
  4. num_authorities = 2 # will also act as a relay or guard
  5. num_exits = 32 # will be used only as an exit
  6. num_streams_per_client = 10
  7. num_bytes = 20*(2**20)
  8. elif host == 'sengler-rpi':
  9. num_clients = 24
  10. num_guards = 28 # number of relays (including guards)
  11. num_authorities = 2 # will also act as a relay or guard
  12. num_exits = 32 # will be used only as an exit
  13. num_streams_per_client = 8
  14. num_bytes = 10*(2**20)
  15. elif host is None:
  16. num_clients = 10
  17. num_guards = 10 # number of relays (including guards)
  18. num_authorities = 2 # will also act as a relay or guard
  19. num_exits = 12 # will be used only as an exit
  20. num_streams_per_client = 5
  21. num_bytes = 20*(2**20)