proxy

The proxy configurations in Network Filter.

proxy is the most common network filter in MOSN and is configured in the following format:

  1. {
  2. "downstream_protocol":"",
  3. "upstream_protocol":"",
  4. "router_config_name":"",
  5. "extend_config":{}
  6. }
  • downstream_protocol: The request protocol that the proxy expects to receive. When receiving data from a connection, MOSN uses this protocol to parse and forward packets. If the received packet protocol does not comply with the configuration, MOSN closes the connection.
  • upstream_protocol: The protocol used by the proxy to forward data. Usually, this field needs to be consistent with downstream_protocol. Protocol conversion is performed only in special scenarios.
  • router_config_name: The router configuration index of the proxy. Usually, this field is consistent with router_config_name configured in connection_manager of the listener.
  • extend_config: The extension configuration, used only in XProtocol of MOSN currently.

Last modified December 2, 2022: Bump tar from 4.4.8 to 4.4.19 in /themes/docsy/userguide (942c999)