Open xzycn opened 1 year ago
Yes, I have found we can treat a service(addr field) and a limiter as a port-based limiter.
Normally, we see the model :
such as Port Forwarding.
another model:
such as transparent proxy (redirect in linux).
How do I use a port-based limiter when everyone connect to one service?
What kind of limiter, traffic limiter, rate limiter, or connection limiter?
@ginuerzh traffic limiter.
Ports can not be used to distinguish users, the client port is dynamic.
@ginuerzh I mean the destination port(get from getOriginalDstAddr) instead of client port :)
Now, we can create a limiter scope for IP or CIDR, can we support port?