Skip to content

feat(udp): no per-source flow limit on UDP listeners #1769

Closed

Description

@FlorentinDUBOIS

Since #1746, each client source IP and port is its own UDP flow, with its own connected upstream socket and max_flows slot. No limit applies per source address: a UDP listener has no equivalent of the max_connections_per_ip / max_connections_per_subnet caps that TCP and HTTP listeners enforce, so the flows of one address or subnet are bounded only by max_flows.

Proposal: let a cluster's own max_connections_per_ip and max_connections_per_subnet cap concurrent UDP flows per source address and per masked subnet (opt-in; the global defaults stay TCP/HTTP-only), and drop a datagram that would open a flow over either limit, with a dedicated counter.

Activity

  1. added a commit that references this issue on Oct 2, 2026
    99e6aee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions