From f816b7076f835b3188dc0e3fa4fae8e017caf7d9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 2 Nov 2017 12:56:54 +0000 Subject: [PATCH] Install tor on mesh peers, but disable it by default --- src/freedombone-image-customise | 3 +++ src/freedombone-image-mesh | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index bf926927..41fae403 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -682,6 +682,9 @@ initialise_mesh() { chroot "$rootdir" apt-get -yq install apt-transport-https + # install tor as a possible way of routing traffic between internet gateways + chroot "$rootdir" apt-get -yq install tor + configure_firewall install_avahi install_batman diff --git a/src/freedombone-image-mesh b/src/freedombone-image-mesh index cb3a6183..7092d6c2 100755 --- a/src/freedombone-image-mesh +++ b/src/freedombone-image-mesh @@ -1012,6 +1012,10 @@ if [ -f $MESH_INSTALL_SETUP ]; then chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config fi + systemctl tor stop + systemctl tor disable + echo $'TOR disabled' >> $INSTALL_LOG + #tomb slam all tmp_ram_disk 100 enable_predictable_device_names