Commit Graph

420 Commits

Author SHA1 Message Date
Michael Quigley
2b12f1c6cd
caddy integration for reserved shares (#392); sdk refactoring; cleanup and tweaks 2023-08-30 14:10:48 -04:00
Michael Quigley
7bc8976951
private sharing; caddy (#392); sdk refactor 2023-08-30 13:46:51 -04:00
Michael Quigley
d1f88e4b6c
caddyfile/proxy backend cleanup (#391) 2023-08-28 14:56:54 -04:00
Michael Quigley
a96f3e9f96
--backend-mode caddy rough-in (#391) 2023-08-28 14:49:20 -04:00
Michael Quigley
ce06804a0f
share public cleanup+organization lint 2023-08-28 13:54:03 -04:00
Michael Quigley
9e48da7bad
refactor share public to dogfood sdk (#34) 2023-08-28 13:50:23 -04:00
Michael Quigley
5fcba2dc62
redirect caddy logging to the non-headless tui when appropriate (#392) 2023-08-25 13:26:54 -04:00
Michael Quigley
6daa73b95c
use the caddy web backend everywhere (#392) 2023-08-25 13:02:42 -04:00
Michael Quigley
52b0342078
integrate tui requests handler (#392) 2023-08-25 12:05:36 -04:00
Michael Quigley
08bdc63d77
early progress on embedded Caddy for --backend-mode web (#392) 2023-08-25 10:50:16 -04:00
Michael Quigley
122883b3fa
caddy basics fully functional, embedded (#330, #388) 2023-08-21 15:29:42 -04:00
Michael Quigley
56be9fbec6
zrok caddy listener (#330) 2023-08-18 11:38:15 -04:00
Michael Quigley
73eeec75f4
working caddy + config (#330) 2023-08-11 14:25:39 -04:00
Michael Quigley
f3dd6c0602
caddy wip (#330) 2023-08-11 14:15:59 -04:00
Michael Quigley
e7eee29a01
bundled caddy with custom module (#330) 2023-08-11 11:07:54 -04:00
Michael Quigley
045e076822
basic embedded caddy 2023-08-10 13:32:55 -04:00
Michael Quigley
369d703050
'zrok overview' updated for sdk changes (#374) 2023-07-19 11:51:02 -04:00
Michael Quigley
632ba4cc75
Merge branch 'main' into v0.4_zrok_sdk 2023-07-19 11:48:22 -04:00
Michael Quigley
9535023b19
'zrok overview' implementation (#374) 2023-07-19 11:32:28 -04:00
Michael Quigley
c26d325f61
generalized implementation of public/private share (#34) 2023-07-17 16:45:20 -04:00
Michael Quigley
c0503ae593
use sdk types/constants throughout the codebase for backend and share modes (#34) 2023-07-17 16:21:29 -04:00
Michael Quigley
141c9ae685
even better names for the common identities in the 'environment' (#34, #369) 2023-07-17 13:51:51 -04:00
Cam Otts
a8c76b2877
initial testing for oauth protecting shares 2023-07-17 09:44:05 -05:00
Michael Quigley
d99ac85369
implemented naive migration from environment v0.3 to v0.4 (#369) 2023-07-14 14:30:35 -04:00
Michael Quigley
af77de015a
environment load assert chain (#369); get rid of warnings in zrok status 2023-07-14 10:51:38 -04:00
Michael Quigley
4713243e2c
further ziti identity naming cleanup (#369) 2023-07-14 10:14:32 -04:00
Michael Quigley
1c8ab67bf1
controller no longer needs an identity; identity management organization (#369) 2023-07-14 09:42:06 -04:00
Michael Quigley
04b0b64ebf
migrated all usages to the new package (#369) 2023-07-13 14:26:35 -04:00
Michael Quigley
c468c7ace9
environment -> env_v0_3 (#369) 2023-07-11 14:59:02 -04:00
Michael Quigley
e26ef1ba1a
environment refactoring (#34, #369) 2023-07-10 16:53:27 -04:00
Michael Quigley
ea71493f2f
zrokdir -> environment (#34) 2023-07-10 16:41:16 -04:00
Michael Quigley
7a4ad23aa1
missing import (#362) 2023-06-29 13:19:15 -04:00
Michael Quigley
7b725903dd
platform specific openBrowser (#362) 2023-06-29 13:18:30 -04:00
Michael Quigley
9a6e28f2b1
zrok console (#362) 2023-06-29 13:03:30 -04:00
Michael Quigley
8ba741a550
admin migrate 2023-06-27 11:44:38 -04:00
Michael Quigley
3c0477f9e3
cli lint removal 2023-06-20 09:58:41 -04:00
Michael Quigley
d3ea780a1b
fixes for --override-endpoint (#347) 2023-06-14 13:18:44 -04:00
Cam Otts
fec0fd9e73
Format changes 2023-05-25 13:59:39 -05:00
Cam Otts
d6d5ac65a3
update deps 2023-05-25 10:50:38 -05:00
Michael Quigley
22cc06eb74
reserve backend-mode text 2023-05-24 11:36:06 -04:00
Michael Quigley
b334ff50b2
slight reworking on the configuration-based invite system to include open registration flag, contact details, and store strategy. moved to 'admin' stanza (#229) 2023-05-22 15:42:20 -04:00
Michael Quigley
41c30e4158
Merge branch 'v0.4.0' into v0.4_invite_overhaul 2023-05-22 15:07:24 -04:00
Eugene K
7c86a1ef68
fix copy/pasta errors 2023-05-04 11:30:05 -04:00
Eugene K
8785a19e0e
wire udpTunnel ends into zrok 2023-05-04 10:32:29 -04:00
Michael Quigley
393641ce7b
lint (#170) 2023-05-01 12:23:39 -04:00
Michael Quigley
28916e8d2a
merged tui for tcpTunnel (#307) 2023-05-01 12:19:06 -04:00
Michael Quigley
74fd8d9956
Merge branch 'v0.4.0' into v0.4_backend_mode_tunnel 2023-04-26 12:00:16 -04:00
Michael Quigley
4ee3b970c9
Merge branch 'main' into v0.4.0 2023-04-26 12:00:03 -04:00
Michael Quigley
980d0dead7
backend request information (#314) 2023-04-25 15:16:05 -04:00
Michael Quigley
bf0fbb0e35
ripping out udp support for initial v0.4 2023-04-24 15:37:41 -04:00
Michael Quigley
25b1469acc
remove transport for now (#170) 2023-04-21 15:09:01 -04:00
Michael Quigley
e19186c1a0
temporary switch to support tcp/udp toggling (#306) 2023-04-21 14:20:40 -04:00
Michael Quigley
e2193e3ac4
logging lint (#170) 2023-04-19 09:41:19 -04:00
Michael Quigley
1177b0ec0a
d'oh (#170) 2023-04-19 08:56:50 -04:00
Michael Quigley
a055e98ab6
cpu profiling for access private tunnel 2023-04-18 16:32:23 -04:00
Michael Quigley
35dec16236
add shutdown hook to access private tunnel (#305) 2023-04-18 16:04:51 -04:00
Michael Quigley
e432dfdb28
webBackend -> proxy.WebBackend (#170) 2023-04-18 13:44:58 -04:00
Michael Quigley
56bb9c6d31
publicProxyFrontend -> publicProxy (#170) 2023-04-18 13:38:32 -04:00
Michael Quigley
4c41908ce2
proxyBackend/proxyFrontend -> proxy (#170) 2023-04-18 13:36:43 -04:00
Michael Quigley
1a38aef26d
tunnelBackend/tunnelFrontend -> tcpTunnel (#170) 2023-04-18 13:28:15 -04:00
Michael Quigley
6c9a651a08
tunnelFrontend elaboration (#170) 2023-04-18 11:58:07 -04:00
Michael Quigley
824e016bb4
more plumbing to get tunnel private access plumbed up enough to iterate (#170) 2023-04-17 15:43:54 -04:00
Michael Quigley
c28dd75910
Merge branch 'v0.4.0' into v0.4_backend_mode_tunnel 2023-04-17 11:55:09 -04:00
Ken Bingham
a8da6929b1
Merge pull request #286 from openziti/fix-typo
Fix a typo
2023-04-17 10:21:22 -04:00
Michael Quigley
fd741353d7
getting a basic tunnel backend plumbed up (#170) 2023-04-14 14:55:49 -04:00
Michael Quigley
3ec7e4253c
proxyBackend lint and cleanup (#170) 2023-04-14 13:09:54 -04:00
Cam Otts
b7623f80f6
moved token requirement to metadata and provide fields based on that 2023-04-11 18:41:40 -05:00
Michael Quigley
ec6ffa72a4
endpoint subpackage naming cleanup (#170) 2023-04-10 15:26:00 -04:00
Kenneth Bingham
bf032e2aac
fix a typo 2023-04-05 09:39:58 -04:00
Cam Otts
2791b7d835
added manual wrapping to be done after reflow package 2023-04-04 09:21:33 -05:00
Cam Otts
cd9da59718
Added test command for consistent output 2023-03-29 03:32:09 -05:00
Michael Quigley
86126b3f53
metrics2 -> metrics (#270) 2023-03-15 16:14:06 -04:00
Michael Quigley
89202873bc
incorporate metrics.Agent into the controller (#270) 2023-03-15 16:05:01 -04:00
Michael Quigley
182c7bc510
basic amqp bridge (#270) 2023-03-15 13:49:17 -04:00
Michael Quigley
66e0c0e479
record environment and account ids on metrics records (#235); 'zrok metrics' -> 'zrok ctrl metrics' (#269) 2023-03-13 16:20:56 -04:00
Michael Quigley
d54fefb0fe
consolidated configuration; 'zrok metrics' and 'zrok ctrl' share config (#269) 2023-03-13 14:19:38 -04:00
Michael Quigley
57055fda1d
Merge branch 'main' into v0.4.0 2023-03-10 16:36:06 -05:00
Michael Quigley
6e17f4df3a
apiEndpoint validation tweaks (#260) 2023-03-10 16:33:58 -05:00
Michael Quigley
1c39fd5f3e
Merge pull request #260 from openziti/verify-apiEndpoint
Added validation on setting apiEndpoint (#258)
2023-03-10 16:29:42 -05:00
Michael Quigley
637b10cc30
Merge branch 'v0.4.0' into v0.4_metrics 2023-03-06 16:23:27 -05:00
Michael Quigley
396f892625
vestigial websocket stuff (#128) 2023-03-06 15:59:08 -05:00
Michael Quigley
2192c23760
start of infrastructure for positionally resuming tail (#128) 2023-03-06 15:59:06 -05:00
Michael Quigley
e6dc836cc6
more metrics infrastructure (#128) 2023-03-06 15:59:05 -05:00
Michael Quigley
2f72fbc9f2
broken initial usage infrastructure 2023-03-06 15:59:03 -05:00
Cam Otts
2871d9bdd8
Added validation on setting apiEndpoint.
Requires scheme and host to be present.
2023-03-06 13:36:03 -06:00
Cam Otts
8ea8ec93ed
Updated ziti sdk package to better handle proxy requests.
Extended test endpoint to be able to handle ziti network.
Added a test websocket client to hit the test endpoint's /echo path
2023-03-06 09:53:28 -06:00
Michael Quigley
4ccff8c1d5
Merge branch 'main' into websockets 2023-02-17 14:48:34 -05:00
Michael Quigley
46f16d25f6
--headless for 'zrok access private' (#246) 2023-02-16 16:46:26 -05:00
Michael Quigley
ef9c88ac44
Merge 2023-02-16 16:36:08 -05:00
Michael Quigley
40966fee0b
basic websocket echo built into 'zrok test endpoint' (#237) 2023-02-16 15:46:13 -05:00
Michael Quigley
bca3133de5
zrok test loop -> zrok test loop public (#237) 2023-02-16 14:50:07 -05:00
Michael Quigley
7d56bcc56c
zrok access public validate to validate public frontend configs (#238) 2023-02-16 14:11:18 -05:00
Michael Quigley
ad09adc941
basic controller configuration validation (#238) 2023-02-16 13:51:47 -05:00
Michael Quigley
23ab36d376
zrok status --secrets (#243) 2023-02-16 13:00:33 -05:00
Michael Quigley
38190f45e3
--headless for enable (#246) 2023-02-16 11:48:03 -05:00
Michael Quigley
405e1c847c
more prg nil checks 2023-02-15 21:06:00 -05:00
Michael Quigley
fd289311bf
fix for enable error path (#244) 2023-02-15 13:17:09 -05:00
Michael Quigley
8244910842
parsing tweaks (#211) 2023-02-08 11:41:05 -05:00
Michael Quigley
a30645171a
tweaks to url parsing (#211) 2023-02-08 11:36:33 -05:00
Michael Quigley
5c58cc3240
improved url parsing; prefer http instead of https for local urls (#211) 2023-02-08 11:21:24 -05:00
Michael Quigley
ae30c9d92f
style tweak for submit button active state (#206) 2023-02-08 10:55:58 -05:00
Cam Otts
92b5a4fd2a
small ui fix and added better error for tokens 2023-02-07 19:06:35 -06:00
Cam Otts
9aba5f3524
added error checking for name collision on frontend and send corresponding error 2023-02-01 13:13:15 -06:00
Michael Quigley
2ec314c1ee
gentler cli error messages (#203) 2023-02-01 11:19:56 -05:00
Cam Otts
cd08b98a0a
added configuration endpoint which sends tou link and version info 2023-01-31 12:44:03 -06:00
Michael Quigley
3ec0c5ead4
--insecure for share '<public|private|reserved>' (#195) 2023-01-30 17:38:58 -05:00
Michael Quigley
c633b13e00
guard against multiple 'zrok enable' (#190) 2023-01-30 16:50:50 -05:00
Michael Quigley
2e635ba37d
config unset; config set tweaks (#188) 2023-01-30 13:57:48 -05:00
Michael Quigley
4deec984ac
add warning about hidden config change with enabled environment (#188) 2023-01-30 13:48:57 -05:00
Michael Quigley
7c5087a212
output generated tokens to stdout (#181) 2023-01-24 13:46:52 -05:00
Michael Quigley
54476d2cd1
fix verbose mode panic with tui log capture (#174) 2023-01-24 11:50:43 -05:00
Michael Quigley
73f068c54a
failing token invites fail with 401; display a hint about --token in the cli error message (#172) 2023-01-19 15:40:41 -05:00
Michael Quigley
0022b63b68
fix pfxlog prefix (#158) 2023-01-13 15:12:18 -05:00
Michael Quigley
f5ab73bcb0
openziti-rest-kitchen -> openziti (#158) 2023-01-13 15:01:34 -05:00
Michael Quigley
a930e44a43
styling 2023-01-13 14:37:45 -05:00
Michael Quigley
128c283ea7
seriousbusiness 2023-01-13 14:36:07 -05:00
Michael Quigley
faf3834c42
environment limits (#96) 2023-01-13 10:19:11 -05:00
Michael Quigley
6a4f2b86be
don't just use some generic 'red' (#56) 2023-01-12 13:10:20 -05:00
Michael Quigley
6035207f2e
improved self-service error messages for zrok invite and zrok enable (#145) 2023-01-12 13:02:32 -05:00
Cam Otts
bdb2b9c6f0
updated to use new zrokdir 2023-01-12 10:11:37 -06:00
Cam Otts
602c54cc43
Merge branch 'v0.3.0' into alternate-token-method 2023-01-12 10:08:06 -06:00
Michael Quigley
37676a0176
lint (#56) 2023-01-11 15:10:26 -05:00
Michael Quigley
630cc274af
progress-enabled zrok enable command (#154) 2023-01-11 15:00:08 -05:00
Michael Quigley
2767280d2c
reuse central tui styles (#153) 2023-01-11 14:29:14 -05:00
Michael Quigley
245e2a7f21
zrok invite tui (#153) 2023-01-11 14:26:58 -05:00
Michael Quigley
3db9f992e4
minor access private tui tweaks; share tui aligned with new pattern (#56) 2023-01-11 13:36:48 -05:00
Michael Quigley
48314c013d
improved version of access private tui with captive log (#56) 2023-01-11 12:46:04 -05:00
Michael Quigley
7868ce8527
reorg, streamlining 2023-01-10 17:40:20 -05:00
Michael Quigley
163cc9b49c
file naming (#56) 2023-01-10 17:37:15 -05:00
Michael Quigley
72cf0b54ad
implement tui for reserved sharing (#56) 2023-01-10 17:21:15 -05:00
Michael Quigley
0516f28b72
zrok reserve; zrok share reserved updated to work with --backend-mode (#151) 2023-01-10 17:13:34 -05:00
Michael Quigley
98b8c8c8a1
access tui (#56) 2023-01-10 16:38:53 -05:00
Michael Quigley
2c5ea40b73
share private tui (#56) 2023-01-10 15:39:45 -05:00
Michael Quigley
ad3ecab2ac
headless mode for public sharing (#56) 2023-01-10 15:11:39 -05:00
Michael Quigley
0119e54d43
rough bubbletea tui (#56) 2023-01-10 14:52:28 -05:00
Michael Quigley
d984cbf832
tui elaboration (#56) 2023-01-10 14:05:18 -05:00
Michael Quigley
73d124da83
tui iteration 2023-01-10 13:37:33 -05:00
Cam Otts
ee078a9e10
pr comments 2023-01-10 12:26:22 -06:00
Cam Otts
bb3d488212
move token generation to admin and add needed security to it 2023-01-10 09:53:41 -06:00
Michael Quigley
6cec74c2ec
tui 2023-01-09 17:56:16 -05:00
Michael Quigley
38318c68e2
tui; warning 2023-01-09 17:48:19 -05:00
Michael Quigley
ee7c0fcca6
rip out old tui; full backend data feed for requests (#56) 2023-01-09 17:24:35 -05:00
Michael Quigley
38132f2e7c
zrok config <get|set> (#136) 2023-01-09 15:24:01 -05:00
Michael Quigley
5bd11e46a5
zrok status now shows origination for api endpoint (#136) 2023-01-09 14:33:17 -05:00
Cam Otts
0734e7b511
pr comments 2023-01-09 13:23:02 -06:00
Michael Quigley
434943c964
zrokdir.Load().Client() (#136) 2023-01-09 14:16:08 -05:00
Cam Otts
e5b749be71
initial rough pass for a stored token implementation 2023-01-09 11:00:37 -06:00
Michael Quigley
4bc25100b6
environment details (#124) 2023-01-06 14:40:56 -05:00
Michael Quigley
7f5321f416
colors (#124) 2023-01-06 14:23:10 -05:00
Michael Quigley
5a0c109937
starting on tui enhancements; zrok status (#124) 2023-01-06 14:19:00 -05:00