Parcourir la source

Document irc setup

Bob Mottram il y a 9 ans
Parent
révision
6b658f2a20
3 fichiers modifiés avec 401 ajouts et 121 suppressions
  1. 135
    4
      doc/EN/usage.org
  2. BIN
      img/xchat_setup.jpg
  3. 266
    117
      website/EN/usage.html

+ 135
- 4
doc/EN/usage.org Voir le fichier

@@ -191,22 +191,153 @@ ssh myusername@mydomain -p 2222
191 191
 #+END_SRC
192 192
 
193 193
 Then select *IRC* from the menu. Irssi is automatically set up to connect to your server and route its messages through the Tor network. Some popular systems such as *Freenode* reject connections coming from Tor (as a very crude attempt to stop trolls) and so if you want to use those you can exit to the command line from the menu and then just type "irssi" to use the system without Tor.
194
+
195
+To connect manually:
196
+
197
+#+BEGIN_SRC bash
198
+irssi
199
+/server add -auto -ssl yourdomainname 6697
200
+/connect yourdomainname
201
+/join #freedombone
202
+/save
203
+#+END_SRC
194 204
 *** XChat
195
-If you are using the XChat client:
205
+First install xchat and set up its configuration file.
206
+
207
+#+BEGIN_SRC bash
208
+sudo apt-get install tor xchat
209
+mkdir ~/.xchat2
210
+echo "# By default, XChat based IRC software, when started-up, or run for first time,
211
+# it starts to use local network, to connect to the internet. To prevent that,
212
+# and to force it, to use Tor proxy (a Socks5 server):
213
+#
214
+# /set net_proxy_host 127.0.0.1
215
+# /set net_proxy_port 9050
216
+# /set net_proxy_type 3
217
+# /set net_proxy_use 0
218
+net_proxy_host = 127.0.0.1
219
+net_proxy_port = 9050
220
+# Technical note: 3 = socks5
221
+net_proxy_type = 3
222
+# Technical note: Do not worry. 0 is not equal to "off". 0 stands for "All".
223
+#                 Check yourself https://toxin.jottit.com/xchat_set_variables
224
+net_proxy_use = 0
225
+
226
+# XChat should not use the same circuit/exit server as other Tor applications.
227
+# Otherwise activity in different applications could be correlated to the same
228
+# pseudonym. There is a way to prevent that.
229
+# It is called stream isolation. We use IsolateSOCKSAuth, 
230
+# see https://www.torproject.org/docs/tor-manual-dev.html.en
231
+# The password is actually not required, but it does not hurt either.
232
+# Will probable not hurt on Tor 0.2.2 and below.
233
+# Works with Tor 0.2.3 and above.
234
+#
235
+# /set net_proxy_auth 1
236
+# /set net_proxy_pass = XChat
237
+# /set net_proxy_user = XChat
238
+#
239
+net_proxy_auth = 1
240
+net_proxy_pass = XChat
241
+net_proxy_user = XChat
242
+
243
+# Get rid of protocol leaks:
244
+# a DCC session can reveal IP address, etc. identd flag can reveal your
245
+# username which you use to login in your OS(Windows/Linux/Unix/MacOS) profile.
246
+# To prevent those:
247
+#
248
+# /set dcc_auto_chat 0
249
+# /set dcc_auto_resume OFF
250
+# /set dcc_auto_send 0
251
+# /set irc_hide_version ON
252
+# /set identd OFF <-- NOT working on all XChat-based IRC software.
253
+# But still highly suggested to include & use it.
254
+# Probable not needed on UNIX, source: http://xchat.org/faq/#q21 
255
+dcc_auto_chat = 0
256
+dcc_auto_resume = 0
257
+dcc_auto_send = 0
258
+irc_hide_version = 1
259
+identd = 0
260
+
261
+# If you use your own comment instead of default values, then these data are
262
+# posted on each channel when you do these events: JOIN, PART, QUIT, AWAY.
263
+# So they can reveal who you actually are, when you are using same XChat
264
+# software for multiple different nicknames.
265
+#
266
+# Delete everything under Settings -> Preferences -> Default Messages:
267
+# -> Quit: <Deleted everything!>
268
+# -> Leave channel: <Deleted everything!>
269
+# -> Away: <Deleted everything!>
270
+away_reason = 
271
+irc_part_reason = 
272
+irc_quit_reason = 
273
+
274
+# By default, XChat based IRC software uses your platform OS(Operating System)s
275
+# login user name as your nickname, user name, real name.  To prevent leaking
276
+# that, and, to use your own choice of nickname, realname, username:
277
+#
278
+# ***Pseudonymous vs. anonymous IRC use.***
279
+# Actually IRC is pseudonymous. Your nickname might also reveal something about
280
+# your origin, interests, etc. You can make IRC more anonymous by choosing a more
281
+# meaningless nickname. Use the following defaults if you want to be more anonymous.
282
+# If user, user_ and user___ are already taken, add more _ or start using user1,
283
+# user2, user3, etc. Or if the irc network auto assigns your a nickname, i.e.
284
+# guest532, stick with that nickname.
285
+#
286
+# Of course, you are free to continue using IRC in a pseudonymous manner.
287
+# In that case, instant of user, choose your nickname.
288
+#
289
+# /set irc_real_name user
290
+# /set irc_user_name user
291
+# /set irc_nick1 user
292
+# /set irc_nick2 user_
293
+# /set irc_nick3 user__
294
+irc_real_name = user
295
+irc_user_name = user
296
+irc_nick1 = user
297
+irc_nick2 = user_
298
+irc_nick3 = user__
299
+
300
+# Use a more common nick completion suffix:
301
+# When you write the first few characters of a nickname followed by tab,
302
+# it will, by XChat default, complete the nickname and ", " behind the
303
+# nickname. The behavior is XChat specific. The " :" is more more common
304
+# for more common clients such as mIRC.
305
+#
306
+# XChat -> Settings -> Preferences -> input box -> completion_suffix set to :
307
+#
308
+completion_suffix = :
309
+
310
+# Not starting the server windows at the beginning so you can check and set
311
+# settings before connecting to any IRC networks.
312
+gui_slist_skip = 1
313
+" > ~/.xchat2/xchat.conf
314
+#+END_SRC
315
+
316
+Now look up the onion address for your IRC server
317
+
318
+#+BEGIN_SRC bash
319
+ssh username@mydomainname -p 2222
320
+#+END_SRC
321
+
322
+Select Administrator options, then *About this system* and make a note of the onion address for IRC. Also select the *IRC Menu* and take a note of the login password.
323
+
324
+[[file:images/xchat_setup.jpg]]
325
+
326
+Run XChat.
196 327
 
