Skip to content

g3proxy: Outbound rate limiting in requests per second per domain + queue management #309

Description

@bern548456

Hello,

I'm trying to use G3 proxy in forward proxy mode for HTTP and HTTPS requests.
I haven't found a way to set rate limits in terms of requests per seconds per domain in the server options.
And the User-level rate limiting seems to be global (to the user) - not applied per domain.

I'm looking for the limit to be applied per domain (without knowing them in advance).
I'm ok with using HTTPS interception to extract the contacted domain, but if SNI is better advised - and supported - then no problem (I'm just in doubt whether all requests do have the SNI field, as I want to avoid running into difficulties if some don't)

All requests should be processed (instead of rejecting requests exceeding the rate limit for a given domain).
No burst mechanism should be applied, in order to respect the given rate limit.
All requests should be handled in the order they where received (regardless of whether they were on hold or not for a specific domain).

Is this possible with G3 ?
I'm still reading the docs and code, but would be grateful if you had any inputs!

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions