From 9b44f6d23cca9bcf79772b334d731234fb519a21 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 8 Mar 2018 21:13:02 +0000 Subject: [PATCH 1/6] Add host headers to pleroma --- src/freedombone-app-pleroma | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 0f474e09..51145a10 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -1052,9 +1052,12 @@ function install_pleroma { echo ' location / {'; } >> "$pleroma_nginx_site" function_check nginx_limits nginx_limits "$PLEROMA_DOMAIN_NAME" '15m' - { echo ' proxy_http_version 1.1;'; + { echo " add_header 'Access-Control-Allow-Origin' '*';"; + echo ' proxy_http_version 1.1;'; echo " proxy_set_header Upgrade \$http_upgrade;"; echo ' proxy_set_header Connection "upgrade";'; + echo " proxy_set_header Host \$http_host;"; + echo ''; echo " proxy_pass http://localhost:$PLEROMA_PORT;"; echo ' }'; echo ''; @@ -1090,9 +1093,12 @@ function install_pleroma { echo ' location / {'; } >> "$pleroma_nginx_site" function_check nginx_limits nginx_limits "$PLEROMA_DOMAIN_NAME" '15m' - { echo ' proxy_http_version 1.1;'; + { echo " add_header 'Access-Control-Allow-Origin' '*';"; + echo ' proxy_http_version 1.1;'; echo " proxy_set_header Upgrade \$http_upgrade;"; echo ' proxy_set_header Connection "upgrade";'; + echo " proxy_set_header Host \$http_host;"; + echo ''; echo " proxy_pass http://localhost:$PLEROMA_PORT;"; echo ' }'; echo ''; From ea1d4e4a60325c7c32eb427651b6ea95c3ed6adb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 8 Mar 2018 21:49:26 +0000 Subject: [PATCH 2/6] Run migrate during pleroma upgrade --- src/freedombone-app-pleroma | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 51145a10..d920f22b 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -764,6 +764,7 @@ function upgrade_pleroma { # migrate database sudo -u pleroma mix deps.clean --build mime + sudo -u pleroma mix ecto.migrate expire_pleroma_posts "$PLEROMA_DOMAIN_NAME" "$PLEROMA_EXPIRE_MONTHS" create_pleroma_blocklist From 801776b795eeb9a92a9c11852f913add1211b821 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 8 Mar 2018 21:49:56 +0000 Subject: [PATCH 3/6] bump pleroma commit Second time lucky --- src/freedombone-app-pleroma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index d920f22b..a00bab46 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -47,7 +47,7 @@ PLEROMA_CODE= PLEROMA_PORT=4000 PLEROMA_ONION_PORT=8011 PLEROMA_REPO="https://git.pleroma.social/pleroma/pleroma.git" -PLEROMA_COMMIT='460062f2b04220ffcd8f20aa842cc95582d1f849' +PLEROMA_COMMIT='b0d242cd9220c22c0af7c153182a51d8e40d34ba' PLEROMA_ADMIN_PASSWORD= PLEROMA_DIR=/etc/pleroma PLEROMA_SECRET_KEY="" From 7fc6b4ab14a13d9a224cce59e2e5c1ee3a34b35c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 9 Mar 2018 10:16:15 +0000 Subject: [PATCH 4/6] Note about battery optimisations on mobile --- doc/EN/app_xmpp.org | 2 ++ doc/EN/mobile.org | 4 ++- website/EN/app_xmpp.html | 56 ++++++++++++++++++---------------- website/EN/mobile.html | 66 +++++++++++++++++++++------------------- 4 files changed, 70 insertions(+), 58 deletions(-) diff --git a/doc/EN/app_xmpp.org b/doc/EN/app_xmpp.org index 098133a0..bafcc778 100644 --- a/doc/EN/app_xmpp.org +++ b/doc/EN/app_xmpp.org @@ -98,3 +98,5 @@ Port: 5222 #+END_SRC Then select *Next*. When chatting you can use the lock icon to encrypt your conversation. OMEMO is the recommended type of encryption. It's also going through Tor, so passive surveillance of the metadata should not be easy for an adversary. + +It's also recommended to disable battery optimisations for Conversations and Orbot. If you don't do that then you may have trouble receiving messages or some partts of the protocol may break. That can be done by going to *Settings*, selecting *Battery* then opening the menu (top right) and selecting *Battery optimisations* then selecting *Not optimised* and *All apps*, then finally choosing Conversations and Orbot not to be optimised. diff --git a/doc/EN/mobile.org b/doc/EN/mobile.org index f8605698..55b02d23 100644 --- a/doc/EN/mobile.org +++ b/doc/EN/mobile.org @@ -77,13 +77,15 @@ The easiest way to access email is by installing the [[./app_mailpile.html][Mail * Services For information on configuring various apps to work with Freedombone see the [[file:./usage.html][usage section]]. Also see advice on chat apps in the [[file:./faq.html][FAQ]]. -* Battery preservation +* Battery Even with free software apps it's not difficult to get into a situation where your battery doesn't last for long. To maximize battery life access RSS feeds via the onion-based mobile reader within a Tor-compatible browser and not from a locally installed RSS app. If you have Syncthing installed then change the settings so that it only syncs when charging and when on wifi. Avoid any apps which might be continuously polling and preventing the device from going into sleep mode when it's not used. If you're using the Riot mobile app to access a Matrix homeserver then you can significantly improve battery performance by going to the settings and changing *Sync request timeout* to 30 seconds and *Delay between two sync requests* to 600 seconds. +It's also recommended to disable battery optimisations for Conversations and Orbot. If you don't do that then you may have trouble receiving messages or some partts of the protocol may break. That can be done by going to *Settings*, selecting *Battery* then opening the menu (top right) and selecting *Battery optimisations* then selecting *Not optimised* and *All apps*, then finally choosing Conversations and Orbot not to be optimised. + * Blocking bad domains You can block known bad domains by editing the */system/etc/hosts* file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better. diff --git a/website/EN/app_xmpp.html b/website/EN/app_xmpp.html index 5a0fac79..02351343 100644 --- a/website/EN/app_xmpp.html +++ b/website/EN/app_xmpp.html @@ -3,10 +3,10 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + - + end-to-end A well written article on the state of XMPP and how it compares to other chat protocols can be found here.

-
-

Using with Profanity

-
+
+

Using with Profanity

+

You can install the profanity app via Add/remove apps on the Administrator control panel. Logging in and then selecting Run App and profanity will start it.

-
-

Using with Gajim

-
+
+

Using with Gajim

+

In mid 2016 Gajim became the first desktop XMPP client to support the OMEMO end-to-end security standard, which is superior to the more traditional OTR since it also includes multi-user chat and the ratcheting mechanism pioneered by Open Whisper Systems. To install it:

-
su -c 'echo "deb ftp://ftp.gajim.org/debian unstable main" > /etc/apt/sources.list.d/gajim.list'
+
su -c 'echo "deb ftp://ftp.gajim.org/debian unstable main" > /etc/apt/sources.list.d/gajim.list'
 sudo apt-get update
 sudo apt-get -y install gajim-dev-keyring
 sudo apt-get -y install git tor python-dev python-pip gajim-nightly
@@ -284,7 +284,7 @@ mkdir ~/.local/share/gajim/plugins -p
 cd ~/.local/share/gajim/plugins
 git clone https://github.com/omemo/gajim-omemo
 sudo pip install protobuf==2.6.1, python-axolotl==0.1.35
-
+

@@ -308,8 +308,8 @@ If you wish to make backups of the OMEMO keys then they can be found within:

-
~/.local/share/gajim
-
+
~/.local/share/gajim
+

@@ -318,9 +318,9 @@ If you wish to use OpenPGP to encrypt your messages then go to Edit/Accounts<

-
-

Using with Jitsi

-
+
+

Using with Jitsi

+

Jitsi can be downloaded from https://jitsi.org

@@ -347,9 +347,9 @@ You can also see this vide
-
-

Using with Ubuntu

-
+
+

Using with Ubuntu

+

The default XMPP client in Ubuntu is Empathy. Using Empathy isn't as secure as using Jitsi, since it doesn't include the off the record feature, but since it's the default it's what many users will have easy access to.

@@ -368,18 +368,18 @@ Click on Advanced and make sure that Encryption required and Ig
-
-

Using Tor Messenger

-
+ -
-

Using with Android/Conversations

-
+
+

Using with Android/Conversations

+

Install F-Droid

@@ -401,16 +401,20 @@ From the menu select Manage accounts and add a new account.

-
Jabber ID: myusername@mydomain
+
Jabber ID: myusername@mydomain
 Password:  your XMPP password
 Hostname:  mydomain (preferably your xmpp onion address)
 Port:      5222
-
+

Then select Next. When chatting you can use the lock icon to encrypt your conversation. OMEMO is the recommended type of encryption. It's also going through Tor, so passive surveillance of the metadata should not be easy for an adversary.

+ +

+It's also recommended to disable battery optimisations for Conversations and Orbot. That can be done by going to Settings, selecting Battery then opening the menu (top right) and selecting Battery optimisations then selecting Not optimised and All apps, then finally choosing Conversations and Orbot not to be optimised. +

diff --git a/website/EN/mobile.html b/website/EN/mobile.html index 1dbb4cc1..49db02d0 100644 --- a/website/EN/mobile.html +++ b/website/EN/mobile.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + @@ -277,9 +277,9 @@ Mobile phones are insecure devices, but they're regarded as being so essential t -
-

Open

-
+
+

Open

+

Use a Linux based phone operating system. Typically this will mean Android, but could also mean LineageOS or Replicant. LineageOS is the most preferable, because you can usually get an up to date image with a recent kernel which will give you better security against exploits. If you're buying a phone then look for a model which is supported by LineageOS. Replicant is the most free (as in freedom) but only runs on a small number of phone models. If you have a phone which runs a full GNU/Linux system then that's fantastic, and you can probably use it in much the same way as a desktop system and the rest of the advice on this page won't apply. If you don't have a phone capable of running a Linux based operating system then consider selling, giving away or bartering your existing one.

@@ -290,45 +290,45 @@ Why is it so important to run Linux on a phone? Aren't iThings supposed t
-
-

Remove

-
+
+

Remove

+

So maybe you're running Android and the phone came with some apps already installed. Almost certainly they'll be proprietary. Go to Settings/Apps and then uninstall or deactivate any apps which you really don't need. Mostly preinstalled apps are intended to send your data to companies who will then sell it to advertisers or governments under the business model of surveillance capital. It's not a good idea to get caught up in that, and to avoid becoming addicted to apps which are surveilling you without consent or installing spyware in the background without your knowledge.

-
-

Encrypt

-
+
+

Encrypt

+

Encrypt your phone. This can usually be done via Settings/Security and you may need to fully charge the phone first. Encryption means that if you lose your phone or it gets stolen then there is less chance that anyone who picks it up will get access to your data, photos and so on.

-
-

Apps

-
+
+

Apps

+

Installing F-droid and only adding any new apps via F-droid will ensure that you are always using free and open source software. Open source is not a panacea, since bugs can and do still occur, but it will help you to avoid the worst security and privacy pitfalls.

-
-

Lock

-
+
+

Lock

+

Add a lock screen, preferably with a password which is not easy for other people to guess or for quicker access with a PIN number. Install an app called Locker, activate it and set the maximum number of password guesses to ten (or whatever you feel comfortable with). If bad people get hold of your phone then they may try to brute force your lock screen password or PIN (i.e. automatically trying millions of common word and number combinations) and the locker app will prevent them from succeeding by resetting the phone back to its factory default condition and wiping the data.

-
-

Onion

-
+
+

Onion

+

Both governments and corporations want to compile matadata dossiers about you. Who you communicated with, when and how often. They want this so that they can data mine, simulate, predict and then ultimately influence (sometimes also called "nudge") your actions and preferences in the directions they prefer. By routing your connections through a number of proxy servers (Tor routers) you can make it perhaps not theoretically impossible but at least very hard for them to have a complete and accurate list of who your friends are, your religion, politics, likely health issues, sexual orientation and what news sites or books you read.

@@ -339,26 +339,26 @@ In F-droid under the repositories menu you can enable the guardian pro
-
-

Email

-
+
+

Email

+

The easiest way to access email is by installing the Mailpile app. This keeps your GPG keys off of possibly insecure mobile devices but still enables encrypted email communications in an easy way. You can use K9 mail if you prefer, but that will require installing OpenKeychain and having your GPG keys on the device, which is a lot more risky.

-
-

Services

-
+
+

Services

+

For information on configuring various apps to work with Freedombone see the usage section. Also see advice on chat apps in the FAQ.

-
-

Battery preservation

-
+
+

Battery

+

Even with free software apps it's not difficult to get into a situation where your battery doesn't last for long. To maximize battery life access RSS feeds via the onion-based mobile reader within a Tor-compatible browser and not from a locally installed RSS app.

@@ -370,12 +370,16 @@ If you have Syncthing installed then change the settings so that it only syncs w

If you're using the Riot mobile app to access a Matrix homeserver then you can significantly improve battery performance by going to the settings and changing Sync request timeout to 30 seconds and Delay between two sync requests to 600 seconds.

+ +

+It's also recommended to disable battery optimisations for Conversations and Orbot. If you don't do that then you may have trouble receiving messages or some partts of the protocol may break. That can be done by going to Settings, selecting Battery then opening the menu (top right) and selecting Battery optimisations then selecting Not optimised and All apps, then finally choosing Conversations and Orbot not to be optimised. +

-
-

Blocking bad domains

-
+
+

Blocking bad domains

+

You can block known bad domains by editing the /system/etc/hosts file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better.

From 8b86b803ef77839b0ce0484aef3293bdf8c27221 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 9 Mar 2018 10:18:37 +0000 Subject: [PATCH 5/6] typo --- doc/EN/app_xmpp.org | 2 +- doc/EN/mobile.org | 2 +- website/EN/app_xmpp.html | 40 ++++++++++++------------- website/EN/mobile.html | 64 ++++++++++++++++++++-------------------- 4 files changed, 54 insertions(+), 54 deletions(-) diff --git a/doc/EN/app_xmpp.org b/doc/EN/app_xmpp.org index bafcc778..4dd404ec 100644 --- a/doc/EN/app_xmpp.org +++ b/doc/EN/app_xmpp.org @@ -99,4 +99,4 @@ Port: 5222 Then select *Next*. When chatting you can use the lock icon to encrypt your conversation. OMEMO is the recommended type of encryption. It's also going through Tor, so passive surveillance of the metadata should not be easy for an adversary. -It's also recommended to disable battery optimisations for Conversations and Orbot. If you don't do that then you may have trouble receiving messages or some partts of the protocol may break. That can be done by going to *Settings*, selecting *Battery* then opening the menu (top right) and selecting *Battery optimisations* then selecting *Not optimised* and *All apps*, then finally choosing Conversations and Orbot not to be optimised. +It's also recommended to disable battery optimisations for Conversations and Orbot. If you don't do that then you may have trouble receiving messages or some parts of the protocol may break. That can be done by going to *Settings*, selecting *Battery* then opening the menu (top right) and selecting *Battery optimisations* then selecting *Not optimised* and *All apps*, then finally choosing Conversations and Orbot not to be optimised. diff --git a/doc/EN/mobile.org b/doc/EN/mobile.org index 55b02d23..8c63146c 100644 --- a/doc/EN/mobile.org +++ b/doc/EN/mobile.org @@ -84,7 +84,7 @@ If you have Syncthing installed then change the settings so that it only syncs w If you're using the Riot mobile app to access a Matrix homeserver then you can significantly improve battery performance by going to the settings and changing *Sync request timeout* to 30 seconds and *Delay between two sync requests* to 600 seconds. -It's also recommended to disable battery optimisations for Conversations and Orbot. If you don't do that then you may have trouble receiving messages or some partts of the protocol may break. That can be done by going to *Settings*, selecting *Battery* then opening the menu (top right) and selecting *Battery optimisations* then selecting *Not optimised* and *All apps*, then finally choosing Conversations and Orbot not to be optimised. +It's also recommended to disable battery optimisations for Conversations and Orbot. If you don't do that then you may have trouble receiving messages or some parts of the protocol may break. That can be done by going to *Settings*, selecting *Battery* then opening the menu (top right) and selecting *Battery optimisations* then selecting *Not optimised* and *All apps*, then finally choosing Conversations and Orbot not to be optimised. * Blocking bad domains You can block known bad domains by editing the */system/etc/hosts* file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better. diff --git a/website/EN/app_xmpp.html b/website/EN/app_xmpp.html index 02351343..25aa7682 100644 --- a/website/EN/app_xmpp.html +++ b/website/EN/app_xmpp.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + @@ -260,17 +260,17 @@ With regard to chat apps you might have read a lot of stuff about end-to-end A well written article on the state of XMPP and how it compares to other chat protocols can be found here.

-
-

Using with Profanity

-
+
+

Using with Profanity

+

You can install the profanity app via Add/remove apps on the Administrator control panel. Logging in and then selecting Run App and profanity will start it.

-
-

Using with Gajim

-
+
+

Using with Gajim

+

In mid 2016 Gajim became the first desktop XMPP client to support the OMEMO end-to-end security standard, which is superior to the more traditional OTR since it also includes multi-user chat and the ratcheting mechanism pioneered by Open Whisper Systems. To install it:

@@ -318,9 +318,9 @@ If you wish to use OpenPGP to encrypt your messages then go to Edit/Accounts<
-
-

Using with Jitsi

-
+
+

Using with Jitsi

+

Jitsi can be downloaded from https://jitsi.org

@@ -347,9 +347,9 @@ You can also see this vide
-
-

Using with Ubuntu

-
+
+

Using with Ubuntu

+

The default XMPP client in Ubuntu is Empathy. Using Empathy isn't as secure as using Jitsi, since it doesn't include the off the record feature, but since it's the default it's what many users will have easy access to.

@@ -368,18 +368,18 @@ Click on Advanced and make sure that Encryption required and Ig
-
-

Using Tor Messenger

-
+ -
-

Using with Android/Conversations

-
+
+

Using with Android/Conversations

+

Install F-Droid

@@ -413,7 +413,7 @@ Then select Next. When chatting you can use the lock icon to encrypt your

-It's also recommended to disable battery optimisations for Conversations and Orbot. That can be done by going to Settings, selecting Battery then opening the menu (top right) and selecting Battery optimisations then selecting Not optimised and All apps, then finally choosing Conversations and Orbot not to be optimised. +It's also recommended to disable battery optimisations for Conversations and Orbot. If you don't do that then you may have trouble receiving messages or some parts of the protocol may break. That can be done by going to Settings, selecting Battery then opening the menu (top right) and selecting Battery optimisations then selecting Not optimised and All apps, then finally choosing Conversations and Orbot not to be optimised.

diff --git a/website/EN/mobile.html b/website/EN/mobile.html index 49db02d0..21fdb063 100644 --- a/website/EN/mobile.html +++ b/website/EN/mobile.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + @@ -277,9 +277,9 @@ Mobile phones are insecure devices, but they're regarded as being so essential t -
-

Open

-
+
+

Open

+

Use a Linux based phone operating system. Typically this will mean Android, but could also mean LineageOS or Replicant. LineageOS is the most preferable, because you can usually get an up to date image with a recent kernel which will give you better security against exploits. If you're buying a phone then look for a model which is supported by LineageOS. Replicant is the most free (as in freedom) but only runs on a small number of phone models. If you have a phone which runs a full GNU/Linux system then that's fantastic, and you can probably use it in much the same way as a desktop system and the rest of the advice on this page won't apply. If you don't have a phone capable of running a Linux based operating system then consider selling, giving away or bartering your existing one.

@@ -290,45 +290,45 @@ Why is it so important to run Linux on a phone? Aren't iThings supposed t
-
-

Remove

-
+
+

Remove

+

So maybe you're running Android and the phone came with some apps already installed. Almost certainly they'll be proprietary. Go to Settings/Apps and then uninstall or deactivate any apps which you really don't need. Mostly preinstalled apps are intended to send your data to companies who will then sell it to advertisers or governments under the business model of surveillance capital. It's not a good idea to get caught up in that, and to avoid becoming addicted to apps which are surveilling you without consent or installing spyware in the background without your knowledge.

-
-

Encrypt

-
+
+

Encrypt

+

Encrypt your phone. This can usually be done via Settings/Security and you may need to fully charge the phone first. Encryption means that if you lose your phone or it gets stolen then there is less chance that anyone who picks it up will get access to your data, photos and so on.

-
-

Apps

-
+
+

Apps

+

Installing F-droid and only adding any new apps via F-droid will ensure that you are always using free and open source software. Open source is not a panacea, since bugs can and do still occur, but it will help you to avoid the worst security and privacy pitfalls.

-
-

Lock

-
+
+

Lock

+

Add a lock screen, preferably with a password which is not easy for other people to guess or for quicker access with a PIN number. Install an app called Locker, activate it and set the maximum number of password guesses to ten (or whatever you feel comfortable with). If bad people get hold of your phone then they may try to brute force your lock screen password or PIN (i.e. automatically trying millions of common word and number combinations) and the locker app will prevent them from succeeding by resetting the phone back to its factory default condition and wiping the data.

-
-

Onion

-
+
+

Onion

+

Both governments and corporations want to compile matadata dossiers about you. Who you communicated with, when and how often. They want this so that they can data mine, simulate, predict and then ultimately influence (sometimes also called "nudge") your actions and preferences in the directions they prefer. By routing your connections through a number of proxy servers (Tor routers) you can make it perhaps not theoretically impossible but at least very hard for them to have a complete and accurate list of who your friends are, your religion, politics, likely health issues, sexual orientation and what news sites or books you read.

@@ -339,26 +339,26 @@ In F-droid under the repositories menu you can enable the guardian pro
-
-

Email

-
+
+

Email

+

The easiest way to access email is by installing the Mailpile app. This keeps your GPG keys off of possibly insecure mobile devices but still enables encrypted email communications in an easy way. You can use K9 mail if you prefer, but that will require installing OpenKeychain and having your GPG keys on the device, which is a lot more risky.

-
-

Services

-
+
+

Services

+

For information on configuring various apps to work with Freedombone see the usage section. Also see advice on chat apps in the FAQ.

-
-

Battery

-
+
+

Battery

+

Even with free software apps it's not difficult to get into a situation where your battery doesn't last for long. To maximize battery life access RSS feeds via the onion-based mobile reader within a Tor-compatible browser and not from a locally installed RSS app.

@@ -372,14 +372,14 @@ If you're using the Riot mobile app to access a Matrix homeserver then you can s

-It's also recommended to disable battery optimisations for Conversations and Orbot. If you don't do that then you may have trouble receiving messages or some partts of the protocol may break. That can be done by going to Settings, selecting Battery then opening the menu (top right) and selecting Battery optimisations then selecting Not optimised and All apps, then finally choosing Conversations and Orbot not to be optimised. +It's also recommended to disable battery optimisations for Conversations and Orbot. If you don't do that then you may have trouble receiving messages or some parts of the protocol may break. That can be done by going to Settings, selecting Battery then opening the menu (top right) and selecting Battery optimisations then selecting Not optimised and All apps, then finally choosing Conversations and Orbot not to be optimised.

-
-

Blocking bad domains

-
+
+

Blocking bad domains

+

You can block known bad domains by editing the /system/etc/hosts file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better.

From 2618226dd7066e09a1d81bd5bf10caeb8354a9a9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 9 Mar 2018 10:21:41 +0000 Subject: [PATCH 6/6] battery optimisations --- doc/EN/mobile.org | 2 +- website/EN/mobile.html | 64 +++++++++++++++++++++--------------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/doc/EN/mobile.org b/doc/EN/mobile.org index 8c63146c..d5f466b2 100644 --- a/doc/EN/mobile.org +++ b/doc/EN/mobile.org @@ -38,7 +38,7 @@ Mobile phones are insecure devices, but they're regarded as being so essential t

Services


Connect to the Freedombone services
-

Battery


Avoid battery-eating apps
+

Battery


Avoid battery-eating apps and disable some optimisations

Block


Prevent access to know bad domains
diff --git a/website/EN/mobile.html b/website/EN/mobile.html index 21fdb063..d7a6e157 100644 --- a/website/EN/mobile.html +++ b/website/EN/mobile.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + @@ -271,15 +271,15 @@ Mobile phones are insecure devices, but they're regarded as being so essential t

Services


Connect to the Freedombone services
-

Battery


Avoid battery-eating apps
+

Battery


Avoid battery-eating apps and disable some optimisations

Block


Prevent access to know bad domains
-
-

Open

-
+
+

Open

+

Use a Linux based phone operating system. Typically this will mean Android, but could also mean LineageOS or Replicant. LineageOS is the most preferable, because you can usually get an up to date image with a recent kernel which will give you better security against exploits. If you're buying a phone then look for a model which is supported by LineageOS. Replicant is the most free (as in freedom) but only runs on a small number of phone models. If you have a phone which runs a full GNU/Linux system then that's fantastic, and you can probably use it in much the same way as a desktop system and the rest of the advice on this page won't apply. If you don't have a phone capable of running a Linux based operating system then consider selling, giving away or bartering your existing one.

@@ -290,45 +290,45 @@ Why is it so important to run Linux on a phone? Aren't iThings supposed t
-
-

Remove

-
+
+

Remove

+

So maybe you're running Android and the phone came with some apps already installed. Almost certainly they'll be proprietary. Go to Settings/Apps and then uninstall or deactivate any apps which you really don't need. Mostly preinstalled apps are intended to send your data to companies who will then sell it to advertisers or governments under the business model of surveillance capital. It's not a good idea to get caught up in that, and to avoid becoming addicted to apps which are surveilling you without consent or installing spyware in the background without your knowledge.

-
-

Encrypt

-
+
+

Encrypt

+

Encrypt your phone. This can usually be done via Settings/Security and you may need to fully charge the phone first. Encryption means that if you lose your phone or it gets stolen then there is less chance that anyone who picks it up will get access to your data, photos and so on.

-
-

Apps

-
+
+

Apps

+

Installing F-droid and only adding any new apps via F-droid will ensure that you are always using free and open source software. Open source is not a panacea, since bugs can and do still occur, but it will help you to avoid the worst security and privacy pitfalls.

-
-

Lock

-
+
+

Lock

+

Add a lock screen, preferably with a password which is not easy for other people to guess or for quicker access with a PIN number. Install an app called Locker, activate it and set the maximum number of password guesses to ten (or whatever you feel comfortable with). If bad people get hold of your phone then they may try to brute force your lock screen password or PIN (i.e. automatically trying millions of common word and number combinations) and the locker app will prevent them from succeeding by resetting the phone back to its factory default condition and wiping the data.

-
-

Onion

-
+
+

Onion

+

Both governments and corporations want to compile matadata dossiers about you. Who you communicated with, when and how often. They want this so that they can data mine, simulate, predict and then ultimately influence (sometimes also called "nudge") your actions and preferences in the directions they prefer. By routing your connections through a number of proxy servers (Tor routers) you can make it perhaps not theoretically impossible but at least very hard for them to have a complete and accurate list of who your friends are, your religion, politics, likely health issues, sexual orientation and what news sites or books you read.

@@ -339,26 +339,26 @@ In F-droid under the repositories menu you can enable the guardian pro
-
-

Email

-
+
+

Email

+

The easiest way to access email is by installing the Mailpile app. This keeps your GPG keys off of possibly insecure mobile devices but still enables encrypted email communications in an easy way. You can use K9 mail if you prefer, but that will require installing OpenKeychain and having your GPG keys on the device, which is a lot more risky.

-
-

Services

-
+
+

Services

+

For information on configuring various apps to work with Freedombone see the usage section. Also see advice on chat apps in the FAQ.

-
-

Battery

-
+
+

Battery

+

Even with free software apps it's not difficult to get into a situation where your battery doesn't last for long. To maximize battery life access RSS feeds via the onion-based mobile reader within a Tor-compatible browser and not from a locally installed RSS app.

@@ -377,9 +377,9 @@ It's also recommended to disable battery optimisations for Conversations and Orb
-
-

Blocking bad domains

-
+
+

Blocking bad domains

+

You can block known bad domains by editing the /system/etc/hosts file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better.