197 328
 Within the network list click, *Add* and enter your domain name then click *Edit*.
198 329
 
199
-Select the entry within the servers box, then enter *mydomainname/6697* and press *Enter*.
330
+Select the entry within the servers box, then enter *ircaddress.onion/6697* and press *Enter*.
200 331
 
201 332
 Uncheck *use global user information*.
202 333
 
203 334
 Enter first and second nicknames and check *auto connect to this network on startup*.
204 335
 
205
-Check *use SSL* and *accept invalid SSL certificate*.
336
+Make sure that *use SSL* is unchecked. Encryption will be handled via the onion address itself.
206 337
 
207 338
 Enter *#freedombone* as the channel name.
208 339
 
209
-Enter the password which can be found from the IRC menu of the *control panel*.
340
+Within the *Server password* field enter the password which can be found from the IRC menu of the *control panel*.
210 341
 
211 342
 Click *close* and then *connect*.
212 343
 

BIN
img/xchat_setup.jpg Voir le fichier


+ 266
- 117
website/EN/usage.html Voir le fichier

@@ -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-04-16 Sat 09:22 -->
6
+<!-- 2016-04-17 Sun 14:54 -->
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>
@@ -170,15 +170,15 @@ for the JavaScript code in this tag.
170 170
 </colgroup>
171 171
 <tbody>
172 172
 <tr>
173
-<td class="org-left"><a href="#org2013d81">Readme</a></td>
173
+<td class="org-left"><a href="#org6af1e50">Readme</a></td>
174 174
 </tr>
175 175
 
176 176
 <tr>
177
-<td class="org-left"><a href="#org28cca59">Improving ssh security</a></td>
177
+<td class="org-left"><a href="#org4220ea0">Improving ssh security</a></td>
178 178
 </tr>
179 179
 
180 180
 <tr>
181
-<td class="org-left"><a href="#org6cc1512">Administrating the system via an onion address (Tor)</a></td>
181
+<td class="org-left"><a href="#org2824bde">Administrating the system via an onion address (Tor)</a></td>
182 182
 </tr>
183 183
 
184 184
 <tr>
@@ -190,38 +190,38 @@ for the JavaScript code in this tag.
190 190
 </tr>
191 191
 
192 192
 <tr>
193
-<td class="org-left"><a href="#org2b75c6c">Syncing to the Cloud</a></td>
193
+<td class="org-left"><a href="#org18a8a7">Syncing to the Cloud</a></td>
194 194
 </tr>
195 195
 
196 196
 <tr>
197
-<td class="org-left"><a href="#org9cdb3b4">Play Music</a></td>
197
+<td class="org-left"><a href="#orgb1fd53f">Play Music</a></td>
198 198
 </tr>
199 199
 
200 200
 <tr>
201
-<td class="org-left"><a href="#org65a42bf">Microblogging (GNU Social)</a></td>
201
+<td class="org-left"><a href="#org65f2bcb">Microblogging (GNU Social)</a></td>
202 202
 </tr>
203 203
 
204 204
 <tr>
205
-<td class="org-left"><a href="#org4a6e22d">Social Network</a></td>
205
+<td class="org-left"><a href="#org5ac61bc">Social Network</a></td>
206 206
 </tr>
207 207
 
208 208
 <tr>
209
-<td class="org-left"><a href="#orgb9bc8b7">Chat Services</a></td>
209
+<td class="org-left"><a href="#org179d200">Chat Services</a></td>
210 210
 </tr>
211 211
 
212 212
 <tr>
213
-<td class="org-left"><a href="#orge817e38">RSS Reader</a></td>
213
+<td class="org-left"><a href="#orgecc633b">RSS Reader</a></td>
214 214
 </tr>
215 215
 
216 216
 <tr>
217
-<td class="org-left"><a href="#org1e497a1">Adding or removing users</a></td>
217
+<td class="org-left"><a href="#orga74a75d">Adding or removing users</a></td>
218 218
 </tr>
219 219
 </tbody>
220 220
 </table>
221 221
 
222
-<div id="outline-container-org2013d81" class="outline-2">
223
-<h2 id="org2013d81">Readme</h2>
224
-<div class="outline-text-2" id="text-org2013d81">
222
+<div id="outline-container-org6af1e50" class="outline-2">
223
+<h2 id="org6af1e50">Readme</h2>
224
+<div class="outline-text-2" id="text-org6af1e50">
225 225
 <p>
