Hi all,

Currently, remote_addr in a stream route is used to filter requests by client's 
IP address. The naming of this attribute is quite confusing. It is difficult to 
tell if remote_addr refers to the upstream service address or downstream 
client's address.

Suggest renaming remote_addr to client_addr, or something more intuitive.

X-posted on GitHub:https://github.com/apache/apisix/issues/9441

Relevant docs:

- Admin API Stream Routes: 
https://apisix.apache.org/docs/apisix/admin-api/#stream-route-api
- Stream Proxy doc: https://apisix.apache.org/docs/apisix/next/stream-proxy/

Interested in hearing what everybody thinks.

Thanks,
Traky Deng

Reply via email to