Commit Graph

253 Commits (516158a0a9f1450b91262bad23854ee459ac7d0a)

Author SHA1 Message Date
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 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 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 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 70b4c1358b
Shellchecks 2022-11-07 16:20:52 -07:00
Keith Irwin e91f2bf45e
Try it on the clientside instead 2022-11-07 13:10:59 -07:00
Keith Irwin 17b8720e91
Added QR code to dashboard 2022-11-07 12:43:21 -07:00
Keith Irwin cb5b44244d
Fixed log error messages 2022-11-07 12:21:43 -07:00
Keith Irwin 60ab2966a2
Switch to singular case (should only return one) 2022-11-07 12:18:44 -07:00
Keith Irwin 46886b7d85
Fix admin deleting peer 2022-11-07 12:17:40 -07:00
Keith Irwin fc9ad8b64d
Replace all ips_to_peers_rdns with rxfr 2022-11-07 11:30:56 -07:00
Keith Irwin 2490514c1b
Don't fail if it succeeded 2022-11-06 18:36:25 -07:00
Keith Irwin 0ba7f1843b
Added a bit more logging 2022-11-06 18:32:57 -07:00
Keith Irwin 42cd140a31
Fixed logging 2022-11-06 18:31:19 -07:00
Keith Irwin f962c906ae
Fixed logging 2022-11-06 18:26:14 -07:00
Keith Irwin 21a31085ba
Added logging 2022-11-06 18:25:24 -07:00
Keith Irwin 8c3d3e6209
Fixed invalid extension error message 2022-11-06 18:21:54 -07:00
Keith Irwin 46f9d963eb
Fixed parsing 2022-11-06 18:21:24 -07:00
Keith Irwin 8c7b6a2d7a
Made the cgi executable 2022-11-06 18:19:10 -07:00
Keith Irwin b289bd5d30
Cleaned up errors and added logging 2022-11-06 17:27:27 -07:00
Keith Irwin b8fa426971
First attempt at returning user SSL files 2022-11-06 17:09:55 -07:00
Keith Irwin e5c2f3161a
Fixed frontend, final cleanup 2022-11-02 13:16:16 -06:00
Keith Irwin d049e50868
Final coding for deleting a user from admin ui 2022-11-02 13:10:05 -06:00
Keith Irwin 230a383b06
Added more peer deletion logic 2022-11-02 13:02:23 -06:00
Keith Irwin dea9bb38ea
Fixed bad Dockerfile COPY 2022-11-02 12:29:57 -06:00
Keith Irwin b39eceafcb
Send usernumber too 2022-11-02 12:28:36 -06:00