226 226
 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:
227 227
 </p>
@@ -242,9 +242,9 @@ To exit you can either just close the terminal or use <b>CTRL-x CTRL-c</b> follo
242 242
 </p>
243 243
 </div>
244 244
 </div>
245
-<div id="outline-container-org28cca59" class="outline-2">
246
-<h2 id="org28cca59">Improving ssh security</h2>
247
-<div class="outline-text-2" id="text-org28cca59">
245
+<div id="outline-container-org4220ea0" class="outline-2">
246
+<h2 id="org4220ea0">Improving ssh security</h2>
247
+<div class="outline-text-2" id="text-org4220ea0">
248 248
 <p>
249 249
 To improve ssh security you can generate an ssh key pair on your system and then upload the public key to the Freedombone.
250 250
 </p>
@@ -297,9 +297,9 @@ If you wish to only use ssh keys then log in to the Freedombone, become the root
297 297
 </div>
298 298
 </div>
299 299
 
300
-<div id="outline-container-org6cc1512" class="outline-2">
301
-<h2 id="org6cc1512">Administrating the system via an onion address (Tor)</h2>
302
-<div class="outline-text-2" id="text-org6cc1512">
300
+<div id="outline-container-org2824bde" class="outline-2">
301
+<h2 id="org2824bde">Administrating the system via an onion address (Tor)</h2>
302
+<div class="outline-text-2" id="text-org2824bde">
303 303
 <p>
304 304
 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:
305 305
 </p>
@@ -328,9 +328,9 @@ Subsequently even if dynamic DNS isn't working you may still be able to administ
328 328
 </p>
329 329
 </div>
330 330
 </div>
331
-<div id="outline-container-org2b75c6c" class="outline-2">
332
-<h2 id="org2b75c6c">Syncing to the Cloud</h2>
333
-<div class="outline-text-2" id="text-org2b75c6c">
331
+<div id="outline-container-org18a8a7" class="outline-2">
332
+<h2 id="org18a8a7">Syncing to the Cloud</h2>
333
+<div class="outline-text-2" id="text-org18a8a7">
334 334
 <p>
335 335
 <a href="https://syncthing.net/">Syncthing</a> provides a similar capability to proprietary systems such as <a href="http://www.drop-dropbox.com/">Dropbox</a>, and also is well suited for use with low power single board computers. You can have one or more directories which are synchronized across your various laptops/desktops/devices, and this makes it hard for you to ever lose important files. The manner in which the synchronization is done is pretty secure, such that it would be difficult for passive adversaries (mass surveillance, "<i>men in the middle</i>", etc) to know what files you're sharing. Of course, you don't necessarily need to be running a server in order to use Syncthing, but if you do have a server which is always running then there's always at least one place to synchronize your files to or from.
336 336
 </p>
@@ -340,9 +340,9 @@ Freedombone provides Syncthing shared directories for each user on the system, p
340 340
 </p>
341 341
 </div>
342 342
 
343
-<div id="outline-container-orgf982f94" class="outline-3">
344
-<h3 id="orgf982f94">On a laptop</h3>
345
-<div class="outline-text-3" id="text-orgf982f94">
343
+<div id="outline-container-org29125c1" class="outline-3">
344
+<h3 id="org29125c1">On a laptop</h3>
345
+<div class="outline-text-3" id="text-org29125c1">
346 346
 <p>
347 347
 Install syncthing:
348 348
 </p>
@@ -397,9 +397,9 @@ Now wait for a few minutes. Eventually you will see two messages appear within t
397 397
 </p>
398 398
 </div>
399 399
 </div>
400
-<div id="outline-container-org4ea57c9" class="outline-3">
401
-<h3 id="org4ea57c9">On Android</h3>
402
-<div class="outline-text-3" id="text-org4ea57c9">
400
+<div id="outline-container-org45ea954" class="outline-3">
401
+<h3 id="org45ea954">On Android</h3>
402
+<div class="outline-text-3" id="text-org45ea954">
403 403
 <p>
404 404
 Install Syncthing and Connectbot from F-droid.
405 405
 </p>
@@ -430,12 +430,12 @@ Now wait for a few minutes or more. Eventually you should receive two notificati
430 430
 </div>
431 431
 </div>
432 432
 </div>
433
-<div id="outline-container-org9cdb3b4" class="outline-2">
434
-<h2 id="org9cdb3b4">Play Music</h2>
435
-<div class="outline-text-2" id="text-org9cdb3b4">
436
-</div><div id="outline-container-org5224921" class="outline-3">
437
-<h3 id="org5224921">With the DLNA service</h3>
438
-<div class="outline-text-3" id="text-org5224921">
433
+<div id="outline-container-orgb1fd53f" class="outline-2">
434
+<h2 id="orgb1fd53f">Play Music</h2>
435
+<div class="outline-text-2" id="text-orgb1fd53f">
436
+</div><div id="outline-container-org40ea8c6" class="outline-3">
437
+<h3 id="org40ea8c6">With the DLNA service</h3>
438
+<div class="outline-text-3" id="text-org40ea8c6">
439 439
 <p>
440 440
 An easy way to play music on any mobile device in your home is to use the DLNA service. Copy your music into a directory called "<i>Music</i>" on a USB thumb drive and then insert it into from socket on the Beaglebone.
