Commit Graph

253 Commits (516158a0a9f1450b91262bad23854ee459ac7d0a)

Author SHA1 Message Date
Keith Irwin 90ae7bb506
Added more admin deleting user code 2022-11-02 12:19:06 -06:00
Keith Irwin c4b802e282
Initial deletion code 2022-11-02 12:13:36 -06:00
Keith Irwin 442fefab32
Cleaned up exit codes 2022-11-02 12:09:36 -06:00
Keith Irwin 6dbf4b4170
Removed commented-out code 2022-11-02 12:01:17 -06:00
Keith Irwin b42e861014
Fixed new usernumber generation 2022-11-02 11:58:32 -06:00
Keith Irwin bf943a1b92
Added admin adding new user backend code 2022-11-02 11:33:54 -06:00
Keith Irwin 3a327fd0fa
Fixed missing knockout.min.js 2022-11-01 18:58:36 -06:00
Keith Irwin 64ae072837
Ready for user functions 2022-10-21 16:26:01 -06:00
Keith Irwin 036b6cdeca
Don't let new peers be deleted 2022-10-21 12:42:34 -06:00
Keith Irwin 6d460f1008
Set better permissions for ssl keys 2022-10-21 12:07:43 -06:00
Keith Irwin a9d1ebcecc
Set better permissions for ssl keys 2022-10-21 12:07:26 -06:00
Keith Irwin 10bd0ba066
Fixed adding SSL certs 2022-10-20 21:42:01 -06:00
Keith Irwin 4580a770b0
Fixed adding SSL certs 2022-10-20 19:23:01 -06:00
Keith Irwin 00ba98143c
www-data should work for now 2022-10-20 19:18:28 -06:00
Keith Irwin a7389605da
Set new ssl cert permissions 2022-10-20 19:12:36 -06:00
Keith Irwin 5c8231c8f4
Removed debugging and deployed remaining code 2022-10-20 19:06:32 -06:00
Keith Irwin 6844078539
Fixed token checks 2022-10-20 18:51:09 -06:00
Keith Irwin 9be068ec3c
Fixed token checks 2022-10-20 18:47:12 -06:00
Keith Irwin 2ce75beb4f
Admin delete peer debugging 2022-10-20 18:33:21 -06:00
Keith Irwin 50b1b5f87f
Added more code 2022-10-20 17:00:47 -06:00
Keith Irwin 4618754154
Added debugging 2022-10-20 16:58:32 -06:00
Keith Irwin c98b4d93bf
Added debugging 2022-10-20 16:56:21 -06:00
Keith Irwin 4bdf56212d
Added debugging 2022-10-20 16:52:13 -06:00
Keith Irwin 30d13b4c24
Removed later code 2022-10-20 16:51:16 -06:00
Keith Irwin 46758feaff
Added debugging 2022-10-20 16:48:58 -06:00
Keith Irwin a8982ca32c
Added more code 2022-10-20 16:28:42 -06:00
Keith Irwin 76ad51c7a5
Logging fixes 2022-10-20 16:27:02 -06:00
Keith Irwin 903e2f65af
Removed extraneous grep 2022-10-20 16:18:34 -06:00
Keith Irwin 63222c3459
Added more code 2022-10-20 16:15:20 -06:00
Keith Irwin 47cacd8751
Improved logging for admin new peer 2022-10-20 15:17:00 -06:00
Keith Irwin 64518af278
Split host and user names in request 2022-10-20 15:14:50 -06:00
Keith Irwin cd9e01814b
Start debugging backend 2022-10-20 14:37:45 -06:00
Keith Irwin cf66502def
Removed debugging; working 2022-10-20 14:15:59 -06:00
Keith Irwin 38c9d427b2
Debug delete peer from dash 2022-10-20 14:13:34 -06:00
Keith Irwin b038d943b9
Set rxfr requests for all admin stuff 2022-10-20 12:39:19 -06:00
Keith Irwin 8b52db372c
Removed breaking logging 2022-10-03 12:53:10 -06:00
Keith Irwin caa4777994
Await logging response 2022-10-03 12:51:40 -06:00
Keith Irwin ca08f2dbe0
Check json parsing 2022-10-03 12:44:41 -06:00
Keith Irwin fddcb2a7d4
Removed logging, added output to user 2022-10-03 12:41:31 -06:00
Keith Irwin 1a0d565183
Removed logging 2022-10-03 12:40:26 -06:00
Keith Irwin 63768893d4
Search end of line 2022-10-03 12:40:03 -06:00
Keith Irwin d8a6281184
Added logging 2022-10-03 12:37:40 -06:00
Keith Irwin bdba80be34
Added logging 2022-10-03 12:19:53 -06:00
Keith Irwin 7464a22372
Added logging 2022-10-03 12:17:13 -06:00
Keith Irwin 4df5874077
Final cleanup of ips_to_peers_rxfr 2022-10-03 12:14:25 -06:00
Keith Irwin fd9d2201b1
try paste 2022-10-03 11:47:32 -06:00
Keith Irwin a2a4eacc5e
Only replace first newline 2022-10-03 11:42:49 -06:00
Keith Irwin 69a55ed9a2
Only replace first newline 2022-10-03 11:40:00 -06:00
Keith Irwin c66d033e95
Now put them on one line... 2022-10-03 11:37:32 -06:00
Keith Irwin 04d548ac6a
Cut tab OR space 2022-10-03 11:36:24 -06:00
Keith Irwin 4fd04b13db
More parsing... 2022-10-03 11:31:32 -06:00
Keith Irwin 69bfb044f5
Added line parsing 2022-10-03 11:20:04 -06:00
Keith Irwin 6811948344
Syntax error 2022-10-03 11:18:35 -06:00
Keith Irwin 87d96b2cf0
Made lib executable 2022-10-03 11:14:37 -06:00
Keith Irwin dab1508e71
Added debugging 2022-10-03 11:13:42 -06:00
Keith Irwin c2ff605266
Fixed reading from stdin 2022-10-03 11:05:23 -06:00
Keith Irwin eb3bf61bdd
Split ips_to_peers for each method 2022-10-03 11:00:01 -06:00
Keith Irwin 6f10d4a4c2
Logging 2022-10-03 10:53:48 -06:00
Keith Irwin bd668fc0a2
Made lib executable 2022-10-03 10:50:19 -06:00
Keith Irwin 0b9b22a034
Used proper lib 2022-10-03 10:49:02 -06:00
Keith Irwin f6686ec7ac
Fist attempt at using AXFR 2022-10-03 10:45:30 -06:00
Keith Irwin 3cdf542271
Add new peer from admin frontend 2022-09-18 17:33:19 -06:00
Keith Irwin 1821bec28c
What I meant 2022-09-15 21:40:42 -06:00
Keith Irwin e17047184c
Neeeeeed token 2022-09-15 21:35:56 -06:00
Keith Irwin f8c0415761
Renamed file 2022-09-15 21:21:59 -06:00
Keith Irwin f761459ee2
Fixed wrong var call 2022-09-15 16:42:52 -06:00
Keith Irwin a9c2564292
Fixed single user check 2022-09-15 16:40:20 -06:00
Keith Irwin 10ca5097ba
Now I get it 2022-09-15 16:25:39 -06:00
Keith Irwin 5da0c1cd1d
No idead 2022-09-15 16:22:21 -06:00
Keith Irwin 9ab1ad5f49
Opps that one's not negated 2022-09-15 16:18:31 -06:00
Keith Irwin 40e4dc9d51
Allow for multiple args 2022-09-15 16:13:39 -06:00
Keith Irwin f8f75863ff
Added admin/peer/list 2022-09-15 08:47:17 -06:00
Keith Irwin e408f08f2a
Many movings arounds 2022-09-14 22:28:02 -06:00
Keith Irwin fe7fa3a0ea
Moved Dockerfiles around 2022-09-14 18:50:21 -06:00
Keith Irwin f5b4db8168
Fixed missing usernumber 2022-09-13 12:07:05 -06:00
Keith Irwin bc82390803
Fixed wrong var used 2022-09-13 11:19:05 -06:00
Keith Irwin b3a2363fd0
tried to fix again by non-parallelizing 2022-09-11 19:03:13 -06:00
Keith Irwin 653a686295
tried to fix again 2022-09-11 18:57:20 -06:00
Keith Irwin f9d2f31385
tried to fix again 2022-09-11 18:48:31 -06:00
Keith Irwin 47f96088ab
tried to fix again 2022-09-11 18:42:54 -06:00
Keith Irwin cc14b33bf3
tried to fix again 2022-09-11 18:39:14 -06:00
Keith Irwin 18bf6de6ac
tried to fix again 2022-09-11 18:36:52 -06:00
Keith Irwin 3150d263d7
tried to fix again 2022-09-11 18:26:15 -06:00
Keith Irwin 20097a7478
tried to fix again 2022-09-11 18:24:29 -06:00
Keith Irwin dfa706a8a1
Removed unneeded output 2022-09-11 18:17:52 -06:00
Keith Irwin 21c7f7e9a3
Hopefully fixed config output to user 2022-09-11 18:16:33 -06:00
Keith Irwin 1027aa07ea
Fixed hostname not set, make unset vars fail earlier 2022-09-11 18:00:00 -06:00
Keith Irwin 99f270dbe9
For some reason these don't work in parallel 2022-09-11 17:47:59 -06:00
Keith Irwin 990a1b560a
Made logging better for parallelization 2022-09-11 17:24:14 -06:00
Keith Irwin 74f58ccd61
We aren't in a loop anymore, toto 2022-09-11 17:17:03 -06:00
Keith Irwin 870e62835d
Hopefully fixes bug 2022-09-11 17:13:22 -06:00
Keith Irwin f3218b6e97
Should be negated 2022-09-11 17:07:38 -06:00
Keith Irwin 2db993fa59
Fixed config file not found 2022-09-11 17:03:06 -06:00
Keith Irwin 35eea41743
fixed token_fail not found 2022-09-11 17:01:50 -06:00
Keith Irwin 66f3fe642c
Much parallelization 2022-09-11 15:38:26 -06:00
Keith Irwin 7a0691cd98
Fixed ssl volume 2022-09-10 19:13:47 -06:00
Keith Irwin 4a96eb51be
Better logging for broken SSL 2022-09-10 19:10:38 -06:00
Keith Irwin 3f80588c7b
Cleaned index.cgi and replaced mount with COPY in docker 2022-09-10 19:01:36 -06:00
Keith Irwin efc5c138b3
Removed last typo 2022-09-10 16:43:46 -06:00
Keith Irwin 015c59d9c9
This should allow ns del to work 2022-09-10 16:42:31 -06:00