Commit Graph

771 Commits

Author SHA1 Message Date
Bob Mottram c48ff54991 Weekly update resets tripwire 2015-08-31 14:50:44 +01:00
Bob Mottram 267e466701 update before installs 2015-08-31 13:09:34 +01:00
Bob Mottram 87d5c2ac57 Install a web server on mesh clients for the zeronet tracker 2015-08-31 13:01:09 +01:00
Bob Mottram bb7af17742 Try http access to tracker announce 2015-08-31 12:20:57 +01:00
Bob Mottram df44ae5f2d Switch branch 2015-08-31 11:24:49 +01:00
Bob Mottram 25a236fd65 Test code 2015-08-31 10:44:50 +01:00
Bob Mottram 1eeacffe5c Bind 2015-08-30 17:48:08 +01:00
Bob Mottram 6558b6e6bc Tidying 2015-08-30 17:42:06 +01:00
Bob Mottram 84f690dbda Run qtox if it exists 2015-08-30 17:02:36 +01:00
Bob Mottram 17a87bac1d Disable ipv6 on tracker 2015-08-30 16:16:43 +01:00
Bob Mottram 88c39eecb9 Use peer hostname 2015-08-30 12:51:50 +01:00
Bob Mottram 7204b396d7 Peers temporary file 2015-08-30 12:09:32 +01:00
Bob Mottram 2a97b55078 Copy mesh commands during prep 2015-08-30 11:52:48 +01:00
Bob Mottram 18043c1e48 Move mesh web to its own command 2015-08-30 11:50:50 +01:00
Bob Mottram 17bf660374 Handle single peers 2015-08-30 10:52:22 +01:00
Bob Mottram 3fab4e6cbf Tracker port 2015-08-29 23:45:36 +01:00
Bob Mottram 7324b3863a Exit if zeronet is not installed 2015-08-29 23:20:26 +01:00
Bob Mottram 41a4c937f9 Launch tracker on client 2015-08-29 23:11:17 +01:00
Bob Mottram 3b78a97f1d Tracker daemon 2015-08-29 23:00:56 +01:00
Bob Mottram 711c30891a Tracker 2015-08-29 22:44:13 +01:00
Bob Mottram 63b1d97eeb upnp port for zeronet 2015-08-29 21:39:21 +01:00
Bob Mottram 1508c07a07 Only install once 2015-08-29 21:20:50 +01:00
Bob Mottram fdbfd3834c Fixing zeronet 2015-08-29 18:01:31 +01:00
Bob Mottram 2d7007c191 Handle client installs of zeronet 2015-08-29 17:48:43 +01:00
Bob Mottram 7b0b60bd72 Fixed tracker port 2015-08-29 16:38:24 +01:00
Bob Mottram 1d7c46db8f Script to update zeronet bootstrap 2015-08-29 16:26:51 +01:00
Bob Mottram 9af505d1f4 Use zeronet branch 2015-08-29 15:14:19 +01:00
Bob Mottram c30911852e Initial configuration of the tox client 2015-08-27 21:39:35 +01:00
Bob Mottram 2519f04bbd Also install irc client on mesh peers 2015-08-27 21:28:05 +01:00
Bob Mottram dc148cbbad Quotes 2015-08-27 21:18:44 +01:00
Bob Mottram b7c8141ae5 Mesh script can also run on a 'server' (i.e. a dedicated peer) 2015-08-27 20:54:06 +01:00
Bob Mottram 7b0ef394c8 Initial no reply when first running toxic client allows toxid to read the data file 2015-08-27 20:41:54 +01:00
Bob Mottram 80960f6e56 Tidying 2015-08-27 19:11:22 +01:00
Bob Mottram f6490061b3 Saving bootstrap ID 2015-08-27 19:10:57 +01:00
Bob Mottram 89931bde5e Check a user accessible file 2015-08-27 18:45:03 +01:00
Bob Mottram 96808a2d96 core 2015-08-27 18:37:50 +01:00
Bob Mottram 33ee9d8511 Install toxcore on client for mesh variant 2015-08-27 18:31:07 +01:00
Bob Mottram 277f712e14 Install toxid on the client 2015-08-26 21:26:22 +01:00
Bob Mottram f37f57e2fe A workaround for toxic client buggyness 2015-08-26 21:17:26 +01:00
Bob Mottram d89b387635 To make things ultra simple, set the tox nick automatically 2015-08-26 21:12:18 +01:00
Bob Mottram 4c40c05ba6 Skip package installs if in mesh mode 2015-08-26 20:55:41 +01:00
Bob Mottram 48c9d23971 Install toxic client 2015-08-26 20:49:27 +01:00
Bob Mottram b089e11645 Switch around 2015-08-26 20:32:56 +01:00
Bob Mottram 20084820a1 Include tox chat in mesh options 2015-08-26 20:28:01 +01:00
Bob Mottram fedc82ea9e .local 2015-08-26 18:56:39 +01:00
Bob Mottram 937dc57b36 Save tox bootstrap ID 2015-08-26 18:42:31 +01:00
Bob Mottram f4193ff66d Include username 2015-08-25 20:13:04 +01:00
Bob Mottram 41c0c6f449 Alter to use avahi scripts from toxid 2015-08-25 18:43:27 +01:00
Bob Mottram 96bcdd36d5 Exclude local when browsing with avahi 2015-08-24 20:57:22 +01:00
Bob Mottram ee02c92717 Single quotes 2015-08-24 20:42:56 +01:00
Bob Mottram dfa7435e4e Alignment 2015-08-24 20:29:41 +01:00
Bob Mottram 9a525e646e Call the script after creation 2015-08-24 20:21:47 +01:00
Bob Mottram 75b300a24b Restart avahi daemon 2015-08-24 20:20:59 +01:00
Bob Mottram 1f7be0efd8 Formatting 2015-08-24 20:19:33 +01:00
Bob Mottram 788e568935 Don't use path 2015-08-24 20:09:19 +01:00
Bob Mottram 5d3640f475 Publish every minute 2015-08-24 19:45:04 +01:00
Bob Mottram 789e0ebded tox 2015-08-24 19:42:51 +01:00
Bob Mottram c8537bb337 Publish Tox IDs 2015-08-24 19:36:10 +01:00
Bob Mottram e26161a754 Open zeronet port on client when using mesh 2015-08-24 08:20:34 +01:00
Bob Mottram 8ab2707f62 zeronet port for mesh peers 2015-08-24 08:14:13 +01:00
Bob Mottram 3f058ebc3a Stateless mDNS 2015-08-23 22:58:49 +01:00
Bob Mottram a2aa35524f Function ordering 2015-08-23 22:37:23 +01:00
Bob Mottram 32eee30170 Stateless mDNS 2015-08-23 22:23:18 +01:00
Bob Mottram 895ebbdea2 Indentation 2015-08-23 22:10:48 +01:00
Bob Mottram 18d8603f0f Remove the hacky stuff from mesh scripts 2015-08-23 13:55:21 +01:00
Bob Mottram ebd4589435 Keep avahi running in a better way 2015-08-23 13:45:14 +01:00
Bob Mottram c8e193a985 Copy rather than move 2015-08-23 12:55:33 +01:00
Bob Mottram 3488d2cd6d Replace tabs 2015-08-23 12:46:08 +01:00
Bob Mottram 04915c98b7 Add zeronet user 2015-08-23 12:37:58 +01:00
Bob Mottram 284afc76f8 Don't use TLS time sync for mesh peers, which are typically not connected to the internet 2015-08-22 20:34:03 +01:00
Bob Mottram 2830727a98 Install client if needed 2015-08-22 17:50:17 +01:00
Bob Mottram d88305ef44 To make things easy add some mumble instructions 2015-08-22 17:20:46 +01:00
Bob Mottram d733dcfef8 Choice of communication services over mesh 2015-08-22 17:14:10 +01:00
Bob Mottram 047523f87a Open mumble 2015-08-22 16:46:46 +01:00
Bob Mottram 4c9aab5fa9 Open mumble 2015-08-22 16:44:16 +01:00
Bob Mottram 0807ad74b1 Restore mumble certs 2015-08-22 15:07:28 +01:00
Bob Mottram 9d595c8d4e mumble permissions 2015-08-22 13:57:11 +01:00
Bob Mottram 3990feee7d Typo 2015-08-22 13:21:57 +01:00
Bob Mottram 0a988150ac Title 2015-08-22 13:01:53 +01:00
Bob Mottram fbe713a383 If mesh doesn't start then exit 2015-08-22 12:52:18 +01:00
Bob Mottram 1933f64df4 Exit if no peer was selected 2015-08-22 12:47:01 +01:00
Bob Mottram bf8aeb54b2 Start the mesh if necessary 2015-08-22 12:40:03 +01:00
Bob Mottram 99af758a29 Script to easily discover and connect to mesh peers 2015-08-22 11:27:56 +01:00
Bob Mottram ceab0f65e1 Replace tabs with spaces 2015-08-22 09:45:38 +01:00
Bob Mottram 5bdafef4e5 Redmatrix backup should be > 1023 bytes 2015-08-22 09:02:22 +01:00
Bob Mottram 9b317bf230 Can specify backup to restore from 2015-08-22 08:53:51 +01:00
Bob Mottram 05d5092749 Use systemd 2015-08-21 22:38:52 +01:00
Bob Mottram 9d29868bb2 Make some directories 2015-08-21 22:10:58 +01:00
Bob Mottram 3a07629c7c Make some directories 2015-08-21 21:50:51 +01:00
Bob Mottram 2f02b7394a Disable dns lookups for irc on mesh 2015-08-21 17:18:19 +01:00
Bob Mottram 2c776bc635 Wording change 2015-08-21 14:53:12 +01:00
Bob Mottram dcbd3e6b14 Mesh defaults to any access point 2015-08-18 12:02:50 +01:00
Bob Mottram c9d345c413 Adding a zeronet user 2015-08-17 21:22:37 +01:00
Bob Mottram 67e4c6bb48 Use wifi for mesh 2015-08-17 18:30:28 +01:00
Bob Mottram 142a41319a Allow icmp for mesh variant 2015-08-17 13:17:28 +01:00
Bob Mottram c70b67051b Add an option for 2048bit dhparams 2015-08-16 09:30:57 +01:00
Bob Mottram d07bb8e787 3072 just takes too long to calculate for multiple sites 2015-08-16 09:28:24 +01:00
Bob Mottram cd830fd845 Only send tripwire emails if something has changed 2015-08-15 17:55:49 +01:00
Bob Mottram 4c4d36a4d6 Don't require user input to reset the tripwire 2015-08-15 17:23:30 +01:00
Bob Mottram 6338256a27 Option for resetting tripwire 2015-08-15 14:19:00 +01:00
Bob Mottram b2609f0f16 Titles 2015-08-15 14:11:55 +01:00
Bob Mottram ca649effc7 Comments 2015-08-15 13:42:51 +01:00
Bob Mottram 0409796f10 Comments 2015-08-15 13:40:45 +01:00
Bob Mottram 2a46fd3121 Regenerate keys 2015-08-15 13:34:59 +01:00
Bob Mottram 1e28a68487 Increase diffie-hellman key length, except on BBB
This is a tradeoff between security and the amount of time which a user might be willing to wait for the installation to complete. If each key takes multiple hours to compute then the user may just abandon the install
2015-08-15 09:30:51 +01:00
Bob Mottram 5affb786ea Option to set DH key length 2015-08-15 09:10:00 +01:00
Bob Mottram 4bdf435933 Install zeronet on mesh peers 2015-08-15 09:01:45 +01:00
Bob Mottram dbb4f471df Set hostname for mesh install 2015-08-13 19:04:38 +01:00
Bob Mottram c571ece021 Set hostname for mesh install 2015-08-13 13:27:06 +01:00
Bob Mottram 5c8f97277a batman tweaks 2015-08-11 20:02:54 +01:00
Bob Mottram 582838aafa Install voip server on mesh peers 2015-08-10 21:54:53 +01:00
Bob Mottram 0dc5f7ca2c Fix crontab entries for restarting avahi-daemon 2015-08-10 21:20:07 +01:00
Bob Mottram 39e2c92543 Uninstall avahi for non mesh variants 2015-08-10 19:57:28 +01:00
Bob Mottram e8c5b0d4e5 Reduce restart interval to one min 2015-08-09 23:03:36 +01:00
Bob Mottram 820a66a06c systemd or init 2015-08-09 22:56:14 +01:00
Bob Mottram fcd1799e94 Hack to work around erratic avahi-daemon behavior 2015-08-09 22:44:41 +01:00
Bob Mottram c821aec115 Change to nsswitch 2015-08-09 22:14:41 +01:00
Bob Mottram e4eb54a55b Some udp snafus 2015-08-09 21:39:10 +01:00
Bob Mottram fdf20a19cd wlan 2 and 3 2015-08-09 19:28:03 +01:00
Bob Mottram 66b96ebf79 enable and disable avahi ports 2015-08-09 15:38:14 +01:00
Bob Mottram 7ba4cd03d8 avahi ports 2015-08-09 15:35:23 +01:00
Bob Mottram 477f508a88 autoipd options 2015-08-09 15:05:38 +01:00
Bob Mottram 71a62ea56f If wifi interface is not wlan0 then stick with the configuration 2015-08-09 14:45:59 +01:00
Bob Mottram c37f537d39 Configurable wifi interface 2015-08-09 14:39:22 +01:00
Bob Mottram a31acc3353 Mesh firewalls 2015-08-09 14:34:57 +01:00
Bob Mottram 53938eee2c Configurable IRC port 2015-08-09 14:05:24 +01:00
Bob Mottram 482a120a19 avahi services 2015-08-09 13:46:26 +01:00
Bob Mottram 9450b24fcc Bridge and wireless interface 2015-08-09 12:50:56 +01:00
Bob Mottram 2e6508af37 Try taking it to the nil 2015-08-09 12:28:59 +01:00
Bob Mottram b95e3d4cc7 Use ipv4 with avahi 2015-08-09 12:15:59 +01:00
Bob Mottram d71d04beca dnsconf 2015-08-09 11:38:24 +01:00
Bob Mottram b7f319d849 hostname 2015-08-09 11:37:40 +01:00
Bob Mottram 756b17e18b Tidying 2015-08-09 11:24:54 +01:00
Bob Mottram aa6f715bce batman not babel 2015-08-09 11:13:21 +01:00
Bob Mottram a99db1ab1b Remove udisks avahi service 2015-08-09 11:10:56 +01:00
Bob Mottram 51f1012b40 Try a different interface 2015-08-09 10:30:08 +01:00
Bob Mottram 49ecb5343f Try setting netmask 2015-08-09 10:19:59 +01:00
Bob Mottram 40456fd5a8 Fix updating of client ssh cyphers 2015-08-09 10:06:29 +01:00
Bob Mottram 46b2895a31 No sudo echo 2015-08-09 09:59:28 +01:00
Bob Mottram 82a647779c Add ping subcommand to batman script 2015-08-09 09:54:44 +01:00
Bob Mottram 2a4519ac5f Toxcore libraries 2015-08-09 09:32:22 +01:00
Bob Mottram 85f576a093 Tidy batman script 2015-08-09 09:31:01 +01:00
Bob Mottram 913c277d65 Tidying 2015-08-08 22:55:36 +01:00
Bob Mottram 3c97b8ba83 mtu value from open-mesh 2015-08-08 19:35:45 +01:00
Bob Mottram f1753babea Zero IP addresses 2015-08-08 18:45:53 +01:00
Bob Mottram 82a2142fce port used by avahi 2015-08-08 18:31:18 +01:00
Bob Mottram 58b6fb011b Typo 2015-08-08 17:56:56 +01:00
Bob Mottram 1dfd0e65a0 Restart the avahi daemon at the end of start 2015-08-08 17:35:25 +01:00
Bob Mottram baca04db72 Use avahi-browse at option 2015-08-08 17:28:58 +01:00
Bob Mottram 91472ca2ae batman restart subcommand 2015-08-08 17:02:27 +01:00
Bob Mottram 87c92d4d10 Associate autoipd with bat0 2015-08-08 16:50:10 +01:00
Bob Mottram e4f0e9de3b avahi daemon 2015-08-08 15:50:56 +01:00
Bob Mottram c98cecc97f Fix babel script 2015-08-08 15:36:27 +01:00
Bob Mottram 72878e6511 network-manage all the things 2015-08-08 10:06:43 +01:00
Bob Mottram d80ef70c67 Use bash 2015-08-08 10:01:41 +01:00
Bob Mottram d99ea68211 List mesh peers 2015-08-08 09:54:49 +01:00
Bob Mottram a3503aec30 babel checks for wlan1 2015-08-08 09:50:18 +01:00
Bob Mottram c9e58f1852 Only install avahi on mesh startup 2015-08-08 09:42:50 +01:00
Bob Mottram 0d9340dc75 Only install avahi on mesh startup 2015-08-08 09:41:50 +01:00
Bob Mottram e066ab1537 Entertain the possibility of there being more than one user 2015-08-08 09:30:18 +01:00
Bob Mottram b99e6b5b14 Install avahi within mesh scripts 2015-08-08 09:28:40 +01:00
Bob Mottram c3053c4c6f Use network-manager 2015-08-07 23:48:47 +01:00
Bob Mottram fd3f7e0d89 Status command 2015-08-07 23:35:45 +01:00
Bob Mottram 90eb44d9cb Check for presence of wlan1 2015-08-07 23:26:40 +01:00
Bob Mottram 9dfbcea165 babel 2015-08-07 23:23:01 +01:00
Bob Mottram ad2c37e52c babel 2015-08-07 23:22:21 +01:00
Bob Mottram 4cbb4f74d7 Detecting systemctl 2015-08-07 22:53:28 +01:00
Bob Mottram d301ebf72b Prep script can handle mmcblk type devices #56 2015-08-03 15:51:37 +01:00
Bob Mottram f9a5439177 Help 2015-07-30 21:26:39 +01:00
Bob Mottram 20b128cfb5 Babel port 2015-07-30 21:24:38 +01:00
Bob Mottram 80c175b036 Add babel script to client 2015-07-30 21:22:37 +01:00
Bob Mottram e3b56db91a Install batman script for client 2015-07-30 21:04:59 +01:00
Bob Mottram e1c73c7732 Install irc and tox on the mesh variant 2015-07-29 20:44:07 +01:00
Bob Mottram 0eabae8cc9 If the mesh peer name is the same as the username then skip the username selection 2015-07-28 13:31:31 +01:00
Bob Mottram a7e76307a5 Mesh daemon checks that wlan0 exists before running 2015-07-28 08:32:20 +01:00
Bob Mottram 48a806357b Save all the things 2015-07-27 23:17:41 +01:00
Bob Mottram 3110155284 Default domain name 2015-07-27 23:10:42 +01:00
Bob Mottram 183c1fb093 Assign a name to mesh peers 2015-07-27 21:29:12 +01:00
Bob Mottram 95d20e1597 Convert babel to systemd 2015-07-27 21:14:48 +01:00
Bob Mottram a0a8cd390a Install mesh after reboot 2015-07-27 20:48:31 +01:00
Bob Mottram 3c84405f50 Don't ask for RNG type when installing on Beaglebone Black, just use the HRNG 2015-07-27 19:41:56 +01:00
Bob Mottram 40b78a0f39 mac address 2015-07-27 08:29:13 +01:00
Bob Mottram 2b2e943a6a Make batman script executable 2015-07-26 15:29:31 +01:00
Bob Mottram b584dbcad7 Wifi configuration in interactive installer 2015-07-26 14:09:17 +01:00
Bob Mottram 552bd5f967 Remove batman ipv6 address 2015-07-26 13:42:32 +01:00
Bob Mottram 404e5e614a Move the batman script to systemd 2015-07-26 13:38:18 +01:00
Bob Mottram 7dccd58ba5 ethernet mesh interface 2015-07-25 23:16:47 +01:00
Bob Mottram 928c58d40c No intrusion detection on the mesh variant 2015-07-25 23:05:50 +01:00
Bob Mottram 73d2ce5ee7 Batman init script 2015-07-25 22:43:57 +01:00
Bob Mottram cbf4fa9760 Selectable mesh network protocol 2015-07-25 21:14:08 +01:00
Bob Mottram 1727a46bd4 Optional pre-compiled atheros wifi drivers 2015-07-25 20:48:51 +01:00
Bob Mottram 6016e6b980 Disable vpn tunnel 2015-07-25 19:30:09 +01:00
Bob Mottram 704b55c577 Random mac 2015-07-25 14:45:18 +01:00
Bob Mottram dd11e7c17c Note about resizing the partition 2015-07-25 14:36:23 +01:00
Bob Mottram 2aa9c42ad5 For consistency use the name 'mesh' 2015-07-25 13:37:04 +01:00
Bob Mottram 5641cd3bc8 Separate avahi configuration 2015-07-25 13:30:46 +01:00
Bob Mottram 9ce7e1ab70 Allow ping and ipv6 for the mesh variant 2015-07-25 10:06:14 +01:00
Bob Mottram 9e39aa67f8 Install atheros wifi driver for use with mesh 2015-07-24 08:39:28 +01:00
Bob Mottram 15f736beac Unmount and remount 2015-07-23 08:11:08 +01:00
Bob Mottram 1f5177a44c Three digits 2015-07-22 19:48:13 +01:00