441 441
 </p>
@@ -476,9 +476,9 @@ The DLNA service will only work within your local home network, and isn't remote
476 476
 </div>
477 477
 </div>
478 478
 
479
-<div id="outline-container-org65a42bf" class="outline-2">
480
-<h2 id="org65a42bf">Microblogging (GNU Social)</h2>
481
-<div class="outline-text-2" id="text-org65a42bf">
479
+<div id="outline-container-org65f2bcb" class="outline-2">
480
+<h2 id="org65f2bcb">Microblogging (GNU Social)</h2>
481
+<div class="outline-text-2" id="text-org65f2bcb">
482 482
 <p>
483 483
 To log into your GNU Social site first obtain your username and password from the "microblogging" section of the readme file.
484 484
 </p>
@@ -507,20 +507,20 @@ GNU Social has a clutter-free mobile user interface which can be accessed via a
507 507
 </div>
508 508
 </div>
509 509
 
510
-<div id="outline-container-org4a6e22d" class="outline-2">
511
-<h2 id="org4a6e22d">Social Network</h2>
512
-<div class="outline-text-2" id="text-org4a6e22d">
513
-</div><div id="outline-container-orgedb396e" class="outline-3">
514
-<h3 id="orgedb396e">Domains</h3>
515
-<div class="outline-text-3" id="text-orgedb396e">
510
+<div id="outline-container-org5ac61bc" class="outline-2">
511
+<h2 id="org5ac61bc">Social Network</h2>
512
+<div class="outline-text-2" id="text-org5ac61bc">
513
+</div><div id="outline-container-org92f9601" class="outline-3">
514
+<h3 id="org92f9601">Domains</h3>
515
+<div class="outline-text-3" id="text-org92f9601">
516 516
 <p>
517 517
 Both Hubzilla and GNU Social try to obtain certificates automatically at the time of installation via Let's Encrypt. This will likely mean that in order for this to work you'll need to have obtained at least one "official" domain via a domain selling service, since Let's Encrypt mostly doesn't seem to work with free subdomains from sites such as freeDNS.
518 518
 </p>
519 519
 </div>
520 520
 </div>
521
-<div id="outline-container-org36440d3" class="outline-3">
522
-<h3 id="org36440d3">Initial install</h3>
523
-<div class="outline-text-3" id="text-org36440d3">
521
+<div id="outline-container-org6e9d961" class="outline-3">
522
+<h3 id="org6e9d961">Initial install</h3>
523
+<div class="outline-text-3" id="text-org6e9d961">
524 524
 <p>
525 525
 On first visiting your Hubzilla site you'll see the login screen. The first thing you need to do is <b>register</b> a new user. The first user on the system then becomes its administrator.
526 526
 </p>
@@ -534,19 +534,19 @@ On first visiting your Hubzilla site you'll see the login screen. The first thin
534 534
 </div>
535 535
 </div>
536 536
 
537
-<div id="outline-container-orgb9bc8b7" class="outline-2">
538
-<h2 id="orgb9bc8b7">Chat Services</h2>
539
-<div class="outline-text-2" id="text-orgb9bc8b7">
540
-</div><div id="outline-container-org68b61e1" class="outline-3">
541
-<h3 id="org68b61e1">IRC</h3>
542
-<div class="outline-text-3" id="text-org68b61e1">
537
+<div id="outline-container-org179d200" class="outline-2">
538
+<h2 id="org179d200">Chat Services</h2>
539
+<div class="outline-text-2" id="text-org179d200">
540
+</div><div id="outline-container-org5a71dc" class="outline-3">
541
+<h3 id="org5a71dc">IRC</h3>
542
+<div class="outline-text-3" id="text-org5a71dc">
543 543
 <p>
544 544
 IRC is useful for multi-user chat. The classic use case is for software development where many engineers might need to coordinate their activities, but it's also useful for meetings, parties and general socialising.
545 545
 </p>
546 546
 </div>
547
-<div id="outline-container-org55d9970" class="outline-4">
548
-<h4 id="org55d9970">Irssi</h4>
549
-<div class="outline-text-4" id="text-org55d9970">
547
+<div id="outline-container-org6563ded" class="outline-4">
548
+<h4 id="org6563ded">Irssi</h4>
549
+<div class="outline-text-4" id="text-org6563ded">
550 550
 <p>
551 551
 The easiest way to use irssi is to connect to your system, like this:
552 552
 </p>
@@ -560,13 +560,162 @@ The easiest way to use irssi is to connect to your system, like this:
560 560
 <p>
561 561
 Then select <b>IRC</b> from the menu. Irssi is automatically set up to connect to your server and route its messages through the Tor network. Some popular systems such as <b>Freenode</b> reject connections coming from Tor (as a very crude attempt to stop trolls) and so if you want to use those you can exit to the command line from the menu and then just type "irssi" to use the system without Tor.
562 562
 </p>
