Browse Source

Separate xmpp documentation

Bob Mottram 8 years ago
parent
commit
ac34ddf9ef
6 changed files with 828 additions and 519 deletions
  1. 149
    0
      doc/EN/app_xmpp.org
  2. 2
    0
      doc/EN/apps.org
  3. 1
    127
      doc/EN/usage.org
  4. 514
    0
      website/EN/app_xmpp.html
  5. 71
    67
      website/EN/apps.html
  6. 91
    325
      website/EN/usage.html

+ 149
- 0
doc/EN/app_xmpp.org View File

@@ -0,0 +1,149 @@
1
+#+TITLE:
2
+#+AUTHOR: Bob Mottram
3
+#+EMAIL: bob@freedombone.net
4
+#+KEYWORDS: freedombone, xmpp
5
+#+DESCRIPTION: How to use XMPP/Jabber
6
+#+OPTIONS: ^:nil toc:nil
7
+#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="freedombone.css" />
8
+
9
+#+BEGIN_CENTER
10
+[[file:images/logo.png]]
11
+#+END_CENTER
12
+
13
+#+BEGIN_EXPORT html
14
+<center>
15
+<h1>XMPP/Jabber</h1>
16
+</center>
17
+#+END_EXPORT
18
+
19
+Most people know XMPP as "/Jabber/" and it's sometimes regarded and an old protocol once used by Google and Facebook but which is no longer relevant. However, it still works and if appropriately configured, as if is on Freedombone, can provide the best chat messaging security currently available.
20
+
21
+With regard to chat apps you might have read a lot of stuff about /end-to-end security/. That's important, but to also protect the metadata of who sends messages to who the data needs to be onion routed (wrapped in multiple layers of routing encryption), and that's something which most popular chat apps don't provide. Also beware of chat apps which fundamentally rely upon Google's infrastructure. You can be sure that they extensively data mine everything and will be able to reconstruct your social graph if that's at all technically feasible, then pass that to whatever governments they're friendly with or trying to lobby.
22
+
23
+A well written article on the state of XMPP and how it compares to other chat protocols [[https://gultsch.de/xmpp_2016.html][can be found here]].
24
+
25
+* Using with Gajim
26
+In mid 2016 [[https://gajim.org/][Gajim]] became the first desktop XMPP client to support the [[https://en.wikipedia.org/wiki/OMEMO][OMEMO end-to-end security standard]], which is superior to the more traditional [[https://en.wikipedia.org/wiki/Off-the-Record_Messaging][OTR]] since it also includes multi-user chat and the ratcheting mechanism pioneered by Open Whisper Systems. To install it:
27
+
28
+#+begin_src bash :tangle no
29
+su -c 'echo "deb ftp://ftp.gajim.org/debian unstable main" > /etc/apt/sources.list.d/gajim.list'
30
+sudo apt-get update
31
+sudo apt-get -y install gajim-dev-keyring
32
+sudo apt-get -y install git tor python-dev python-pip gajim-nightly
33
+mkdir ~/.local/share/gajim/plugins -p
34
+cd ~/.local/share/gajim/plugins
35
+git clone https://github.com/omemo/gajim-omemo
36
+sudo pip install protobuf==2.6.1, python-axolotl==0.1.35
37
+#+end_src
38
+
39
+Open Gajim and enter your XMPP address and password.
40
+
41
+Go to *Edit/Preferences* and select the *Advanced* tab. Under *Global Proxy* select *Tor* and the *Close* button. Then select *Edit/Plugins* and make sure that OMEMO is active (ticked), then select the *Close* button.
42
+
43
+When you start a conversation make sure that the OMEMO box is ticked. You can also click on the keys button and trust various fingerprints. Both sides will need to do that before an encrypted chat can start.
44
+
45
+If you wish to make backups of the OMEMO keys then they can be found within:
46
+
47
+#+begin_src bash :tangle no
48
+~/.local/share/gajim
49
+#+end_src
50
+
51
+If you wish to use OpenPGP to encrypt your messages then go to *Edit/Accounts*, select your account and then the *Personal Information* tab. You can then choose your GPG key. When initiating a chat you can select the *Advanced* button and then select *Toggle OpenPGP Encryption*. OpenPGP is not as secure as OMEMO, but does allow you to use XMPP in a similar style to email in that the recipient of the message does not necessarily need to be online at the same time that you send it.
52
+
53
+* Using with Profanity
54
+The [[https://profanity.im][Profanity]] shell based user interface and is perhaps the simplest way to use XMPP from a laptop. It's also a good way to ensure that your OTR keys are the same even when logging in from different laptops or devices, and it also means that if those devices later become compomised then there are no locally stored OTR keys to be found.
55
+
56
+#+BEGIN_SRC bash
57
+ssh username@domain -p 2222
58
+#+END_SRC
59
+
60
+Then select XMPP. Generate an [[https://en.wikipedia.org/wiki/Off-the-Record_Messaging][OTR]] key with:
61
+
62
+#+BEGIN_SRC bash
63
+/otr gen
64
+#+END_SRC
65
+
66
+Then to start a conversation using OTR:
67
+
68
+#+BEGIN_SRC bash
69
+/otr start otherusername@otheruserdomain
70
+#+END_SRC
71
+
72
+or if you're already in an insecure chat with someone just use:
73
+
74
+#+BEGIN_SRC bash
75
+/otr start
76
+#+END_SRC
77
+
78
+Set a security question and answer:
79
+
80
+#+BEGIN_SRC bash
81
+/otr question "What is the name of your best friends rabbit?" fiffi
82
+#+END_SRC
83
+
84
+On the other side the user can enter:
85
+
86
+#+BEGIN_SRC bash
87
+/otr answer fiffi
88
+#+END_SRC
89
+
90
+For the most paranoid you can also obtain your fingerprint:
91
+
92
+#+BEGIN_SRC bash
93
+/otr myfp
94
+#+END_SRC
95
+
96
+and quote that.  If they quote theirs back you can check it with:
97
+
98
+#+BEGIN_SRC bash
99
+/otr theirfp
100
+#+END_SRC
101
+
102
+If the fingerprints match then you can be pretty confident that unless you have been socially engineered via the question and answer you probably are talking to who you think you are, and that it will be difficult for mass surveillance systems to know the content of the conversation. For more details see [[https://www.profanity.im/otr.html][this guide]]
103
+
104
+ When accessed via the user control panel the client is automatically routed through Tor and so if you are also using OTR then this provides protection for both message content and metadata.
105
+
106
+* Using with Jitsi
107
+Jitsi can be downloaded from https://jitsi.org
108
+
109
+On your desktop/laptop open Jitsi and select *Options* from the *Tools* menu.
110
+
111
+Click *Add* to add a new user, then enter the Jabber ID (yourusername@yourmaindomainname). Close and then you should notice that your status is "Online" (or if not then you should be able to set it to online).
112
+
113
+From the *File* menu you can add contacts, then select the chat icon to begin a chat.  Click on the lock icon on the right hand side and this will initiate an authentication procedure in which you can specify a question and answer to verify the identity of the person you're communicating with.  Once authentication is complete then you'll be chating using OTR, which provides an additional layer of security.
114
+
115
+When opening Jitsi initially you will get a certificate warning for your domain name (assuming that you're using a self-signed certificate). If this happens then select *View Certificate* and enable the checkbox to trust the certificate, then select *Continue Anyway*.  Once you've done this then the certificate warning will not appear again unless you reinstall Jitsi or use a different computer.
116
+
117
+You can also [[https://www.youtube.com/watch?v=vgx7VSrDGjk][see this video]] as an example of using OTR.
118
+
119
+* Using with Ubuntu
120
+The default XMPP client in Ubuntu is Empathy.  Using Empathy isn't as secure as using Jitsi, since it doesn't include the /off the record/ feature, but since it's the default it's what many users will have easy access to.
121
+
122
+Open *System Settings* and select *Online Accounts*, *Add account*  and then *Jabber*.
123
+
124
+Enter your username (username@domainname) and password.
125
+
126
+Click on *Advanced* and make sure that *Encryption required* and *Ignore SSL certificate errors* are checked.  Ignoring the certificate errors will allow you to use the self-signed certificate created earlier.  Then click *Done* and set your Jabber account and Empathy to *On*.
127
+
128
+* Using Tor Messenger
129
+Tor Messenger is a messaging client which supports XMPP, and its onion routing enables you to protect the metadata of chat interactions to some extent by making it difficult for an adversary to know which server is talking to which. You can download Tor Messenger from [[https://torproject.org][torproject.org]] and the setup is pretty simple.
130
+
131
+* Using with Android/Conversations
132
+Install [[https://f-droid.org/][F-Droid]]
133
+
134
+Search for and install *Orbot* and *Conversations*.
135
+
136
+Add an account and enter your Jabber/XMPP ID and password.
137
+
138
+From the menu select *Settings* then *Expert Settings*. Select *Connect via Tor* and depending on your situation you might also want to select *Don't save encrypted messages*. Also within expert settings select *Keep in foreground*. This will enable you to still receive notifications when your device is in standby mode with the screen turned off.
139
+
140
+From the menu select *Manage accounts* and add a new account.
141
+
142
+#+BEGIN_SRC bash
143
+Jabber ID: myusername@mydomain
144
+Password:  your XMPP password
145
+Hostname:  mydomain (preferably your xmpp onion address)
146
+Port:      5222
147
+#+END_SRC
148
+
149
+Then select *Next*. When chatting you can use the lock icon to encrypt your conversation. OMEMO is the recommended type of encryption. It's also going through Tor, so passive surveillance of the metadata should not be easy for an adversary.

+ 2
- 0
doc/EN/apps.org View File

@@ -90,3 +90,5 @@ If you use the Mutt client to read your email then this will set it up to use vi
90 90
 
91 91
 * XMPP
92 92
 Chat server which can be used together with client such as Gajim or Conversations to provide end-to-end content security and also onion routed metadata security. Includes advanced features such as /client state notification/ to save battery power on your mobile devices, support for seamless roaming between networks and /message carbons/ so that you can receive the same messages while being simultaneously logged in to your account on more than one device.
93
+
94
+[[./app_xmpp.html][How to use it]]

+ 1
- 127
doc/EN/usage.org View File

@@ -26,6 +26,7 @@
26 26
 | [[./app_gnusocial.html][Microblogging (GNU Social)]]                           |
27 27
 | [[./app_hubzilla.html][Social Network]]                                       |
28 28
 | [[./app_irc.html][Multi-user chat with IRC]]                             |
29
+| [[./app_xmpp.html][XMPP/Jabber]]                                          |
29 30
 | [[Chat Services]]                                        |
30 31
 | [[RSS Reader]]                                           |
31 32
 | [[Git Projects]]                                         |
@@ -99,133 +100,6 @@ ssh username@address.onion -p 2222
99 100
 
100 101
 Subsequently even if dynamic DNS isn't working you may still be able to administer your system. Using the onion address also gives you some degree of protection against corporate or government metadata analysis, since it becomes more difficult to passively detect which systems are communicating.
101 102
 * Chat Services
102
-
103
-** XMPP/Jabber
104
-*** About XMPP
105
-A well written article on the state of XMPP and how it compares to other chat protocols [[https://gultsch.de/xmpp_2016.html][can be found here]].
106
-*** Using with Gajim
107
-In mid 2016 [[https://gajim.org/][Gajim]] became the first desktop XMPP client to support the [[https://en.wikipedia.org/wiki/OMEMO][OMEMO end-to-end security standard]], which is superior to the more traditional [[https://en.wikipedia.org/wiki/Off-the-Record_Messaging][OTR]] since it also includes multi-user chat and the ratcheting mechanism pioneered by Open Whisper Systems. To install it:
108
-
109
-#+begin_src bash :tangle no
110
-su -c 'echo "deb ftp://ftp.gajim.org/debian unstable main" > /etc/apt/sources.list.d/gajim.list'
111
-sudo apt-get update
112
-sudo apt-get -y install gajim-dev-keyring
113
-sudo apt-get -y install git tor python-dev python-pip gajim-nightly
114
-mkdir ~/.local/share/gajim/plugins -p
115
-cd ~/.local/share/gajim/plugins
116
-git clone https://github.com/omemo/gajim-omemo
117
-sudo pip install protobuf==2.6.1, python-axolotl==0.1.35
118
-#+end_src
119
-
120
-Open Gajim and enter your XMPP address and password.
121
-
122
-Go to *Edit/Preferences* and select the *Advanced* tab. Under *Global Proxy* select *Tor* and the *Close* button. Then select *Edit/Plugins* and make sure that OMEMO is active (ticked), then select the *Close* button.
123
-
124
-When you start a conversation make sure that the OMEMO box is ticked. You can also click on the keys button and trust various fingerprints. Both sides will need to do that before an encrypted chat can start.
125
-
126
-If you wish to make backups of the OMEMO keys then they can be found within:
127
-
128
-#+begin_src bash :tangle no
129
-~/.local/share/gajim
130
-#+end_src
131
-
132
-If you wish to use OpenPGP to encrypt your messages then go to *Edit/Accounts*, select your account and then the *Personal Information* tab. You can then choose your GPG key. When initiating a chat you can select the *Advanced* button and then select *Toggle OpenPGP Encryption*. OpenPGP is not as secure as OMEMO, but does allow you to use XMPP in a similar style to email in that the recipient of the message does not necessarily need to be online at the same time that you send it.
133
-
134
-*** Using with Profanity
135
-The [[https://profanity.im][Profanity]] shell based user interface and is perhaps the simplest way to use XMPP from a laptop. It's also a good way to ensure that your OTR keys are the same even when logging in from different laptops or devices, and it also means that if those devices later become compomised then there are no locally stored OTR keys to be found.
136
-
137
-#+BEGIN_SRC bash
138
-ssh username@domain -p 2222
139
-#+END_SRC
140
-
141
-Then select XMPP. Generate an [[https://en.wikipedia.org/wiki/Off-the-Record_Messaging][OTR]] key with:
142
-
143
-#+BEGIN_SRC bash
144
-/otr gen
145
-#+END_SRC
146
-
147
-Then to start a conversation using OTR:
148
-
149
-#+BEGIN_SRC bash
150
-/otr start otherusername@otheruserdomain
151
-#+END_SRC
152
-
153
-or if you're already in an insecure chat with someone just use:
154
-
155
-#+BEGIN_SRC bash
156
-/otr start
157
-#+END_SRC
158
-
159
-Set a security question and answer:
160
-
161
-#+BEGIN_SRC bash
162
-/otr question "What is the name of your best friends rabbit?" fiffi
163
-#+END_SRC
164
-
165
-On the other side the user can enter:
166
-
167
-#+BEGIN_SRC bash
168
-/otr answer fiffi
169
-#+END_SRC
170
-
171
-For the most paranoid you can also obtain your fingerprint:
172
-
173
-#+BEGIN_SRC bash
174
-/otr myfp
175
-#+END_SRC
176
-
177
-and quote that.  If they quote theirs back you can check it with:
178
-
179
-#+BEGIN_SRC bash
180
-/otr theirfp
181
-#+END_SRC
182
-
183
-If the fingerprints match then you can be pretty confident that unless you have been socially engineered via the question and answer you probably are talking to who you think you are, and that it will be difficult for mass surveillance systems to know the content of the conversation. For more details see [[https://www.profanity.im/otr.html][this guide]]
184
-
185
- When accessed via the user control panel the client is automatically routed through Tor and so if you are also using OTR then this provides protection for both message content and metadata.
186
-*** Using with Jitsi
187
-Jitsi is the recommended communications client for desktop or laptop systems, since it includes the /off the record/ (OTR) feature which provides some additional security beyond the usual SSL certificates.
188
-
189
-Jitsi can be downloaded from https://jitsi.org
190
-
191
-On your desktop/laptop open Jitsi and select *Options* from the *Tools* menu.
192
-
193
-Click *Add* to add a new user, then enter the Jabber ID which you previously specified with /prosodyctl/ when setting up the XMPP server. Close and then you should notice that your status is "Online" (or if not then you should be able to set it to online).
194
-
195
-From the *File* menu you can add contacts, then select the chat icon to begin a chat.  Click on the lock icon on the right hand side and this will initiate an authentication procedure in which you can specify a question and answer to verify the identity of the person you're communicating with.  Once authentication is complete then you'll be chating using OTR, which provides an additional layer of security.
196
-
197
-When opening Jitsi initially you will get a certificate warning for your domain name (assuming that you're using a self-signed certificate). If this happens then select *View Certificate* and enable the checkbox to trust the certificate, then select *Continue Anyway*.  Once you've done this then the certificate warning will not appear again unless you reinstall Jitsi or use a different computer.
198
-
199
-You can also [[https://www.youtube.com/watch?v=vgx7VSrDGjk][see this video]] as an example of using OTR.
200
-*** Using with Ubuntu
201
-The default XMPP client in Ubuntu is Empathy.  Using Empathy isn't as secure as using Jitsi, since it doesn't include the /off the record/ feature, but since it's the default it's what many users will have easy access to.
202
-
203
-Open *System Settings* and select *Online Accounts*, *Add account*  and then *Jabber*.
204
-
205
-Enter your username (username@domainname) and password.
206
-
207
-Click on *Advanced* and make sure that *Encryption required* and *Ignore SSL certificate errors* are checked.  Ignoring the certificate errors will allow you to use the self-signed certificate created earlier.  Then click *Done* and set your Jabber account and Empathy to *On*.
208
-*** Using Tor Messenger
209
-Tor Messenger is a messaging client which supports XMPP, and its onion routing enables you to protect the metadata of chat interactions to some extent by making it difficult for an adversary to know which server is talking to which. You can download Tor Messenger from [[https://torproject.org][torproject.org]] and the setup is pretty simple.
210
-*** Using with Android/Conversations
211
-Install [[https://f-droid.org/][F-Droid]]
212
-
213
-Search for and install *Orbot* and *Conversations*.
214
-
215
-Add an account and enter your Jabber/XMPP ID and password.
216
-
217
-From the menu select *Settings* then *Expert Settings*. Select *Connect via Tor* and depending on your situation you might also want to select *Don't save encrypted messages*. Also within expert settings select *Keep in foreground*. This will enable you to still receive notifications when your device is in standby mode with the screen turned off.
218
-
219
-From the menu select *Manage accounts* and add a new account.
220
-
221
-#+BEGIN_SRC bash
222
-Jabber ID: myusername@mydomain
223
-Password:  your XMPP password
224
-Hostname:  mydomain
225
-Port:      5222
226
-#+END_SRC
227
-
228
-Then select *Next*. When chatting you can use the lock icon to encrypt your conversation. OMEMO is the recommended type of encryption. It's also going through Tor, so passive surveillance of the metadata should not be easy for an adversary.
229 103
 ** Tox
230 104
 Tox is an encrypted peer-to-peer messaging system and so should work without Freedombone. It uses a system of nodes which act as a sort of directory service allowing users to find and connect to each other. The Tox node ID on the Freedombone can be found within the README within your home directory. If you have other users connect to your node then you will be able to continue chatting even when no other nodes are available.
231 105
 *** Using the Toxic client

+ 514
- 0
website/EN/app_xmpp.html View File

@@ -0,0 +1,514 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5
+<head>
6
+<!-- 2016-11-12 Sat 21:07 -->
7
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8
+<meta name="viewport" content="width=device-width, initial-scale=1" />
9
+<title></title>
10
+<meta name="generator" content="Org mode" />
11
+<meta name="author" content="Bob Mottram" />
12
+<meta name="description" content="How to use XMPP/Jabber"
13
+ />
14
+<meta name="keywords" content="freedombone, xmpp" />
15
+<style type="text/css">
16
+ <!--/*--><![CDATA[/*><!--*/
17
+  .title  { text-align: center;
18
+             margin-bottom: .2em; }
19
+  .subtitle { text-align: center;
20
+              font-size: medium;
21
+              font-weight: bold;
22
+              margin-top:0; }
23
+  .todo   { font-family: monospace; color: red; }
24
+  .done   { font-family: monospace; color: green; }
25
+  .priority { font-family: monospace; color: orange; }
26
+  .tag    { background-color: #eee; font-family: monospace;
27
+            padding: 2px; font-size: 80%; font-weight: normal; }
28
+  .timestamp { color: #bebebe; }
29
+  .timestamp-kwd { color: #5f9ea0; }
30
+  .org-right  { margin-left: auto; margin-right: 0px;  text-align: right; }
31
+  .org-left   { margin-left: 0px;  margin-right: auto; text-align: left; }
32
+  .org-center { margin-left: auto; margin-right: auto; text-align: center; }
33
+  .underline { text-decoration: underline; }
34
+  #postamble p, #preamble p { font-size: 90%; margin: .2em; }
35
+  p.verse { margin-left: 3%; }
36
+  pre {
37
+    border: 1px solid #ccc;
38
+    box-shadow: 3px 3px 3px #eee;
39
+    padding: 8pt;
40
+    font-family: monospace;
41
+    overflow: auto;
42
+    margin: 1.2em;
43
+  }
44
+  pre.src {
45
+    position: relative;
46
+    overflow: visible;
47
+    padding-top: 1.2em;
48
+  }
49
+  pre.src:before {
50
+    display: none;
51
+    position: absolute;
52
+    background-color: white;
53
+    top: -10px;
54
+    right: 10px;
55
+    padding: 3px;
56
+    border: 1px solid black;
57
+  }
58
+  pre.src:hover:before { display: inline;}
59
+  /* Languages per Org manual */
60
+  pre.src-asymptote:before { content: 'Asymptote'; }
61
+  pre.src-awk:before { content: 'Awk'; }
62
+  pre.src-C:before { content: 'C'; }
63
+  /* pre.src-C++ doesn't work in CSS */
64
+  pre.src-clojure:before { content: 'Clojure'; }
65
+  pre.src-css:before { content: 'CSS'; }
66
+  pre.src-D:before { content: 'D'; }
67
+  pre.src-ditaa:before { content: 'ditaa'; }
68
+  pre.src-dot:before { content: 'Graphviz'; }
69
+  pre.src-calc:before { content: 'Emacs Calc'; }
70
+  pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
71
+  pre.src-fortran:before { content: 'Fortran'; }
72
+  pre.src-gnuplot:before { content: 'gnuplot'; }
73
+  pre.src-haskell:before { content: 'Haskell'; }
74
+  pre.src-java:before { content: 'Java'; }
75
+  pre.src-js:before { content: 'Javascript'; }
76
+  pre.src-latex:before { content: 'LaTeX'; }
77
+  pre.src-ledger:before { content: 'Ledger'; }
78
+  pre.src-lisp:before { content: 'Lisp'; }
79
+  pre.src-lilypond:before { content: 'Lilypond'; }
80
+  pre.src-lua:before { content: 'Lua'; }
81
+  pre.src-matlab:before { content: 'MATLAB'; }
82
+  pre.src-mscgen:before { content: 'Mscgen'; }
83
+  pre.src-ocaml:before { content: 'Objective Caml'; }
84
+  pre.src-octave:before { content: 'Octave'; }
85
+  pre.src-org:before { content: 'Org mode'; }
86
+  pre.src-oz:before { content: 'OZ'; }
87
+  pre.src-plantuml:before { content: 'Plantuml'; }
88
+  pre.src-processing:before { content: 'Processing.js'; }
89
+  pre.src-python:before { content: 'Python'; }
90
+  pre.src-R:before { content: 'R'; }
91
+  pre.src-ruby:before { content: 'Ruby'; }
92
+  pre.src-sass:before { content: 'Sass'; }
93
+  pre.src-scheme:before { content: 'Scheme'; }
94
+  pre.src-screen:before { content: 'Gnu Screen'; }
95
+  pre.src-sed:before { content: 'Sed'; }
96
+  pre.src-sh:before { content: 'shell'; }
97
+  pre.src-sql:before { content: 'SQL'; }
98
+  pre.src-sqlite:before { content: 'SQLite'; }
99
+  /* additional languages in org.el's org-babel-load-languages alist */
100
+  pre.src-forth:before { content: 'Forth'; }
101
+  pre.src-io:before { content: 'IO'; }
102
+  pre.src-J:before { content: 'J'; }
103
+  pre.src-makefile:before { content: 'Makefile'; }
104
+  pre.src-maxima:before { content: 'Maxima'; }
105
+  pre.src-perl:before { content: 'Perl'; }
106
+  pre.src-picolisp:before { content: 'Pico Lisp'; }
107
+  pre.src-scala:before { content: 'Scala'; }
108
+  pre.src-shell:before { content: 'Shell Script'; }
109
+  pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
110
+  /* additional language identifiers per "defun org-babel-execute"
111
+       in ob-*.el */
112
+  pre.src-cpp:before  { content: 'C++'; }
113
+  pre.src-abc:before  { content: 'ABC'; }
114
+  pre.src-coq:before  { content: 'Coq'; }
115
+  pre.src-groovy:before  { content: 'Groovy'; }
116
+  /* additional language identifiers from org-babel-shell-names in
117
+     ob-shell.el: ob-shell is the only babel language using a lambda to put
118
+     the execution function name together. */
119
+  pre.src-bash:before  { content: 'bash'; }
120
+  pre.src-csh:before  { content: 'csh'; }
121
+  pre.src-ash:before  { content: 'ash'; }
122
+  pre.src-dash:before  { content: 'dash'; }
123
+  pre.src-ksh:before  { content: 'ksh'; }
124
+  pre.src-mksh:before  { content: 'mksh'; }
125
+  pre.src-posh:before  { content: 'posh'; }
126
+  /* Additional Emacs modes also supported by the LaTeX listings package */
127
+  pre.src-ada:before { content: 'Ada'; }
128
+  pre.src-asm:before { content: 'Assembler'; }
129
+  pre.src-caml:before { content: 'Caml'; }
130
+  pre.src-delphi:before { content: 'Delphi'; }
131
+  pre.src-html:before { content: 'HTML'; }
132
+  pre.src-idl:before { content: 'IDL'; }
133
+  pre.src-mercury:before { content: 'Mercury'; }
134
+  pre.src-metapost:before { content: 'MetaPost'; }
135
+  pre.src-modula-2:before { content: 'Modula-2'; }
136
+  pre.src-pascal:before { content: 'Pascal'; }
137
+  pre.src-ps:before { content: 'PostScript'; }
138
+  pre.src-prolog:before { content: 'Prolog'; }
139
+  pre.src-simula:before { content: 'Simula'; }
140
+  pre.src-tcl:before { content: 'tcl'; }
141
+  pre.src-tex:before { content: 'TeX'; }
142
+  pre.src-plain-tex:before { content: 'Plain TeX'; }
143
+  pre.src-verilog:before { content: 'Verilog'; }
144
+  pre.src-vhdl:before { content: 'VHDL'; }
145
+  pre.src-xml:before { content: 'XML'; }
146
+  pre.src-nxml:before { content: 'XML'; }
147
+  /* add a generic configuration mode; LaTeX export needs an additional
148
+     (add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
149
+  pre.src-conf:before { content: 'Configuration File'; }
150
+
151
+  table { border-collapse:collapse; }
152
+  caption.t-above { caption-side: top; }
153
+  caption.t-bottom { caption-side: bottom; }
154
+  td, th { vertical-align:top;  }
155
+  th.org-right  { text-align: center;  }
156
+  th.org-left   { text-align: center;   }
157
+  th.org-center { text-align: center; }
158
+  td.org-right  { text-align: right;  }
159
+  td.org-left   { text-align: left;   }
160
+  td.org-center { text-align: center; }
161
+  dt { font-weight: bold; }
162
+  .footpara { display: inline; }
163
+  .footdef  { margin-bottom: 1em; }
164
+  .figure { padding: 1em; }
165
+  .figure p { text-align: center; }
166
+  .inlinetask {
167
+    padding: 10px;
168
+    border: 2px solid gray;
169
+    margin: 10px;
170
+    background: #ffffcc;
171
+  }
172
+  #org-div-home-and-up
173
+   { text-align: right; font-size: 70%; white-space: nowrap; }
174
+  textarea { overflow-x: auto; }
175
+  .linenr { font-size: smaller }
176
+  .code-highlighted { background-color: #ffff00; }
177
+  .org-info-js_info-navigation { border-style: none; }
178
+  #org-info-js_console-label
179
+    { font-size: 10px; font-weight: bold; white-space: nowrap; }
180
+  .org-info-js_search-highlight
181
+    { background-color: #ffff00; color: #000000; font-weight: bold; }
182
+  .org-svg { width: 90%; }
183
+  /*]]>*/-->
184
+</style>
185
+<link rel="stylesheet" type="text/css" href="freedombone.css" />
186
+<script type="text/javascript">
187
+/*
188
+@licstart  The following is the entire license notice for the
189
+JavaScript code in this tag.
190
+
191
+Copyright (C) 2012-2013 Free Software Foundation, Inc.
192
+
193
+The JavaScript code in this tag is free software: you can
194
+redistribute it and/or modify it under the terms of the GNU
195
+General Public License (GNU GPL) as published by the Free Software
196
+Foundation, either version 3 of the License, or (at your option)
197
+any later version.  The code is distributed WITHOUT ANY WARRANTY;
198
+without even the implied warranty of MERCHANTABILITY or FITNESS
199
+FOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.
200
+
201
+As additional permission under GNU GPL version 3 section 7, you
202
+may distribute non-source (e.g., minimized or compacted) forms of
203
+that code without the copy of the GNU GPL normally required by
204
+section 4, provided you include this license notice and a URL
205
+through which recipients can access the Corresponding Source.
206
+
207
+
208
+@licend  The above is the entire license notice
209
+for the JavaScript code in this tag.
210
+*/
211
+<!--/*--><![CDATA[/*><!--*/
212
+ function CodeHighlightOn(elem, id)
213
+ {
214
+   var target = document.getElementById(id);
215
+   if(null != target) {
216
+     elem.cacheClassElem = elem.className;
217
+     elem.cacheClassTarget = target.className;
218
+     target.className = "code-highlighted";
219
+     elem.className   = "code-highlighted";
220
+   }
221
+ }
222
+ function CodeHighlightOff(elem, id)
223
+ {
224
+   var target = document.getElementById(id);
225
+   if(elem.cacheClassElem)
226
+     elem.className = elem.cacheClassElem;
227
+   if(elem.cacheClassTarget)
228
+     target.className = elem.cacheClassTarget;
229
+ }
230
+/*]]>*///-->
231
+</script>
232
+</head>
233
+<body>
234
+<div id="preamble" class="status">
235
+<a name="top" id="top"></a>
236
+</div>
237
+<div id="content">
238
+<div class="org-center">
239
+
240
+<div class="figure">
241
+<p><img src="images/logo.png" alt="logo.png" />
242
+</p>
243
+</div>
244
+</div>
245
+
246
+<center>
247
+<h1>XMPP/Jabber</h1>
248
+</center>
249
+
250
+<p>
251
+Most people know XMPP as "<i>Jabber</i>" and it's sometimes regarded and an old protocol once used by Google and Facebook but which is no longer relevant. However, it still works and if appropriately configured, as if is on Freedombone, can provide the best chat messaging security currently available.
252
+</p>
253
+
254
+<p>
255
+With regard to chat apps you might have read a lot of stuff about <i>end-to-end security</i>. That's important, but to also protect the metadata of who sends messages to who the data needs to be onion routed (wrapped in multiple layers of routing encryption), and that's something which most popular chat apps don't provide. Also beware of chat apps which fundamentally rely upon Google's infrastructure. You can be sure that they extensively data mine everything and will be able to reconstruct your social graph if that's at all technically feasible, then pass that to whatever governments they're friendly with or trying to lobby.
256
+</p>
257
+
258
+<p>
259
+A well written article on the state of XMPP and how it compares to other chat protocols <a href="https://gultsch.de/xmpp_2016.html">can be found here</a>.
260
+</p>
261
+
262
+<div id="outline-container-orgfc8b0bf" class="outline-2">
263
+<h2 id="orgfc8b0bf">Using with Gajim</h2>
264
+<div class="outline-text-2" id="text-orgfc8b0bf">
265
+<p>
266
+In mid 2016 <a href="https://gajim.org/">Gajim</a> became the first desktop XMPP client to support the <a href="https://en.wikipedia.org/wiki/OMEMO">OMEMO end-to-end security standard</a>, which is superior to the more traditional <a href="https://en.wikipedia.org/wiki/Off-the-Record_Messaging">OTR</a> since it also includes multi-user chat and the ratcheting mechanism pioneered by Open Whisper Systems. To install it:
267
+</p>
268
+
269
+<div class="org-src-container">
270
+<pre class="src src-bash">su -c <span class="org-string">'echo "deb ftp://ftp.gajim.org/debian unstable main" &gt; /etc/apt/sources.list.d/gajim.list'</span>
271
+sudo apt-get update
272
+sudo apt-get -y install gajim-dev-keyring
273
+sudo apt-get -y install git tor python-dev python-pip gajim-nightly
274
+mkdir ~/.local/share/gajim/plugins -p
275
+<span class="org-builtin">cd</span> ~/.local/share/gajim/plugins
276
+git clone https://github.com/omemo/gajim-omemo
277
+sudo pip install <span class="org-variable-name">protobuf</span>==2.6.1, python-axolotl==0.1.35
278
+</pre>
279
+</div>
280
+
281
+<p>
282
+Open Gajim and enter your XMPP address and password.
283
+</p>
284
+
285
+<p>
286
+Go to <b>Edit/Preferences</b> and select the <b>Advanced</b> tab. Under <b>Global Proxy</b> select <b>Tor</b> and the <b>Close</b> button. Then select <b>Edit/Plugins</b> and make sure that OMEMO is active (ticked), then select the <b>Close</b> button.
287
+</p>
288
+
289
+<p>
290
+When you start a conversation make sure that the OMEMO box is ticked. You can also click on the keys button and trust various fingerprints. Both sides will need to do that before an encrypted chat can start.
291
+</p>
292
+
293
+<p>
294
+If you wish to make backups of the OMEMO keys then they can be found within:
295
+</p>
296
+
297
+<div class="org-src-container">
298
+<pre class="src src-bash">~/.local/share/gajim
299
+</pre>
300
+</div>
301
+
302
+<p>
303
+If you wish to use OpenPGP to encrypt your messages then go to <b>Edit/Accounts</b>, select your account and then the <b>Personal Information</b> tab. You can then choose your GPG key. When initiating a chat you can select the <b>Advanced</b> button and then select <b>Toggle OpenPGP Encryption</b>. OpenPGP is not as secure as OMEMO, but does allow you to use XMPP in a similar style to email in that the recipient of the message does not necessarily need to be online at the same time that you send it.
304
+</p>
305
+</div>
306
+</div>
307
+
308
+<div id="outline-container-orgc35e2cb" class="outline-2">
309
+<h2 id="orgc35e2cb">Using with Profanity</h2>
310
+<div class="outline-text-2" id="text-orgc35e2cb">
311
+<p>
312
+The <a href="https://profanity.im">Profanity</a> shell based user interface and is perhaps the simplest way to use XMPP from a laptop. It's also a good way to ensure that your OTR keys are the same even when logging in from different laptops or devices, and it also means that if those devices later become compomised then there are no locally stored OTR keys to be found.
313
+</p>
314
+
315
+<div class="org-src-container">
316
+<pre class="src src-bash">ssh username@domain -p 2222
317
+</pre>
318
+</div>
319
+
320
+<p>
321
+Then select XMPP. Generate an <a href="https://en.wikipedia.org/wiki/Off-the-Record_Messaging">OTR</a> key with:
322
+</p>
323
+
324
+<div class="org-src-container">
325
+<pre class="src src-bash">/otr gen
326
+</pre>
327
+</div>
328
+
329
+<p>
330
+Then to start a conversation using OTR:
331
+</p>
332
+
333
+<div class="org-src-container">
334
+<pre class="src src-bash">/otr start otherusername@otheruserdomain
335
+</pre>
336
+</div>
337
+
338
+<p>
339
+or if you're already in an insecure chat with someone just use:
340
+</p>
341
+
342
+<div class="org-src-container">
343
+<pre class="src src-bash">/otr start
344
+</pre>
345
+</div>
346
+
347
+<p>
348
+Set a security question and answer:
349
+</p>
350
+
351
+<div class="org-src-container">
352
+<pre class="src src-bash">/otr question <span class="org-string">"What is the name of your best friends rabbit?"</span> fiffi
353
+</pre>
354
+</div>
355
+
356
+<p>
357
+On the other side the user can enter:
358
+</p>
359
+
360
+<div class="org-src-container">
361
+<pre class="src src-bash">/otr answer fiffi
362
+</pre>
363
+</div>
364
+
365
+<p>
366
+For the most paranoid you can also obtain your fingerprint:
367
+</p>
368
+
369
+<div class="org-src-container">
370
+<pre class="src src-bash">/otr myfp
371
+</pre>
372
+</div>
373
+
374
+<p>
375
+and quote that.  If they quote theirs back you can check it with:
376
+</p>
377
+
378
+<div class="org-src-container">
379
+<pre class="src src-bash">/otr theirfp
380
+</pre>
381
+</div>
382
+
383
+<p>
384
+If the fingerprints match then you can be pretty confident that unless you have been socially engineered via the question and answer you probably are talking to who you think you are, and that it will be difficult for mass surveillance systems to know the content of the conversation. For more details see <a href="https://www.profanity.im/otr.html">this guide</a>
385
+</p>
386
+
387
+<p>
388
+When accessed via the user control panel the client is automatically routed through Tor and so if you are also using OTR then this provides protection for both message content and metadata.
389
+</p>
390
+</div>
391
+</div>
392
+
393
+<div id="outline-container-orga90bf98" class="outline-2">
394
+<h2 id="orga90bf98">Using with Jitsi</h2>
395
+<div class="outline-text-2" id="text-orga90bf98">
396
+<p>
397
+Jitsi can be downloaded from <a href="https://jitsi.org">https://jitsi.org</a>
398
+</p>
399
+
400
+<p>
401
+On your desktop/laptop open Jitsi and select <b>Options</b> from the <b>Tools</b> menu.
402
+</p>
403
+
404
+<p>
405
+Click <b>Add</b> to add a new user, then enter the Jabber ID (yourusername@yourmaindomainname). Close and then you should notice that your status is "Online" (or if not then you should be able to set it to online).
406
+</p>
407
+
408
+<p>
409
+From the <b>File</b> menu you can add contacts, then select the chat icon to begin a chat.  Click on the lock icon on the right hand side and this will initiate an authentication procedure in which you can specify a question and answer to verify the identity of the person you're communicating with.  Once authentication is complete then you'll be chating using OTR, which provides an additional layer of security.
410
+</p>
411
+
412
+<p>
413
+When opening Jitsi initially you will get a certificate warning for your domain name (assuming that you're using a self-signed certificate). If this happens then select <b>View Certificate</b> and enable the checkbox to trust the certificate, then select <b>Continue Anyway</b>.  Once you've done this then the certificate warning will not appear again unless you reinstall Jitsi or use a different computer.
414
+</p>
415
+
416
+<p>
417
+You can also <a href="https://www.youtube.com/watch?v=vgx7VSrDGjk">see this video</a> as an example of using OTR.
418
+</p>
419
+</div>
420
+</div>
421
+
422
+<div id="outline-container-org0b60ac8" class="outline-2">
423
+<h2 id="org0b60ac8">Using with Ubuntu</h2>
424
+<div class="outline-text-2" id="text-org0b60ac8">
425
+<p>
426
+The default XMPP client in Ubuntu is Empathy.  Using Empathy isn't as secure as using Jitsi, since it doesn't include the <i>off the record</i> feature, but since it's the default it's what many users will have easy access to.
427
+</p>
428
+
429
+<p>
430
+Open <b>System Settings</b> and select <b>Online Accounts</b>, <b>Add account</b>  and then <b>Jabber</b>.
431
+</p>
432
+
433
+<p>
434
+Enter your username (username@domainname) and password.
435
+</p>
436
+
437
+<p>
438
+Click on <b>Advanced</b> and make sure that <b>Encryption required</b> and <b>Ignore SSL certificate errors</b> are checked.  Ignoring the certificate errors will allow you to use the self-signed certificate created earlier.  Then click <b>Done</b> and set your Jabber account and Empathy to <b>On</b>.
439
+</p>
440
+</div>
441
+</div>
442
+
443
+<div id="outline-container-org62a1e25" class="outline-2">
444
+<h2 id="org62a1e25">Using Tor Messenger</h2>
445
+<div class="outline-text-2" id="text-org62a1e25">
446
+<p>
447
+Tor Messenger is a messaging client which supports XMPP, and its onion routing enables you to protect the metadata of chat interactions to some extent by making it difficult for an adversary to know which server is talking to which. You can download Tor Messenger from <a href="https://torproject.org">torproject.org</a> and the setup is pretty simple.
448
+</p>
449
+</div>
450
+</div>
451
+
452
+<div id="outline-container-org496c82f" class="outline-2">
453
+<h2 id="org496c82f">Using with Android/Conversations</h2>
454
+<div class="outline-text-2" id="text-org496c82f">
455
+<p>
456
+Install <a href="https://f-droid.org/">F-Droid</a>
457
+</p>
458
+
459
+<p>
460
+Search for and install <b>Orbot</b> and <b>Conversations</b>.
461
+</p>
462
+
463
+<p>
464
+Add an account and enter your Jabber/XMPP ID and password.
465
+</p>
466
+
467
+<p>
468
+From the menu select <b>Settings</b> then <b>Expert Settings</b>. Select <b>Connect via Tor</b> and depending on your situation you might also want to select <b>Don't save encrypted messages</b>. Also within expert settings select <b>Keep in foreground</b>. This will enable you to still receive notifications when your device is in standby mode with the screen turned off.
469
+</p>
470
+
471
+<p>
472
+From the menu select <b>Manage accounts</b> and add a new account.
473
+</p>
474
+
475
+<div class="org-src-container">
476
+<pre class="src src-bash">Jabber ID: myusername@mydomain
477
+Password:  your XMPP password
478
+Hostname:  mydomain (preferably your xmpp onion address)
479
+Port:      5222
480
+</pre>
481
+</div>
482
+
483
+<p>
484
+Then select <b>Next</b>. When chatting you can use the lock icon to encrypt your conversation. OMEMO is the recommended type of encryption. It's also going through Tor, so passive surveillance of the metadata should not be easy for an adversary.
485
+</p>
486
+</div>
487
+</div>
488
+</div>
489
+<div id="postamble" class="status">
490
+
491
+<style type="text/css">
492
+.back-to-top {
493
+    position: fixed;
494
+    bottom: 2em;
495
+    right: 0px;
496
+    text-decoration: none;
497
+    color: #000000;
498
+    background-color: rgba(235, 235, 235, 0.80);
499
+    font-size: 12px;
500
+    padding: 1em;
501
+    display: none;
502
+}
503
+
504
+.back-to-top:hover {
505
+    background-color: rgba(135, 135, 135, 0.50);
506
+}
507
+</style>
508
+
509
+<div class="back-to-top">
510
+<a href="#top">Back to top</a> | <a href="mailto:bob@freedombone.net">E-mail me</a>
511
+</div>
512
+</div>
513
+</body>
514
+</html>

+ 71
- 67
website/EN/apps.html View File

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2016-11-12 Sat 20:28 -->
6
+<!-- 2016-11-12 Sat 21:09 -->
7 7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title></title>
@@ -257,9 +257,9 @@ The base install of the system just contains an email server and Mutt client, bu
257 257
 </div>
258 258
 </div>
259 259
 
260
-<div id="outline-container-orgd6bca02" class="outline-2">
261
-<h2 id="orgd6bca02">DLNA</h2>
262
-<div class="outline-text-2" id="text-orgd6bca02">
260
+<div id="outline-container-org71853c9" class="outline-2">
261
+<h2 id="org71853c9">DLNA</h2>
262
+<div class="outline-text-2" id="text-org71853c9">
263 263
 <p>
264 264
 Enables you to use the system as a music server which any DLNA compatible devices can connect to within your home network.
265 265
 </p>
@@ -269,45 +269,45 @@ Enables you to use the system as a music server which any DLNA compatible device
269 269
 </p>
270 270
 </div>
271 271
 </div>
272
-<div id="outline-container-org571c0cf" class="outline-2">
273
-<h2 id="org571c0cf">Dokuwiki</h2>
274
-<div class="outline-text-2" id="text-org571c0cf">
272
+<div id="outline-container-org284c732" class="outline-2">
273
+<h2 id="org284c732">Dokuwiki</h2>
274
+<div class="outline-text-2" id="text-org284c732">
275 275
 <p>
276 276
 A databaseless wiki system.
277 277
 </p>
278 278
 </div>
279 279
 </div>
280 280
 
281
-<div id="outline-container-org86c450f" class="outline-2">
282
-<h2 id="org86c450f">Emacs</h2>
283
-<div class="outline-text-2" id="text-org86c450f">
281
+<div id="outline-container-org78c9cd3" class="outline-2">
282
+<h2 id="org78c9cd3">Emacs</h2>
283
+<div class="outline-text-2" id="text-org78c9cd3">
284 284
 <p>
285 285
 If you use the Mutt client to read your email then this will set it up to use emacs for composing new mail.
286 286
 </p>
287 287
 </div>
288 288
 </div>
289 289
 
290
-<div id="outline-container-orgce869ec" class="outline-2">
291
-<h2 id="orgce869ec">Etherpad</h2>
292
-<div class="outline-text-2" id="text-orgce869ec">
290
+<div id="outline-container-org4bb81d0" class="outline-2">
291
+<h2 id="org4bb81d0">Etherpad</h2>
292
+<div class="outline-text-2" id="text-org4bb81d0">
293 293
 <p>
294 294
 Collaborate on creating documents in real time. Maybe you're planning a holiday with other family members or creating documentation for a Free Software project along with other volunteers. Etherpad is hard to beat for simplicity and speed. Only users of the system will be able to access it.
295 295
 </p>
296 296
 </div>
297 297
 </div>
298 298
 
299
-<div id="outline-container-orgfa92334" class="outline-2">
300
-<h2 id="orgfa92334">Ghost</h2>
301
-<div class="outline-text-2" id="text-orgfa92334">
299
+<div id="outline-container-org7c79714" class="outline-2">
300
+<h2 id="org7c79714">Ghost</h2>
301
+<div class="outline-text-2" id="text-org7c79714">
302 302
 <p>
303 303
 Modern looking blogging system.
304 304
 </p>
305 305
 </div>
306 306
 </div>
307 307
 
308
-<div id="outline-container-orgd5b6c40" class="outline-2">
309
-<h2 id="orgd5b6c40">GNU Social</h2>
310
-<div class="outline-text-2" id="text-orgd5b6c40">
308
+<div id="outline-container-org5690a60" class="outline-2">
309
+<h2 id="org5690a60">GNU Social</h2>
310
+<div class="outline-text-2" id="text-org5690a60">
311 311
 <p>
312 312
 Federated social network. You can "<i>remote follow</i>" other users within the GNU Social federation.
313 313
 </p>
@@ -317,27 +317,27 @@ Federated social network. You can "<i>remote follow</i>" other users within the
317 317
 </p>
318 318
 </div>
319 319
 </div>
320
-<div id="outline-container-org5a990e6" class="outline-2">
321
-<h2 id="org5a990e6">Gogs</h2>
322
-<div class="outline-text-2" id="text-org5a990e6">
320
+<div id="outline-container-org7763eae" class="outline-2">
321
+<h2 id="org7763eae">Gogs</h2>
322
+<div class="outline-text-2" id="text-org7763eae">
323 323
 <p>
324 324
 Lightweight git project hosting system. You can mirror projects from Github, or if Github turns evil then just host your own projects while retaining the familiar <i>fork-and-pull</i> workflow. If you can use Github then you can also use Gogs.
325 325
 </p>
326 326
 </div>
327 327
 </div>
328 328
 
329
-<div id="outline-container-org6d858db" class="outline-2">
330
-<h2 id="org6d858db">HTMLy</h2>
331
-<div class="outline-text-2" id="text-org6d858db">
329
+<div id="outline-container-org08b4f3b" class="outline-2">
330
+<h2 id="org08b4f3b">HTMLy</h2>
331
+<div class="outline-text-2" id="text-org08b4f3b">
332 332
 <p>
333 333
 Databaseless blogging system. Quite simple and with a markdown-like format.
334 334
 </p>
335 335
 </div>
336 336
 </div>
337 337
 
338
-<div id="outline-container-org6fad5ec" class="outline-2">
339
-<h2 id="org6fad5ec">Hubzilla</h2>
340
-<div class="outline-text-2" id="text-org6fad5ec">
338
+<div id="outline-container-orgc831a61" class="outline-2">
339
+<h2 id="orgc831a61">Hubzilla</h2>
340
+<div class="outline-text-2" id="text-orgc831a61">
341 341
 <p>
342 342
 Web publishing platform with social network like features and good privacy controls so that it's possible to specify who can see which content. Includes photo albums, calendar, wiki and file storage.
343 343
 </p>
@@ -347,9 +347,9 @@ Web publishing platform with social network like features and good privacy contr
347 347
 </p>
348 348
 </div>
349 349
 </div>
350
-<div id="outline-container-org6904871" class="outline-2">
351
-<h2 id="org6904871">IRC Server (ngirc)</h2>
352
-<div class="outline-text-2" id="text-org6904871">
350
+<div id="outline-container-org8d57cf9" class="outline-2">
351
+<h2 id="org8d57cf9">IRC Server (ngirc)</h2>
352
+<div class="outline-text-2" id="text-org8d57cf9">
353 353
 <p>
354 354
 Run your own IRC chat channel which can be secured with a password and accessible via an onion address. A bouncer is included so that you can receive messages sent while you were offline. Works with Hexchat and other popular clients.
355 355
 </p>
@@ -359,81 +359,81 @@ Run your own IRC chat channel which can be secured with a password and accessibl
359 359
 </p>
360 360
 </div>
361 361
 </div>
362
-<div id="outline-container-org3640e06" class="outline-2">
363
-<h2 id="org3640e06">Jitsi Meet</h2>
364
-<div class="outline-text-2" id="text-org3640e06">
362
+<div id="outline-container-orga66cd35" class="outline-2">
363
+<h2 id="orga66cd35">Jitsi Meet</h2>
364
+<div class="outline-text-2" id="text-orga66cd35">
365 365
 <p>
366 366
 Experimental WebRTC video conferencing system, similar to Google Hangouts. This may not be fully functional, but is hoped to be in the near future.
367 367
 </p>
368 368
 </div>
369 369
 </div>
370 370
 
371
-<div id="outline-container-org9134521" class="outline-2">
372
-<h2 id="org9134521">Lychee</h2>
373
-<div class="outline-text-2" id="text-org9134521">
371
+<div id="outline-container-org1c021e3" class="outline-2">
372
+<h2 id="org1c021e3">Lychee</h2>
373
+<div class="outline-text-2" id="text-org1c021e3">
374 374
 <p>
375 375
 Make your photo albums available on the web.
376 376
 </p>
377 377
 </div>
378 378
 </div>
379 379
 
380
-<div id="outline-container-org44a1ff5" class="outline-2">
381
-<h2 id="org44a1ff5">Mailpile</h2>
382
-<div class="outline-text-2" id="text-org44a1ff5">
380
+<div id="outline-container-orgfab03fc" class="outline-2">
381
+<h2 id="orgfab03fc">Mailpile</h2>
382
+<div class="outline-text-2" id="text-orgfab03fc">
383 383
 <p>
384 384
 Modern email client which supports GPG encryption.
385 385
 </p>
386 386
 </div>
387 387
 </div>
388 388
 
389
-<div id="outline-container-org228ca34" class="outline-2">
390
-<h2 id="org228ca34">Mumble</h2>
391
-<div class="outline-text-2" id="text-org228ca34">
389
+<div id="outline-container-orgbca4bd2" class="outline-2">
390
+<h2 id="orgbca4bd2">Mumble</h2>
391
+<div class="outline-text-2" id="text-orgbca4bd2">
392 392
 <p>
393 393
 The popular VoIP and text chat system. Say goodbye to old-fashioned telephony conferences with silly dial codes. Also works well on mobile.
394 394
 </p>
395 395
 </div>
396 396
 </div>
397 397
 
398
-<div id="outline-container-orgeccf92f" class="outline-2">
399
-<h2 id="orgeccf92f">PI-Hole</h2>
400
-<div class="outline-text-2" id="text-orgeccf92f">
398
+<div id="outline-container-org323418d" class="outline-2">
399
+<h2 id="org323418d">PI-Hole</h2>
400
+<div class="outline-text-2" id="text-org323418d">
401 401
 <p>
402 402
 The black hole for web adverts. Block adverts at the domain name level within your local network. It can significantly reduce bandwidth, speed up page load times and protect your systems from being tracked by spyware.
403 403
 </p>
404 404
 </div>
405 405
 </div>
406 406
 
407
-<div id="outline-container-orgd52fb5a" class="outline-2">
408
-<h2 id="orgd52fb5a">PostActiv</h2>
409
-<div class="outline-text-2" id="text-orgd52fb5a">
407
+<div id="outline-container-org3ac0b86" class="outline-2">
408
+<h2 id="org3ac0b86">PostActiv</h2>
409
+<div class="outline-text-2" id="text-org3ac0b86">
410 410
 <p>
411 411
 An alternative federated social networking system compatible with GNU Social. It includes some optimisations and fixes currently not available within the main GNU Social project.
412 412
 </p>
413 413
 </div>
414 414
 </div>
415 415
 
416
-<div id="outline-container-org70d72b7" class="outline-2">
417
-<h2 id="org70d72b7">Radicale</h2>
418
-<div class="outline-text-2" id="text-org70d72b7">
416
+<div id="outline-container-orgd9b9c78" class="outline-2">
417
+<h2 id="orgd9b9c78">Radicale</h2>
418
+<div class="outline-text-2" id="text-orgd9b9c78">
419 419
 <p>
420 420
 Calendar system compatible with CalDAV and CardDAV. Manage your calendar events easily across all your devices.
421 421
 </p>
422 422
 </div>
423 423
 </div>
424 424
 
425
-<div id="outline-container-org951789f" class="outline-2">
426
-<h2 id="org951789f">tt-rss</h2>
427
-<div class="outline-text-2" id="text-org951789f">
425
+<div id="outline-container-org5f5cdde" class="outline-2">
426
+<h2 id="org5f5cdde">tt-rss</h2>
427
+<div class="outline-text-2" id="text-org5f5cdde">
428 428
 <p>
429 429
 Private RSS reader. Pulls in RSS/Atom feeds via Tor and is only accessible via an onion address. Have "<i>the right to read</i>" without the Surveillance State knowing what you're reading. Also available with a user interface suitable for viewing on mobile devices via a browser such as OrFox.
430 430
 </p>
431 431
 </div>
432 432
 </div>
433 433
 
434
-<div id="outline-container-org742baf7" class="outline-2">
435
-<h2 id="org742baf7">Syncthing</h2>
436
-<div class="outline-text-2" id="text-org742baf7">
434
+<div id="outline-container-orgc7e726c" class="outline-2">
435
+<h2 id="orgc7e726c">Syncthing</h2>
436
+<div class="outline-text-2" id="text-orgc7e726c">
437 437
 <p>
438 438
 Possibly the best way to synchronise files across all of your devices. Once it has been set up it "just works" with no user intervention needed.
439 439
 </p>
@@ -443,30 +443,34 @@ Possibly the best way to synchronise files across all of your devices. Once it h
443 443
 </p>
444 444
 </div>
445 445
 </div>
446
-<div id="outline-container-org7fa483d" class="outline-2">
447
-<h2 id="org7fa483d">Tox</h2>
448
-<div class="outline-text-2" id="text-org7fa483d">
446
+<div id="outline-container-org6cd29df" class="outline-2">
447
+<h2 id="org6cd29df">Tox</h2>
448
+<div class="outline-text-2" id="text-org6cd29df">
449 449
 <p>
450 450
 Client and bootstrap node for the Tox chat/VoIP system.
451 451
 </p>
452 452
 </div>
453 453
 </div>
454 454
 
455
-<div id="outline-container-org1459499" class="outline-2">
456
-<h2 id="org1459499">Vim</h2>
457
-<div class="outline-text-2" id="text-org1459499">
455
+<div id="outline-container-org3a4951e" class="outline-2">
456
+<h2 id="org3a4951e">Vim</h2>
457
+<div class="outline-text-2" id="text-org3a4951e">
458 458
 <p>
459 459
 If you use the Mutt client to read your email then this will set it up to use vim for composing new mail.
460 460
 </p>
461 461
 </div>
462 462
 </div>
463 463
 
464
-<div id="outline-container-orgac0c9d6" class="outline-2">
465
-<h2 id="orgac0c9d6">XMPP</h2>
466
-<div class="outline-text-2" id="text-orgac0c9d6">
464
+<div id="outline-container-org6f93bbd" class="outline-2">
465
+<h2 id="org6f93bbd">XMPP</h2>
466
+<div class="outline-text-2" id="text-org6f93bbd">
467 467
 <p>
468 468
 Chat server which can be used together with client such as Gajim or Conversations to provide end-to-end content security and also onion routed metadata security. Includes advanced features such as <i>client state notification</i> to save battery power on your mobile devices, support for seamless roaming between networks and <i>message carbons</i> so that you can receive the same messages while being simultaneously logged in to your account on more than one device.
469 469
 </p>
470
+
471
+<p>
472
+<a href="./app_xmpp.html">How to use it</a>
473
+</p>
470 474
 </div>
471 475
 </div>
472 476
 </div>

+ 91
- 325
website/EN/usage.html View File

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2016-11-12 Sat 20:27 -->
6
+<!-- 2016-11-12 Sat 21:08 -->
7 7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title></title>
@@ -255,15 +255,15 @@ for the JavaScript code in this tag.
255 255
 </colgroup>
256 256
 <tbody>
257 257
 <tr>
258
-<td class="org-left"><a href="#org5bb31f9">Readme</a></td>
258
+<td class="org-left"><a href="#org5504d23">Readme</a></td>
259 259
 </tr>
260 260
 
261 261
 <tr>
262
-<td class="org-left"><a href="#orgbd22da2">Improving ssh security</a></td>
262
+<td class="org-left"><a href="#org3aa9885">Improving ssh security</a></td>
263 263
 </tr>
264 264
 
265 265
 <tr>
266
-<td class="org-left"><a href="#org03083b8">Administrating the system via an onion address (Tor)</a></td>
266
+<td class="org-left"><a href="#org0ace22c">Administrating the system via an onion address (Tor)</a></td>
267 267
 </tr>
268 268
 
269 269
 <tr>
@@ -295,30 +295,34 @@ for the JavaScript code in this tag.
295 295
 </tr>
296 296
 
297 297
 <tr>
298
-<td class="org-left"><a href="#org93777dd">Chat Services</a></td>
298
+<td class="org-left"><a href="./app_xmpp.html">XMPP/Jabber</a></td>
299 299
 </tr>
300 300
 
301 301
 <tr>
302
-<td class="org-left"><a href="#org3eb0562">RSS Reader</a></td>
302
+<td class="org-left"><a href="#org8e719dd">Chat Services</a></td>
303 303
 </tr>
304 304
 
305 305
 <tr>
306
-<td class="org-left"><a href="#org0140487">Git Projects</a></td>
306
+<td class="org-left"><a href="#orge398d82">RSS Reader</a></td>
307 307
 </tr>
308 308
 
309 309
 <tr>
310
-<td class="org-left"><a href="#org5c79868">Adding or removing users</a></td>
310
+<td class="org-left"><a href="#orgd2efde3">Git Projects</a></td>
311 311
 </tr>
312 312
 
313 313
 <tr>
314
-<td class="org-left"><a href="#orgf047482">Blocking Ads</a></td>
314
+<td class="org-left"><a href="#org07bb2b8">Adding or removing users</a></td>
315
+</tr>
316
+
317
+<tr>
318
+<td class="org-left"><a href="#org54d698e">Blocking Ads</a></td>
315 319
 </tr>
316 320
 </tbody>
317 321
 </table>
318 322
 
319
-<div id="outline-container-org5bb31f9" class="outline-2">
320
-<h2 id="org5bb31f9">Readme</h2>
321
-<div class="outline-text-2" id="text-org5bb31f9">
323
+<div id="outline-container-org5504d23" class="outline-2">
324
+<h2 id="org5504d23">Readme</h2>
325
+<div class="outline-text-2" id="text-org5504d23">
322 326
 <p>
323 327
 After the system has installed a README file will be generated which contains passwords and some brief advice on using the installed systems. You can read this with the following commands:
324 328
 </p>
@@ -338,9 +342,9 @@ To exit you can either just close the terminal or use <b>CTRL-x CTRL-c</b> follo
338 342
 </p>
339 343
 </div>
340 344
 </div>
341
-<div id="outline-container-orgbd22da2" class="outline-2">
342
-<h2 id="orgbd22da2">Improving ssh security</h2>
343
-<div class="outline-text-2" id="text-orgbd22da2">
345
+<div id="outline-container-org3aa9885" class="outline-2">
346
+<h2 id="org3aa9885">Improving ssh security</h2>
347
+<div class="outline-text-2" id="text-org3aa9885">
344 348
 <p>
345 349
 To improve ssh security you can generate an ssh key pair on your system and then upload the public key to the Freedombone.
346 350
 </p>
@@ -390,9 +394,9 @@ If you wish to only use ssh keys then log in to the Freedombone, become the root
390 394
 </div>
391 395
 </div>
392 396
 
393
-<div id="outline-container-org03083b8" class="outline-2">
394
-<h2 id="org03083b8">Administrating the system via an onion address (Tor)</h2>
395
-<div class="outline-text-2" id="text-org03083b8">
397
+<div id="outline-container-org0ace22c" class="outline-2">
398
+<h2 id="org0ace22c">Administrating the system via an onion address (Tor)</h2>
399
+<div class="outline-text-2" id="text-org0ace22c">
396 400
 <p>
397 401
 You can also access your system via the Tor system using an onion address. To find out what the onion address for ssh access is you can do the following:
398 402
 </p>
@@ -434,257 +438,19 @@ Subsequently even if dynamic DNS isn't working you may still be able to administ
434 438
 </p>
435 439
 </div>
436 440
 </div>
437
-<div id="outline-container-org93777dd" class="outline-2">
438
-<h2 id="org93777dd">Chat Services</h2>
439
-<div class="outline-text-2" id="text-org93777dd">
440
-</div><div id="outline-container-org848d506" class="outline-3">
441
-<h3 id="org848d506">XMPP/Jabber</h3>
442
-<div class="outline-text-3" id="text-org848d506">
443
-</div><div id="outline-container-org05712a9" class="outline-4">
444
-<h4 id="org05712a9">About XMPP</h4>
445
-<div class="outline-text-4" id="text-org05712a9">
446
-<p>
447
-A well written article on the state of XMPP and how it compares to other chat protocols <a href="https://gultsch.de/xmpp_2016.html">can be found here</a>.
448
-</p>
449
-</div>
450
-</div>
451
-<div id="outline-container-org063f13a" class="outline-4">
452
-<h4 id="org063f13a">Using with Gajim</h4>
453
-<div class="outline-text-4" id="text-org063f13a">
454
-<p>
455
-In mid 2016 <a href="https://gajim.org/">Gajim</a> became the first desktop XMPP client to support the <a href="https://en.wikipedia.org/wiki/OMEMO">OMEMO end-to-end security standard</a>, which is superior to the more traditional <a href="https://en.wikipedia.org/wiki/Off-the-Record_Messaging">OTR</a> since it also includes multi-user chat and the ratcheting mechanism pioneered by Open Whisper Systems. To install it:
456
-</p>
457
-
458
-<div class="org-src-container">
459
-<pre class="src src-bash">su -c <span class="org-string">'echo "deb ftp://ftp.gajim.org/debian unstable main" &gt; /etc/apt/sources.list.d/gajim.list'</span>
460
-sudo apt-get update
461
-sudo apt-get -y install gajim-dev-keyring
462
-sudo apt-get -y install git tor python-dev python-pip gajim-nightly
463
-mkdir ~/.local/share/gajim/plugins -p
464
-<span class="org-builtin">cd</span> ~/.local/share/gajim/plugins
465
-git clone https://github.com/omemo/gajim-omemo
466
-sudo pip install <span class="org-variable-name">protobuf</span>==2.6.1, python-axolotl==0.1.35
467
-</pre>
468
-</div>
469
-
470
-<p>
471
-Open Gajim and enter your XMPP address and password.
472
-</p>
473
-
474
-<p>
475
-Go to <b>Edit/Preferences</b> and select the <b>Advanced</b> tab. Under <b>Global Proxy</b> select <b>Tor</b> and the <b>Close</b> button. Then select <b>Edit/Plugins</b> and make sure that OMEMO is active (ticked), then select the <b>Close</b> button.
476
-</p>
477
-
478
-<p>
479
-When you start a conversation make sure that the OMEMO box is ticked. You can also click on the keys button and trust various fingerprints. Both sides will need to do that before an encrypted chat can start.
480
-</p>
481
-
482
-<p>
483
-If you wish to make backups of the OMEMO keys then they can be found within:
484
-</p>
485
-
486
-<div class="org-src-container">
487
-<pre class="src src-bash">~/.local/share/gajim
488
-</pre>
489
-</div>
490
-
491
-<p>
492
-If you wish to use OpenPGP to encrypt your messages then go to <b>Edit/Accounts</b>, select your account and then the <b>Personal Information</b> tab. You can then choose your GPG key. When initiating a chat you can select the <b>Advanced</b> button and then select <b>Toggle OpenPGP Encryption</b>. OpenPGP is not as secure as OMEMO, but does allow you to use XMPP in a similar style to email in that the recipient of the message does not necessarily need to be online at the same time that you send it.
493
-</p>
494
-</div>
495
-</div>
496
-
497
-<div id="outline-container-orge5efeff" class="outline-4">
498
-<h4 id="orge5efeff">Using with Profanity</h4>
499
-<div class="outline-text-4" id="text-orge5efeff">
500
-<p>
501
-The <a href="https://profanity.im">Profanity</a> shell based user interface and is perhaps the simplest way to use XMPP from a laptop. It's also a good way to ensure that your OTR keys are the same even when logging in from different laptops or devices, and it also means that if those devices later become compomised then there are no locally stored OTR keys to be found.
502
-</p>
503
-
504
-<div class="org-src-container">
505
-<pre class="src src-bash">ssh username@domain -p 2222
506
-</pre>
507
-</div>
508
-
509
-<p>
510
-Then select XMPP. Generate an <a href="https://en.wikipedia.org/wiki/Off-the-Record_Messaging">OTR</a> key with:
511
-</p>
512
-
513
-<div class="org-src-container">
514
-<pre class="src src-bash">/otr gen
515
-</pre>
516
-</div>
517
-
518
-<p>
519
-Then to start a conversation using OTR:
520
-</p>
521
-
522
-<div class="org-src-container">
523
-<pre class="src src-bash">/otr start otherusername@otheruserdomain
524
-</pre>
525
-</div>
526
-
527
-<p>
528
-or if you're already in an insecure chat with someone just use:
529
-</p>
530
-
531
-<div class="org-src-container">
532
-<pre class="src src-bash">/otr start
533
-</pre>
534
-</div>
535
-
536
-<p>
537
-Set a security question and answer:
538
-</p>
539
-
540
-<div class="org-src-container">
541
-<pre class="src src-bash">/otr question <span class="org-string">"What is the name of your best friends rabbit?"</span> fiffi
542
-</pre>
543
-</div>
544
-
545
-<p>
546
-On the other side the user can enter:
547
-</p>
548
-
549
-<div class="org-src-container">
550
-<pre class="src src-bash">/otr answer fiffi
551
-</pre>
552
-</div>
553
-
554
-<p>
555
-For the most paranoid you can also obtain your fingerprint:
556
-</p>
557
-
558
-<div class="org-src-container">
559
-<pre class="src src-bash">/otr myfp
560
-</pre>
561
-</div>
562
-
563
-<p>
564
-and quote that.  If they quote theirs back you can check it with:
565
-</p>
566
-
567
-<div class="org-src-container">
568
-<pre class="src src-bash">/otr theirfp
569
-</pre>
570
-</div>
571
-
572
-<p>
573
-If the fingerprints match then you can be pretty confident that unless you have been socially engineered via the question and answer you probably are talking to who you think you are, and that it will be difficult for mass surveillance systems to know the content of the conversation. For more details see <a href="https://www.profanity.im/otr.html">this guide</a>
574
-</p>
575
-
576
-<p>
577
-When accessed via the user control panel the client is automatically routed through Tor and so if you are also using OTR then this provides protection for both message content and metadata.
578
-</p>
579
-</div>
580
-</div>
581
-<div id="outline-container-org1243af3" class="outline-4">
582
-<h4 id="org1243af3">Using with Jitsi</h4>
583
-<div class="outline-text-4" id="text-org1243af3">
584
-<p>
585
-Jitsi is the recommended communications client for desktop or laptop systems, since it includes the <i>off the record</i> (OTR) feature which provides some additional security beyond the usual SSL certificates.
586
-</p>
587
-
588
-<p>
589
-Jitsi can be downloaded from <a href="https://jitsi.org">https://jitsi.org</a>
590
-</p>
591
-
592
-<p>
593
-On your desktop/laptop open Jitsi and select <b>Options</b> from the <b>Tools</b> menu.
594
-</p>
595
-
596
-<p>
597
-Click <b>Add</b> to add a new user, then enter the Jabber ID which you previously specified with <i>prosodyctl</i> when setting up the XMPP server. Close and then you should notice that your status is "Online" (or if not then you should be able to set it to online).
598
-</p>
599
-
600
-<p>
601
-From the <b>File</b> menu you can add contacts, then select the chat icon to begin a chat.  Click on the lock icon on the right hand side and this will initiate an authentication procedure in which you can specify a question and answer to verify the identity of the person you're communicating with.  Once authentication is complete then you'll be chating using OTR, which provides an additional layer of security.
602
-</p>
603
-
604
-<p>
605
-When opening Jitsi initially you will get a certificate warning for your domain name (assuming that you're using a self-signed certificate). If this happens then select <b>View Certificate</b> and enable the checkbox to trust the certificate, then select <b>Continue Anyway</b>.  Once you've done this then the certificate warning will not appear again unless you reinstall Jitsi or use a different computer.
606
-</p>
607
-
608
-<p>
609
-You can also <a href="https://www.youtube.com/watch?v=vgx7VSrDGjk">see this video</a> as an example of using OTR.
610
-</p>
611
-</div>
612
-</div>
613
-<div id="outline-container-org26e4d0c" class="outline-4">
614
-<h4 id="org26e4d0c">Using with Ubuntu</h4>
615
-<div class="outline-text-4" id="text-org26e4d0c">
616
-<p>
617
-The default XMPP client in Ubuntu is Empathy.  Using Empathy isn't as secure as using Jitsi, since it doesn't include the <i>off the record</i> feature, but since it's the default it's what many users will have easy access to.
618
-</p>
619
-
620
-<p>
621
-Open <b>System Settings</b> and select <b>Online Accounts</b>, <b>Add account</b>  and then <b>Jabber</b>.
622
-</p>
623
-
624
-<p>
625
-Enter your username (username@domainname) and password.
626
-</p>
627
-
628
-<p>
629
-Click on <b>Advanced</b> and make sure that <b>Encryption required</b> and <b>Ignore SSL certificate errors</b> are checked.  Ignoring the certificate errors will allow you to use the self-signed certificate created earlier.  Then click <b>Done</b> and set your Jabber account and Empathy to <b>On</b>.
630
-</p>
631
-</div>
632
-</div>
633
-<div id="outline-container-org0d31b4f" class="outline-4">
634
-<h4 id="org0d31b4f">Using Tor Messenger</h4>
635
-<div class="outline-text-4" id="text-org0d31b4f">
636
-<p>
637
-Tor Messenger is a messaging client which supports XMPP, and its onion routing enables you to protect the metadata of chat interactions to some extent by making it difficult for an adversary to know which server is talking to which. You can download Tor Messenger from <a href="https://torproject.org">torproject.org</a> and the setup is pretty simple.
638
-</p>
639
-</div>
640
-</div>
641
-<div id="outline-container-org205f4a5" class="outline-4">
642
-<h4 id="org205f4a5">Using with Android/Conversations</h4>
643
-<div class="outline-text-4" id="text-org205f4a5">
644
-<p>
645
-Install <a href="https://f-droid.org/">F-Droid</a>
646
-</p>
647
-
648
-<p>
649
-Search for and install <b>Orbot</b> and <b>Conversations</b>.
650
-</p>
651
-
652
-<p>
653
-Add an account and enter your Jabber/XMPP ID and password.
654
-</p>
655
-
656
-<p>
657
-From the menu select <b>Settings</b> then <b>Expert Settings</b>. Select <b>Connect via Tor</b> and depending on your situation you might also want to select <b>Don't save encrypted messages</b>. Also within expert settings select <b>Keep in foreground</b>. This will enable you to still receive notifications when your device is in standby mode with the screen turned off.
658
-</p>
659
-
660
-<p>
661
-From the menu select <b>Manage accounts</b> and add a new account.
662
-</p>
663
-
664
-<div class="org-src-container">
665
-<pre class="src src-bash">Jabber ID: myusername@mydomain
666
-Password:  your XMPP password
667
-Hostname:  mydomain
668
-Port:      5222
669
-</pre>
670
-</div>
671
-
672
-<p>
673
-Then select <b>Next</b>. When chatting you can use the lock icon to encrypt your conversation. OMEMO is the recommended type of encryption. It's also going through Tor, so passive surveillance of the metadata should not be easy for an adversary.
674
-</p>
675
-</div>
676
-</div>
677
-</div>
678
-<div id="outline-container-orgd56650b" class="outline-3">
679
-<h3 id="orgd56650b">Tox</h3>
680
-<div class="outline-text-3" id="text-orgd56650b">
441
+<div id="outline-container-org8e719dd" class="outline-2">
442
+<h2 id="org8e719dd">Chat Services</h2>
443
+<div class="outline-text-2" id="text-org8e719dd">
444
+</div><div id="outline-container-orgfd9b41d" class="outline-3">
445
+<h3 id="orgfd9b41d">Tox</h3>
446
+<div class="outline-text-3" id="text-orgfd9b41d">
681 447
 <p>
682 448
 Tox is an encrypted peer-to-peer messaging system and so should work without Freedombone. It uses a system of nodes which act as a sort of directory service allowing users to find and connect to each other. The Tox node ID on the Freedombone can be found within the README within your home directory. If you have other users connect to your node then you will be able to continue chatting even when no other nodes are available.
683 449
 </p>
684 450
 </div>
685
-<div id="outline-container-orga52b252" class="outline-4">
686
-<h4 id="orga52b252">Using the Toxic client</h4>
687
-<div class="outline-text-4" id="text-orga52b252">
451
+<div id="outline-container-org316675e" class="outline-4">
452
+<h4 id="org316675e">Using the Toxic client</h4>
453
+<div class="outline-text-4" id="text-org316675e">
688 454
 <p>
689 455
 Log into your system with:
690 456
 </p>
@@ -707,20 +473,20 @@ Then from the menu select <b>Tox Chat</b>. Tox is encrypted by default and also
707 473
 </div>
708 474
 </div>
709 475
 
710
-<div id="outline-container-orge804b5d" class="outline-3">
711
-<h3 id="orge804b5d">VoIP (Voice and text chat)</h3>
712
-<div class="outline-text-3" id="text-orge804b5d">
713
-</div><div id="outline-container-org3f66035" class="outline-4">
714
-<h4 id="org3f66035">Text chat</h4>
715
-<div class="outline-text-4" id="text-org3f66035">
476
+<div id="outline-container-org62321a2" class="outline-3">
477
+<h3 id="org62321a2">VoIP (Voice and text chat)</h3>
478
+<div class="outline-text-3" id="text-org62321a2">
479
+</div><div id="outline-container-orgaff6ffe" class="outline-4">
480
+<h4 id="orgaff6ffe">Text chat</h4>
481
+<div class="outline-text-4" id="text-orgaff6ffe">
716 482
 <p>
717 483
 In addition to voice it is also possible to do text chat via mumble. The security of this is pretty good provided that you do it via Plumble and Orbot on mobile, but compared to other options such as XMPP/Conversations or Tox the security is not as good, since the mumble server currently doesn't support forward secrecy.
718 484
 </p>
719 485
 </div>
720 486
 </div>
721
-<div id="outline-container-org89b03bc" class="outline-4">
722
-<h4 id="org89b03bc">Using with Ubuntu</h4>
723
-<div class="outline-text-4" id="text-org89b03bc">
487
+<div id="outline-container-orgd01c29a" class="outline-4">
488
+<h4 id="orgd01c29a">Using with Ubuntu</h4>
489
+<div class="outline-text-4" id="text-orgd01c29a">
724 490
 <p>
725 491
 Within the software center search for "mumble" and install the client then run it. Skip through the audio setup wizard.
726 492
 </p>
@@ -730,9 +496,9 @@ Click on "add new" to add a new server and enter the default domain name for the
730 496
 </p>
731 497
 </div>
732 498
 </div>
733
-<div id="outline-container-org85a5327" class="outline-4">
734
-<h4 id="org85a5327">Using with Android</h4>
735
-<div class="outline-text-4" id="text-org85a5327">
499
+<div id="outline-container-org6f20c3a" class="outline-4">
500
+<h4 id="org6f20c3a">Using with Android</h4>
501
+<div class="outline-text-4" id="text-org6f20c3a">
736 502
 <p>
737 503
 Install <a href="https://f-droid.org/">F-Droid</a>
738 504
 </p>
@@ -767,24 +533,24 @@ Selecting the server by pressing on it then connects you to the server so that y
767 533
 </div>
768 534
 </div>
769 535
 </div>
770
-<div id="outline-container-org7b7a25c" class="outline-3">
771
-<h3 id="org7b7a25c">SIP phones</h3>
772
-<div class="outline-text-3" id="text-org7b7a25c">
536
+<div id="outline-container-org9248580" class="outline-3">
537
+<h3 id="org9248580">SIP phones</h3>
538
+<div class="outline-text-3" id="text-org9248580">
773 539
 <p>
774 540
 Freedombone also supports SIP phones The username and domain is the same as for your email address, and the SIP password and extension number will appear within the README file in your home directory. Various SIP client options are available, such as CSipSimple on Android and Jitsi on desktop or laptop machines. Ideally use clients which support ZRTP, which will provide the best level of security.
775 541
 </p>
776 542
 </div>
777
-<div id="outline-container-orgbb92679" class="outline-4">
778
-<h4 id="orgbb92679">About ZRTP</h4>
779
-<div class="outline-text-4" id="text-orgbb92679">
543
+<div id="outline-container-org6941885" class="outline-4">
544
+<h4 id="org6941885">About ZRTP</h4>
545
+<div class="outline-text-4" id="text-org6941885">
780 546
 <p>
781 547
 <a href="https://jitsi.org/Documentation/ZrtpFAQ">ZRTP</a> appears to be the current best standard to end-to-end encrypted voice calls, combining good security with simplicity of use. When the initial cryptographic negotiation between phones is done at the start of a call a short authentication string (SAS) is calculated and displayed at both ends. To check that there isn't anyone intercepting the call and acting as a <i>man in the middle</i> - as <a href="https://en.wikipedia.org/wiki/Stingray_phone_tracker">stingray type devices</a> try to do - the short authentication string can be read out and verbally confirmed between the callers. If it's the same then you can be pretty confident that the call is secure.
782 548
 </p>
783 549
 </div>
784 550
 </div>
785
-<div id="outline-container-org8e84902" class="outline-4">
786
-<h4 id="org8e84902">Using with CSIPSimple</h4>
787
-<div class="outline-text-4" id="text-org8e84902">
551
+<div id="outline-container-org3d8f178" class="outline-4">
552
+<h4 id="org3d8f178">Using with CSIPSimple</h4>
553
+<div class="outline-text-4" id="text-org3d8f178">
788 554
 <p>
789 555
 Add an account. Under <b>General Wizards</b> choose <b>Expert</b> and enter the following details:
790 556
 </p>
@@ -840,9 +606,9 @@ If everything is working the account should appear in green with a status of <b>
840 606
 </p>
841 607
 </div>
842 608
 </div>
843
-<div id="outline-container-org89e6c64" class="outline-4">
844
-<h4 id="org89e6c64">Using with Ring</h4>
845
-<div class="outline-text-4" id="text-org89e6c64">
609
+<div id="outline-container-org4201792" class="outline-4">
610
+<h4 id="org4201792">Using with Ring</h4>
611
+<div class="outline-text-4" id="text-org4201792">
846 612
 <p>
847 613
 From the menu select <b>Manage accounts</b>.
848 614
 </p>
@@ -895,9 +661,9 @@ Select the <b>Security</b> tab. Under <b>SRTP Key Exchange</b> select <b>ZRTP</b
895 661
 </div>
896 662
 </div>
897 663
 
898
-<div id="outline-container-org3eb0562" class="outline-2">
899
-<h2 id="org3eb0562">RSS Reader</h2>
900
-<div class="outline-text-2" id="text-org3eb0562">
664
+<div id="outline-container-orge398d82" class="outline-2">
665
+<h2 id="orge398d82">RSS Reader</h2>
666
+<div class="outline-text-2" id="text-orge398d82">
901 667
 <p>
902 668
 The way that RSS reading is set up on Freedombone gives you strong reading privacy. Not only is there onion routing between you and the server but also between the server and the source of the RSS feed. The only down side is that many RSS feeds are still http only, and so could be vulnerable to injection attacks, but it's expected that more of this will go to https in the foreseeable future due to a combination of growing recognition of security issues and systems like Let's Encrypt which make obtaining certificates much easier.
903 669
 </p>
@@ -909,9 +675,9 @@ The way that RSS reading is set up on Freedombone gives you strong reading priva
909 675
 </div>
910 676
 </div>
911 677
 
912
-<div id="outline-container-org45ca393" class="outline-3">
913
-<h3 id="org45ca393">Finding the onion address</h3>
914
-<div class="outline-text-3" id="text-org45ca393">
678
+<div id="outline-container-org7118e6c" class="outline-3">
679
+<h3 id="org7118e6c">Finding the onion address</h3>
680
+<div class="outline-text-3" id="text-org7118e6c">
915 681
 <p>
916 682
 See the control panel for the RSS reader onion address.
917 683
 </p>
@@ -935,9 +701,9 @@ To set up the system open <a href="http://rss_reader_onion_address">http://rss_r
935 701
 </div>
936 702
 </div>
937 703
 
938
-<div id="outline-container-org0814faa" class="outline-3">
939
-<h3 id="org0814faa">On mobile</h3>
940
-<div class="outline-text-3" id="text-org0814faa">
704
+<div id="outline-container-org9ff93d4" class="outline-3">
705
+<h3 id="org9ff93d4">On mobile</h3>
706
+<div class="outline-text-3" id="text-org9ff93d4">
941 707
 <p>
942 708
 To access the RSS reader from a mobile device you can install a Tor compatible browser such as OrFox. It will try to automatically change to the mobile version of the user interface. Remember to add the site to the NoScript whitelist, and you may also need to turn HTTPS Everywhere off.
943 709
 </p>
@@ -949,9 +715,9 @@ A note for the paranoid is that on mobile devices you get redirected to a differ
949 715
 </blockquote>
950 716
 </div>
951 717
 </div>
952
-<div id="outline-container-org4f142b0" class="outline-3">
953
-<h3 id="org4f142b0">With Emacs</h3>
954
-<div class="outline-text-3" id="text-org4f142b0">
718
+<div id="outline-container-orga9ff6cf" class="outline-3">
719
+<h3 id="orga9ff6cf">With Emacs</h3>
720
+<div class="outline-text-3" id="text-orga9ff6cf">
955 721
 <p>
956 722
 If you are an Emacs user then you can also read your RSS feeds via the <a href="https://github.com/dk87/avandu">Avandu</a> mode.
957 723
 </p>
@@ -990,9 +756,9 @@ And ensure that the Tor daemon is installed:
990 756
 </div>
991 757
 </div>
992 758
 </div>
993
-<div id="outline-container-org0140487" class="outline-2">
994
-<h2 id="org0140487">Git Projects</h2>
995
-<div class="outline-text-2" id="text-org0140487">
759
+<div id="outline-container-orgd2efde3" class="outline-2">
760
+<h2 id="orgd2efde3">Git Projects</h2>
761
+<div class="outline-text-2" id="text-orgd2efde3">
996 762
 <p>
997 763
 Github is ok, but it's proprietary and funded by venture capital. If you been around on the internet for long enough then you know how this story eventually works itself out - i.e. badly for the users. It's really only a question of time. If you're a software developer or do things which involve the Git version control system then it's a good idea to become accustomed to hosting your own repositories, before the inevitable Github shitstorm happens.
998 764
 </p>
@@ -1028,9 +794,9 @@ This will stop any spam accounts being created by random strangers or bots. You
1028 794
 </p>
1029 795
 </div>
1030 796
 </div>
1031
-<div id="outline-container-org5c79868" class="outline-2">
1032
-<h2 id="org5c79868">Adding or removing users</h2>
1033
-<div class="outline-text-2" id="text-org5c79868">
797
+<div id="outline-container-org07bb2b8" class="outline-2">
798
+<h2 id="org07bb2b8">Adding or removing users</h2>
799
+<div class="outline-text-2" id="text-org07bb2b8">
1034 800
 <p>
1035 801
 Log into the system with:
1036 802
 </p>
@@ -1058,9 +824,9 @@ control
1058 824
 </div>
1059 825
 </div>
1060 826
 
1061
-<div id="outline-container-orgf047482" class="outline-2">
1062
-<h2 id="orgf047482">Blocking Ads</h2>
1063
-<div class="outline-text-2" id="text-orgf047482">
827
+<div id="outline-container-org54d698e" class="outline-2">
828
+<h2 id="org54d698e">Blocking Ads</h2>
829
+<div class="outline-text-2" id="text-org54d698e">
1064 830
 <p>
1065 831
 Everyone except for advertisers hates adverts. Not only are they annoying, but they can consume a lot of bandwidth, be a privacy problem in terms of allowing companies to track your browsing habits and also any badly written scripts they contain may introduce exploitable security holes. Also if you're poor then adverts often make you want things that you can't have.
1066 832
 </p>
@@ -1074,9 +840,9 @@ Also don't expect perfection. Though many ads may be blocked by this system some
1074 840
 </p>
1075 841
 </div>
1076 842
 
1077
-<div id="outline-container-org9407dca" class="outline-3">
1078
-<h3 id="org9407dca">Set a static IP address</h3>
1079
-<div class="outline-text-3" id="text-org9407dca">
843
+<div id="outline-container-orgc3683e3" class="outline-3">
844
+<h3 id="orgc3683e3">Set a static IP address</h3>
845
+<div class="outline-text-3" id="text-orgc3683e3">
1080 846
 <p>
1081 847
 Ensure that your system has a static local IP address (typically 192.168..) using the option on the control panel. You will also need to know the IP address of your internet router, which is usually <b>192.168.1.1</b> or <b>192.168.1.254</b>.
1082 848
 </p>
@@ -1087,9 +853,9 @@ When that's done select <b>About this system</b> from the control panel and see
1087 853
 </div>
1088 854
 </div>
1089 855
 
1090
-<div id="outline-container-org4309453" class="outline-3">
1091
-<h3 id="org4309453">On each client system within your local network</h3>
1092
-<div class="outline-text-3" id="text-org4309453">
856
+<div id="outline-container-org7df7a53" class="outline-3">
857
+<h3 id="org7df7a53">On each client system within your local network</h3>
858
+<div class="outline-text-3" id="text-org7df7a53">
1093 859
 <div class="org-src-container">
1094 860
 <pre class="src src-bash">sudo chattr -i /etc/resolv.conf
1095 861
 sudo nano /etc/resolv.conf
@@ -1116,9 +882,9 @@ Normally <i>resolv.conf</i> will be overwritten every time your reboot, but you
1116 882
 </div>
1117 883
 </div>
1118 884
 
1119
-<div id="outline-container-org22c1431" class="outline-3">
1120
-<h3 id="org22c1431">On your internet router</h3>
1121
-<div class="outline-text-3" id="text-org22c1431">
885
+<div id="outline-container-org58db9c9" class="outline-3">
886
+<h3 id="org58db9c9">On your internet router</h3>
887
+<div class="outline-text-3" id="text-org58db9c9">
1122 888
 <p>
1123 889
 If you can access the settings on your local internet router then this is the simplest way to provide ad blocking for all devices which connect to it. Unfortunately some router models don't let you edit the DNS settings and if that's the case you might want to consider getting a different router.
1124 890
 </p>
@@ -1128,9 +894,9 @@ Edit the DNS settings and add the IPv4 address which you got from the control pa
1128 894
 </p>
1129 895
 </div>
1130 896
 
1131
-<div id="outline-container-org6c4afef" class="outline-4">
1132
-<h4 id="org6c4afef">LibreCMC</h4>
1133
-<div class="outline-text-4" id="text-org6c4afef">
897
+<div id="outline-container-org6cfdab6" class="outline-4">
898
+<h4 id="org6cfdab6">LibreCMC</h4>
899
+<div class="outline-text-4" id="text-org6cfdab6">
1134 900
 <p>
1135 901
 On a router running LibreCMC from the <b>Network</b> menu select <b>DHCP and DNS</b>. Enter the static IP address of your Freedombone system within <b>DNS Forwardings</b>, then at the bottom of the page click on <b>Save &amp; Apply</b>. Any devices which connect to your router will now have ad blocking.
1136 902
 </p>
@@ -1138,9 +904,9 @@ On a router running LibreCMC from the <b>Network</b> menu select <b>DHCP and DNS
1138 904
 </div>
1139 905
 </div>
1140 906
 
1141
-<div id="outline-container-org987a1ad" class="outline-3">
1142
-<h3 id="org987a1ad">Configuring block lists</h3>
1143
-<div class="outline-text-3" id="text-org987a1ad">
907
+<div id="outline-container-orgf97e7b7" class="outline-3">
908
+<h3 id="orgf97e7b7">Configuring block lists</h3>
909
+<div class="outline-text-3" id="text-orgf97e7b7">
1144 910
 <p>
1145 911
 You can configure the block lists which the system uses by going to the <b>administrator control panel</b>, selecting <b>App Settings</b> then choosing <b>pihole</b>. You can also add any extra domain names to the whitelist if they're being wrongly blocked or to the blacklist if they're not blocked by the current lists.
1146 912
 </p>