teleport/lib/utils
Carson Anderson 7564a5c4f3
Add hostlogin to proxy config for windows desktop (#12775)
* add hostlogin to proxy config for windows

* Set ProxyClient's HostLogin to the Windows username

Also convert a few TLS handshakes to a context-aware version
for better timeout/cancelation behavior.

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>
2022-05-20 09:34:11 +00:00
..
agentconn Fix Windows build 2022-04-19 20:08:36 -06:00
aws Use buildbox images from quay.io (#10179) 2022-02-09 20:56:55 +11:00
concurrentqueue concurrent queue 2021-07-21 14:35:04 -07:00
golden tbot configure command for assisting Machine ID configuration (#12517) 2022-05-10 09:04:54 +00:00
interval Prevent relative expiry from emitting more events than can be processed (#12002) 2022-04-25 13:22:27 +00:00
parse Add regexp.replace support in role templates (#7152) 2021-06-09 19:55:07 -07:00
prompt Consistently prompt for OTPs as password (#11346) 2022-03-28 17:16:00 +00:00
proxy Client timeout fixes (#12557) 2022-05-13 14:40:59 +02:00
socks Move all utils.InitLoggerForTests calls to TestMain 2021-02-23 18:04:55 -08:00
workpool Dynamically resolve reverse tunnel address (#9958) 2022-02-03 16:24:48 +00:00
addr.go Dynamically resolve reverse tunnel address (#9958) 2022-02-03 16:24:48 +00:00
addr_test.go Allow login over plain http in restricted situations (#7835) 2021-09-17 19:47:03 +10:00
anonymizer.go Fixing golint warnings, batch 1 2020-10-13 00:22:49 +00:00
anonymizer_test.go Add anonymizer 2018-01-09 10:30:19 -08:00
broadcaster.go Revert "Node session race (#6195)" 2021-04-26 17:24:06 +00:00
buf.go Fix a data race in utils.SyncBuffer 2020-04-17 20:05:38 +00:00
certs.go Replace golint with revive (#8613) 2021-10-19 14:00:24 -04:00
certs_test.go Remove use of deprecated ioutil package (#11296) 2022-03-21 18:00:34 +00:00
chconn_test.go Remove use of deprecated ioutil package (#11296) 2022-03-21 18:00:34 +00:00
checker.go Fixes for cert checker and Postgres config builder (#8251) 2021-09-17 13:28:40 -07:00
circular_buffer.go Watcher System Metrics (#8338) 2021-09-28 12:16:03 -04:00
circular_buffer_test.go Watcher System Metrics (#8338) 2021-09-28 12:16:03 -04:00
cli.go Improve error message for resource predicate query (#12262) 2022-04-29 21:29:27 +00:00
cli_test.go Remove use of deprecated ioutil package (#11296) 2022-03-21 18:00:34 +00:00
cmp.go Throttle DynamoDB event migration based on provisioned capacity (#8468) 2021-10-11 20:17:56 +02:00
conn.go Align atomics on ARM32 (#11822) 2022-04-13 14:42:54 +00:00
copy.go api dependency reduction - utils constants (#5363) 2021-01-29 09:37:01 -08:00
disk.go Cleanup lint targets 2021-10-19 09:21:55 -06:00
disk_windows.go Cleanup lint targets 2021-10-19 09:21:55 -06:00
ec2.go Treat EC2 Node IDs as UUIDs (#9722) 2022-01-18 22:48:34 +00:00
environment.go Lint and fix missing license headers (#8075) 2021-08-30 09:44:09 -07:00
environment_test.go Remove use of deprecated ioutil package (#11296) 2022-03-21 18:00:34 +00:00
equals.go api dependency reduction - utils constants (#5363) 2021-01-29 09:37:01 -08:00
errors.go Proxy restart fixes (#11802) 2022-05-06 18:12:11 +02:00
fields.go Implement where conditions for active sessions (#9040) 2021-11-18 15:05:13 -08:00
fields_test.go Implement where conditions for active sessions (#9040) 2021-11-18 15:05:13 -08:00
fncache.go Dynamically resolve reverse tunnel address (#9958) 2022-02-03 16:24:48 +00:00
fncache_test.go Deflake TestFnCacheSanity (#10250) 2022-02-15 19:54:50 +00:00
formatter.go Use teleport logger instead of gravitational/trace (#9738) 2022-01-11 23:04:47 +00:00
fs.go Use os.UserHomeDir instead of implementing it ourselves (#12151) 2022-04-25 14:22:27 +00:00
fs_unix.go Cleanup lint targets 2021-10-19 09:21:55 -06:00
fs_windows.go Cleanup lint targets 2021-10-19 09:21:55 -06:00
grpc.go IAM Join Method (gRPC service) (#10087) 2022-02-10 00:41:34 +00:00
grpc_test.go IAM Join Method (gRPC service) (#10087) 2022-02-10 00:41:34 +00:00
jsontools.go Add JSON and YAML to several tsh commands (#11681) 2022-04-18 21:40:28 +00:00
jsontools_test.go Reslove comments, move all occurences of teleport.dev to use a constant 2022-03-15 13:22:45 +00:00
kernel.go Remove use of deprecated ioutil package (#11296) 2022-03-21 18:00:34 +00:00
kernel_test.go Move all utils.InitLoggerForTests calls to TestMain 2021-02-23 18:04:55 -08:00
keys.go Use KeyStore instead of raw keys with CAs (#7615) 2021-08-03 10:13:08 -07:00
linking.go Use pagination when pulling back list of teams from GitHub. 2018-03-21 23:58:31 +00:00
linking_test.go Move all utils.InitLoggerForTests calls to TestMain 2021-02-23 18:04:55 -08:00
listener.go Lint and fix missing license headers (#8075) 2021-08-30 09:44:09 -07:00
loadbalancer.go Proxy restart fixes (#11802) 2022-05-06 18:12:11 +02:00
loadbalancer_test.go Move all utils.InitLoggerForTests calls to TestMain 2021-02-23 18:04:55 -08:00
net.go Add "limiter" support to database service (#9087) 2022-01-07 22:23:22 +00:00
node.go continue work on roles 2016-12-08 18:43:37 -08:00
otp.go Replace golint with revive (#8613) 2021-10-19 14:00:24 -04:00
pipenetconn.go Fix race condition in PipeNetCon (#8643) 2021-10-28 09:38:51 +11:00
prometheus.go Add grpc server and client metrics to Teleport (#11534) 2022-04-04 16:55:31 +00:00
proxyjump.go Allow user with at sign in name (#4002) 2020-07-21 10:41:31 -03:00
proxyjump_test.go Regenerate host UUID of node if host_uuid is empty (#11810) 2022-04-12 18:45:54 +00:00
rand.go Fix CryptoRandomHex function (#9186) 2021-12-09 19:50:44 +00:00
repeat.go Session streaming 2020-09-28 23:08:56 -07:00
replace.go Lint and fix missing license headers (#8075) 2021-08-30 09:44:09 -07:00
retry.go Run LDAP initialization in a retry loop 2022-01-21 14:42:03 -07:00
retry_test.go Add jitter and backoff to prevent thundering herd on auth (#9133) 2021-12-16 11:41:08 -05:00
roles_test.go rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
round.go Build fixes to support legacy builds. 2019-05-07 14:17:11 -07:00
slice.go Lint and fix missing license headers (#8075) 2021-08-30 09:44:09 -07:00
slice_test.go Lint and fix missing license headers (#8075) 2021-08-30 09:44:09 -07:00
spki.go Replace golint with revive (#8613) 2021-10-19 14:00:24 -04:00
sync_writer.go Implement Moderated Sessions (#8563) 2022-02-15 17:02:10 +01:00
syslog.go Remove use of deprecated ioutil package (#11296) 2022-03-21 18:00:34 +00:00
time.go Lint and fix missing license headers (#8075) 2021-08-30 09:44:09 -07:00
timed_counter.go Dynamically resolve reverse tunnel address (#9958) 2022-02-03 16:24:48 +00:00
timed_counter_test.go Restart entire node on tunnel collapse (#8102) 2021-11-17 12:01:48 +11:00
timeout.go Semi-serious connection overhaul of Teleport SSH 2016-12-30 01:21:28 -08:00
timeout_test.go Remove use of deprecated ioutil package (#11296) 2022-03-21 18:00:34 +00:00
tls.go Remove calls to depreated pool.Subjects() method 2022-04-14 09:25:41 -06:00
tlsdial.go Add hostlogin to proxy config for windows desktop (#12775) 2022-05-20 09:34:11 +00:00
token.go Remove use of deprecated ioutil package (#11296) 2022-03-21 18:00:34 +00:00
uid.go use google/uuid instead of pborman/uuid (#9793) 2022-01-19 23:44:48 +00:00
unpack.go Don't defer Close calls on writable files 2021-03-01 22:14:10 +01:00
unpack_test.go Move all utils.InitLoggerForTests calls to TestMain 2021-02-23 18:04:55 -08:00
uri.go Added S3 third party support (#3054) 2020-01-02 17:56:53 -08:00
utils.go Revert readyz changes (#12244) 2022-04-26 22:16:55 +00:00
utils_test.go Remove unused utils.Capitalize func 2022-04-24 12:59:20 -06:00
ver.go Create Database CA (#9593) 2022-04-05 19:44:46 +00:00
ver_test.go Create Database CA (#9593) 2022-04-05 19:44:46 +00:00