563
+
564
+<p>
565
+To connect manually:
566
+</p>
567
+
568
+<div class="org-src-container">
569
+
570
+<pre class="src src-bash">irssi
571
+/server add -auto -ssl yourdomainname 6697
572
+/connect yourdomainname
573
+/join <span class="org-comment-delimiter">#</span><span class="org-comment">freedombone</span>
574
+/save
575
+</pre>
576
+</div>
577
+</div>
578
+</div>
579
+<div id="outline-container-org31fe657" class="outline-4">
580
+<h4 id="org31fe657">XChat</h4>
581
+<div class="outline-text-4" id="text-org31fe657">
582
+<p>
583
+First install xchat and set up its configuration file.
584
+</p>
585
+
586
+<div class="org-src-container">
587
+
588
+<pre class="src src-bash">sudo apt-get install tor xchat
589
+mkdir ~/.xchat2
590
+<span class="org-builtin">echo</span> <span class="org-string">"# By default, XChat based IRC software, when started-up, or run for first time,</span>
591
+<span class="org-string"># it starts to use local network, to connect to the internet. To prevent that,</span>
592
+<span class="org-string"># and to force it, to use Tor proxy (a Socks5 server):</span>
593
+<span class="org-string">#</span>
594
+<span class="org-string"># /set net_proxy_host 127.0.0.1</span>
595
+<span class="org-string"># /set net_proxy_port 9050</span>
596
+<span class="org-string"># /set net_proxy_type 3</span>
597
+<span class="org-string"># /set net_proxy_use 0</span>
598
+<span class="org-string">net_proxy_host = 127.0.0.1</span>
599
+<span class="org-string">net_proxy_port = 9050</span>
600
+<span class="org-string"># Technical note: 3 = socks5</span>
601
+<span class="org-string">net_proxy_type = 3</span>
602
+<span class="org-string"># Technical note: Do not worry. 0 is not equal to "</span>off<span class="org-string">". 0 stands for "</span>All<span class="org-string">".</span>
603
+<span class="org-string">#                 Check yourself https://toxin.jottit.com/xchat_set_variables</span>
604
+<span class="org-string">net_proxy_use = 0</span>
605
+
606
+<span class="org-string"># XChat should not use the same circuit/exit server as other Tor applications.</span>
607
+<span class="org-string"># Otherwise activity in different applications could be correlated to the same</span>
608
+<span class="org-string"># pseudonym. There is a way to prevent that.</span>
609
+<span class="org-string"># It is called stream isolation. We use IsolateSOCKSAuth, </span>
610
+<span class="org-string"># see https://www.torproject.org/docs/tor-manual-dev.html.en</span>
611
+<span class="org-string"># The password is actually not required, but it does not hurt either.</span>
612
+<span class="org-string"># Will probable not hurt on Tor 0.2.2 and below.</span>
613
+<span class="org-string"># Works with Tor 0.2.3 and above.</span>
614
+<span class="org-string">#</span>
615
+<span class="org-string"># /set net_proxy_auth 1</span>
616
+<span class="org-string"># /set net_proxy_pass = XChat</span>
617
+<span class="org-string"># /set net_proxy_user = XChat</span>
618
+<span class="org-string">#</span>
619
+<span class="org-string">net_proxy_auth = 1</span>
620
+<span class="org-string">net_proxy_pass = XChat</span>
621
+<span class="org-string">net_proxy_user = XChat</span>
622
+
623
+<span class="org-string"># Get rid of protocol leaks:</span>
624
+<span class="org-string"># a DCC session can reveal IP address, etc. identd flag can reveal your</span>
625
+<span class="org-string"># username which you use to login in your OS(Windows/Linux/Unix/MacOS) profile.</span>
626
+<span class="org-string"># To prevent those:</span>
627
+<span class="org-string">#</span>
628
+<span class="org-string"># /set dcc_auto_chat 0</span>
629
+<span class="org-string"># /set dcc_auto_resume OFF</span>
630
+<span class="org-string"># /set dcc_auto_send 0</span>
631
+<span class="org-string"># /set irc_hide_version ON</span>
632
+<span class="org-string"># /set identd OFF &lt;-- NOT working on all XChat-based IRC software.</span>
633
+<span class="org-string"># But still highly suggested to include &amp; use it.</span>
634
+<span class="org-string"># Probable not needed on UNIX, source: http://xchat.org/faq/#q21 </span>
635
+<span class="org-string">dcc_auto_chat = 0</span>
636
+<span class="org-string">dcc_auto_resume = 0</span>
637
+<span class="org-string">dcc_auto_send = 0</span>
638
+<span class="org-string">irc_hide_version = 1</span>
639
+<span class="org-string">identd = 0</span>
640
+
641
+<span class="org-string"># If you use your own comment instead of default values, then these data are</span>
642
+<span class="org-string"># posted on each channel when you do these events: JOIN, PART, QUIT, AWAY.</span>
643
+<span class="org-string"># So they can reveal who you actually are, when you are using same XChat</span>
644
+<span class="org-string"># software for multiple different nicknames.</span>
645
+<span class="org-string">#</span>
646
+<span class="org-string"># Delete everything under Settings -&gt; Preferences -&gt; Default Messages:</span>
647
+<span class="org-string"># -&gt; Quit: &lt;Deleted everything!&gt;</span>
648
+<span class="org-string"># -&gt; Leave channel: &lt;Deleted everything!&gt;</span>
649
+<span class="org-string"># -&gt; Away: &lt;Deleted everything!&gt;</span>
650
+<span class="org-string">away_reason = </span>
651
+<span class="org-string">irc_part_reason = </span>
652
+<span class="org-string">irc_quit_reason = </span>
653
+
654
+<span class="org-string"># By default, XChat based IRC software uses your platform OS(Operating System)s</span>
655
+<span class="org-string"># login user name as your nickname, user name, real name.  To prevent leaking</span>
656
+<span class="org-string"># that, and, to use your own choice of nickname, realname, username:</span>
657
+<span class="org-string">#</span>
658
+<span class="org-string"># ***Pseudonymous vs. anonymous IRC use.***</span>
659
+<span class="org-string"># Actually IRC is pseudonymous. Your nickname might also reveal something about</span>
660
+<span class="org-string"># your origin, interests, etc. You can make IRC more anonymous by choosing a more</span>
661
+<span class="org-string"># meaningless nickname. Use the following defaults if you want to be more anonymous.</span>
662
+<span class="org-string"># If user, user_ and user___ are already taken, add more _ or start using user1,</span>
663
+<span class="org-string"># user2, user3, etc. Or if the irc network auto assigns your a nickname, i.e.</span>
664
+<span class="org-string"># guest532, stick with that nickname.</span>
665
+<span class="org-string">#</span>
666
+<span class="org-string"># Of course, you are free to continue using IRC in a pseudonymous manner.</span>
667
+<span class="org-string"># In that case, instant of user, choose your nickname.</span>
668
+<span class="org-string">#</span>
669
+<span class="org-string"># /set irc_real_name user</span>
670
+<span class="org-string"># /set irc_user_name user</span>
671
+<span class="org-string"># /set irc_nick1 user</span>
672
+<span class="org-string"># /set irc_nick2 user_</span>
673
+<span class="org-string"># /set irc_nick3 user__</span>
674
+<span class="org-string">irc_real_name = user</span>
675
+<span class="org-string">irc_user_name = user</span>
676
+<span class="org-string">irc_nick1 = user</span>
677
+<span class="org-string">irc_nick2 = user_</span>
678
+<span class="org-string">irc_nick3 = user__</span>
679
+
680
+<span class="org-string"># Use a more common nick completion suffix:</span>
681
+<span class="org-string"># When you write the first few characters of a nickname followed by tab,</span>
682
+<span class="org-string"># it will, by XChat default, complete the nickname and "</span>, <span class="org-string">" behind the</span>
683
+<span class="org-string"># nickname. The behavior is XChat specific. The "</span> :<span class="org-string">" is more more common</span>
684
+<span class="org-string"># for more common clients such as mIRC.</span>
685
+<span class="org-string">#</span>
686
+<span class="org-string"># XChat -&gt; Settings -&gt; Preferences -&gt; input box -&gt; completion_suffix set to :</span>
687
+<span class="org-string">#</span>
688
+<span class="org-string">completion_suffix = :</span>
689
+
690
+<span class="org-string"># Not starting the server windows at the beginning so you can check and set</span>
691
+<span class="org-string"># settings before connecting to any IRC networks.</span>
692
+<span class="org-string">gui_slist_skip = 1</span>
693
+<span class="org-string">"</span> &gt; ~/.xchat2/xchat.conf
694
+</pre>
563 695
 </div>
