forked from ortuman/jackal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scion_example.jackal.yml
99 lines (80 loc) · 2.08 KB
/
scion_example.jackal.yml
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
# jackal default configuration file including SCION
pid_path: jackal.pid
debug:
port: 6060
logger:
level: debug
log_path: jackal.log
storage:
type: mysql
mysql:
host: 127.0.0.1:3306
user: jackal
password: password
database: jackal
pool_size: 16
router:
hosts:
- name: server1.xmpp
tls:
privkey_path: "/home/ubuntu/jackal/ssl/server1.xmpp.key"
cert_path: "/home/ubuntu/jackal/ssl/server1.xmpp.crt"
modules:
enabled:
- roster # Roster
- last_activity # XEP-0012: Last Activity
- private # XEP-0049: Private XML Storage
- vcard # XEP-0054: vcard-temp
- registration # XEP-0077: In-Band Registration
- version # XEP-0092: Software Version
- blocking_command # XEP-0191: Blocking Command
- ping # XEP-0199: XMPP Ping
- offline # Offline storage
mod_roster:
versioning: true
mod_offline:
queue_size: 2500
mod_registration:
allow_registration: yes
allow_change: yes
allow_cancel: yes
mod_version:
show_os: true
mod_ping:
send: no
send_interval: 60
c2s:
- id: default
connect_timeout: 5
max_stanza_size: 65536
resource_conflict: replace # [override, replace, reject]
transport:
type: socket # websocket
bind_addr: 0.0.0.0
port: 5222
keep_alive: 120
# url_path: /xmpp/ws
compression:
level: default
sasl:
- plain
- digest_md5
- scram_sha_1
- scram_sha_256
- scram_sha_512
s2s:
dial_timeout: 15
dialback_secret: s3cr3tf0rd14lb4ck
max_stanza_size: 131072
transport:
bind_addr: 0.0.0.0
port: 5269
keep_alive: 600
scion_transport:
addr: <insert_your_SCION_addr>
port: 52690
dispatcher_path: /run/shm/dispatcher/default.sock # or empty for default
sciond_path: /run/shm/sciond/default.sock # or empty for default
keep_alive: 600
privkey_path: "/home/ubuntu/jackal/ssl/server1.xmpp.key"
cert_path: "/home/ubuntu/jackal/ssl/server1.xmpp.crt"