TCP:set_src_key(data)
Allows you to set a source key. FortiADC uses this key to identify the TCP connection in scenarios where there are multiple clients to one real server.
Syntax
TCP:set_src_key(data)
Arguments
| Name | Description |
|---|---|
|
data |
A string which can identify a TCP connection. |
Events
Applicable in STREAM_REQUEST_DATA.
Example
when STREAM_REQUEST_DATA {
TCP:set_src_key(get_key())
}
Supported Version
FortiADC version 6.1.1 and later.