696
+
697
+<p>
698
+Now look up the onion address for your IRC server
699
+</p>
700
+
701
+<div class="org-src-container">
702
+
703
+<pre class="src src-bash">ssh username@mydomainname -p 2222
704
+</pre>
705
+</div>
706
+
707
+<p>
708
+Select Administrator options, then <b>About this system</b> and make a note of the onion address for IRC. Also select the <b>IRC Menu</b> and take a note of the login password.
709
+</p>
710
+
711
+
712
+<div class="figure">
713
+<p><img src="images/xchat_setup.jpg" alt="xchat_setup.jpg" />
714
+</p>
564 715
 </div>
565
-<div id="outline-container-org4e9f75" class="outline-4">
566
-<h4 id="org4e9f75">XChat</h4>
567
-<div class="outline-text-4" id="text-org4e9f75">
716
+
568 717
 <p>
569
-If you are using the XChat client:
718
+Run XChat.
570 719
 </p>
571 720
 
572 721
 <p>
@@ -574,7 +723,7 @@ Within the network list click, <b>Add</b> and enter your domain name then click
574 723
 </p>
575 724
 
576 725
 <p>
577
-Select the entry within the servers box, then enter <b>mydomainname/6697</b> and press <b>Enter</b>.
726
+Select the entry within the servers box, then enter <b>ircaddress.onion/6697</b> and press <b>Enter</b>.
578 727
 </p>
579 728
 
580 729
 <p>
@@ -586,7 +735,7 @@ Enter first and second nicknames and check <b>auto connect to this network on st
586 735
 </p>
587 736
 
588 737
 <p>
589
-Check <b>use SSL</b> and <b>accept invalid SSL certificate</b>.
738
+Make sure that <b>use SSL</b> is unchecked. Encryption will be handled via the onion address itself.
590 739
 </p>
591 740
 
592 741
 <p>
@@ -594,7 +743,7 @@ Enter <b>#freedombone</b> as the channel name.
594 743
 </p>
595 744
 
596 745
 <p>
597
-Enter the password which can be found from the IRC menu of the <b>control panel</b>.
746
+Within the <b>Server password</b> field enter the password which can be found from the IRC menu of the <b>control panel</b>.
598 747
 </p>
599 748
 
600 749
 <p>
@@ -603,9 +752,9 @@ Click <b>close</b> and then <b>connect</b>.
603 752
 </div>
604 753
 </div>
605 754
 
606
-<div id="outline-container-org1fbcb10" class="outline-4">
607
-<h4 id="org1fbcb10">Changing or removing the IRC password</h4>
608
-<div class="outline-text-4" id="text-org1fbcb10">
755
+<div id="outline-container-org64f2283" class="outline-4">
756
+<h4 id="org64f2283">Changing or removing the IRC password</h4>
757
+<div class="outline-text-4" id="text-org64f2283">
609 758
 <p>
