Commit Graph

253 Commits (516158a0a9f1450b91262bad23854ee459ac7d0a)

Author SHA1 Message Date
Keith Irwin 964cfebb30
This should allow ssl to work 2022-09-10 16:42:02 -06:00
Keith Irwin 576240cb8a
Missed one 2022-09-10 16:40:22 -06:00
Keith Irwin 645fcabc64
Did everything for DELETE hopefully 2022-09-10 16:38:11 -06:00
Keith Irwin cfe74158ca
Fixed missing sudo 2022-09-10 16:27:51 -06:00
Keith Irwin 8869d5a8c4
Fixed wireguard delete peer stuff 2022-09-10 16:26:52 -06:00
Keith Irwin bc4e4f2af8
Fixed wireguard delete peer stuff 2022-09-10 16:26:06 -06:00
Keith Irwin 6a4e23db81
Tweaks for delete code 2022-09-10 16:12:08 -06:00
Keith Irwin b193f31874
Final fix for that hopefully 2022-09-10 15:09:39 -06:00
Keith Irwin 131a60349c
Debug bad http response to 409 2022-09-10 15:07:13 -06:00
Keith Irwin 4025ff9383
Debug bad http response to 409 2022-09-10 15:03:38 -06:00
Keith Irwin d7197c0114
Debug bad http response to 409 2022-09-10 15:01:50 -06:00
Keith Irwin f4f0523d23
Debug bad http response to 409 2022-09-10 15:00:13 -06:00
Keith Irwin e5acd59c46
Less clutter in logs 2022-09-10 14:54:44 -06:00
Keith Irwin efff4c0026
Better ns check for existing hostname 2022-09-10 14:51:22 -06:00
Keith Irwin d706c2c5dd
Quiet all the greps 2022-09-10 14:31:29 -06:00
Keith Irwin fa2ee25df7
Eureka 2022-09-10 14:25:13 -06:00
Keith Irwin 6ee1c760a5
Fixed bad headers 2022-09-10 14:20:43 -06:00
Keith Irwin 360293f575
Moar logs 2022-09-10 14:18:35 -06:00
Keith Irwin 0fdafe79ee
Fixed http status codes 2022-09-10 14:16:49 -06:00
Keith Irwin 617463f109
Improved http response 2022-09-10 14:11:42 -06:00
Keith Irwin 92094e5c0d
Moved to better status codes 2022-09-10 14:08:45 -06:00
Keith Irwin 960ed70b52
Fixed response status headers 2022-09-10 14:06:11 -06:00
Keith Irwin d9676bef0a
Added debugging for add response 2022-09-10 13:43:38 -06:00
Keith Irwin 59dfe5783e
removed some logging, working now 2022-09-10 13:37:56 -06:00
Keith Irwin 7a500c07bf
Fixed ssl 2022-09-10 13:33:40 -06:00
Keith Irwin 6462e84e71
Fixed ssl 2022-09-10 13:32:48 -06:00
Keith Irwin c9394f845f
Fixed ssl 2022-09-10 13:30:39 -06:00
Keith Irwin 186dd046f3
Fixed ssl 2022-09-10 13:28:23 -06:00
Keith Irwin 8254322264
Fixed ssl 2022-09-10 13:22:19 -06:00
Keith Irwin 150344868b
Fixed ssl 2022-09-10 13:15:49 -06:00
Keith Irwin 343293c219
Fixed ssl 2022-09-10 13:12:43 -06:00
Keith Irwin 2d8c3b0b0d
Fixed ssl 2022-09-10 13:10:51 -06:00
Keith Irwin bc8b769514
Fixed ssl 2022-09-10 13:09:31 -06:00
Keith Irwin 2782b5abd3
Added debugging 2022-09-10 13:08:30 -06:00
Keith Irwin c23a13d585
Added debugging 2022-09-10 13:00:40 -06:00
Keith Irwin 4b6e85a013
Added debugging 2022-09-10 12:54:31 -06:00
Keith Irwin 80e482f6a8
Added debugging 2022-09-10 12:52:37 -06:00
Keith Irwin 1e522ae306
Added debugging 2022-09-10 12:50:19 -06:00
Keith Irwin eae9cc1725
Added debugging 2022-09-10 12:44:22 -06:00
Keith Irwin 98a454af1a
Added debugging 2022-09-10 12:40:16 -06:00
Keith Irwin a6bf37293f
Added debugging 2022-09-10 12:39:05 -06:00
Keith Irwin 62b3548736
Added debugging 2022-09-10 12:37:09 -06:00
Keith Irwin 059fa3c0cb
Added debugging 2022-09-10 12:35:00 -06:00
Keith Irwin 84ed000369
Added debugging 2022-09-10 12:32:24 -06:00
Keith Irwin 596ea32866
Added missing sudo 2022-09-10 12:30:17 -06:00
Keith Irwin 8984e436de
Added debugging 2022-09-10 12:29:16 -06:00
Keith Irwin aae310a0d6
Added debugging 2022-09-10 12:26:16 -06:00
Keith Irwin 79363ebda9
Added debugging 2022-09-10 12:22:43 -06:00
Keith Irwin f6035c2dd6
Added cat to visudo 2022-09-10 12:20:55 -06:00
Keith Irwin 1e92c60d9b
Check san 2022-09-10 12:19:44 -06:00
Keith Irwin bafa492d54
Switch to tee to avoid permission denied 2022-09-10 12:16:48 -06:00
Keith Irwin 0321cea8ca
Fixed which test to visudo 2022-09-10 12:07:48 -06:00
Keith Irwin 3b9d78a55b
More logs 2022-09-10 12:04:43 -06:00
Keith Irwin 3317e91e92
More logs 2022-09-10 12:02:59 -06:00
Keith Irwin 2c22a6fc24
More logs 2022-09-10 12:00:30 -06:00
Keith Irwin 3d43f3878a
Fixed if statement hopefully 2022-09-10 11:59:05 -06:00
Keith Irwin ace3db901d
Remove bash parameterization from single-bracket test 2022-09-10 11:54:11 -06:00
Keith Irwin 547c68fe6e
Improvements 2022-09-10 11:50:07 -06:00
Keith Irwin 99e47b6355
Fixed visudo? 2022-09-10 11:43:14 -06:00
Keith Irwin 6957137552
logging fixes 2022-09-10 11:40:08 -06:00
Keith Irwin 5a03129407
logging fixes 2022-09-10 11:34:32 -06:00
Keith Irwin 232ceededb
fixed one problem 2022-09-10 11:32:12 -06:00
Keith Irwin 00a0fdfbc8
Lots of logging 2022-09-10 11:28:27 -06:00
Keith Irwin 74afeb08b4
Fixed syntax error 2022-09-10 11:23:11 -06:00
Keith Irwin 4a391bf4a3
Add logging for failed openssl 2022-09-10 11:19:59 -06:00
Keith Irwin 51922e737e
Add logging for failed openssl 2022-09-10 11:16:02 -06:00
Keith Irwin 16c924e103
Switch to if statements to kill script on failure 2022-09-10 11:14:07 -06:00
Keith Irwin e57c523d60
Better nslookup error handling 2022-09-10 11:00:58 -06:00
Keith Irwin 9fb72a3fce
Prepared loggin on ssl_peer_add 2022-09-10 10:54:30 -06:00
Keith Irwin b2b5c5a33a
Removed logging 2022-09-10 10:40:25 -06:00
Keith Irwin e68f2b1256
Removed logging 2022-09-10 10:39:39 -06:00
Keith Irwin 44bfbbb44d
Try to fix sudo fd 2022-09-10 10:36:55 -06:00
Keith Irwin 6ceacf023b
Try to fix sudo fd 2022-09-10 10:32:48 -06:00
Keith Irwin 131c30a22c
Fixed missing wg permission 2022-09-10 10:24:11 -06:00
Keith Irwin 4ae238c048
Fixed ipv6 rDNS nibble calculation 2022-09-10 09:59:27 -06:00
Keith Irwin efebe724ee
Fixed sudo hopefully 2022-09-10 09:50:12 -06:00
Keith Irwin f842c8a9f9
wrap in subshell 2022-09-10 09:36:09 -06:00
Keith Irwin b6c23955c9
Fixed missing sudo 2022-09-10 09:33:53 -06:00
Keith Irwin 58b40e5cbb
fixed file descriptor, sudo 2022-09-10 09:29:23 -06:00
Keith Irwin f49d24cdcf
Try process substitution fix 2022-09-10 09:23:27 -06:00
Keith Irwin 6908b71140
More debugging and logging 2022-09-10 09:17:19 -06:00
Keith Irwin 84f39c36cc
Consolidated nsupdate requests 2022-09-10 09:09:00 -06:00
Keith Irwin ae627b320d
improved nameserver logging 2022-09-10 09:06:32 -06:00
Keith Irwin 66ab248abd
improved nameserver logging 2022-09-10 09:05:34 -06:00
Keith Irwin a27607b508
Further debugging 2022-09-10 09:00:07 -06:00
Keith Irwin c5ca116a90
Fixed wg logging 2022-09-10 08:56:28 -06:00
Keith Irwin 11d9525643
Fixed nameserver 2022-09-10 08:55:25 -06:00
Keith Irwin 53049973a0
Fixed nsupdate and added logging 2022-09-10 08:47:14 -06:00
Keith Irwin 1159cc7cde
Added NS logging 2022-09-10 08:44:54 -06:00
Keith Irwin 27ab4843d7
Fixed logging 2022-09-10 08:42:57 -06:00
Keith Irwin d4fb5caf98
Fixed sudos 2022-09-09 22:54:16 -06:00
Keith Irwin 3160485a43
Improved logging 2022-09-09 22:51:09 -06:00
Keith Irwin c4ff8ee734
Added logging to wg_peer_add 2022-09-09 22:43:04 -06:00
Keith Irwin dc51cc0f17
Fixed failed response 2022-09-09 21:12:13 -06:00
Keith Irwin 9e3931a260
Added error handling to ssl_peer_add 2022-09-09 20:02:39 -06:00
Keith Irwin b88c95b4f3
Cleanup and shellchecks 2022-09-08 21:18:03 -06:00
Keith Irwin d598b65d1a
Cleanup and shellchecks 2022-09-08 21:15:30 -06:00
Keith Irwin 587c4e5256
escaped . 2022-09-08 13:08:05 -06:00
Keith Irwin ec4dc7fdde
Fixed ipv4/6 mixup 2022-09-08 13:05:54 -06:00
Keith Irwin 26a88a9941
Fixed error message 2022-09-07 18:38:25 -06:00
Keith Irwin 6d62db1acb
Got peer listing working 2022-09-06 20:57:41 -06:00
Keith Irwin 1001f68ca6
Finished adding dashboard api add and delete endpoints 2022-08-29 11:42:13 -06:00
Keith Irwin 1aa6b41548
Moved everything around 2022-08-29 01:04:37 -06:00