|
@@ -64,53 +64,58 @@ user: "Alice"
|
|
|
# Optional.
|
|
|
socks: "127.0.0.1:9050"
|
|
|
|
|
|
-# The list of conversations associated with the user.
|
|
|
-conversations:
|
|
|
+# The <address>:<port> of the message server,
|
|
|
+# where <address> is an IP, onion address, or hostname.
|
|
|
+# Can override in the conversation settings.
|
|
|
+message_server: "server.maybe.onion:6397"
|
|
|
|
|
|
- # A conversation name used for logs, server-side lookups,
|
|
|
- # and unique circuits for each conversation,
|
|
|
- # even when two chats share the same participants.
|
|
|
- - group: "group1"
|
|
|
+# Similarly, but for the web server (must include protocol).
|
|
|
+web_server: "https://server.maybe.onion:6398"
|
|
|
|
|
|
- # The <address>:<port> of the message server,
|
|
|
- # where <address> is an IP, onion address, or hostname.
|
|
|
- message_server: "server.maybe.onion:6397"
|
|
|
+# The number of seconds to wait until the client starts sending messages.
|
|
|
+# This should be long enough that all clients have had time to start
|
|
|
+# (sending messages to a client that isn't registered on the server is a
|
|
|
+# fatal error), but short enough all conversations will have started by
|
|
|
+# the experiment start.
|
|
|
+# Can override in the conversation settings.
|
|
|
+bootstrap: 5.0
|
|
|
|
|
|
- # Similarly, but for the web server (must include protocol).
|
|
|
- web_server: "https://server.maybe.onion:6398"
|
|
|
+# The number of seconds to wait after a network failure before retrying.
|
|
|
+# Can override in the conversation settings.
|
|
|
+retry: 5.0
|
|
|
|
|
|
- # The number of seconds to wait until the client starts sending messages.
|
|
|
- # This should be long enough that all clients have had time to start
|
|
|
- # (sending messages to a client that isn't registered on the server is a
|
|
|
- # fatal error), but short enough all conversations will have started by
|
|
|
- # the experiment start.
|
|
|
- bootstrap: 5.0
|
|
|
|
|
|
- # The number of seconds to wait after a network failure before retrying.
|
|
|
- retry: 5.0
|
|
|
+# Parameters for distributions used by the Markov model.
|
|
|
+# Can override in the conversation settings.
|
|
|
+distributions:
|
|
|
|
|
|
+ # Probability of Idle to Active transition with sent/received messages.
|
|
|
+ s: 0.5
|
|
|
+ r: 0.1
|
|
|
|
|
|
- # Parameters for distributions used by the Markov model.
|
|
|
- distributions:
|
|
|
+ # The distribution of message sizes, as measured in padding blocks.
|
|
|
+ m: { distribution: "Poisson", lambda: 1.0 }
|
|
|
|
|
|
- # Probability of Idle to Active transition with sent/received messages.
|
|
|
- s: 0.5
|
|
|
- r: 0.1
|
|
|
+ # Distribution I, the amount of time Idle before sending a message.
|
|
|
+ i: { distribution: "Normal", mean: 30.0, std_dev: 100.0 }
|
|
|
|
|
|
- # The distribution of message sizes, as measured in padding blocks.
|
|
|
- m: { distribution: "Poisson", lambda: 1.0 }
|
|
|
+ # Distribution W, the amount of time Active without sending or receiving
|
|
|
+ # messages to transition to Idle.
|
|
|
+ w: { distribution: "Uniform", low: 0.0, high: 90.0 }
|
|
|
|
|
|
- # Distribution I, the amount of time Idle before sending a message.
|
|
|
- i: { distribution: "Normal", mean: 30.0, std_dev: 100.0 }
|
|
|
+ # Distribution A_{s/r}, the time Active since last sent/received
|
|
|
+ # message until the client sends a message.
|
|
|
+ a_s: { distribution: "Exp", lambda: 2.0 }
|
|
|
+ a_r: { distribution: "Pareto", scale: 1.0, shape: 3.0 }
|
|
|
|
|
|
- # Distribution W, the amount of time Active without sending or receiving
|
|
|
- # messages to transition to Idle.
|
|
|
- w: { distribution: "Uniform", low: 0.0, high: 90.0 }
|
|
|
+# The list of conversations associated with the user.
|
|
|
+conversations:
|
|
|
|
|
|
- # Distribution A_{s/r}, the time Active since last sent/received
|
|
|
- # message until the client sends a message.
|
|
|
- a_s: { distribution: "Exp", lambda: 2.0 }
|
|
|
- a_r: { distribution: "Pareto", scale: 1.0, shape: 3.0 }
|
|
|
+ # A conversation name used for logs, server-side lookups,
|
|
|
+ # and unique circuits for each conversation,
|
|
|
+ # even when two chats share the same participants.
|
|
|
+ - group: "group1"
|
|
|
+ # Most of the global settings can be overridden here.
|
|
|
```
|
|
|
|
|
|
Additional examples can be found in the [client shadow test configurations](/shadow/client/shadow.data.template/hosts).
|