Mercurial > prosody-wiki
annotate mod_s2s_auth_dane.wiki @ 502:3c81d8a9f1e2
Documentation for the new mod_admin_message module.
author | mikael.berthe@gmail.com |
---|---|
date | Sun, 25 Jan 2015 19:07:33 +0000 |
parents | 7261117fcf19 |
children |
rev | line source |
---|---|
417 | 1 #summary S2S authentication using DANE |
459 | 2 #labels Stage-Alpha,Type-S2SAuth |
417 | 3 |
4 = Introduction = | |
5 | |
441
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
6 This module implements DANE as described in |
417 | 7 [http://tools.ietf.org/html/draft-miller-xmpp-dnssec-prooftype Using DNS Security Extensions (DNSSEC) and DNS-based Authentication of Named Entities (DANE) as a Prooftype for XMPP Domain Name Associations]. |
8 | |
459 | 9 = Dependencies = |
417 | 10 |
441
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
11 This module requires a DNSSEC aware DNS resolver. Prosodys internal DNS |
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
12 module does not support DNSSEC. Therefore, to use this module, a |
455
5f111a4e13fb
mod_s2s_auth_dane.wiki: drep mention of luajit, not required anymore
Kim Alvefur <zash@zash.se>
parents:
442
diff
changeset
|
13 replacement is needed, such as [https://www.zash.se/luaunbound.html this one]. |
417 | 14 |
459 | 15 More installation instructions can be found at [https://www.zash.se/prosody-dane.html Prosody with DANE]. |
16 | |
417 | 17 = Configuration = |
18 | |
441
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
19 After [https://prosody.im/doc/installing_modules installing the module], just add it to `modules_enabled`; |
417 | 20 |
21 {{{ | |
22 modules_enabled = { | |
23 ... | |
24 "s2s_auth_dane"; | |
25 } | |
26 }}} | |
27 | |
435
fae8b0661edf
Add info about _xmpp-server IN TLSA
Kim Alvefur <zash@zash.se>
parents:
418
diff
changeset
|
28 = DNS Setup = |
fae8b0661edf
Add info about _xmpp-server IN TLSA
Kim Alvefur <zash@zash.se>
parents:
418
diff
changeset
|
29 |
441
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
30 In order for other services to verify your site using using this plugin, |
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
31 you need to publish TLSA records (and they need to have this plugin). |
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
32 Here's an example using "DANE-EE Cert SHA2-256" for a host named |
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
33 xmpp.example.com serving the domain example.com. |
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
34 |
435
fae8b0661edf
Add info about _xmpp-server IN TLSA
Kim Alvefur <zash@zash.se>
parents:
418
diff
changeset
|
35 {{{ |
442
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
36 $ORIGIN example.com. |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
37 ; Your standard SRV record |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
38 _xmpp-server._tcp.example.com IN SRV 0 0 5269 xmpp.example.com. |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
39 ; IPv4 and IPv6 addresses |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
40 xmpp.example.com. IN A 192.0.2.68 |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
41 xmpp.example.com. IN AAAA 2001:0db8:0000:0000:4441:4e45:544c:5341 |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
42 |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
43 ; The DANE TLSA records. These three are equivalent, you would use only one of them. |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
44 ; First, using symbolic names: |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
45 _5269._tcp.xmpp.example.com. 300 IN TLSA DANE-EE Cert SHA2-256 E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855 |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
46 ; Using numbers: |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
47 _5269._tcp.xmpp.example.com. 300 IN TLSA 3 0 1 E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855 |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
48 ; Raw binary format, should work even with very old DNS tools: |
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
49 _5269._tcp.xmpp.example.com. 300 IN TYPE52 \# 35 030001E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855 |
435
fae8b0661edf
Add info about _xmpp-server IN TLSA
Kim Alvefur <zash@zash.se>
parents:
418
diff
changeset
|
50 }}} |
fae8b0661edf
Add info about _xmpp-server IN TLSA
Kim Alvefur <zash@zash.se>
parents:
418
diff
changeset
|
51 |
441
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
52 [http://www.internetsociety.org/deploy360/dnssec/tools/ List of DNSSEC and DANE tools] |
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
53 |
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
54 = Further reading = |
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
55 |
442
7308cd1cd354
mod_s2s_auth_dane.wiki: Fix link title and more comments in example DNS stuff
Kim Alvefur <zash@zash.se>
parents:
441
diff
changeset
|
56 * [http://tools.ietf.org/html/draft-ietf-dane-ops DANE TLSA implementation and operational guidance] |
441
80ce8d7f7f56
mod_s2s_auth_dane.wiki: more text, examples and links
Kim Alvefur <zash@zash.se>
parents:
440
diff
changeset
|
57 |
417 | 58 = Compatibility = |
59 | |
459 | 60 Requires 0.9 or above. |