Fortinet white logo
Fortinet white logo

Script Reference Guide

Stream Scripting events

Stream Scripting events

Event Name

Description

Available Protocol

RULE_INIT When initializing the script. TCP/UDP
STREAM_CLIENT_INIT When a connection from a client is initialized. TCP/UDP
STREAM_REQUEST_DATA When a request comes from a client. TCP/UDP
STREAM_RESPONSE_DATA When a response comes from a real server. TCP/UDP

STREAM_PERSISTENCE

Triggered before the persistence engine selects a peer. Used to search the persistence table via user-defined input; if a matching real server is found and healthy, it is used as the peer.

TCP/UDP

Stream Scripting events

Stream Scripting events

Event Name

Description

Available Protocol

RULE_INIT When initializing the script. TCP/UDP
STREAM_CLIENT_INIT When a connection from a client is initialized. TCP/UDP
STREAM_REQUEST_DATA When a request comes from a client. TCP/UDP
STREAM_RESPONSE_DATA When a response comes from a real server. TCP/UDP

STREAM_PERSISTENCE

Triggered before the persistence engine selects a peer. Used to search the persistence table via user-defined input; if a matching real server is found and healthy, it is used as the peer.

TCP/UDP