Mercurial > prosody-wiki
comparison mod_onions.wiki @ 361:e935bb1e8299
Created wiki page through web user interface.
author | thijsalkemade@gmail.com |
---|---|
date | Mon, 10 Jun 2013 19:17:07 +0000 |
parents | |
children | c133cef513f9 |
comparison
equal
deleted
inserted
replaced
360:f2e6a9392edb | 361:e935bb1e8299 |
---|---|
1 #summary s2s to Tor hidden services | |
2 #labels Stage-Alpha | |
3 | |
4 = Introduction = | |
5 | |
6 This plugin allows Prosody to connect to other servers that are running as a Tor hidden service. Running Prosody on a hidden service works without this module, this module is only necessary to allow Prosody to federate to hidden XMPP servers. | |
7 | |
8 For general info about creating a hidden service, see https://www.torproject.org/docs/tor-hidden-service.html.en. | |
9 | |
10 = Usage = | |
11 This module depends on the bit32 Lua library. | |
12 | |
13 To create a hidden service that can federate with other hidden XMPP servers, first add a hidden serivce to Tor. It should listen on port 5269 and optionally also on 5222 (if c2s connections to the hidden service should be allowed). | |
14 | |
15 Use the hostname that Tor gives with a virtualhost: | |
16 | |
17 {{{ | |
18 VirtualHost "555abcdefhijklmn.onion" | |
19 modules_enabled = { "onions" }; | |
20 }}} | |
21 | |
22 = Configuration = | |
23 || *Name* || *Description* || *Type* || *Default value* || | |
24 || onions_socks5_host || the host to connect to for Tor's SOCKS5 proxy || string || "127.0.0.1" || | |
25 || onions_socks5_port || the port to connect to for Tor's SOCKS5 proxy || string || "9050" || | |
26 || onions_only || forbid all connection attempts to non-onion servers || boolean || false || | |
27 | |
28 | |
29 | |
30 = Compatibility = | |
31 ||0.8||Doesn't work|| | |
32 ||0.9||Works|| |