Module limits
Available on crate feature
masque only.Expand description
Shared admission accounting for MASQUE tunnels.
Structs§
- Principal
Key - Who a MASQUE tunnel is accounted to: the key
UserOrClientIpKeyderives. - Tunnel
Lease - A tunnel’s place among the proxy’s
TunnelLimits, given back when dropped. - Tunnel
Limit Reached - A tunnel limit was reached: total, per principal, or the principal map is full.
- Tunnel
Limits - How many MASQUE tunnels a proxy runs: in total and per principal.
- User
OrClient IpKey - The default
InputToRateKeyofTunnelLimits: the user an authentication layer in front identified; else the client IP, byClientIpRateKey(an IPv6 client by its /64 by default, aForwardedaddress only when a trusted layer set it); elsePrincipalKey::ANONYMOUS. It always yields a key.