Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUIC proxy peering #47587

Draft
wants to merge 26 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
faeaed9
Check UNSTABLE envvar in lib/config
espadolini Oct 14, 2024
82ab0c5
QUIC proxy peering server
espadolini Oct 11, 2024
a120775
QUIC proxy peering client
espadolini Oct 15, 2024
ca1b1ee
QUIC proxy peering: a brief explanation
espadolini Oct 15, 2024
fef9fc1
fix deferred log
espadolini Oct 16, 2024
5d476c2
Always require replay protection
espadolini Oct 16, 2024
f22efff
Explain the waitgroup add in dial
espadolini Oct 16, 2024
f50558a
Convert client to slog
espadolini Oct 16, 2024
9829c6c
Clarify proxy label
espadolini Oct 17, 2024
2300c20
logging style
espadolini Oct 17, 2024
f804827
protobuf tweaks to address comments
espadolini Oct 17, 2024
c32aaa5
Avoid sending oversized messages
espadolini Oct 17, 2024
5fad0d5
Explanations and consts
espadolini Oct 17, 2024
c03013f
Elaborate slightly further on replay protections
espadolini Oct 17, 2024
1cb25d5
Expanding comments and renaming
espadolini Oct 17, 2024
e9ea132
QUICServer struct docs
espadolini Oct 17, 2024
027286f
fix stream cancellation after 0-RTT rejection
espadolini Oct 18, 2024
7aab180
Remove workaround after upgrading quic-go
espadolini Oct 21, 2024
ef29720
Merge remote-tracking branch 'origin/master' into espadolini/quic-pro…
espadolini Oct 23, 2024
3d574c8
Update IsBoringBinary check
espadolini Oct 23, 2024
d6d6ef9
Don't use utils.TLSConfig with ciphersuites
espadolini Oct 23, 2024
a7c0a37
Clarify and test why sending four NULs means successful dial
espadolini Oct 23, 2024
344f3e1
Use per-connection waitgroup
espadolini Oct 23, 2024
6658f15
Log connection failures after out of sync timestamps
espadolini Oct 23, 2024
2d1629a
Log at the end of the stream handling
espadolini Oct 23, 2024
d3702e9
Review suggestion
espadolini Oct 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions api/types/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -1037,10 +1037,10 @@ const (
// group they should attempt to be connected to.
ProxyGroupGenerationLabel = TeleportInternalLabelPrefix + "proxygroup-gen"

// ProxyPeerQUICLabel is the internal-user label for proxy heartbeats that's
// used to signal that the proxy supports receiving proxy peering
// connections over QUIC.
ProxyPeerQUICLabel = TeleportInternalLabelPrefix + "proxy-peer-quic"
// UnstableProxyPeerQUICLabel is the internal-use label for proxy heartbeats
// that's used to signal that the proxy supports receiving proxy peering
// connections over QUIC. The value should be "yes".
UnstableProxyPeerQUICLabel = TeleportInternalLabelPrefix + "proxy-peer-quic"

// OktaAppNameLabel is the individual app name label.
OktaAppNameLabel = TeleportInternalLabelPrefix + "okta-app-name"
Expand Down
348 changes: 348 additions & 0 deletions gen/proto/go/teleport/quicpeering/v1alpha/dial.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/config/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -2722,6 +2722,10 @@ func Configure(clf *CommandLineFlags, cfg *servicecfg.Config, legacyAppFlags boo
cfg.DebugService.Enabled = false
}

if os.Getenv("TELEPORT_UNSTABLE_QUIC_PROXY_PEERING") == "yes" {
cfg.Proxy.QUICProxyPeering = true
}

return nil
}

Expand Down
Loading
Loading