A better setup for hexchat

This commit is contained in:
Bob Mottram 2016-11-01 22:33:52 +00:00
parent 4b018c9cf0
commit 133305a317
2 changed files with 171 additions and 381 deletions

View File

@ -250,115 +250,10 @@ Then select *IRC* from the menu. However, other than via this method using ssh,
*** HexChat
HexChat (formerly XChat) is compatible with proxying via Tor and so provides the best security when connecting to your IRC server. It will allow you to connect to your IRC server's onion address.
First install HexChat and set up its configuration file.
First install HexChat and set up its configuration file. This can be done on your local machine with:
#+BEGIN_SRC bash
sudo apt-get install tor hexchat
mkdir -p ~/.config/hexchat
echo "# By default, HexChat based IRC software, when started-up, or run for first time,
# it starts to use local network, to connect to the internet. To prevent that,
# and to force it, to use Tor proxy (a Socks5 server):
#
# /set net_proxy_host 127.0.0.1
# /set net_proxy_port 9050
# /set net_proxy_type 3
# /set net_proxy_use 0
net_proxy_host = 127.0.0.1
net_proxy_port = 9050
# Technical note: 3 = socks5
net_proxy_type = 3
# Technical note: Do not worry. 0 is not equal to "off". 0 stands for "All".
# Check yourself https://toxin.jottit.com/xchat_set_variables
net_proxy_use = 0
# HexChat should not use the same circuit/exit server as other Tor applications.
# Otherwise activity in different applications could be correlated to the same
# pseudonym. There is a way to prevent that.
# It is called stream isolation. We use IsolateSOCKSAuth,
# see https://www.torproject.org/docs/tor-manual-dev.html.en
# The password is actually not required, but it does not hurt either.
# Will probable not hurt on Tor 0.2.2 and below.
# Works with Tor 0.2.3 and above.
#
# /set net_proxy_auth 1
# /set net_proxy_pass = HexChat
# /set net_proxy_user = HexChat
#
net_proxy_auth = 1
net_proxy_pass = HexChat
net_proxy_user = HexChat
# Get rid of protocol leaks:
# a DCC session can reveal IP address, etc. identd flag can reveal your
# username which you use to login in your OS(Windows/Linux/Unix/MacOS) profile.
# To prevent those:
#
# /set dcc_auto_chat 0
# /set dcc_auto_resume OFF
# /set dcc_auto_send 0
# /set irc_hide_version ON
# /set identd OFF <-- NOT working on all HexChat-based IRC software.
# But still highly suggested to include & use it.
# Probable not needed on UNIX, source: https://xchat.org/faq/#q21
dcc_auto_chat = 0
dcc_auto_resume = 0
dcc_auto_send = 0
irc_hide_version = 1
identd = 0
# If you use your own comment instead of default values, then these data are
# posted on each channel when you do these events: JOIN, PART, QUIT, AWAY.
# So they can reveal who you actually are, when you are using same HexChat
# software for multiple different nicknames.
#
# Delete everything under Settings -> Preferences -> Default Messages:
# -> Quit: <Deleted everything!>
# -> Leave channel: <Deleted everything!>
# -> Away: <Deleted everything!>
away_reason =
irc_part_reason =
irc_quit_reason =
# By default, HexChat based IRC software uses your platform OS(Operating System)s
# login user name as your nickname, user name, real name. To prevent leaking
# that, and, to use your own choice of nickname, realname, username:
#
# ***Pseudonymous vs. anonymous IRC use.***
# Actually IRC is pseudonymous. Your nickname might also reveal something about
# your origin, interests, etc. You can make IRC more anonymous by choosing a more
# meaningless nickname. Use the following defaults if you want to be more anonymous.
# If user, user_ and user___ are already taken, add more _ or start using user1,
# user2, user3, etc. Or if the irc network auto assigns your a nickname, i.e.
# guest532, stick with that nickname.
#
# Of course, you are free to continue using IRC in a pseudonymous manner.
# In that case, instant of user, choose your nickname.
#
# /set irc_real_name user
# /set irc_user_name user
# /set irc_nick1 user
# /set irc_nick2 user_
# /set irc_nick3 user__
irc_real_name = user
irc_user_name = user
irc_nick1 = user
irc_nick2 = user_
irc_nick3 = user__
# Use a more common nick completion suffix:
# When you write the first few characters of a nickname followed by tab,
# it will, by HexChat default, complete the nickname and ", " behind the
# nickname. The behavior is HexChat specific. The " :" is more more common
# for more common clients such as mIRC.
#
# HexChat -> Settings -> Preferences -> input box -> completion_suffix set to :
#
completion_suffix = :
# Not starting the server windows at the beginning so you can check and set
# settings before connecting to any IRC networks.
gui_slist_skip = 1
" > ~/.config/hexchat/hexchat.conf
freedombone-client --setup hexchat
#+END_SRC
Now look up the onion address for your IRC server

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2016-10-31 Mon 16:24 -->
<!-- 2016-11-01 Tue 22:33 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -255,15 +255,15 @@ for the JavaScript code in this tag.
</colgroup>
<tbody>
<tr>
<td class="org-left"><a href="#org58a7654">Readme</a></td>
<td class="org-left"><a href="#org9c2f35d">Readme</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org7dd69da">Improving ssh security</a></td>
<td class="org-left"><a href="#org585218e">Improving ssh security</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orga2aac6c">Administrating the system via an onion address (Tor)</a></td>
<td class="org-left"><a href="#org586c926">Administrating the system via an onion address (Tor)</a></td>
</tr>
<tr>
@ -275,50 +275,50 @@ for the JavaScript code in this tag.
</tr>
<tr>
<td class="org-left"><a href="#org065789e">Syncing to the Cloud</a></td>
<td class="org-left"><a href="#org2a67708">Syncing to the Cloud</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org5b60922">Play Music</a></td>
<td class="org-left"><a href="#org0ef2dee">Play Music</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgc9e0ad2">Microblogging (GNU Social)</a></td>
<td class="org-left"><a href="#org1883718">Microblogging (GNU Social)</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org484fc09">Sharing things</a></td>
<td class="org-left"><a href="#orgb2d4a54">Sharing things</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org539a9ad">Social Network</a></td>
<td class="org-left"><a href="#org82e91f5">Social Network</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org220c110">Chat Services</a></td>
<td class="org-left"><a href="#org2b839ae">Chat Services</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orga3ef03c">RSS Reader</a></td>
<td class="org-left"><a href="#orgee5bb6d">RSS Reader</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org57ccc43">Git Projects</a></td>
<td class="org-left"><a href="#orgbe531b5">Git Projects</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org3f01662">Adding or removing users</a></td>
<td class="org-left"><a href="#org33771d3">Adding or removing users</a></td>
</tr>
<tr>
<td class="org-left"><a href="#orgb7217dc">Blocking Ads</a></td>
<td class="org-left"><a href="#orgfd68df0">Blocking Ads</a></td>
</tr>
</tbody>
</table>
<div id="outline-container-org58a7654" class="outline-2">
<h2 id="org58a7654">Readme</h2>
<div class="outline-text-2" id="text-org58a7654">
<div id="outline-container-org9c2f35d" class="outline-2">
<h2 id="org9c2f35d">Readme</h2>
<div class="outline-text-2" id="text-org9c2f35d">
<p>
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:
</p>
@ -338,9 +338,9 @@ To exit you can either just close the terminal or use <b>CTRL-x CTRL-c</b> follo
</p>
</div>
</div>
<div id="outline-container-org7dd69da" class="outline-2">
<h2 id="org7dd69da">Improving ssh security</h2>
<div class="outline-text-2" id="text-org7dd69da">
<div id="outline-container-org585218e" class="outline-2">
<h2 id="org585218e">Improving ssh security</h2>
<div class="outline-text-2" id="text-org585218e">
<p>
To improve ssh security you can generate an ssh key pair on your system and then upload the public key to the Freedombone.
</p>
@ -390,9 +390,9 @@ If you wish to only use ssh keys then log in to the Freedombone, become the root
</div>
</div>
<div id="outline-container-orga2aac6c" class="outline-2">
<h2 id="orga2aac6c">Administrating the system via an onion address (Tor)</h2>
<div class="outline-text-2" id="text-orga2aac6c">
<div id="outline-container-org586c926" class="outline-2">
<h2 id="org586c926">Administrating the system via an onion address (Tor)</h2>
<div class="outline-text-2" id="text-org586c926">
<p>
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:
</p>
@ -434,9 +434,9 @@ Subsequently even if dynamic DNS isn't working you may still be able to administ
</p>
</div>
</div>
<div id="outline-container-org065789e" class="outline-2">
<h2 id="org065789e">Syncing to the Cloud</h2>
<div class="outline-text-2" id="text-org065789e">
<div id="outline-container-org2a67708" class="outline-2">
<h2 id="org2a67708">Syncing to the Cloud</h2>
<div class="outline-text-2" id="text-org2a67708">
<p>
<a href="https://syncthing.net">Syncthing</a> provides a similar capability to proprietary systems such as Dropbox, 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.
</p>
@ -446,9 +446,9 @@ Freedombone provides Syncthing shared directories for each user on the system, p
</p>
</div>
<div id="outline-container-org463e623" class="outline-3">
<h3 id="org463e623">On a laptop</h3>
<div class="outline-text-3" id="text-org463e623">
<div id="outline-container-orga764693" class="outline-3">
<h3 id="orga764693">On a laptop</h3>
<div class="outline-text-3" id="text-orga764693">
<p>
Install syncthing:
</p>
@ -501,9 +501,9 @@ Now wait for a few minutes. Eventually you will see two messages appear within t
</p>
</div>
</div>
<div id="outline-container-org4af7328" class="outline-3">
<h3 id="org4af7328">On Android</h3>
<div class="outline-text-3" id="text-org4af7328">
<div id="outline-container-org7ba1003" class="outline-3">
<h3 id="org7ba1003">On Android</h3>
<div class="outline-text-3" id="text-org7ba1003">
<p>
Install Syncthing and Connectbot from F-droid.
</p>
@ -534,12 +534,12 @@ Now wait for a few minutes or more. Eventually you should receive two notificati
</div>
</div>
</div>
<div id="outline-container-org5b60922" class="outline-2">
<h2 id="org5b60922">Play Music</h2>
<div class="outline-text-2" id="text-org5b60922">
</div><div id="outline-container-org290859d" class="outline-3">
<h3 id="org290859d">With the DLNA service</h3>
<div class="outline-text-3" id="text-org290859d">
<div id="outline-container-org0ef2dee" class="outline-2">
<h2 id="org0ef2dee">Play Music</h2>
<div class="outline-text-2" id="text-org0ef2dee">
</div><div id="outline-container-org72a8ac9" class="outline-3">
<h3 id="org72a8ac9">With the DLNA service</h3>
<div class="outline-text-3" id="text-org72a8ac9">
<p>
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.
</p>
@ -578,12 +578,12 @@ The DLNA service will only work within your local home network, and isn't remote
</div>
</div>
<div id="outline-container-orgc9e0ad2" class="outline-2">
<h2 id="orgc9e0ad2">Microblogging (GNU Social)</h2>
<div class="outline-text-2" id="text-orgc9e0ad2">
</div><div id="outline-container-orgc3ea88a" class="outline-3">
<h3 id="orgc3ea88a">Initial setup</h3>
<div class="outline-text-3" id="text-orgc3ea88a">
<div id="outline-container-org1883718" class="outline-2">
<h2 id="org1883718">Microblogging (GNU Social)</h2>
<div class="outline-text-2" id="text-org1883718">
</div><div id="outline-container-orge4837a3" class="outline-3">
<h3 id="orge4837a3">Initial setup</h3>
<div class="outline-text-3" id="text-orge4837a3">
<p>
To log into your GNU Social site first obtain your username and password from the "microblogging" section of the readme file.
</p>
@ -611,17 +611,17 @@ GNU Social has a clutter-free mobile user interface which can be accessed via a
</div>
</div>
<div id="outline-container-org926a618" class="outline-3">
<h3 id="org926a618">Direct Messages (DMs) and privacy</h3>
<div class="outline-text-3" id="text-org926a618">
<div id="outline-container-org594553e" class="outline-3">
<h3 id="org594553e">Direct Messages (DMs) and privacy</h3>
<div class="outline-text-3" id="text-org594553e">
<p>
One important point about GNU Social is that although direct messages (DMs) are treated as being private their security is quite poor. If you want real communications privacy then use other systems such as XMPP+OMEMO/OTR, Tox or email with GPG. GNU Social is primarily about <i>fully public communications</i>.
</p>
</div>
</div>
<div id="outline-container-org8d05e1c" class="outline-3">
<h3 id="org8d05e1c">Using with Emacs</h3>
<div class="outline-text-3" id="text-org8d05e1c">
<div id="outline-container-orgdb9f377" class="outline-3">
<h3 id="orgdb9f377">Using with Emacs</h3>
<div class="outline-text-3" id="text-orgdb9f377">
<p>
If you are an Emacs user it's also possible to set up GNU Social mode as follows:
</p>
@ -705,9 +705,9 @@ And as a quick reference the main keys are:
</div>
</div>
<div id="outline-container-org484fc09" class="outline-2">
<h2 id="org484fc09">Sharing things</h2>
<div class="outline-text-2" id="text-org484fc09">
<div id="outline-container-orgb2d4a54" class="outline-2">
<h2 id="orgb2d4a54">Sharing things</h2>
<div class="outline-text-2" id="text-orgb2d4a54">
<p>
If you have the GNU Social microblogging system installed then it's also possible to share things or services between groups or with particular users. This can be useful for sharing items within a family, club or in a local sharing economy. Sharing things freely, without money, reveals the social basis at the root of all economics which money normally conceals or obscures.
</p>
@ -734,20 +734,20 @@ The "<i>catalog</i>" button then allows you to search for shared things within t
</div>
</div>
<div id="outline-container-org539a9ad" class="outline-2">
<h2 id="org539a9ad">Social Network</h2>
<div class="outline-text-2" id="text-org539a9ad">
</div><div id="outline-container-org5f965c9" class="outline-3">
<h3 id="org5f965c9">Domains</h3>
<div class="outline-text-3" id="text-org5f965c9">
<div id="outline-container-org82e91f5" class="outline-2">
<h2 id="org82e91f5">Social Network</h2>
<div class="outline-text-2" id="text-org82e91f5">
</div><div id="outline-container-org5028f63" class="outline-3">
<h3 id="org5028f63">Domains</h3>
<div class="outline-text-3" id="text-org5028f63">
<p>
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.
</p>
</div>
</div>
<div id="outline-container-orgc540389" class="outline-3">
<h3 id="orgc540389">Initial install</h3>
<div class="outline-text-3" id="text-orgc540389">
<div id="outline-container-orgc349244" class="outline-3">
<h3 id="orgc349244">Initial install</h3>
<div class="outline-text-3" id="text-orgc349244">
<p>
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.
</p>
@ -761,19 +761,19 @@ On first visiting your Hubzilla site you'll see the login screen. The first thin
</div>
</div>
<div id="outline-container-org220c110" class="outline-2">
<h2 id="org220c110">Chat Services</h2>
<div class="outline-text-2" id="text-org220c110">
</div><div id="outline-container-org2e7c6f1" class="outline-3">
<h3 id="org2e7c6f1">IRC</h3>
<div class="outline-text-3" id="text-org2e7c6f1">
<div id="outline-container-org2b839ae" class="outline-2">
<h2 id="org2b839ae">Chat Services</h2>
<div class="outline-text-2" id="text-org2b839ae">
</div><div id="outline-container-orge497c52" class="outline-3">
<h3 id="orge497c52">IRC</h3>
<div class="outline-text-3" id="text-orge497c52">
<p>
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.
</p>
</div>
<div id="outline-container-org803af39" class="outline-4">
<h4 id="org803af39">Irssi</h4>
<div class="outline-text-4" id="text-org803af39">
<div id="outline-container-orgf6cf06f" class="outline-4">
<h4 id="orgf6cf06f">Irssi</h4>
<div class="outline-text-4" id="text-orgf6cf06f">
<p>
The easiest way to use irssi is to connect to your system, like this:
</p>
@ -788,124 +788,19 @@ Then select <b>IRC</b> from the menu. However, other than via this method using
</p>
</div>
</div>
<div id="outline-container-orgb6463b7" class="outline-4">
<h4 id="orgb6463b7">HexChat</h4>
<div class="outline-text-4" id="text-orgb6463b7">
<div id="outline-container-org57c41aa" class="outline-4">
<h4 id="org57c41aa">HexChat</h4>
<div class="outline-text-4" id="text-org57c41aa">
<p>
HexChat (formerly XChat) is compatible with proxying via Tor and so provides the best security when connecting to your IRC server. It will allow you to connect to your IRC server's onion address.
</p>
<p>
First install HexChat and set up its configuration file.
First install HexChat and set up its configuration file. This can be done on your local machine with:
</p>
<div class="org-src-container">
<pre class="src src-bash">sudo apt-get install tor hexchat
mkdir -p ~/.config/hexchat
<span class="org-builtin">echo</span> <span class="org-string">"# By default, HexChat based IRC software, when started-up, or run for first time,</span>
<span class="org-string"># it starts to use local network, to connect to the internet. To prevent that,</span>
<span class="org-string"># and to force it, to use Tor proxy (a Socks5 server):</span>
<span class="org-string">#</span>
<span class="org-string"># /set net_proxy_host 127.0.0.1</span>
<span class="org-string"># /set net_proxy_port 9050</span>
<span class="org-string"># /set net_proxy_type 3</span>
<span class="org-string"># /set net_proxy_use 0</span>
<span class="org-string">net_proxy_host = 127.0.0.1</span>
<span class="org-string">net_proxy_port = 9050</span>
<span class="org-string"># Technical note: 3 = socks5</span>
<span class="org-string">net_proxy_type = 3</span>
<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>
<span class="org-string"># Check yourself https://toxin.jottit.com/xchat_set_variables</span>
<span class="org-string">net_proxy_use = 0</span>
<span class="org-string"># HexChat should not use the same circuit/exit server as other Tor applications.</span>
<span class="org-string"># Otherwise activity in different applications could be correlated to the same</span>
<span class="org-string"># pseudonym. There is a way to prevent that.</span>
<span class="org-string"># It is called stream isolation. We use IsolateSOCKSAuth,</span>
<span class="org-string"># see https://www.torproject.org/docs/tor-manual-dev.html.en</span>
<span class="org-string"># The password is actually not required, but it does not hurt either.</span>
<span class="org-string"># Will probable not hurt on Tor 0.2.2 and below.</span>
<span class="org-string"># Works with Tor 0.2.3 and above.</span>
<span class="org-string">#</span>
<span class="org-string"># /set net_proxy_auth 1</span>
<span class="org-string"># /set net_proxy_pass = HexChat</span>
<span class="org-string"># /set net_proxy_user = HexChat</span>
<span class="org-string">#</span>
<span class="org-string">net_proxy_auth = 1</span>
<span class="org-string">net_proxy_pass = HexChat</span>
<span class="org-string">net_proxy_user = HexChat</span>
<span class="org-string"># Get rid of protocol leaks:</span>
<span class="org-string"># a DCC session can reveal IP address, etc. identd flag can reveal your</span>
<span class="org-string"># username which you use to login in your OS(Windows/Linux/Unix/MacOS) profile.</span>
<span class="org-string"># To prevent those:</span>
<span class="org-string">#</span>
<span class="org-string"># /set dcc_auto_chat 0</span>
<span class="org-string"># /set dcc_auto_resume OFF</span>
<span class="org-string"># /set dcc_auto_send 0</span>
<span class="org-string"># /set irc_hide_version ON</span>
<span class="org-string"># /set identd OFF &lt;-- NOT working on all HexChat-based IRC software.</span>
<span class="org-string"># But still highly suggested to include &amp; use it.</span>
<span class="org-string"># Probable not needed on UNIX, source: https://xchat.org/faq/#q21</span>
<span class="org-string">dcc_auto_chat = 0</span>
<span class="org-string">dcc_auto_resume = 0</span>
<span class="org-string">dcc_auto_send = 0</span>
<span class="org-string">irc_hide_version = 1</span>
<span class="org-string">identd = 0</span>
<span class="org-string"># If you use your own comment instead of default values, then these data are</span>
<span class="org-string"># posted on each channel when you do these events: JOIN, PART, QUIT, AWAY.</span>
<span class="org-string"># So they can reveal who you actually are, when you are using same HexChat</span>
<span class="org-string"># software for multiple different nicknames.</span>
<span class="org-string">#</span>
<span class="org-string"># Delete everything under Settings -&gt; Preferences -&gt; Default Messages:</span>
<span class="org-string"># -&gt; Quit: &lt;Deleted everything!&gt;</span>
<span class="org-string"># -&gt; Leave channel: &lt;Deleted everything!&gt;</span>
<span class="org-string"># -&gt; Away: &lt;Deleted everything!&gt;</span>
<span class="org-string">away_reason =</span>
<span class="org-string">irc_part_reason =</span>
<span class="org-string">irc_quit_reason =</span>
<span class="org-string"># By default, HexChat based IRC software uses your platform OS(Operating System)s</span>
<span class="org-string"># login user name as your nickname, user name, real name. To prevent leaking</span>
<span class="org-string"># that, and, to use your own choice of nickname, realname, username:</span>
<span class="org-string">#</span>
<span class="org-string"># ***Pseudonymous vs. anonymous IRC use.***</span>
<span class="org-string"># Actually IRC is pseudonymous. Your nickname might also reveal something about</span>
<span class="org-string"># your origin, interests, etc. You can make IRC more anonymous by choosing a more</span>
<span class="org-string"># meaningless nickname. Use the following defaults if you want to be more anonymous.</span>
<span class="org-string"># If user, user_ and user___ are already taken, add more _ or start using user1,</span>
<span class="org-string"># user2, user3, etc. Or if the irc network auto assigns your a nickname, i.e.</span>
<span class="org-string"># guest532, stick with that nickname.</span>
<span class="org-string">#</span>
<span class="org-string"># Of course, you are free to continue using IRC in a pseudonymous manner.</span>
<span class="org-string"># In that case, instant of user, choose your nickname.</span>
<span class="org-string">#</span>
<span class="org-string"># /set irc_real_name user</span>
<span class="org-string"># /set irc_user_name user</span>
<span class="org-string"># /set irc_nick1 user</span>
<span class="org-string"># /set irc_nick2 user_</span>
<span class="org-string"># /set irc_nick3 user__</span>
<span class="org-string">irc_real_name = user</span>
<span class="org-string">irc_user_name = user</span>
<span class="org-string">irc_nick1 = user</span>
<span class="org-string">irc_nick2 = user_</span>
<span class="org-string">irc_nick3 = user__</span>
<span class="org-string"># Use a more common nick completion suffix:</span>
<span class="org-string"># When you write the first few characters of a nickname followed by tab,</span>
<span class="org-string"># it will, by HexChat default, complete the nickname and "</span>, <span class="org-string">" behind the</span>
<span class="org-string"># nickname. The behavior is HexChat specific. The "</span> :<span class="org-string">" is more more common</span>
<span class="org-string"># for more common clients such as mIRC.</span>
<span class="org-string">#</span>
<span class="org-string"># HexChat -&gt; Settings -&gt; Preferences -&gt; input box -&gt; completion_suffix set to :</span>
<span class="org-string">#</span>
<span class="org-string">completion_suffix = :</span>
<span class="org-string"># Not starting the server windows at the beginning so you can check and set</span>
<span class="org-string"># settings before connecting to any IRC networks.</span>
<span class="org-string">gui_slist_skip = 1</span>
<span class="org-string">"</span> &gt; ~/.config/hexchat/hexchat.conf
<pre class="src src-bash">freedombone-client --setup hexchat
</pre>
</div>
@ -976,9 +871,9 @@ Click <b>close</b> and then <b>connect</b>.
</div>
</div>
<div id="outline-container-orgededb95" class="outline-4">
<h4 id="orgededb95">Emacs</h4>
<div class="outline-text-4" id="text-orgededb95">
<div id="outline-container-org1b05d4e" class="outline-4">
<h4 id="org1b05d4e">Emacs</h4>
<div class="outline-text-4" id="text-org1b05d4e">
<p>
If you are an Emacs user then you can also connect to your IRC server via Emacs.
</p>
@ -1009,9 +904,9 @@ Add the following to your Emacs configuration file:
</div>
</div>
</div>
<div id="outline-container-org59b242a" class="outline-4">
<h4 id="org59b242a">Changing or removing the IRC password</h4>
<div class="outline-text-4" id="text-org59b242a">
<div id="outline-container-orgcd9c988" class="outline-4">
<h4 id="orgcd9c988">Changing or removing the IRC password</h4>
<div class="outline-text-4" id="text-orgcd9c988">
<p>
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:
</p>
@ -1028,20 +923,20 @@ Select <i>Administrator controls</i> then <b>IRC Menu</b> and then change the pa
</div>
</div>
<div id="outline-container-org4d29747" class="outline-3">
<h3 id="org4d29747">XMPP/Jabber</h3>
<div class="outline-text-3" id="text-org4d29747">
</div><div id="outline-container-org581bedf" class="outline-4">
<h4 id="org581bedf">About XMPP</h4>
<div class="outline-text-4" id="text-org581bedf">
<div id="outline-container-orgb9e7b51" class="outline-3">
<h3 id="orgb9e7b51">XMPP/Jabber</h3>
<div class="outline-text-3" id="text-orgb9e7b51">
</div><div id="outline-container-orgfb78b4b" class="outline-4">
<h4 id="orgfb78b4b">About XMPP</h4>
<div class="outline-text-4" id="text-orgfb78b4b">
<p>
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>.
</p>
</div>
</div>
<div id="outline-container-org20f471e" class="outline-4">
<h4 id="org20f471e">Using with Gajim</h4>
<div class="outline-text-4" id="text-org20f471e">
<div id="outline-container-org445dcf3" class="outline-4">
<h4 id="org445dcf3">Using with Gajim</h4>
<div class="outline-text-4" id="text-org445dcf3">
<p>
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:
</p>
@ -1085,9 +980,9 @@ If you wish to use OpenPGP to encrypt your messages then go to <b>Edit/Accounts<
</div>
</div>
<div id="outline-container-org6360cdb" class="outline-4">
<h4 id="org6360cdb">Using with Profanity</h4>
<div class="outline-text-4" id="text-org6360cdb">
<div id="outline-container-org6352f5d" class="outline-4">
<h4 id="org6352f5d">Using with Profanity</h4>
<div class="outline-text-4" id="text-org6352f5d">
<p>
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.
</p>
@ -1169,9 +1064,9 @@ When accessed via the user control panel the client is automatically routed thro
</p>
</div>
</div>
<div id="outline-container-org11c7c06" class="outline-4">
<h4 id="org11c7c06">Using with Jitsi</h4>
<div class="outline-text-4" id="text-org11c7c06">
<div id="outline-container-orgf0a8ea6" class="outline-4">
<h4 id="orgf0a8ea6">Using with Jitsi</h4>
<div class="outline-text-4" id="text-orgf0a8ea6">
<p>
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.
</p>
@ -1201,9 +1096,9 @@ You can also <a href="https://www.youtube.com/watch?v=vgx7VSrDGjk">see this vide
</p>
</div>
</div>
<div id="outline-container-org4fd1f81" class="outline-4">
<h4 id="org4fd1f81">Using with Ubuntu</h4>
<div class="outline-text-4" id="text-org4fd1f81">
<div id="outline-container-org0e9d656" class="outline-4">
<h4 id="org0e9d656">Using with Ubuntu</h4>
<div class="outline-text-4" id="text-org0e9d656">
<p>
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.
</p>
@ -1221,17 +1116,17 @@ Click on <b>Advanced</b> and make sure that <b>Encryption required</b> and <b>Ig
</p>
</div>
</div>
<div id="outline-container-org9fc6a56" class="outline-4">
<h4 id="org9fc6a56">Using Tor Messenger</h4>
<div class="outline-text-4" id="text-org9fc6a56">
<div id="outline-container-org2f45af7" class="outline-4">
<h4 id="org2f45af7">Using Tor Messenger</h4>
<div class="outline-text-4" id="text-org2f45af7">
<p>
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.
</p>
</div>
</div>
<div id="outline-container-orgd7cbd63" class="outline-4">
<h4 id="orgd7cbd63">Using with Android/Conversations</h4>
<div class="outline-text-4" id="text-orgd7cbd63">
<div id="outline-container-org8624a16" class="outline-4">
<h4 id="org8624a16">Using with Android/Conversations</h4>
<div class="outline-text-4" id="text-org8624a16">
<p>
Install <a href="https://f-droid.org/">F-Droid</a>
</p>
@ -1266,16 +1161,16 @@ Then select <b>Next</b>. When chatting you can use the lock icon to encrypt your
</div>
</div>
</div>
<div id="outline-container-org5b760c4" class="outline-3">
<h3 id="org5b760c4">Tox</h3>
<div class="outline-text-3" id="text-org5b760c4">
<div id="outline-container-org3d39861" class="outline-3">
<h3 id="org3d39861">Tox</h3>
<div class="outline-text-3" id="text-org3d39861">
<p>
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.
</p>
</div>
<div id="outline-container-org62b21a5" class="outline-4">
<h4 id="org62b21a5">Using the Toxic client</h4>
<div class="outline-text-4" id="text-org62b21a5">
<div id="outline-container-org2ee47d5" class="outline-4">
<h4 id="org2ee47d5">Using the Toxic client</h4>
<div class="outline-text-4" id="text-org2ee47d5">
<p>
Log into your system with:
</p>
@ -1298,20 +1193,20 @@ Then from the menu select <b>Tox Chat</b>. Tox is encrypted by default and also
</div>
</div>
<div id="outline-container-orgfc309dc" class="outline-3">
<h3 id="orgfc309dc">VoIP (Voice and text chat)</h3>
<div class="outline-text-3" id="text-orgfc309dc">
</div><div id="outline-container-org6a0eef8" class="outline-4">
<h4 id="org6a0eef8">Text chat</h4>
<div class="outline-text-4" id="text-org6a0eef8">
<div id="outline-container-org946dce9" class="outline-3">
<h3 id="org946dce9">VoIP (Voice and text chat)</h3>
<div class="outline-text-3" id="text-org946dce9">
</div><div id="outline-container-org7ff74f6" class="outline-4">
<h4 id="org7ff74f6">Text chat</h4>
<div class="outline-text-4" id="text-org7ff74f6">
<p>
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.
</p>
</div>
</div>
<div id="outline-container-org11188a2" class="outline-4">
<h4 id="org11188a2">Using with Ubuntu</h4>
<div class="outline-text-4" id="text-org11188a2">
<div id="outline-container-org3f02305" class="outline-4">
<h4 id="org3f02305">Using with Ubuntu</h4>
<div class="outline-text-4" id="text-org3f02305">
<p>
Within the software center search for "mumble" and install the client then run it. Skip through the audio setup wizard.
</p>
@ -1321,9 +1216,9 @@ Click on "add new" to add a new server and enter the default domain name for the
</p>
</div>
</div>
<div id="outline-container-orgbd01b4a" class="outline-4">
<h4 id="orgbd01b4a">Using with Android</h4>
<div class="outline-text-4" id="text-orgbd01b4a">
<div id="outline-container-org1d7eab1" class="outline-4">
<h4 id="org1d7eab1">Using with Android</h4>
<div class="outline-text-4" id="text-org1d7eab1">
<p>
Install <a href="https://f-droid.org/">F-Droid</a>
</p>
@ -1358,24 +1253,24 @@ Selecting the server by pressing on it then connects you to the server so that y
</div>
</div>
</div>
<div id="outline-container-orgf9ed7c5" class="outline-3">
<h3 id="orgf9ed7c5">SIP phones</h3>
<div class="outline-text-3" id="text-orgf9ed7c5">
<div id="outline-container-org2405ba5" class="outline-3">
<h3 id="org2405ba5">SIP phones</h3>
<div class="outline-text-3" id="text-org2405ba5">
<p>
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.
</p>
</div>
<div id="outline-container-orgf9a6659" class="outline-4">
<h4 id="orgf9a6659">About ZRTP</h4>
<div class="outline-text-4" id="text-orgf9a6659">
<div id="outline-container-org12b6b63" class="outline-4">
<h4 id="org12b6b63">About ZRTP</h4>
<div class="outline-text-4" id="text-org12b6b63">
<p>
<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.
</p>
</div>
</div>
<div id="outline-container-org9efb361" class="outline-4">
<h4 id="org9efb361">Using with CSIPSimple</h4>
<div class="outline-text-4" id="text-org9efb361">
<div id="outline-container-org39f9028" class="outline-4">
<h4 id="org39f9028">Using with CSIPSimple</h4>
<div class="outline-text-4" id="text-org39f9028">
<p>
Add an account. Under <b>General Wizards</b> choose <b>Expert</b> and enter the following details:
</p>
@ -1431,9 +1326,9 @@ If everything is working the account should appear in green with a status of <b>
</p>
</div>
</div>
<div id="outline-container-orgc9b22ea" class="outline-4">
<h4 id="orgc9b22ea">Using with Ring</h4>
<div class="outline-text-4" id="text-orgc9b22ea">
<div id="outline-container-org2a162ab" class="outline-4">
<h4 id="org2a162ab">Using with Ring</h4>
<div class="outline-text-4" id="text-org2a162ab">
<p>
From the menu select <b>Manage accounts</b>.
</p>
@ -1486,9 +1381,9 @@ Select the <b>Security</b> tab. Under <b>SRTP Key Exchange</b> select <b>ZRTP</b
</div>
</div>
<div id="outline-container-orga3ef03c" class="outline-2">
<h2 id="orga3ef03c">RSS Reader</h2>
<div class="outline-text-2" id="text-orga3ef03c">
<div id="outline-container-orgee5bb6d" class="outline-2">
<h2 id="orgee5bb6d">RSS Reader</h2>
<div class="outline-text-2" id="text-orgee5bb6d">
<p>
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.
</p>
@ -1500,9 +1395,9 @@ The way that RSS reading is set up on Freedombone gives you strong reading priva
</div>
</div>
<div id="outline-container-orgd34c8d0" class="outline-3">
<h3 id="orgd34c8d0">Finding the onion address</h3>
<div class="outline-text-3" id="text-orgd34c8d0">
<div id="outline-container-orgeb3b7f1" class="outline-3">
<h3 id="orgeb3b7f1">Finding the onion address</h3>
<div class="outline-text-3" id="text-orgeb3b7f1">
<p>
See the control panel for the RSS reader onion address.
</p>
@ -1526,9 +1421,9 @@ To set up the system open <a href="http://rss_reader_onion_address">http://rss_r
</div>
</div>
<div id="outline-container-org82ba42b" class="outline-3">
<h3 id="org82ba42b">On mobile</h3>
<div class="outline-text-3" id="text-org82ba42b">
<div id="outline-container-orgaf4abeb" class="outline-3">
<h3 id="orgaf4abeb">On mobile</h3>
<div class="outline-text-3" id="text-orgaf4abeb">
<p>
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.
</p>
@ -1540,9 +1435,9 @@ A note for the paranoid is that on mobile devices you get redirected to a differ
</blockquote>
</div>
</div>
<div id="outline-container-org0162c66" class="outline-3">
<h3 id="org0162c66">With Emacs</h3>
<div class="outline-text-3" id="text-org0162c66">
<div id="outline-container-org1082ea6" class="outline-3">
<h3 id="org1082ea6">With Emacs</h3>
<div class="outline-text-3" id="text-org1082ea6">
<p>
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.
</p>
@ -1581,9 +1476,9 @@ And ensure that the Tor daemon is installed:
</div>
</div>
</div>
<div id="outline-container-org57ccc43" class="outline-2">
<h2 id="org57ccc43">Git Projects</h2>
<div class="outline-text-2" id="text-org57ccc43">
<div id="outline-container-orgbe531b5" class="outline-2">
<h2 id="orgbe531b5">Git Projects</h2>
<div class="outline-text-2" id="text-orgbe531b5">
<p>
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.
</p>
@ -1618,9 +1513,9 @@ This will stop any spam accounts being created by random strangers or bots. You
</p>
</div>
</div>
<div id="outline-container-org3f01662" class="outline-2">
<h2 id="org3f01662">Adding or removing users</h2>
<div class="outline-text-2" id="text-org3f01662">
<div id="outline-container-org33771d3" class="outline-2">
<h2 id="org33771d3">Adding or removing users</h2>
<div class="outline-text-2" id="text-org33771d3">
<p>
Log into the system with:
</p>
@ -1648,9 +1543,9 @@ control
</div>
</div>
<div id="outline-container-orgb7217dc" class="outline-2">
<h2 id="orgb7217dc">Blocking Ads</h2>
<div class="outline-text-2" id="text-orgb7217dc">
<div id="outline-container-orgfd68df0" class="outline-2">
<h2 id="orgfd68df0">Blocking Ads</h2>
<div class="outline-text-2" id="text-orgfd68df0">
<p>
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.
</p>
@ -1660,9 +1555,9 @@ You can block ads for any devices connected to your local network by installing
</p>
</div>
<div id="outline-container-orgb430b26" class="outline-3">
<h3 id="orgb430b26">Set a static IP address</h3>
<div class="outline-text-3" id="text-orgb430b26">
<div id="outline-container-org86a96fa" class="outline-3">
<h3 id="org86a96fa">Set a static IP address</h3>
<div class="outline-text-3" id="text-org86a96fa">
<p>
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>.
</p>
@ -1673,9 +1568,9 @@ When that's done select <b>About this system</b> from the control panel and see
</div>
</div>
<div id="outline-container-org4c5bf13" class="outline-3">
<h3 id="org4c5bf13">On each client system within your local network</h3>
<div class="outline-text-3" id="text-org4c5bf13">
<div id="outline-container-orga2b93eb" class="outline-3">
<h3 id="orga2b93eb">On each client system within your local network</h3>
<div class="outline-text-3" id="text-orga2b93eb">
<div class="org-src-container">
<pre class="src src-bash">sudo chattr -i /etc/resolv.conf
sudo nano /etc/resolv.conf
@ -1702,9 +1597,9 @@ Normally <i>resolv.conf</i> will be overwritten every time your reboot, but you
</div>
</div>
<div id="outline-container-orgfabfd0d" class="outline-3">
<h3 id="orgfabfd0d">On your internet router</h3>
<div class="outline-text-3" id="text-orgfabfd0d">
<div id="outline-container-orgb7b6e99" class="outline-3">
<h3 id="orgb7b6e99">On your internet router</h3>
<div class="outline-text-3" id="text-orgb7b6e99">
<p>
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.
</p>
@ -1715,9 +1610,9 @@ Edit the DNS settings and add the IPv4 address which you got from the control pa
</div>
</div>
<div id="outline-container-org55bf242" class="outline-3">
<h3 id="org55bf242">Configuring block lists</h3>
<div class="outline-text-3" id="text-org55bf242">
<div id="outline-container-orgb607c6a" class="outline-3">
<h3 id="orgb607c6a">Configuring block lists</h3>
<div class="outline-text-3" id="text-orgb607c6a">
<p>
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.
</p>