Protocol by Gurtam that proxies raw data to target servers (up to 3 destinations) via TCP and/or stores raw data in channel messages (read more in a dedicated article). Also, the proxy channel has a nice binary/text traffic viewer integrated into Toolbox.
Note: the proxy channel does not work over UDP.
Be aware that idents assigned by the proxy protocol for incoming connections are random for each connection and do not correspond to real device IMEI or serial number.
To enable the proxy mode add one or more targets. Targets are marked mandatory by default.
For mandatory targets: if a connection fails, the channel throws an error and drops an input connection.
For non-mandatory targets: if a connection fails, the channel continues data transmission to other targets.
The 'Proxy Replies Back' option is enabled by default. It means that the proxy channel will transmit replies from the corresponding target to the channel's input connection.
If enabled, raw data packets are saved in channel messages as the 'proxy.payload.hex' parameter. If the payload size exceeds 2MB, the parameter is not registered. If target replies are enabled, then target response packets are also saved as the 'proxy.payload.hex' parameter in channel messages.
If neither store mode nor proxy mode is enabled, the proxy channel simply skips the data from the input connection. However, the channel will always save diagnostic messages about each connection opened/closed event.
The following parameters are registered in channel messages and may be used to diagnose channel issues:
peer — the channel's incoming connection ip:port.
proxy.event — the channel event:
proxy.source — attributes a message to a particular connection: