summaryrefslogtreecommitdiff
path: root/tests/shadow/shadow.yaml
blob: b108c59d0b5ebc767b6fd08cfeca850760c08ecb (plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
general:
  stop_time: 30 min
network:
  graph:
    type: gml
    inline: |
      graph [
        directed 0
        node [
          id 0
          host_bandwidth_down "1 Gbit"
          host_bandwidth_up "1 Gbit"
        ]
        edge [
          source 0
          target 0
          latency "50 ms"
          jitter "0 ms"
          packet_loss 0.0
        ]
      ]
hosts:
  fileserver:
    network_node_id: 0
    processes:
    - path: tgen
      environment: OPENBLAS_NUM_THREADS=1
      args: ../../../conf/tgen.server.graphml.xml
      start_time: 1
  4uthority:
    network_node_id: 0
    ip_addr: 100.0.0.1
    processes:
    - path: tor
      args: --Address 4uthority --Nickname 4uthority
            --defaults-torrc torrc-defaults -f torrc
      start_time: 1
  exit1:
    network_node_id: 0
    processes:
    - path: tor
      args: --Address exit1 --Nickname exit1
            --defaults-torrc torrc-defaults -f torrc
      start_time: 60
  exit2:
    network_node_id: 0
    processes:
    - path: tor
      args: --Address exit2 --Nickname exit2
            --defaults-torrc torrc-defaults -f torrc
      start_time: 60
  relay1:
    network_node_id: 0
    processes:
    - path: tor
      args: --Address relay1 --Nickname relay1
            --defaults-torrc torrc-defaults -f torrc
      start_time: 60
  relay2:
    network_node_id: 0
    processes:
    - path: tor
      args: --Address relay2 --Nickname relay2
            --defaults-torrc torrc-defaults -f torrc
      start_time: 60
  bridge:
    ip_addr: 100.0.0.2
    network_node_id: 0
    processes:
    - path: tor
      args: --Address bridge --Nickname bridge
            --defaults-torrc torrc-defaults -f torrc
      start_time: 60
  articlient:
    network_node_id: 0
    options:
      log_level: trace
    processes:
    - path: ../../target/x86_64-unknown-linux-gnu/debug/arti
      args: proxy -c arti.toml -o proxy.socks_port=9000 --disable-fs-permission-checks -l debug,tor_proto=trace
      environment: RUST_BACKTRACE=1;HOME=./home
      start_time: 15m
    - path: tgen
      environment: OPENBLAS_NUM_THREADS=1
      args: ../../../conf/tgen.torclient.graphml.xml
      start_time: 25m
  articlient_bridge:
    network_node_id: 0
    options:
      log_level: trace
      # Enable pcap capture so we can check for leaks
      pcap_directory: .
    processes:
    - path: ../../target/x86_64-unknown-linux-gnu/debug/arti
      args: proxy -c arti.toml -o proxy.socks_port=9000 --disable-fs-permission-checks -l debug,tor_proto=trace
      environment: RUST_BACKTRACE=1;HOME=./home
      start_time: 15m
    - path: tgen
      environment: OPENBLAS_NUM_THREADS=1
      args: ../../../conf/tgen.torclient.graphml.xml
      start_time: 25m