Sfoglia il codice sorgente

Install tor on mesh peers, but disable it by default

Bob Mottram 7 anni fa
parent
commit
f816b7076f
2 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 3
    0
      src/freedombone-image-customise
  2. 4
    0
      src/freedombone-image-mesh

+ 3
- 0
src/freedombone-image-customise Vedi File

682
 
682
 
683
     chroot "$rootdir" apt-get -yq install apt-transport-https
683
     chroot "$rootdir" apt-get -yq install apt-transport-https
684
 
684
 
685
+    # install tor as a possible way of routing traffic between internet gateways
686
+    chroot "$rootdir" apt-get -yq install tor
687
+
685
     configure_firewall
688
     configure_firewall
686
     install_avahi
689
     install_avahi
687
     install_batman
690
     install_batman

+ 4
- 0
src/freedombone-image-mesh Vedi File

1012
         chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config
1012
         chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config
1013
     fi
1013
     fi
1014
 
1014
 
1015
+    systemctl tor stop
1016
+    systemctl tor disable
1017
+    echo $'TOR disabled' >> $INSTALL_LOG
1018
+
1015
     #tomb slam all
1019
     #tomb slam all
1016
     tmp_ram_disk 100
1020
     tmp_ram_disk 100
1017
     enable_predictable_device_names
1021
     enable_predictable_device_names