
2 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Overview
1
Table 1 provides a list of application and protocol events provided for OpenScript.
TABLE 1 Application and protocol events in ADX scripts
Application
or protocol
Event description Attached script method Use
HTTP On request header parsing
completion.
HTTP_REQUEST Perform request header
inspection and insertion or
deletion
Request payload data available.
Called when entire payload
available.
NOTE: Only triggered by
OS_HTTP_REQUEST::
collect() API.
HTTP_REQUEST_DATA Inspect and modify HTTP
request payload data.
On response header parsing
completion.
HTTP_RESPONSE Perform response header
inspection and insertion or
deletion.
Response payload data available.
Called when entire response
payload is available.
NOTE: Only triggered by
OS_HTTP_RESPONSE::
collect() API.
HTTP_RESPONSE_DATA Inspect and modify HTTP
response payload.
TCP On new client SYN request. TCP_CLIENT_SYN Authentication, connection rate-
limiting based on IP.
On successful TCP client
connection establishment.
TCP_CLIENT_ESTABLISHED Pre-TCP data transfer
processing context.
On client initiating a TCP CLOSE. TCP_CLIENT_CLOSE Update counters or state.
On receiving a TCP client RESET. TCP_CLIENT_RESET Update counters or state.
On TCP client Layer 7 application
payload data being available.
NOTE: Only triggered by
OS_TCP::collect() API.
TCP_CLIENT_DATA Inspect and transform client-
side TCP application data.
On server initiating a TCP CLOSE. TCP_SERVER_CLOSE Update counters or state.
On receiving TCP RESET from
server.
TCP_SERVER_RESET Handle server connection
resets.
On successful connection
establishment with server.
TCP_SERVER_ESTABLISHED Packet processing context
before sending client data to
server.
On TCP server Layer 7 application
payload data being available.
NOTE: Only triggered by
OS_TCP::collect() API.
TCP_SERVER_DATA Inspect and transform server-
side TCP application data.
UDP On UDP client Layer 7 application
payload data being available.
UDP_CLIENT_DATA Inspect and transform UDP
client-side application data.
On UDP server Layer 7 application
payload data being available.
UDP_SERVER_DATA Inspect and transform UDP
server-side application data.
Komentarze do niniejszej Instrukcji