610 759
 By default the IRC server is set up to require a password for users to log in. The password is the same for all users. If you want to change or remove the password:
611 760
 </p>
@@ -623,12 +772,12 @@ Select <i>Administrator controls</i> then <b>IRC Menu</b> and then change the pa
623 772
 </div>
624 773
 </div>
625 774
 
626
-<div id="outline-container-org8558071" class="outline-3">
627
-<h3 id="org8558071">XMPP/Jabber</h3>
628
-<div class="outline-text-3" id="text-org8558071">
629
-</div><div id="outline-container-orge846be9" class="outline-4">
630
-<h4 id="orge846be9">Using with Profanity</h4>
631
-<div class="outline-text-4" id="text-orge846be9">
775
+<div id="outline-container-org3355fd0" class="outline-3">
776
+<h3 id="org3355fd0">XMPP/Jabber</h3>
777
+<div class="outline-text-3" id="text-org3355fd0">
778
+</div><div id="outline-container-orgd0ad23" class="outline-4">
779
+<h4 id="orgd0ad23">Using with Profanity</h4>
780
+<div class="outline-text-4" id="text-orgd0ad23">
632 781
 <p>
633 782
 The <a href="http://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.
634 783
 </p>
@@ -718,9 +867,9 @@ When accessed via the user control panel the client is automatically routed thro
718 867
 </p>
719 868
 </div>
720 869
 </div>
721
-<div id="outline-container-org3ff09a1" class="outline-4">
722
-<h4 id="org3ff09a1">Using with Jitsi</h4>
723
-<div class="outline-text-4" id="text-org3ff09a1">
870
+<div id="outline-container-org1d91511" class="outline-4">
871
+<h4 id="org1d91511">Using with Jitsi</h4>
872
+<div class="outline-text-4" id="text-org1d91511">
724 873
 <p>
725 874
 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.
726 875
 </p>
@@ -750,9 +899,9 @@ You can also <a href="https://www.youtube.com/watch?v=vgx7VSrDGjk">see this vide
750 899
 </p>
751 900
 </div>
752 901
 </div>
753
-<div id="outline-container-org516a6fa" class="outline-4">
754
-<h4 id="org516a6fa">Using with Ubuntu</h4>
755
-<div class="outline-text-4" id="text-org516a6fa">
902
+<div id="outline-container-orgede6286" class="outline-4">
903
+<h4 id="orgede6286">Using with Ubuntu</h4>
904
+<div class="outline-text-4" id="text-orgede6286">
756 905
 <p>
757 906
 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.
758 907
 </p>
@@ -770,17 +919,17 @@ Click on <b>Advanced</b> and make sure that <b>Encryption required</b> and <b>Ig
770 919
 </p>
771 920
 </div>
772 921
 </div>
773
-<div id="outline-container-org12ac2d2" class="outline-4">
774
-<h4 id="org12ac2d2">Using Tor Messenger</h4>
775
-<div class="outline-text-4" id="text-org12ac2d2">
922
+<div id="outline-container-orgf84cd38" class="outline-4">
923
+<h4 id="orgf84cd38">Using Tor Messenger</h4>
924
+<div class="outline-text-4" id="text-orgf84cd38">
776 925
 <p>
777 926
 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.
778 927
 </p>
779 928
 </div>
780 929
 </div>
781
-<div id="outline-container-orgf8dd7f" class="outline-4">
782
-<h4 id="orgf8dd7f">Using with Android</h4>
783
-<div class="outline-text-4" id="text-orgf8dd7f">
930
+<div id="outline-container-org8ea7357" class="outline-4">
931
+<h4 id="org8ea7357">Using with Android</h4>
932
+<div class="outline-text-4" id="text-org8ea7357">
784 933
 <p>
785 934
 Install <a href="https://f-droid.org/">F-Droid</a>
786 935
 </p>
@@ -816,16 +965,16 @@ Then select <b>Next</b>. When chatting you can use the lock icon to encrypt your
816 965
 </div>
817 966
 </div>
818 967
 </div>
819
-<div id="outline-container-org586c41a" class="outline-3">
820
-<h3 id="org586c41a">Tox</h3>
821
-<div class="outline-text-3" id="text-org586c41a">
968
+<div id="outline-container-orga186a9f" class="outline-3">
969
+<h3 id="orga186a9f">Tox</h3>
970
+<div class="outline-text-3" id="text-orga186a9f">
822 971
 <p>
823 972
 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.
824 973
 </p>
825 974
 </div>
826
-<div id="outline-container-org9be6690" class="outline-4">
827
-<h4 id="org9be6690">Using the Toxic client</h4>
828
-<div class="outline-text-4" id="text-org9be6690">
975
+<div id="outline-container-org5250d43" class="outline-4">
976
+<h4 id="org5250d43">Using the Toxic client</h4>
977
+<div class="outline-text-4" id="text-org5250d43">
829 978
 <p>
830 979
 Log into your system with:
831 980
 </p>
@@ -849,12 +998,12 @@ Then from the menu select <b>Tox Chat</b>. Tox is encrypted by default and also
849 998
 </div>
850 999
 </div>
851 1000
 
