Commit Graph

573 Commits (516158a0a9f1450b91262bad23854ee459ac7d0a)

Author SHA1 Message Date
Keith Irwin 516158a0a9
Updated checklist 2022-12-04 08:54:07 -07:00
Keith Irwin ed69581682
Shellcheck, added server secret checks, removed double-quotes from library file calls 2022-12-04 08:53:22 -07:00
Keith Irwin 62aade7f41
Removed useless use of cat 2022-12-03 18:33:30 -07:00
Keith Irwin 80be6bcf57
Removed TOKENS_FILE and LIB_DIR from config 2022-12-03 18:30:14 -07:00
Keith Irwin bcc6821cca
Removed extraneous checks and some cleanup 2022-12-03 18:23:13 -07:00
Keith Irwin 30b7761bc1
Delete from federated wireguard server 2022-12-03 17:57:42 -07:00
Keith Irwin 16acd0987f
Added check to see that federated server is in servers file 2022-12-03 17:16:33 -07:00
Keith Irwin aa35d5c31a
Completely replaced logfile with stderr 2022-12-03 17:07:03 -07:00
Keith Irwin 66d8521ce9
Made fed_peer_add executable 2022-12-03 16:57:48 -07:00
Keith Irwin 52996cffda
Fixed log location 2022-12-03 16:54:48 -07:00
Keith Irwin 29cf89a5b6
Testing removing LOGFILE 2022-12-03 16:51:02 -07:00
Keith Irwin 0177c4e9e8
Test stderr logging 2022-12-03 16:19:23 -07:00
Keith Irwin 09a4b2fcf9
Added code to add to federated server to dashboard add peer 2022-12-03 15:05:18 -07:00
Keith Irwin ca0f07f03e
Fixed wg_peer_add, also LOGFILE not available before sourcing CONFIG 2022-12-03 15:00:45 -07:00
Keith Irwin 72de903226
Added debugging 2022-12-03 14:53:02 -07:00
Keith Irwin 28607db8d4
Forgot sudo on fed.dockerfile 2022-11-27 16:21:25 -07:00
Keith Irwin 8379cf250c
Fixed missing touch in dockerfiles 2022-11-27 16:03:32 -07:00
Keith Irwin 4cf03e88e2
Added initial federation code 2022-11-27 16:00:43 -07:00
Keith Irwin 3690136d34
Cleaned up exit codes 2022-11-08 21:05:34 -07:00
Keith Irwin 475e99c24d
Removed commented out bits 2022-11-07 19:11:38 -07:00
Keith Irwin bd29148b3f
Fixed logging for self-deletion 2022-11-07 19:10:10 -07:00
Keith Irwin 7041d43832
That should be a 6 opps 2022-11-07 19:07:15 -07:00
Keith Irwin 8adc5c004c
Prepare to test that 2022-11-07 19:03:51 -07:00
Keith Irwin d3d5087830
Prevent admin deleting their own peer 2022-11-07 19:02:12 -07:00
Keith Irwin 0e1c97a366
Prevent deleting own peer from dashboard backend 2022-11-07 19:00:24 -07:00
Keith Irwin 96f2ca5b91
self.token doesn't need to be observable 2022-11-07 18:54:11 -07:00
Keith Irwin e04198c8a9
Fixed correct routing for local and remote servers 2022-11-07 17:31:59 -07:00
Keith Irwin 9e236a9f35
Fixed http responses 2022-11-07 17:28:29 -07:00
Keith Irwin c09d66c796
Try to preserve newlines 2022-11-07 17:24:55 -07:00
Keith Irwin d6a418f963
These do need to be mentioned, even if unused 2022-11-07 17:19:23 -07:00
Keith Irwin 1a7c0cc46a
Try that again 2022-11-07 17:14:36 -07:00
Keith Irwin 7b17177d4f
That wasn't right 2022-11-07 17:11:44 -07:00
Keith Irwin 1f9bc2bdec
Route through host to other peers 2022-11-07 17:01:23 -07:00
Keith Irwin ce14e89dc6
Cleaned up env file 2022-11-07 16:27:04 -07:00
Keith Irwin 70b4c1358b
Shellchecks 2022-11-07 16:20:52 -07:00
Keith Irwin 50009c132c
Added to checklist 2022-11-07 15:54:45 -07:00
Keith Irwin fea2fcdf91
Moved args to right place in file 2022-11-07 15:41:31 -07:00
Keith Irwin bc505bba06
Move port defiinitions to docker-compose 2022-11-07 15:36:54 -07:00
Keith Irwin 75821e01fd
No can't use 80 2022-11-07 15:34:27 -07:00
Keith Irwin 5e0df1dc95
Just use port 80 and be done with it 2022-11-07 15:29:46 -07:00
Keith Irwin 1477c79abe
Used default wg port for sample config 2022-11-07 15:24:18 -07:00
Keith Irwin f455fe089d
Fixed env_file 2022-11-07 15:23:48 -07:00
Keith Irwin 750652135a
Removed export from docker env vars 2022-11-07 15:18:34 -07:00
Keith Irwin 339550f003
Use config from this dir instead 2022-11-07 15:11:41 -07:00
Keith Irwin bd79515376
Added sample configs 2022-11-07 15:08:56 -07:00
Keith Irwin cf3cd122f6
Moved sed to one line 2022-11-07 14:55:06 -07:00
Keith Irwin 176464a193
Moved env vars away from Dockerfiles 2022-11-07 14:53:23 -07:00
Keith Irwin fb5954e2d7
Gave up on that silly QR nonsense 2022-11-07 13:40:30 -07:00
Keith Irwin 2942d68462
missing double quotes 2022-11-07 13:34:09 -07:00
Keith Irwin 4d2272a255
Try to make a nice square QR code 2022-11-07 13:32:25 -07:00