Advice on blocking ads
This commit is contained in:
parent
fc9d76452e
commit
dd55d25d34
|
@ -30,6 +30,7 @@
|
||||||
| [[RSS Reader]] |
|
| [[RSS Reader]] |
|
||||||
| [[Git Projects]] |
|
| [[Git Projects]] |
|
||||||
| [[Adding or removing users]] |
|
| [[Adding or removing users]] |
|
||||||
|
| [[Blocking Ads]] |
|
||||||
|
|
||||||
* Readme
|
* Readme
|
||||||
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:
|
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:
|
||||||
|
@ -701,3 +702,41 @@ control
|
||||||
Return to the <a href="index.html">home page</a>
|
Return to the <a href="index.html">home page</a>
|
||||||
</center>
|
</center>
|
||||||
#+END_EXPORT
|
#+END_EXPORT
|
||||||
|
|
||||||
|
* Blocking Ads
|
||||||
|
Everyone except for advertisers hates adverts. Not only are they annoying, but they can also 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.
|
||||||
|
|
||||||
|
You can block ads for any devices connected to your local network by installing the *pihole* app from *Add/Remove Apps* on the administrator control panel. This may help to improve overall performance of your devices by not wasting time downloading unwanted images or scripts.
|
||||||
|
|
||||||
|
** Set a static IP address
|
||||||
|
|
||||||
|
Once you've done that then 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 *192.168.1.1* or *192.168.1.254*.
|
||||||
|
|
||||||
|
When that's done select *About this system* from the control panel and see the IPv4 address (ignore the /24 part). You can use this as a DNS address in two ways:
|
||||||
|
|
||||||
|
** On each client system within your local network
|
||||||
|
|
||||||
|
#+begin_src bash
|
||||||
|
sudo chattr -i /etc/resolv.conf
|
||||||
|
sudo nano /etc/resolv.conf
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
Comment out any existing entries with a # character and add:
|
||||||
|
|
||||||
|
#+begin_src bash
|
||||||
|
nameserver [IPv4 address from the About screen]
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
Normally /resolv.conf/ will be overwritten every time your reboot, but you can prevent this with:
|
||||||
|
|
||||||
|
#+begin_src bash
|
||||||
|
sudo chattr +i /etc/resolv.conf
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** On your internet router
|
||||||
|
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.
|
||||||
|
|
||||||
|
Edit the DNS settings and add the IPv4 address which you got from the control panel About screen. Exactly how you do this will just depend upon your particular router model. You may also need to set the same address twice, because two addresses are conventional.
|
||||||
|
|
||||||
|
** Configuring block lists
|
||||||
|
You can configure the block lists which the system uses by going to the *administrator control panel*, selecting *App Settings* then choosing *pihole*. 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.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2016-08-08 Mon 17:51 -->
|
<!-- 2016-10-19 Wed 14:18 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title></title>
|
<title></title>
|
||||||
|
@ -77,6 +77,7 @@
|
||||||
pre.src-ledger:before { content: 'Ledger'; }
|
pre.src-ledger:before { content: 'Ledger'; }
|
||||||
pre.src-lisp:before { content: 'Lisp'; }
|
pre.src-lisp:before { content: 'Lisp'; }
|
||||||
pre.src-lilypond:before { content: 'Lilypond'; }
|
pre.src-lilypond:before { content: 'Lilypond'; }
|
||||||
|
pre.src-lua:before { content: 'Lua'; }
|
||||||
pre.src-matlab:before { content: 'MATLAB'; }
|
pre.src-matlab:before { content: 'MATLAB'; }
|
||||||
pre.src-mscgen:before { content: 'Mscgen'; }
|
pre.src-mscgen:before { content: 'Mscgen'; }
|
||||||
pre.src-ocaml:before { content: 'Objective Caml'; }
|
pre.src-ocaml:before { content: 'Objective Caml'; }
|
||||||
|
@ -254,15 +255,15 @@ for the JavaScript code in this tag.
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgba67d9d">Readme</a></td>
|
<td class="org-left"><a href="#orge3dcce3">Readme</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgfc8e280">Improving ssh security</a></td>
|
<td class="org-left"><a href="#org9599a15">Improving ssh security</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#org6868ae6">Administrating the system via an onion address (Tor)</a></td>
|
<td class="org-left"><a href="#org41bf542">Administrating the system via an onion address (Tor)</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -274,52 +275,55 @@ for the JavaScript code in this tag.
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#org7281e1b">Syncing to the Cloud</a></td>
|
<td class="org-left"><a href="#org27d3f4b">Syncing to the Cloud</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#org4a27bbe">Play Music</a></td>
|
<td class="org-left"><a href="#org87594a4">Play Music</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgc7703b6">Microblogging (GNU Social)</a></td>
|
<td class="org-left"><a href="#org1534f37">Microblogging (GNU Social)</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgf413e9b">Sharing things</a></td>
|
<td class="org-left"><a href="#orge0fd2ed">Sharing things</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgfa5f6b3">Social Network</a></td>
|
<td class="org-left"><a href="#org4c858f5">Social Network</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgdde6751">Chat Services</a></td>
|
<td class="org-left"><a href="#org20c89fc">Chat Services</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#org97c5393">RSS Reader</a></td>
|
<td class="org-left"><a href="#orgaa91252">RSS Reader</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#org7da20bd">Git Projects</a></td>
|
<td class="org-left"><a href="#orgaf2651a">Git Projects</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgb5097c3">Adding or removing users</a></td>
|
<td class="org-left"><a href="#org0643283">Adding or removing users</a></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left"><a href="#orgbb2edde">Blocking Ads</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div id="outline-container-orgba67d9d" class="outline-2">
|
<div id="outline-container-orge3dcce3" class="outline-2">
|
||||||
<h2 id="orgba67d9d">Readme</h2>
|
<h2 id="orge3dcce3">Readme</h2>
|
||||||
<div class="outline-text-2" id="text-orgba67d9d">
|
<div class="outline-text-2" id="text-orge3dcce3">
|
||||||
<p>
|
<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:
|
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>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh username@domainname -p 2222
|
<pre class="src src-bash">ssh username@domainname -p 2222
|
||||||
emacs ~/README
|
emacs ~/README
|
||||||
</pre>
|
</pre>
|
||||||
|
@ -334,9 +338,9 @@ To exit you can either just close the terminal or use <b>CTRL-x CTRL-c</b> follo
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgfc8e280" class="outline-2">
|
<div id="outline-container-org9599a15" class="outline-2">
|
||||||
<h2 id="orgfc8e280">Improving ssh security</h2>
|
<h2 id="org9599a15">Improving ssh security</h2>
|
||||||
<div class="outline-text-2" id="text-orgfc8e280">
|
<div class="outline-text-2" id="text-org9599a15">
|
||||||
<p>
|
<p>
|
||||||
To improve ssh security you can generate an ssh key pair on your system and then upload the public key to the Freedombone.
|
To improve ssh security you can generate an ssh key pair on your system and then upload the public key to the Freedombone.
|
||||||
</p>
|
</p>
|
||||||
|
@ -346,7 +350,6 @@ On your local machine:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh-keygen
|
<pre class="src src-bash">ssh-keygen
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -356,7 +359,6 @@ For extra security you may also want to add a passphrase to the ssh private key.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">cat ~/.ssh/id_rsa.pub
|
<pre class="src src-bash">cat ~/.ssh/id_rsa.pub
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -366,7 +368,6 @@ Log into your system and open the control panel.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh username@domain -p 2222
|
<pre class="src src-bash">ssh username@domain -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -389,15 +390,14 @@ If you wish to only use ssh keys then log in to the Freedombone, become the root
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org6868ae6" class="outline-2">
|
<div id="outline-container-org41bf542" class="outline-2">
|
||||||
<h2 id="org6868ae6">Administrating the system via an onion address (Tor)</h2>
|
<h2 id="org41bf542">Administrating the system via an onion address (Tor)</h2>
|
||||||
<div class="outline-text-2" id="text-org6868ae6">
|
<div class="outline-text-2" id="text-org41bf542">
|
||||||
<p>
|
<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:
|
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>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh username@freedombone.local -p 2222
|
<pre class="src src-bash">ssh username@freedombone.local -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -407,7 +407,6 @@ Select <i>Administrator controls</i> then select "About this system" and look fo
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">freedombone-client
|
<pre class="src src-bash">freedombone-client
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -417,7 +416,6 @@ This will set up your ssh environment to be able to handle onion addresses. In a
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">freedombone-client --ms yes
|
<pre class="src src-bash">freedombone-client --ms yes
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -427,7 +425,6 @@ Then you can test ssh with:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh username@address.onion -p 2222
|
<pre class="src src-bash">ssh username@address.onion -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -437,11 +434,11 @@ Subsequently even if dynamic DNS isn't working you may still be able to administ
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org7281e1b" class="outline-2">
|
<div id="outline-container-org27d3f4b" class="outline-2">
|
||||||
<h2 id="org7281e1b">Syncing to the Cloud</h2>
|
<h2 id="org27d3f4b">Syncing to the Cloud</h2>
|
||||||
<div class="outline-text-2" id="text-org7281e1b">
|
<div class="outline-text-2" id="text-org27d3f4b">
|
||||||
<p>
|
<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.
|
<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>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -449,15 +446,14 @@ Freedombone provides Syncthing shared directories for each user on the system, p
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb65d3d1" class="outline-3">
|
<div id="outline-container-org7094e0b" class="outline-3">
|
||||||
<h3 id="orgb65d3d1">On a laptop</h3>
|
<h3 id="org7094e0b">On a laptop</h3>
|
||||||
<div class="outline-text-3" id="text-orgb65d3d1">
|
<div class="outline-text-3" id="text-org7094e0b">
|
||||||
<p>
|
<p>
|
||||||
Install syncthing:
|
Install syncthing:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
|
<pre class="src src-bash">curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
|
||||||
<span class="org-builtin">echo</span> <span class="org-string">"deb http://apt.syncthing.net/ syncthing release"</span> | sudo tee /etc/apt/sources.list.d/syncthing.list
|
<span class="org-builtin">echo</span> <span class="org-string">"deb http://apt.syncthing.net/ syncthing release"</span> | sudo tee /etc/apt/sources.list.d/syncthing.list
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
@ -474,7 +470,6 @@ In another terminal log into Freedombone:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh username@domainname -p 2222
|
<pre class="src src-bash">ssh username@domainname -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -494,7 +489,7 @@ Select <b>Show device ID</b> and copy the long string of letters and numbers sho
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Open a non-Tor browser and enter <b><a href="http://127.0.0.1:8384/">http://127.0.0.1:8384/</a></b> as the URL. You should now see the minimalistic user interface. Under <b>Remote Devices</b> select <b>Add Remote Device</b>. In the <b>Device ID</b> field paste the string you just copied (CTRL+v). The Device name can be anything. Under <b>Share Folders with Device</b> check <b>default</b> (or whatever folder you created on your local machine), then save.
|
Open a non-Tor browser and enter <b><a href="http://127.0.0.1:8384">http://127.0.0.1:8384</a></b> as the URL. You should now see the minimalistic user interface. Under <b>Remote Devices</b> select <b>Add Remote Device</b>. In the <b>Device ID</b> field paste the string you just copied (CTRL+v). The Device name can be anything. Under <b>Share Folders with Device</b> check <b>default</b> (or whatever folder you created on your local machine), then save.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -506,9 +501,9 @@ Now wait for a few minutes. Eventually you will see two messages appear within t
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb2927d1" class="outline-3">
|
<div id="outline-container-orgba37211" class="outline-3">
|
||||||
<h3 id="orgb2927d1">On Android</h3>
|
<h3 id="orgba37211">On Android</h3>
|
||||||
<div class="outline-text-3" id="text-orgb2927d1">
|
<div class="outline-text-3" id="text-orgba37211">
|
||||||
<p>
|
<p>
|
||||||
Install Syncthing and Connectbot from F-droid.
|
Install Syncthing and Connectbot from F-droid.
|
||||||
</p>
|
</p>
|
||||||
|
@ -539,12 +534,12 @@ Now wait for a few minutes or more. Eventually you should receive two notificati
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org4a27bbe" class="outline-2">
|
<div id="outline-container-org87594a4" class="outline-2">
|
||||||
<h2 id="org4a27bbe">Play Music</h2>
|
<h2 id="org87594a4">Play Music</h2>
|
||||||
<div class="outline-text-2" id="text-org4a27bbe">
|
<div class="outline-text-2" id="text-org87594a4">
|
||||||
</div><div id="outline-container-orgcd92796" class="outline-3">
|
</div><div id="outline-container-org8725af0" class="outline-3">
|
||||||
<h3 id="orgcd92796">With the DLNA service</h3>
|
<h3 id="org8725af0">With the DLNA service</h3>
|
||||||
<div class="outline-text-3" id="text-orgcd92796">
|
<div class="outline-text-3" id="text-org8725af0">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
@ -554,7 +549,6 @@ ssh into the system with:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh myusername@mydomain.com -p 2222
|
<pre class="src src-bash">ssh myusername@mydomain.com -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -564,7 +558,6 @@ Then mount the USB drive with:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">su
|
<pre class="src src-bash">su
|
||||||
attach-music
|
attach-music
|
||||||
</pre>
|
</pre>
|
||||||
|
@ -585,18 +578,17 @@ The DLNA service will only work within your local home network, and isn't remote
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc7703b6" class="outline-2">
|
<div id="outline-container-org1534f37" class="outline-2">
|
||||||
<h2 id="orgc7703b6">Microblogging (GNU Social)</h2>
|
<h2 id="org1534f37">Microblogging (GNU Social)</h2>
|
||||||
<div class="outline-text-2" id="text-orgc7703b6">
|
<div class="outline-text-2" id="text-org1534f37">
|
||||||
</div><div id="outline-container-org0e34d5e" class="outline-3">
|
</div><div id="outline-container-orgb3922f4" class="outline-3">
|
||||||
<h3 id="org0e34d5e">Initial setup</h3>
|
<h3 id="orgb3922f4">Initial setup</h3>
|
||||||
<div class="outline-text-3" id="text-org0e34d5e">
|
<div class="outline-text-3" id="text-orgb3922f4">
|
||||||
<p>
|
<p>
|
||||||
To log into your GNU Social site first obtain your username and password from the "microblogging" section of the readme file.
|
To log into your GNU Social site first obtain your username and password from the "microblogging" section of the readme file.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh username@domainname -p 2222
|
<pre class="src src-bash">ssh username@domainname -p 2222
|
||||||
cat README
|
cat README
|
||||||
<span class="org-keyword">exit</span>
|
<span class="org-keyword">exit</span>
|
||||||
|
@ -619,23 +611,22 @@ GNU Social has a clutter-free mobile user interface which can be accessed via a
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orga0fbe00" class="outline-3">
|
<div id="outline-container-org3a6cb8d" class="outline-3">
|
||||||
<h3 id="orga0fbe00">Direct Messages (DMs) and privacy</h3>
|
<h3 id="org3a6cb8d">Direct Messages (DMs) and privacy</h3>
|
||||||
<div class="outline-text-3" id="text-orga0fbe00">
|
<div class="outline-text-3" id="text-org3a6cb8d">
|
||||||
<p>
|
<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>.
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgd93dc54" class="outline-3">
|
<div id="outline-container-org6766c10" class="outline-3">
|
||||||
<h3 id="orgd93dc54">Using with Emacs</h3>
|
<h3 id="org6766c10">Using with Emacs</h3>
|
||||||
<div class="outline-text-3" id="text-orgd93dc54">
|
<div class="outline-text-3" id="text-org6766c10">
|
||||||
<p>
|
<p>
|
||||||
If you are an Emacs user it's also possible to set up GNU Social mode as follows:
|
If you are an Emacs user it's also possible to set up GNU Social mode as follows:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">mkdir ~/elisp
|
<pre class="src src-bash">mkdir ~/elisp
|
||||||
git clone git://git.savannah.nongnu.org/gnu-social-mode ~/elisp/gnu-social-mode
|
git clone git://git.savannah.nongnu.org/gnu-social-mode ~/elisp/gnu-social-mode
|
||||||
sed -i <span class="org-string">'s|"http"|"https"|g'</span> ~/elisp/gnu-social-mode/gnu-social-mode.el
|
sed -i <span class="org-string">'s|"http"|"https"|g'</span> ~/elisp/gnu-social-mode/gnu-social-mode.el
|
||||||
|
@ -714,9 +705,9 @@ And as a quick reference the main keys are:
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf413e9b" class="outline-2">
|
<div id="outline-container-orge0fd2ed" class="outline-2">
|
||||||
<h2 id="orgf413e9b">Sharing things</h2>
|
<h2 id="orge0fd2ed">Sharing things</h2>
|
||||||
<div class="outline-text-2" id="text-orgf413e9b">
|
<div class="outline-text-2" id="text-orge0fd2ed">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
@ -743,20 +734,20 @@ The "<i>catalog</i>" button then allows you to search for shared things within t
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgfa5f6b3" class="outline-2">
|
<div id="outline-container-org4c858f5" class="outline-2">
|
||||||
<h2 id="orgfa5f6b3">Social Network</h2>
|
<h2 id="org4c858f5">Social Network</h2>
|
||||||
<div class="outline-text-2" id="text-orgfa5f6b3">
|
<div class="outline-text-2" id="text-org4c858f5">
|
||||||
</div><div id="outline-container-orgbaa50d3" class="outline-3">
|
</div><div id="outline-container-orgb340ee1" class="outline-3">
|
||||||
<h3 id="orgbaa50d3">Domains</h3>
|
<h3 id="orgb340ee1">Domains</h3>
|
||||||
<div class="outline-text-3" id="text-orgbaa50d3">
|
<div class="outline-text-3" id="text-orgb340ee1">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org64e9ea5" class="outline-3">
|
<div id="outline-container-org03a7f04" class="outline-3">
|
||||||
<h3 id="org64e9ea5">Initial install</h3>
|
<h3 id="org03a7f04">Initial install</h3>
|
||||||
<div class="outline-text-3" id="text-org64e9ea5">
|
<div class="outline-text-3" id="text-org03a7f04">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
@ -770,25 +761,24 @@ On first visiting your Hubzilla site you'll see the login screen. The first thin
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgdde6751" class="outline-2">
|
<div id="outline-container-org20c89fc" class="outline-2">
|
||||||
<h2 id="orgdde6751">Chat Services</h2>
|
<h2 id="org20c89fc">Chat Services</h2>
|
||||||
<div class="outline-text-2" id="text-orgdde6751">
|
<div class="outline-text-2" id="text-org20c89fc">
|
||||||
</div><div id="outline-container-orgda8655e" class="outline-3">
|
</div><div id="outline-container-orga8a7b5f" class="outline-3">
|
||||||
<h3 id="orgda8655e">IRC</h3>
|
<h3 id="orga8a7b5f">IRC</h3>
|
||||||
<div class="outline-text-3" id="text-orgda8655e">
|
<div class="outline-text-3" id="text-orga8a7b5f">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgc1bc91a" class="outline-4">
|
<div id="outline-container-org2d1735d" class="outline-4">
|
||||||
<h4 id="orgc1bc91a">Irssi</h4>
|
<h4 id="org2d1735d">Irssi</h4>
|
||||||
<div class="outline-text-4" id="text-orgc1bc91a">
|
<div class="outline-text-4" id="text-org2d1735d">
|
||||||
<p>
|
<p>
|
||||||
The easiest way to use irssi is to connect to your system, like this:
|
The easiest way to use irssi is to connect to your system, like this:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh myusername@mydomain -p 2222
|
<pre class="src src-bash">ssh myusername@mydomain -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -798,9 +788,9 @@ Then select <b>IRC</b> from the menu. However, other than via this method using
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgc0e09eb" class="outline-4">
|
<div id="outline-container-org367bcec" class="outline-4">
|
||||||
<h4 id="orgc0e09eb">HexChat</h4>
|
<h4 id="org367bcec">HexChat</h4>
|
||||||
<div class="outline-text-4" id="text-orgc0e09eb">
|
<div class="outline-text-4" id="text-org367bcec">
|
||||||
<p>
|
<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.
|
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>
|
||||||
|
@ -810,7 +800,6 @@ First install HexChat and set up its configuration file.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">sudo apt-get install tor hexchat
|
<pre class="src src-bash">sudo apt-get install tor hexchat
|
||||||
mkdir -p ~/.config/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-builtin">echo</span> <span class="org-string">"# By default, HexChat based IRC software, when started-up, or run for first time,</span>
|
||||||
|
@ -925,7 +914,6 @@ Now look up the onion address for your IRC server
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh username@mydomainname -p 2222
|
<pre class="src src-bash">ssh username@mydomainname -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -978,9 +966,9 @@ Click <b>close</b> and then <b>connect</b>.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org4389b25" class="outline-4">
|
<div id="outline-container-org67a71ba" class="outline-4">
|
||||||
<h4 id="org4389b25">Emacs</h4>
|
<h4 id="org67a71ba">Emacs</h4>
|
||||||
<div class="outline-text-4" id="text-org4389b25">
|
<div class="outline-text-4" id="text-org67a71ba">
|
||||||
<p>
|
<p>
|
||||||
If you are an Emacs user then you can also connect to your IRC server via Emacs.
|
If you are an Emacs user then you can also connect to your IRC server via Emacs.
|
||||||
</p>
|
</p>
|
||||||
|
@ -990,7 +978,6 @@ Ensure that tor is installed onto your local system:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">sudo apt-get install tor
|
<pre class="src src-bash">sudo apt-get install tor
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1000,28 +987,26 @@ Add the following to your Emacs configuration file:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
<pre class="src src-elisp">(<span class="org-keyword">setq</span> socks-noproxy '(<span class="org-string">"localhost"</span>))
|
||||||
<pre class="src src-elisp">(setq socks-noproxy '(<span class="org-string">"localhost"</span>))
|
|
||||||
(<span class="org-keyword">require</span> '<span class="org-constant">socks</span>)
|
(<span class="org-keyword">require</span> '<span class="org-constant">socks</span>)
|
||||||
(<span class="org-keyword">require</span> '<span class="org-constant">tls</span>)
|
(<span class="org-keyword">require</span> '<span class="org-constant">tls</span>)
|
||||||
(setq socks-server (list <span class="org-string">"Tor socks"</span> <span class="org-string">"localhost"</span> 9050 5))
|
(<span class="org-keyword">setq</span> socks-server (list <span class="org-string">"Tor socks"</span> <span class="org-string">"localhost"</span> 9050 5))
|
||||||
(setq erc-server-connect-function 'socks-open-network-stream)
|
(<span class="org-keyword">setq</span> erc-server-connect-function 'socks-open-network-stream)
|
||||||
(setq erc-autojoin-channels-alist
|
(<span class="org-keyword">setq</span> erc-autojoin-channels-alist
|
||||||
'((<span class="org-string">"myircaddress.onion"</span> <span class="org-string">"#freedombone"</span>)))
|
'((<span class="org-string">"myircaddress.onion"</span> <span class="org-string">"#freedombone"</span>)))
|
||||||
(erc <span class="org-builtin">:server</span> <span class="org-string">"myircaddress.onion"</span> <span class="org-builtin">:port</span> 6697 <span class="org-builtin">:nick</span> <span class="org-string">"yourusername"</span> <span class="org-builtin">:password</span> <span class="org-string">"your IRC password"</span>)
|
(erc <span class="org-builtin">:server</span> <span class="org-string">"myircaddress.onion"</span> <span class="org-builtin">:port</span> 6697 <span class="org-builtin">:nick</span> <span class="org-string">"yourusername"</span> <span class="org-builtin">:password</span> <span class="org-string">"your IRC password"</span>)
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgc9ca4fc" class="outline-4">
|
<div id="outline-container-org136125e" class="outline-4">
|
||||||
<h4 id="orgc9ca4fc">Changing or removing the IRC password</h4>
|
<h4 id="org136125e">Changing or removing the IRC password</h4>
|
||||||
<div class="outline-text-4" id="text-orgc9ca4fc">
|
<div class="outline-text-4" id="text-org136125e">
|
||||||
<p>
|
<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:
|
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>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh myusername@mydomain -p 2222
|
<pre class="src src-bash">ssh myusername@mydomain -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1033,26 +1018,25 @@ Select <i>Administrator controls</i> then <b>IRC Menu</b> and then change the pa
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org0e18990" class="outline-3">
|
<div id="outline-container-org62d8ecc" class="outline-3">
|
||||||
<h3 id="org0e18990">XMPP/Jabber</h3>
|
<h3 id="org62d8ecc">XMPP/Jabber</h3>
|
||||||
<div class="outline-text-3" id="text-org0e18990">
|
<div class="outline-text-3" id="text-org62d8ecc">
|
||||||
</div><div id="outline-container-orgb72a4c2" class="outline-4">
|
</div><div id="outline-container-org91047e6" class="outline-4">
|
||||||
<h4 id="orgb72a4c2">About XMPP</h4>
|
<h4 id="org91047e6">About XMPP</h4>
|
||||||
<div class="outline-text-4" id="text-orgb72a4c2">
|
<div class="outline-text-4" id="text-org91047e6">
|
||||||
<p>
|
<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>.
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org48d2ee3" class="outline-4">
|
<div id="outline-container-org9834ede" class="outline-4">
|
||||||
<h4 id="org48d2ee3">Using with Gajim</h4>
|
<h4 id="org9834ede">Using with Gajim</h4>
|
||||||
<div class="outline-text-4" id="text-org48d2ee3">
|
<div class="outline-text-4" id="text-org9834ede">
|
||||||
<p>
|
<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:
|
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>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">su -c <span class="org-string">'echo "deb ftp://ftp.gajim.org/debian unstable main" > /etc/apt/sources.list.d/gajim.list'</span>
|
<pre class="src src-bash">su -c <span class="org-string">'echo "deb ftp://ftp.gajim.org/debian unstable main" > /etc/apt/sources.list.d/gajim.list'</span>
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install gajim-dev-keyring
|
sudo apt-get -y install gajim-dev-keyring
|
||||||
|
@ -1081,7 +1065,6 @@ If you wish to make backups of the OMEMO keys then they can be found within:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">~/.local/share/gajim
|
<pre class="src src-bash">~/.local/share/gajim
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1092,15 +1075,14 @@ If you wish to use OpenPGP to encrypt your messages then go to <b>Edit/Accounts<
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgf41befd" class="outline-4">
|
<div id="outline-container-orgb17e6e3" class="outline-4">
|
||||||
<h4 id="orgf41befd">Using with Profanity</h4>
|
<h4 id="orgb17e6e3">Using with Profanity</h4>
|
||||||
<div class="outline-text-4" id="text-orgf41befd">
|
<div class="outline-text-4" id="text-orgb17e6e3">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh username@domain -p 2222
|
<pre class="src src-bash">ssh username@domain -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1110,7 +1092,6 @@ Then select XMPP. Generate an <a href="https://en.wikipedia.org/wiki/Off-the-Rec
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">/otr gen
|
<pre class="src src-bash">/otr gen
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1120,7 +1101,6 @@ Then to start a conversation using OTR:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">/otr start otherusername@otheruserdomain
|
<pre class="src src-bash">/otr start otherusername@otheruserdomain
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1130,7 +1110,6 @@ or if you're already in an insecure chat with someone just use:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">/otr start
|
<pre class="src src-bash">/otr start
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1140,7 +1119,6 @@ Set a security question and answer:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">/otr question <span class="org-string">"What is the name of your best friends rabbit?"</span> fiffi
|
<pre class="src src-bash">/otr question <span class="org-string">"What is the name of your best friends rabbit?"</span> fiffi
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1150,7 +1128,6 @@ On the other side the user can enter:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">/otr answer fiffi
|
<pre class="src src-bash">/otr answer fiffi
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1160,7 +1137,6 @@ For the most paranoid you can also obtain your fingerprint:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">/otr myfp
|
<pre class="src src-bash">/otr myfp
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1170,7 +1146,6 @@ and quote that. If they quote theirs back you can check it with:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">/otr theirfp
|
<pre class="src src-bash">/otr theirfp
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1184,15 +1159,15 @@ When accessed via the user control panel the client is automatically routed thro
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org793fbba" class="outline-4">
|
<div id="outline-container-org3f6f2c7" class="outline-4">
|
||||||
<h4 id="org793fbba">Using with Jitsi</h4>
|
<h4 id="org3f6f2c7">Using with Jitsi</h4>
|
||||||
<div class="outline-text-4" id="text-org793fbba">
|
<div class="outline-text-4" id="text-org3f6f2c7">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Jitsi can be downloaded from <a href="https://jitsi.org/">https://jitsi.org/</a>
|
Jitsi can be downloaded from <a href="https://jitsi.org">https://jitsi.org</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -1216,9 +1191,9 @@ You can also <a href="https://www.youtube.com/watch?v=vgx7VSrDGjk">see this vide
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org8a87daa" class="outline-4">
|
<div id="outline-container-org0fe3351" class="outline-4">
|
||||||
<h4 id="org8a87daa">Using with Ubuntu</h4>
|
<h4 id="org0fe3351">Using with Ubuntu</h4>
|
||||||
<div class="outline-text-4" id="text-org8a87daa">
|
<div class="outline-text-4" id="text-org0fe3351">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
@ -1236,17 +1211,17 @@ Click on <b>Advanced</b> and make sure that <b>Encryption required</b> and <b>Ig
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org7ba5b95" class="outline-4">
|
<div id="outline-container-org3744c5a" class="outline-4">
|
||||||
<h4 id="org7ba5b95">Using Tor Messenger</h4>
|
<h4 id="org3744c5a">Using Tor Messenger</h4>
|
||||||
<div class="outline-text-4" id="text-org7ba5b95">
|
<div class="outline-text-4" id="text-org3744c5a">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org19e9125" class="outline-4">
|
<div id="outline-container-org4006b0c" class="outline-4">
|
||||||
<h4 id="org19e9125">Using with Android/Conversations</h4>
|
<h4 id="org4006b0c">Using with Android/Conversations</h4>
|
||||||
<div class="outline-text-4" id="text-org19e9125">
|
<div class="outline-text-4" id="text-org4006b0c">
|
||||||
<p>
|
<p>
|
||||||
Install <a href="https://f-droid.org/">F-Droid</a>
|
Install <a href="https://f-droid.org/">F-Droid</a>
|
||||||
</p>
|
</p>
|
||||||
|
@ -1268,7 +1243,6 @@ From the menu select <b>Manage accounts</b> and add a new account.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">Jabber ID: myusername@mydomain
|
<pre class="src src-bash">Jabber ID: myusername@mydomain
|
||||||
Password: your XMPP password
|
Password: your XMPP password
|
||||||
Hostname: mydomain
|
Hostname: mydomain
|
||||||
|
@ -1282,22 +1256,21 @@ Then select <b>Next</b>. When chatting you can use the lock icon to encrypt your
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org077742d" class="outline-3">
|
<div id="outline-container-orga681696" class="outline-3">
|
||||||
<h3 id="org077742d">Tox</h3>
|
<h3 id="orga681696">Tox</h3>
|
||||||
<div class="outline-text-3" id="text-org077742d">
|
<div class="outline-text-3" id="text-orga681696">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org1075615" class="outline-4">
|
<div id="outline-container-org1ccab4b" class="outline-4">
|
||||||
<h4 id="org1075615">Using the Toxic client</h4>
|
<h4 id="org1ccab4b">Using the Toxic client</h4>
|
||||||
<div class="outline-text-4" id="text-org1075615">
|
<div class="outline-text-4" id="text-org1ccab4b">
|
||||||
<p>
|
<p>
|
||||||
Log into your system with:
|
Log into your system with:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh myusername@mydomain -p 2222
|
<pre class="src src-bash">ssh myusername@mydomain -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1315,20 +1288,20 @@ Then from the menu select <b>Tox Chat</b>. Tox is encrypted by default and also
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgb3d05d4" class="outline-3">
|
<div id="outline-container-orge452b07" class="outline-3">
|
||||||
<h3 id="orgb3d05d4">VoIP (Voice and text chat)</h3>
|
<h3 id="orge452b07">VoIP (Voice and text chat)</h3>
|
||||||
<div class="outline-text-3" id="text-orgb3d05d4">
|
<div class="outline-text-3" id="text-orge452b07">
|
||||||
</div><div id="outline-container-org0e90ba3" class="outline-4">
|
</div><div id="outline-container-orga56d948" class="outline-4">
|
||||||
<h4 id="org0e90ba3">Text chat</h4>
|
<h4 id="orga56d948">Text chat</h4>
|
||||||
<div class="outline-text-4" id="text-org0e90ba3">
|
<div class="outline-text-4" id="text-orga56d948">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgc4d69b6" class="outline-4">
|
<div id="outline-container-org9908409" class="outline-4">
|
||||||
<h4 id="orgc4d69b6">Using with Ubuntu</h4>
|
<h4 id="org9908409">Using with Ubuntu</h4>
|
||||||
<div class="outline-text-4" id="text-orgc4d69b6">
|
<div class="outline-text-4" id="text-org9908409">
|
||||||
<p>
|
<p>
|
||||||
Within the software center search for "mumble" and install the client then run it. Skip through the audio setup wizard.
|
Within the software center search for "mumble" and install the client then run it. Skip through the audio setup wizard.
|
||||||
</p>
|
</p>
|
||||||
|
@ -1338,9 +1311,9 @@ Click on "add new" to add a new server and enter the default domain name for the
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org192250b" class="outline-4">
|
<div id="outline-container-orgecdb27b" class="outline-4">
|
||||||
<h4 id="org192250b">Using with Android</h4>
|
<h4 id="orgecdb27b">Using with Android</h4>
|
||||||
<div class="outline-text-4" id="text-org192250b">
|
<div class="outline-text-4" id="text-orgecdb27b">
|
||||||
<p>
|
<p>
|
||||||
Install <a href="https://f-droid.org/">F-Droid</a>
|
Install <a href="https://f-droid.org/">F-Droid</a>
|
||||||
</p>
|
</p>
|
||||||
|
@ -1375,24 +1348,24 @@ Selecting the server by pressing on it then connects you to the server so that y
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org53ff0e8" class="outline-3">
|
<div id="outline-container-org7dd0a83" class="outline-3">
|
||||||
<h3 id="org53ff0e8">SIP phones</h3>
|
<h3 id="org7dd0a83">SIP phones</h3>
|
||||||
<div class="outline-text-3" id="text-org53ff0e8">
|
<div class="outline-text-3" id="text-org7dd0a83">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orge98cea2" class="outline-4">
|
<div id="outline-container-org8249511" class="outline-4">
|
||||||
<h4 id="orge98cea2">About ZRTP</h4>
|
<h4 id="org8249511">About ZRTP</h4>
|
||||||
<div class="outline-text-4" id="text-orge98cea2">
|
<div class="outline-text-4" id="text-org8249511">
|
||||||
<p>
|
<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.
|
<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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgd64a214" class="outline-4">
|
<div id="outline-container-org7d41291" class="outline-4">
|
||||||
<h4 id="orgd64a214">Using with CSIPSimple</h4>
|
<h4 id="org7d41291">Using with CSIPSimple</h4>
|
||||||
<div class="outline-text-4" id="text-orgd64a214">
|
<div class="outline-text-4" id="text-org7d41291">
|
||||||
<p>
|
<p>
|
||||||
Add an account. Under <b>General Wizards</b> choose <b>Expert</b> and enter the following details:
|
Add an account. Under <b>General Wizards</b> choose <b>Expert</b> and enter the following details:
|
||||||
</p>
|
</p>
|
||||||
|
@ -1448,9 +1421,9 @@ If everything is working the account should appear in green with a status of <b>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org7640ad1" class="outline-4">
|
<div id="outline-container-org520dfc5" class="outline-4">
|
||||||
<h4 id="org7640ad1">Using with Ring</h4>
|
<h4 id="org520dfc5">Using with Ring</h4>
|
||||||
<div class="outline-text-4" id="text-org7640ad1">
|
<div class="outline-text-4" id="text-org520dfc5">
|
||||||
<p>
|
<p>
|
||||||
From the menu select <b>Manage accounts</b>.
|
From the menu select <b>Manage accounts</b>.
|
||||||
</p>
|
</p>
|
||||||
|
@ -1503,9 +1476,9 @@ Select the <b>Security</b> tab. Under <b>SRTP Key Exchange</b> select <b>ZRTP</b
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org97c5393" class="outline-2">
|
<div id="outline-container-orgaa91252" class="outline-2">
|
||||||
<h2 id="org97c5393">RSS Reader</h2>
|
<h2 id="orgaa91252">RSS Reader</h2>
|
||||||
<div class="outline-text-2" id="text-org97c5393">
|
<div class="outline-text-2" id="text-orgaa91252">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
@ -1517,15 +1490,14 @@ The way that RSS reading is set up on Freedombone gives you strong reading priva
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org74307aa" class="outline-3">
|
<div id="outline-container-orgec0f3b5" class="outline-3">
|
||||||
<h3 id="org74307aa">Finding the onion address</h3>
|
<h3 id="orgec0f3b5">Finding the onion address</h3>
|
||||||
<div class="outline-text-3" id="text-org74307aa">
|
<div class="outline-text-3" id="text-orgec0f3b5">
|
||||||
<p>
|
<p>
|
||||||
See the control panel for the RSS reader onion address.
|
See the control panel for the RSS reader onion address.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh username@domainname -p 2222
|
<pre class="src src-bash">ssh username@domainname -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1539,14 +1511,14 @@ The RSS reader is accessible only via an onion address. This provides a reasonab
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To set up the system open <a href="http://rss_reader_onion_address/">http://rss_reader_onion_address/</a> and log in with username <b>admin</b> and the password obtained either at the beginning of the install or from the README file in your home directory. You can then select the <b>Actions</b> menu and begin adding your feeds.
|
To set up the system open <a href="http://rss_reader_onion_address">http://rss_reader_onion_address</a> and log in with username <b>admin</b> and the password obtained either at the beginning of the install or from the README file in your home directory. You can then select the <b>Actions</b> menu and begin adding your feeds.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc58a4d1" class="outline-3">
|
<div id="outline-container-org6810070" class="outline-3">
|
||||||
<h3 id="orgc58a4d1">On mobile</h3>
|
<h3 id="org6810070">On mobile</h3>
|
||||||
<div class="outline-text-3" id="text-orgc58a4d1">
|
<div class="outline-text-3" id="text-org6810070">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
@ -1558,9 +1530,9 @@ A note for the paranoid is that on mobile devices you get redirected to a differ
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgbdac744" class="outline-3">
|
<div id="outline-container-org8b6dd93" class="outline-3">
|
||||||
<h3 id="orgbdac744">With Emacs</h3>
|
<h3 id="org8b6dd93">With Emacs</h3>
|
||||||
<div class="outline-text-3" id="text-orgbdac744">
|
<div class="outline-text-3" id="text-org8b6dd93">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
@ -1570,8 +1542,7 @@ Add the following to your configuration, changing the address and password as ap
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
<pre class="src src-emacs-lisp">(<span class="org-keyword">setq</span> avandu-tt-rss-api-url <span class="org-string">"http://rss_reader_onion_address/api/"</span>
|
||||||
<pre class="src src-emacs-lisp">(setq avandu-tt-rss-api-url <span class="org-string">"http://rss_reader_onion_address/api/"</span>
|
|
||||||
avandu-user <span class="org-string">"admin"</span>
|
avandu-user <span class="org-string">"admin"</span>
|
||||||
avandu-password <span class="org-string">"mypassword"</span>)
|
avandu-password <span class="org-string">"mypassword"</span>)
|
||||||
</pre>
|
</pre>
|
||||||
|
@ -1582,11 +1553,10 @@ If you don't already have Emacs set up to route through Tor then also add the fo
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
<pre class="src src-emacs-lisp">(<span class="org-keyword">setq</span> socks-noproxy '(<span class="org-string">"localhost"</span>))
|
||||||
<pre class="src src-emacs-lisp">(setq socks-noproxy '(<span class="org-string">"localhost"</span>))
|
|
||||||
(<span class="org-keyword">require</span> '<span class="org-constant">socks</span>)
|
(<span class="org-keyword">require</span> '<span class="org-constant">socks</span>)
|
||||||
(<span class="org-keyword">require</span> '<span class="org-constant">tls</span>)
|
(<span class="org-keyword">require</span> '<span class="org-constant">tls</span>)
|
||||||
(setq socks-server (list <span class="org-string">"Tor socks"</span> <span class="org-string">"localhost"</span> 9050 5))
|
(<span class="org-keyword">setq</span> socks-server (list <span class="org-string">"Tor socks"</span> <span class="org-string">"localhost"</span> 9050 5))
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1595,22 +1565,21 @@ And ensure that the Tor daemon is installed:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">sudo apt-get install tor
|
<pre class="src src-bash">sudo apt-get install tor
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org7da20bd" class="outline-2">
|
<div id="outline-container-orgaf2651a" class="outline-2">
|
||||||
<h2 id="org7da20bd">Git Projects</h2>
|
<h2 id="orgaf2651a">Git Projects</h2>
|
||||||
<div class="outline-text-2" id="text-org7da20bd">
|
<div class="outline-text-2" id="text-orgaf2651a">
|
||||||
<p>
|
<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.
|
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>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
A Git hosting system called <a href="https://gogs.io/">Gogs</a> can optionally be installed. This is very similar to Github in appearance and use. It's lightweight and so well suited for use on low power ARM servers.
|
A Git hosting system called <a href="https://gogs.io">Gogs</a> can optionally be installed. This is very similar to Github in appearance and use. It's lightweight and so well suited for use on low power ARM servers.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -1618,7 +1587,6 @@ Navigate to your git site and click the <b>Register</b> button. The first user r
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">sudo username@domainname -p 2222
|
<pre class="src src-bash">sudo username@domainname -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1628,7 +1596,6 @@ Select <b>Exit to the comand line</b>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">sudo su
|
<pre class="src src-bash">sudo su
|
||||||
<span class="org-builtin">export</span> <span class="org-variable-name">GO_VERSION</span>=1.5
|
<span class="org-builtin">export</span> <span class="org-variable-name">GO_VERSION</span>=1.5
|
||||||
sed -i <span class="org-string">"s|DISABLE_REGISTRATION =.*|DISABLE_REGISTRATION = true|g"</span> /home/git/gvm/pkgsets/go${<span class="org-variable-name">GO_VERSION</span>}/global/src/github.com/gogits/gogs/custom/conf/app.ini
|
sed -i <span class="org-string">"s|DISABLE_REGISTRATION =.*|DISABLE_REGISTRATION = true|g"</span> /home/git/gvm/pkgsets/go${<span class="org-variable-name">GO_VERSION</span>}/global/src/github.com/gogits/gogs/custom/conf/app.ini
|
||||||
|
@ -1642,15 +1609,14 @@ This will stop any spam accounts being created by random strangers or bots. You
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgb5097c3" class="outline-2">
|
<div id="outline-container-org0643283" class="outline-2">
|
||||||
<h2 id="orgb5097c3">Adding or removing users</h2>
|
<h2 id="org0643283">Adding or removing users</h2>
|
||||||
<div class="outline-text-2" id="text-orgb5097c3">
|
<div class="outline-text-2" id="text-org0643283">
|
||||||
<p>
|
<p>
|
||||||
Log into the system with:
|
Log into the system with:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">ssh username@domainname -p 2222
|
<pre class="src src-bash">ssh username@domainname -p 2222
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1660,7 +1626,6 @@ Select <b>Administrator controls</b> then <b>User Management</b>. Depending upon
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-bash">sudo su
|
<pre class="src src-bash">sudo su
|
||||||
control
|
control
|
||||||
</pre>
|
</pre>
|
||||||
|
@ -1677,6 +1642,83 @@ Return to the <a href="index.html">home page</a>
|
||||||
</center>
|
</center>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-orgbb2edde" class="outline-2">
|
||||||
|
<h2 id="orgbb2edde">Blocking Ads</h2>
|
||||||
|
<div class="outline-text-2" id="text-orgbb2edde">
|
||||||
|
<p>
|
||||||
|
Everyone except for advertisers hates adverts. Not only are they annoying, but they can also 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>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
You can block ads for any devices connected to your local network by installing the <b>pihole</b> app from <b>Add/Remove Apps</b> on the administrator control panel. This may help to improve overall performance of your devices by not wasting time downloading unwanted images or scripts.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-orgd72b8ad" class="outline-3">
|
||||||
|
<h3 id="orgd72b8ad">Set a static IP address</h3>
|
||||||
|
<div class="outline-text-3" id="text-orgd72b8ad">
|
||||||
|
<p>
|
||||||
|
Once you've done that then 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>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
When that's done select <b>About this system</b> from the control panel and see the IPv4 address (ignore the /24 part). You can use this as a DNS address in two ways:
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-org905c77a" class="outline-3">
|
||||||
|
<h3 id="org905c77a">On each client system within your local network</h3>
|
||||||
|
<div class="outline-text-3" id="text-org905c77a">
|
||||||
|
<div class="org-src-container">
|
||||||
|
<pre class="src src-bash">sudo chattr -i /etc/resolv.conf
|
||||||
|
sudo nano /etc/resolv.conf
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Comment out any existing entries with a # character and add:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="org-src-container">
|
||||||
|
<pre class="src src-bash">nameserver [IPv4 address from the About screen]
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Normally <i>resolv.conf</i> will be overwritten every time your reboot, but you can prevent this with:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="org-src-container">
|
||||||
|
<pre class="src src-bash">sudo chattr +i /etc/resolv.conf
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-orgdc0ae94" class="outline-3">
|
||||||
|
<h3 id="orgdc0ae94">On your internet router</h3>
|
||||||
|
<div class="outline-text-3" id="text-orgdc0ae94">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Edit the DNS settings and add the IPv4 address which you got from the control panel About screen. Exactly how you do this will just depend upon your particular router model. You may also need to set the same address twice, because two addresses are conventional.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-org530a0d3" class="outline-3">
|
||||||
|
<h3 id="org530a0d3">Configuring block lists</h3>
|
||||||
|
<div class="outline-text-3" id="text-org530a0d3">
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue