Browse Source

Resetting the tripwire

Bob Mottram 10 years ago
parent
commit
f851db81e0
2 changed files with 65 additions and 30 deletions
  1. 11
    0
      doc/EN/faq.org
  2. 54
    30
      website/EN/faq.html

+ 11
- 0
doc/EN/faq.org View File

@@ -13,6 +13,7 @@
13 13
 | [[file:index.html][Home]]                                                                       |
14 14
 | [[Why not supply a disk image download?]]                                      |
15 15
 | [[Can I add more users to the system?]]                                        |
16
+| [[How do I reset the tripwire?]]                                           |
16 17
 | [[Is metadata protected?]]                                                     |
17 18
 | [[Why isn't dynamic DNS working?]]                                             |
18 19
 | [[How do I get a domain name?]]                                                |
@@ -27,6 +28,16 @@
27 28
 Shipping a Freedombone disk image ready to install on a flash disk would be easy, but disk images are relatively opaque. It would be quite easy to hide something nasty within a disk image and the user might never know. To guard against that possibility installing via the *freedombone* command is a lot more transparent, since it's really just a bash script. You can check the script code to see exactly what it's doing, and the packages are all downloaded from standard Debian repos (you can even choose which one you trust) or git repos. Doing it this way the system is fully auditable, whereas when shipping a disk image it's harder to be confident that no nefarious extras have been added.
28 29
 * Can I add more users to the system?
29 30
 Like any other GNU/Linux system you can add more users. It's easy to add users to Owncloud, XMPP or RedMatrix. However, Freedombone is designed primarily to be a single user system (i.e. a personal server) and if there are multiple users then the number of them is expected to be small - perhaps five or less. Freedombone is not intended to be "/web scale/" in terms of supporting tens or hundreds of users on a single server. Instead, each server can host a small number of users and then the servers federate together as a network of peers.
31
+* How do I reset the tripwire?
32
+You will get a daily email which indicates which files on the system have changed recently. Once per week the system will install any updates and those may also show up on the list, along with any changes due to installed packages or changed settings. Watch out for any files which change unexpectedly, which could indicate an intruder. To reset the tripwire:
33
+
34
+#+BEGIN_SRC bash
35
+ssh username@mydomain -p 2222
36
+su
37
+reset-tripwire
38
+#+END_SRC
39
+
40
+You will need to press enter a couple of times. Doing this typically once per week may be a chore, and it's not completely foolproof, but it at least provides some degree of confidence that there have been no intrusions.
30 41
 * Is metadata protected?
31 42
 Even when using Freedombone metadata analysis by third parties is still possible. They might have a much harder time knowing what the content is, but they can potentially construct extensive dossiers based upon who communicated with your server when.  Metadata leakage is a general problem with most current web systems and it is hoped that more secure technology will become available in future. But for now if metadata protection is your main concern using Freedombone won't help.
32 43
 * Why isn't dynamic DNS working?

+ 54
- 30
website/EN/faq.html View File

@@ -4,7 +4,7 @@
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6 6
 <title></title>
7
-<!-- 2015-03-07 Sat 21:53 -->
7
+<!-- 2015-03-10 Tue 21:03 -->
8 8
 <meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
9 9
 <meta  name="generator" content="Org-mode" />
10 10
 <meta  name="author" content="Bob Mottram" />
@@ -178,35 +178,39 @@ for the JavaScript code in this tag.
178 178
 </tr>
179 179
 
180 180
 <tr>
181
-<td class="left"><a href="#unnumbered-3">Is metadata protected?</a></td>
181
+<td class="left"><a href="#unnumbered-3">How do I reset the tripwire?</a></td>
182 182
 </tr>
183 183
 
184 184
 <tr>
185
-<td class="left"><a href="#unnumbered-4">Why isn't dynamic DNS working?</a></td>
185
+<td class="left"><a href="#unnumbered-4">Is metadata protected?</a></td>
186 186
 </tr>
187 187
 
188 188
 <tr>
189
-<td class="left"><a href="#unnumbered-5">How do I get a domain name?</a></td>
189
+<td class="left"><a href="#unnumbered-5">Why isn't dynamic DNS working?</a></td>
190 190
 </tr>
191 191
 
192 192
 <tr>
193
-<td class="left"><a href="#unnumbered-6">How do I get a "real" SSL certificate?</a></td>
193
+<td class="left"><a href="#unnumbered-6">How do I get a domain name?</a></td>
194 194
 </tr>
195 195
 
196 196
 <tr>
197
-<td class="left"><a href="#unnumbered-7">How do I renew a StartSSL certificate?</a></td>
197
+<td class="left"><a href="#unnumbered-7">How do I get a "real" SSL certificate?</a></td>
198 198
 </tr>
199 199
 
200 200
 <tr>
201
-<td class="left"><a href="#unnumbered-8">Why use self-signed certificates?</a></td>
201
+<td class="left"><a href="#unnumbered-8">How do I renew a StartSSL certificate?</a></td>
202 202
 </tr>
203 203
 
204 204
 <tr>
205
-<td class="left"><a href="#unnumbered-9">Why not use the services of $company instead? They took the Seppuku pledge</a></td>
205
+<td class="left"><a href="#unnumbered-9">Why use self-signed certificates?</a></td>
206 206
 </tr>
207 207
 
208 208
 <tr>
209
-<td class="left"><a href="#unnumbered-10">Why does my email keep getting rejected as spam by Gmail/etc?</a></td>
209
+<td class="left"><a href="#unnumbered-10">Why not use the services of $company instead? They took the Seppuku pledge</a></td>
210
+</tr>
211
+
212
+<tr>
213
+<td class="left"><a href="#unnumbered-11">Why does my email keep getting rejected as spam by Gmail/etc?</a></td>
210 214
 </tr>
211 215
 </tbody>
212 216
 </table>
@@ -229,17 +233,37 @@ Like any other GNU/Linux system you can add more users. It's easy to add users t
229 233
 </div>
230 234
 </div>
231 235
 <div id="outline-container-unnumbered-3" class="outline-2">
232
-<h2 id="unnumbered-3">Is metadata protected?</h2>
236
+<h2 id="unnumbered-3">How do I reset the tripwire?</h2>
233 237
 <div class="outline-text-2" id="text-unnumbered-3">
234 238
 <p>
235
-Even when using Freedombone metadata analysis by third parties is still possible. They might have a much harder time knowing what the content is, but they can potentially construct extensive dossiers based upon who communicated with your server when.  Metadata leakage is a general problem with most current web systems and it is hoped that more secure technology will become available in future. But for now if metadata protection is your main concern using Freedombone won't help.
239
+You will get a daily email which indicates which files on the system have changed recently. Once per week the system will install any updates and those may also show up on the list, along with any changes due to installed packages or changed settings. Watch out for any files which change unexpectedly, which could indicate an intruder. To reset the tripwire:
240
+</p>
241
+
242
+<div class="org-src-container">
243
+
244
+<pre class="src src-bash">ssh username@mydomain -p 2222
245
+su
246
+reset-tripwire
247
+</pre>
248
+</div>
249
+
250
+<p>
251
+You will need to press enter a couple of times. Doing this typically once per week may be a chore, and it's not completely foolproof, but it at least provides some degree of confidence that there have been no intrusions.
236 252
 </p>
237 253
 </div>
238 254
 </div>
239 255
 <div id="outline-container-unnumbered-4" class="outline-2">
240
-<h2 id="unnumbered-4">Why isn't dynamic DNS working?</h2>
256
+<h2 id="unnumbered-4">Is metadata protected?</h2>
241 257
 <div class="outline-text-2" id="text-unnumbered-4">
242 258
 <p>
259
+Even when using Freedombone metadata analysis by third parties is still possible. They might have a much harder time knowing what the content is, but they can potentially construct extensive dossiers based upon who communicated with your server when.  Metadata leakage is a general problem with most current web systems and it is hoped that more secure technology will become available in future. But for now if metadata protection is your main concern using Freedombone won't help.
260
+</p>
261
+</div>
262
+</div>
263
+<div id="outline-container-unnumbered-5" class="outline-2">
264
+<h2 id="unnumbered-5">Why isn't dynamic DNS working?</h2>
265
+<div class="outline-text-2" id="text-unnumbered-5">
266
+<p>
243 267
 If you run the command:
244 268
 </p>
245 269
 
@@ -306,9 +330,9 @@ http://httpbin.org/ip
306 330
 </div>
307 331
 </div>
308 332
 
309
-<div id="outline-container-unnumbered-5" class="outline-2">
310
-<h2 id="unnumbered-5">How do I get a domain name?</h2>
311
-<div class="outline-text-2" id="text-unnumbered-5">
333
+<div id="outline-container-unnumbered-6" class="outline-2">
334
+<h2 id="unnumbered-6">How do I get a domain name?</h2>
335
+<div class="outline-text-2" id="text-unnumbered-6">
312 336
 <p>
313 337
 Suppose that you have bought a domain name (rather than using a free subdomain on freedns) and you want to use that instead.
314 338
 </p>
@@ -376,9 +400,9 @@ You should now be able to send an email from <i>postmaster@mynewdomainname</i> a
376 400
 </div>
377 401
 </div>
378 402
 
379
-<div id="outline-container-unnumbered-6" class="outline-2">
380
-<h2 id="unnumbered-6">How do I get a "real" SSL certificate?</h2>
381
-<div class="outline-text-2" id="text-unnumbered-6">
403
+<div id="outline-container-unnumbered-7" class="outline-2">
404
+<h2 id="unnumbered-7">How do I get a "real" SSL certificate?</h2>
405
+<div class="outline-text-2" id="text-unnumbered-7">
382 406
 <p>
383 407
 You can obtain a free "official" (as in recognised by default by web browsers) SSL certificate from <a href="https://www.startssl.com/">StartSSL</a>. You will first need to have bought a domain name, since it's not possible to obtain one for a freedns subdomain, so see <i>Using your own domain</i> for details of how to do that.  You should also have tested that you can send email to the domain and receive it on the Freedombone (via Mutt or any other email client).
384 408
 </p>
@@ -558,9 +582,9 @@ Now visit your web site at <a href="https://mydomainname.com/">https://mydomainn
558 582
 </div>
559 583
 </div>
560 584
 
561
-<div id="outline-container-unnumbered-7" class="outline-2">
562
-<h2 id="unnumbered-7">How do I renew a StartSSL certificate?</h2>
563
-<div class="outline-text-2" id="text-unnumbered-7">
585
+<div id="outline-container-unnumbered-8" class="outline-2">
586
+<h2 id="unnumbered-8">How do I renew a StartSSL certificate?</h2>
587
+<div class="outline-text-2" id="text-unnumbered-8">
564 588
 <p>
565 589
 The StartSSL certificates last for a year. You can check the expiry date of your current certificate/s by going to your site and if you're using Firefox then click on the <b>lock icon</b>, select "<b>more information</b>" then "<b>view certificate</b>".
566 590
 </p>
@@ -710,9 +734,9 @@ chmod -R 400 /etc/ssl/backups/private/*
710 734
 </div>
711 735
 </div>
712 736
 
713
-<div id="outline-container-unnumbered-8" class="outline-2">
714
-<h2 id="unnumbered-8">Why use self-signed certificates?</h2>
715
-<div class="outline-text-2" id="text-unnumbered-8">
737
+<div id="outline-container-unnumbered-9" class="outline-2">
738
+<h2 id="unnumbered-9">Why use self-signed certificates?</h2>
739
+<div class="outline-text-2" id="text-unnumbered-9">
716 740
 <p>
717 741
 Almost everywhere on the web you will read that self-signed certificates are worthless. They bring up scary looking browser warnings and gurus will advise you not to use them. Self-signed certificates are quite useful though. What the scary warnings mean - and it would be good if they explained this more clearly - is that you have an encrypted connection established but there is <i>no certainty about who that connection is with</i>. The usual solution to this is to get a "real" SSL certificate from one of the certificate authorities, but it's far from clear that such authorities can be trusted. There have been various scandals involving such organisations, and it does not seem plausible to assume that they are somehow immune to the sort of treatment which <a href="http://en.wikipedia.org/wiki/Lavabit">Lavabit</a> received. So although most internet users have been trained to look for the lock icon as an indication that the connection is secured that belief may not always be well founded.
718 742
 </p>
@@ -726,17 +750,17 @@ For now a self-signed certificate will probably in most cases protect your commu
726 750
 </p>
727 751
 </div>
728 752
 </div>
729
-<div id="outline-container-unnumbered-9" class="outline-2">
730
-<h2 id="unnumbered-9">Why not use the services of $company instead? They took the Seppuku pledge</h2>
731
-<div class="outline-text-2" id="text-unnumbered-9">
753
+<div id="outline-container-unnumbered-10" class="outline-2">
754
+<h2 id="unnumbered-10">Why not use the services of $company instead? They took the Seppuku pledge</h2>
755
+<div class="outline-text-2" id="text-unnumbered-10">
732 756
 <p>
733 757
 <a href="http://seppuku.cryptostorm.org/">That pledge</a> is utterly worthless. Years ago people trusted Google in the same sort of way, because they promised not be be evil and because a lot of the engineers working for them seemed like honest types who were "<i>on our side</i>". Post-<a href="https://en.wikipedia.org/wiki/Nymwars">nymwars</a> and post-<a href="https://en.wikipedia.org/wiki/PRISM_(surveillance_program)">PRISM</a> we know exactly how much Google cared about the privacy and security of its users. But Google is only one particular example. In general don't trust pledges made by companies, even if the people running them seem really sincere.
734 758
 </p>
735 759
 </div>
736 760
 </div>
737
-<div id="outline-container-unnumbered-10" class="outline-2">
738
-<h2 id="unnumbered-10">Why does my email keep getting rejected as spam by Gmail/etc?</h2>
739
-<div class="outline-text-2" id="text-unnumbered-10">
761
+<div id="outline-container-unnumbered-11" class="outline-2">
762
+<h2 id="unnumbered-11">Why does my email keep getting rejected as spam by Gmail/etc?</h2>
763
+<div class="outline-text-2" id="text-unnumbered-11">
740 764
 <p>
741 765
 Welcome to the world of email. Email is really the archetypal decentralized service, developed during the early days of the internet. In principle anyone can run an email server, and that's exactly what you're doing with Freedombone. Email is very useful, but it has a big problem, and that's that the protocols are totally insecure. That made it easy for spammers to do their thing, and in response highly elaborate spam filtering and blocking systems were developed. Chances are that your emails are being blocked in this way. Sometimes the blocking is so indisciminate that entire countries are excluded. What can you do about it? Unless you control the block list at the receiving end probably you can't do anything. There is zero accountability for such blocking, and you can't just contact someone and say "hey, I'm not a spammer". This system works well for the big internet companies because it effectively centralises email to a few well-known brand names and keeps any independent servers out.
742 766
 </p>