Commit Graph

420 Commits

Author SHA1 Message Date
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
Michael Quigley
3943aef40a
service -> share (#144) 2023-01-04 14:42:58 -05:00
Michael Quigley
fe89551bfb
massive services -> share boatload (#144) 2023-01-04 13:43:37 -05:00
Michael Quigley
65ff0f4f23
let's try embracing more camel case 2022-12-14 14:40:45 -05:00
Michael Quigley
3ed31e60e0
display the requested path in the test endpoint ui 2022-12-14 12:32:50 -05:00
Michael Quigley
0b9d61b961
log the requested path through 'test endpoint' 2022-12-14 12:30:59 -05:00
Michael Quigley
d1a0afd6a0
zrok reserve needs to support '--frontends' for public reservations 2022-12-13 16:21:13 -05:00
Michael Quigley
85311402d9
support for web backend in share private (#95) 2022-12-13 12:56:11 -05:00
Michael Quigley
e27257daf6
back share public web backend (#95) 2022-12-13 12:51:04 -05:00
Michael Quigley
ac09f2d749
modular backend implementation for share private (#95) 2022-12-13 12:24:28 -05:00
Michael Quigley
5f29d379b1
separate out 'proxy' backend mode from public sharing (#95) 2022-12-13 11:17:18 -05:00
Michael Quigley
9f4c37f88a
create service (dial) policy for new identity for metrics service (#130) 2022-12-06 14:16:15 -05:00
Michael Quigley
13fabc9ec6
basic 'admin create identity' infrastructure (#130) 2022-12-06 14:06:12 -05:00
Michael Quigley
a0c50c68e5
allow share endpoint to return multiple frontends; more frontend selection (#110) 2022-12-06 12:00:25 -05:00
Michael Quigley
081a558ba2
refactor public sharing backend to use frontend selection, rather than hard-wired frontend zids (#110) 2022-12-06 11:48:59 -05:00
Michael Quigley
0dcd614cd5
create missing erps for ctrl and frontend identities (#131) 2022-12-05 15:00:22 -05:00
Michael Quigley
e0a734be2e
admin bootstrap scaffolding (#131) 2022-12-05 13:12:12 -05:00
Michael Quigley
7458c625aa
update backend proxy endpoint when overridden (#125) 2022-12-02 16:18:28 -05:00
Michael Quigley
d2cf19188a
lint (#129) 2022-12-02 12:23:14 -05:00
Michael Quigley
dc24a0532b
cli aliases (#129) 2022-12-02 12:21:38 -05:00
Michael Quigley
5ba457313a
admin update frontend (#129) 2022-12-02 12:19:41 -05:00
Michael Quigley
9ab7eeebf3
admin list frontends (#129) 2022-12-02 09:43:25 -05:00
Michael Quigley
db19dfbb77
zrok admin delete frontend (#129) 2022-12-02 09:08:38 -05:00
Michael Quigley
702ad23c99
roughed in zrok admin create frontend cli (#129) 2022-12-01 16:41:08 -05:00
Michael Quigley
758011d0c0
cli tweaks (#56) 2022-12-01 13:23:09 -05:00
Michael Quigley
4897fb399e
gc -> admin gc (#126, #116); cli cleanups and polish (#56) 2022-12-01 13:19:37 -05:00
Michael Quigley
313647b5aa
http frontend -> access public (#121) 2022-12-01 13:11:38 -05:00
Michael Quigley
b80eb4f837
default to 127.0.0.1, not 0.0.0.0 2022-12-01 12:25:18 -05:00
Michael Quigley
301249fe4a
more cleanups and polish for sharing and reserving (#122, #41) 2022-11-30 14:38:49 -05:00
Michael Quigley
3f5c5003de
zrok reserve; zrok release (#41) 2022-11-30 13:45:57 -05:00
Michael Quigley
f9143c3a5b
more naming refactoring 'name' -> 'token' (#119) 2022-11-30 12:46:19 -05:00
Michael Quigley
0f9ed9dd68
api namespace/naming polish 2022-11-30 11:43:00 -05:00
Michael Quigley
64c3bdd3c1
service details operation (#41) 2022-11-30 11:17:09 -05:00
Michael Quigley
6379223be2
rough 'share again' (#41) 2022-11-30 11:12:14 -05:00
Michael Quigley
a0ac221970
basic reserved services (#41) 2022-11-29 16:47:23 -05:00
Michael Quigley
158cc42c07
basic service reservation support (#41) 2022-11-29 16:41:18 -05:00
Michael Quigley
65d1539182
ensure supplied email addresses are valid at both the CLI and the API (#108) 2022-11-29 13:23:23 -05:00
Michael Quigley
e65752b3e7
display private bind endpoint (#109) 2022-11-28 15:52:54 -05:00
Michael Quigley
a3956509f3
working frontend allocation/deallocation; cleanups (#113) 2022-11-28 13:55:53 -05:00
Michael Quigley
5971037835
createServicePolicyDialForEnvironment (#109, #112) 2022-11-28 11:10:10 -05:00
Michael Quigley
ce72fceb74
unaccess (#111); more access private wiring (#106, #109) 2022-11-23 13:00:01 -05:00
Michael Quigley
213a6d7407
more access private elaboration (#106, #109) 2022-11-23 12:39:42 -05:00
Michael Quigley
4ec0004285
more access private scaffolding (#106, #109) 2022-11-23 12:04:07 -05:00
Michael Quigley
7630460c85
frontend framework refactoring (public+private); private_frontend strawman (#109) 2022-11-23 11:58:45 -05:00
Michael Quigley
2cb6b6ab83
access private scaffold (#106, #109) 2022-11-23 11:34:02 -05:00
Michael Quigley
aa2f974cf9
share private; share public lint (#106, #109) 2022-11-22 15:49:06 -05:00
Michael Quigley
3f35888ad3
zrok http backend -> zrok share public (#106) 2022-11-22 13:34:09 -05:00
Michael Quigley
a9f76d1b40
public/proxy for 'http backend' (#99) 2022-11-21 13:48:35 -05:00
Michael Quigley
ade25d21db
public sharing strategy; update test loop to match (#99) 2022-11-21 13:45:08 -05:00
Michael Quigley
818add9e70
naming 2022-11-18 16:24:08 -05:00
Michael Quigley
82d9f6f6ed
additional service share/unshare and related naming refactoring (#102) 2022-11-18 15:48:13 -05:00
Michael Quigley
11068394b8
tunnel -> service; tunnel.Tunnel -> service.Share; tunnel.Untunnel -> service.Unshare (#102) 2022-11-18 15:36:55 -05:00
Michael Quigley
154c01a396
track total number of loops (#81) 2022-11-14 13:57:21 -05:00
Michael Quigley
a6188ac962
premature abort (#81) 2022-11-14 13:52:49 -05:00
Michael Quigley
33199b0e93
'version' command in zrok executable (#56) 2022-11-02 17:31:28 -04:00
Michael Quigley
05bbcb7750
fixes for enable/disable 2022-11-02 14:12:19 -04:00
Michael Quigley
56a0b255af
better URL validation (#83) 2022-10-31 15:36:45 -04:00
Michael Quigley
83892b80f1
switch to min-dwell-ms/max-dwell-ms for dwell control in zrok test loop 2022-10-20 14:15:29 -04:00
Michael Quigley
40252f7a10
naming cleanups in api 2022-10-19 12:35:29 -04:00
Michael Quigley
887db1d2b6
more naming simplification 2022-10-19 12:24:43 -04:00
Michael Quigley
044ba042aa
minor loop tool patches 2022-10-18 12:01:41 -04:00
Michael Quigley
201982f25f
better disable cleanup; keep frontend identity around after disable 2022-10-13 15:15:44 -04:00
Michael Quigley
01f056784a
min/max pacing (latency between requests) (#40) 2022-10-12 12:40:37 -04:00
Michael Quigley
637f27d9f4
query services (#75) 2022-10-06 13:52:19 -04:00
Michael Quigley
abe8d3e153
scaffolding for zrok gc (#75) 2022-10-06 13:24:15 -04:00
Michael Quigley
5edea66578
zrokloop run -> zrok test loop (#40) 2022-10-06 13:14:35 -04:00
Michael Quigley
ca9ff75f6b
rudimentary zrokloop metrics (#40) 2022-10-06 13:02:44 -04:00
Michael Quigley
00deaf3389
better modularity in loop runner (#40) 2022-10-06 12:41:36 -04:00
Michael Quigley
1f4a5125d2
breaking up the big method; 1 (#40) 2022-10-06 11:59:47 -04:00
Michael Quigley
eb51705e55
min/max payload sizes (#40) 2022-10-06 11:48:24 -04:00
Michael Quigley
d31753c05a
comments 2022-10-04 13:45:41 -04:00
Michael Quigley
9f567513f5
dwell and timeout (#40) 2022-10-04 13:28:16 -04:00
Michael Quigley
35c9733668
cobra oopsie 2022-10-04 13:16:58 -04:00
Michael Quigley
9e4a5f47d9
better loop/run wiring; status every 2022-10-04 13:16:30 -04:00
Michael Quigley
4dde90a447
support iterations (#40) 2022-10-03 16:44:15 -04:00
Michael Quigley
5330f60fa1
parallel testing... (#40) 2022-10-03 16:34:24 -04:00
Michael Quigley
12b2a7466e
sdk listener (#40) 2022-10-03 16:15:57 -04:00
Michael Quigley
be41138929
looper; just starting and stopping endpoints in parallel for now (#40) 2022-10-03 12:38:24 -04:00
Michael Quigley
00c0328661
looper skeleton (#40) 2022-10-03 12:00:26 -04:00
Michael Quigley
37c1de1103
zrokloop run (#40) 2022-09-30 15:23:53 -04:00
Michael Quigley
779eb8fb24
more shared scaffolding between 'zrok' and 'zrokloop' (#40) 2022-09-30 15:20:15 -04:00
Michael Quigley
175f8e8167
moved zrok client creation into zrokdir, to better support the new zrokloop utility (#40) 2022-09-30 15:12:06 -04:00
Michael Quigley
c739a2da69
invite error handling (#67) 2022-09-27 15:19:01 -04:00
Michael Quigley
222a494dbf
fix --port flag shorthand in test endpoint; error handling (#67) 2022-09-27 15:13:17 -04:00
Michael Quigley
4e08dd379c
'http backend' error handling improvements; ui.Close (#67) 2022-09-27 15:06:21 -04:00
Michael Quigley
72b3f31ebe
http frontend error improvements (#67) 2022-09-27 14:56:09 -04:00
Michael Quigley
e58fd0760f
disable command error handing improvements (#67) 2022-09-26 16:00:50 -04:00
Michael Quigley
f3e5919ca8
github.com/charmbracelet/lipgloss (#67) 2022-09-26 14:03:01 -04:00
Michael Quigley
ac63bd6cd8
better 'enable' error handling (#67) 2022-09-26 13:55:15 -04:00
Michael Quigley
b913aaee85
'create account' -> 'invite' 2022-09-23 15:56:50 -04:00
Michael Quigley
340534f06a
slicker 2022-09-23 09:09:21 -04:00
Michael Quigley
2bcad71037
demo, tui look and feel (#56, #67) 2022-09-21 22:24:15 -04:00
Michael Quigley
f3f887e535
store api endpoint in zrokdir (#47) 2022-09-21 15:09:12 -04:00
Michael Quigley
60dc2c6e6b
registration streamlining (#50) 2022-09-21 14:33:27 -04:00
Michael Quigley
9cf3cf6f05
more cleanups and polish; working registration (#50) 2022-09-20 16:33:36 -04:00
Michael Quigley
0dae5d3118
vestigial (#50, #51) 2022-09-12 15:29:25 -04:00
Michael Quigley
66509ca212
better support for http or https zrok api endpoint urls 2022-09-09 16:19:50 -04:00
Michael Quigley
c95e84b53e
username -> email (#50, #51) 2022-09-09 10:20:05 -04:00
Michael Quigley
a312021a4e
email test skeleton (#50, #51) 2022-09-08 16:37:29 -04:00
Michael Quigley
8095128c91
better http frontend configuration semantics (#48) 2022-09-06 15:01:38 -04:00
Michael Quigley
f60f06dde8
protect against a second enabling (#49) 2022-09-02 13:13:59 -04:00