852
-<div id="outline-container-orgb9ce24" class="outline-3">
853
-<h3 id="orgb9ce24">VoIP (Voice chat)</h3>
854
-<div class="outline-text-3" id="text-orgb9ce24">
855
-</div><div id="outline-container-org753db3b" class="outline-4">
856
-<h4 id="org753db3b">Using with Ubuntu</h4>
857
-<div class="outline-text-4" id="text-org753db3b">
1001
+<div id="outline-container-orge1e6fa7" class="outline-3">
1002
+<h3 id="orge1e6fa7">VoIP (Voice chat)</h3>
1003
+<div class="outline-text-3" id="text-orge1e6fa7">
1004
+</div><div id="outline-container-org4b8e48a" class="outline-4">
1005
+<h4 id="org4b8e48a">Using with Ubuntu</h4>
1006
+<div class="outline-text-4" id="text-org4b8e48a">
858 1007
 <p>
859 1008
 Within the software center search for "mumble" and install the client then run it. Skip through the audio setup wizard.
860 1009
 </p>
@@ -868,9 +1017,9 @@ Click on "add new" to add a new server and enter the default domain name for the
868 1017
 </p>
869 1018
 </div>
870 1019
 </div>
871
-<div id="outline-container-orgdd061cc" class="outline-4">
872
-<h4 id="orgdd061cc">Using with Android</h4>
873
-<div class="outline-text-4" id="text-orgdd061cc">
1020
+<div id="outline-container-org48dd48a" class="outline-4">
1021
+<h4 id="org48dd48a">Using with Android</h4>
1022
+<div class="outline-text-4" id="text-org48dd48a">
874 1023
 <p>
875 1024
 Install <a href="https://f-droid.org/">F-Droid</a>
876 1025
 </p>
@@ -897,24 +1046,24 @@ Selecting the server by pressing on it then connects you to the server so that y
897 1046
 </div>
898 1047
 </div>
899 1048
 </div>
900
-<div id="outline-container-orgaba6804" class="outline-3">
901
-<h3 id="orgaba6804">SIP phones</h3>
902
-<div class="outline-text-3" id="text-orgaba6804">
1049
+<div id="outline-container-org6c1623e" class="outline-3">
1050
+<h3 id="org6c1623e">SIP phones</h3>
1051
+<div class="outline-text-3" id="text-org6c1623e">
903 1052
 <p>
904 1053
 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.
905 1054
 </p>
906 1055
 </div>
907
-<div id="outline-container-org13e18c7" class="outline-4">
908
-<h4 id="org13e18c7">About ZRTP</h4>
909
-<div class="outline-text-4" id="text-org13e18c7">
1056
+<div id="outline-container-org3278f66" class="outline-4">
1057
+<h4 id="org3278f66">About ZRTP</h4>
1058
+<div class="outline-text-4" id="text-org3278f66">
910 1059
 <p>
911 1060
 <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.
912 1061
 </p>
913 1062
 </div>
914 1063
 </div>
915
-<div id="outline-container-org796538f" class="outline-4">
916
-<h4 id="org796538f">Using with CSIPSimple</h4>
917
-<div class="outline-text-4" id="text-org796538f">
1064
+<div id="outline-container-orgd669231" class="outline-4">
1065
+<h4 id="orgd669231">Using with CSIPSimple</h4>
1066
+<div class="outline-text-4" id="text-orgd669231">
918 1067
 <p>
919 1068
 Add an account. Under <b>General Wizards</b> choose <b>Expert</b> and enter the following details:
920 1069
 </p>
@@ -970,9 +1119,9 @@ If everything is working the account should appear in green with a status of <b>
970 1119
 </p>
971 1120
 </div>
972 1121
 </div>
973
-<div id="outline-container-orge9130aa" class="outline-4">
974
-<h4 id="orge9130aa">Using with Ring</h4>
975
-<div class="outline-text-4" id="text-orge9130aa">
1122
+<div id="outline-container-org8cfaa05" class="outline-4">
1123
+<h4 id="org8cfaa05">Using with Ring</h4>
1124
+<div class="outline-text-4" id="text-org8cfaa05">
976 1125
 <p>
977 1126
 From the menu select <b>Manage accounts</b>.
978 1127
 </p>
@@ -1025,9 +1174,9 @@ Select the <b>Security</b> tab. Under <b>SRTP Key Exchange</b> select <b>ZRTP</b
1025 1174
 </div>
1026 1175
 </div>
1027 1176
 
1028
-<div id="outline-container-orge817e38" class="outline-2">
1029
-<h2 id="orge817e38">RSS Reader</h2>
1030
-<div class="outline-text-2" id="text-orge817e38">
1177
+<div id="outline-container-orgecc633b" class="outline-2">
1178
+<h2 id="orgecc633b">RSS Reader</h2>
1179
+<div class="outline-text-2" id="text-orgecc633b">
1031 1180
 <p>
1032 1181
 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.
1033 1182
 </p>
@@ -1071,9 +1220,9 @@ A note for the paranoid is that on mobile devices you get redirected to a differ
1071 1220
 </blockquote>
1072 1221
 </div>
1073 1222
 </div>
1074
-<div id="outline-container-org1e497a1" class="outline-2">
1075
-<h2 id="org1e497a1">Adding or removing users</h2>
1076
-<div class="outline-text-2" id="text-org1e497a1">
1223
+<div id="outline-container-orga74a75d" class="outline-2">
1224
+<h2 id="orga74a75d">Adding or removing users</h2>
1225
+<div class="outline-text-2" id="text-orga74a75d">
1077 1226
 <p>
1078 1227
 Log into the system with:
1079 1228
 </p>