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

Rate limit new quic connections #2851

Open
sukunrt opened this issue Jun 27, 2024 · 0 comments
Open

Rate limit new quic connections #2851

sukunrt opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
kind/enhancement A net-new feature or improvement to an existing feature

Comments

@sukunrt
Copy link
Member

sukunrt commented Jun 27, 2024

quic-go provides the ability to gate connections with the config.GetConfigForClient callback and to verify the source address of packets with transport.VerifySourceAddress callback.

We should GetConfigForClient this to rate limit new connections and plug the connection gater and the conn limiter here so that users can do their custom limiting.

	// GetConfigForClient is called for incoming connections.
	// If the error is not nil, the connection attempt is refused.
	GetConfigForClient func(info *ClientHelloInfo) (*Config, error)
@sukunrt sukunrt added the kind/enhancement A net-new feature or improvement to an existing feature label Jun 27, 2024
@sukunrt sukunrt self-assigned this Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant