-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.yaml
More file actions
117 lines (96 loc) · 3.67 KB
/
Copy pathclient.yaml
File metadata and controls
117 lines (96 loc) · 3.67 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# IRC server connection details
#
hostname: 'irc.alphachat.net'
tls_client_cert: 'client.crt'
tls_client_cert_key: 'client.key'
password: 'redacted:redacted'
username: 'sequana'
realname: 'AlphaChat Network Service'
nickname: 'Sequana'
connect_modes: '+DQRgi-x'
away_message: 'I am a robot; your messages will be forever ignored.'
# The channel to log to when an onion service is not reachable
#
log_channel: '#services'
# Optional: The colours to put on good and bad channel messages
# Valid values are 0, or between 1 and 15 (inclusive)
# Default 0 (disable colours)
#
log_colour_good: 3
log_colour_bad: 4
# Optional: How often to check onion service reachability (in seconds)
# Valid values are between 600 (10 minutes) and 86400 (1 day) (inclusive)
# Default 900 seconds (15 minutes)
#
check_interval: 900
# Optional: How long to stagger checks between multiple onion services (in seconds)
# Has no effect if this program is configured to check only one service
# Valid values are between 10 and 120 (inclusive)
# Default 30 seconds
#
check_stagger: 30
# Optional: Interval between health reports (in seconds). Set to 0 to disable reports.
# Valid values are 0, or between 3600 (1 hour) to 2419200 (28 days) (inclusive)
# Default 604800 (1 week)
#
report_interval: 604800
# Optional: Tor SOCKS address
# Default '127.0.0.1'
#
tor_address: '127.0.0.1'
# Optional: Tor SOCKS port
# Default 9050
#
tor_port: 9050
# The list of onion services to check. Each list element is a dictionary containing:
#
# Key Type Optional Description
#
# name String Yes Friendly name to report instead of address
# address String No Onion service hostname (without .onion suffix)
# port Integer No Onion service port
# tls Bool/String Yes Use TLS? If string, subjectAltName to expect in cert
# write String Yes Data to send after connection is established
# read String Yes Data to expect; required to be an exact match
#
# Example:
#
# onion_services:
#
# - address: 'ijfgnoswcz5pq5vdugrycrf6muodm7nkrmeepzxafzq7jh72oc6bh7q4'
# port: 80
# write: 'GET / HTTP/1.1\nHost: example.org\n\n'
# read: 'HTTP/1.1 200 OK'
#
# - address: 'ijfgnoswcz5pq5vdugrycrf6muodm7nkrmeepzxafzq7jh72oc6bh7q4'
# port: 443
# tls: 'example.org'
# write: 'GET / HTTP/1.1\nHost: example.org\n\n'
# read: 'HTTP/1.1 200 OK'
#
onion_services:
- name: 'OnionBalance'
address: 'rnjlael46gqqmfiuiqsswdeev6axrf47j7bq4dtuqdsv2qgqfumcy4yd'
port: 194
write: 'USER sequana 8 * :Tor Reachability Monitor'
read: ':irc-'
- name: 'irc-ca1'
address: 'cr4elesi2ifau6xivukboqj2ojz5gvmdxnuck4hvniaco4t2fgloihqd'
port: 194
write: 'USER sequana 8 * :Tor Reachability Monitor'
read: ':irc-ca1.alphachat.net'
- name: 'irc-de1'
address: 'mynhbqethtsbad5trblr7t2xmrxgjeyrgk6peu2cpkqxw47yyj2o32id'
port: 194
write: 'USER sequana 8 * :Tor Reachability Monitor'
read: ':irc-de1.alphachat.net'
- name: 'irc-us1'
address: 'rjmhwz5coqxunj3taoceh6etng4tvvaqg6nh3brhn2mfudpikptblpad'
port: 194
write: 'USER sequana 8 * :Tor Reachability Monitor'
read: ':irc-us1.alphachat.net'
- name: 'irc-us2'
address: 'bh4jjq5zo26whufiroqab3bfvwcwtcygzmsr7jy7pzcbtaguqay56fid'
port: 194
write: 'USER sequana 8 * :Tor Reachability Monitor'
read: ':irc-us2.alphachat.net'