iRule event order
Piliin ang profile stack ng isang BIG-IP virtual server — Client-SSL, HTTP, Server-SSL, pool — at tingnan ang pagkakasunod-sunod ng pag-trigger ng karaniwang iRule events, mula CLIENT_ACCEPTED hanggang CLIENT_CLOSED, bilang timeline at listahan. Lahat sa iyong browser.
NetworkingProfile stack ng virtual server
Kinakalkula sa iyong browser. Walang ipinapadala kahit saan.
Isang modelo ng dokumentadong gawi ng F5 para sa isang Standard virtual server. Hindi ito kailanman kumokonekta sa isang BIG-IP.
Pagkakasunod-sunod ng event
Mga event ayon sa pagkakasunod
CLIENT_ACCEPTEDclient sideA client connection is established. On a Standard virtual server this is when the TCP three-way handshake completes; on FastL4 it fires on the initial SYN.
CLIENTSSL_CLIENTHELLOclient sideThe client's TLS ClientHello has been received, before the handshake is processed. Useful for SNI-based decisions.
CLIENTSSL_HANDSHAKEclient sideThe client-side TLS handshake has completed successfully.
HTTP_REQUESTclient sideThe system has fully parsed the complete client HTTP request headers.
LB_SELECTEDglobalThe system has selected a pool member for the connection.
SERVER_CONNECTEDserver sideThe server-side connection to the selected pool member has been established.
SERVERSSL_HANDSHAKEserver sideThe server-side TLS handshake has completed successfully.
HTTP_REQUEST_SENDserver sideImmediately before the HTTP request is sent to the server-side TCP stack. Runs in the server-side context.
HTTP_RESPONSEclient sideThe system has parsed all of the response status and header lines from the server response.
SERVER_CLOSEDserver sideThe server-side connection has been closed.
CLIENT_CLOSEDclient sideThe client-side connection has been closed.
Mga conditional event
Nagti-trigger lang ang mga ito sa ilang partikular na kondisyon: isang TCP::collect o HTTP::collect, isang load-balancing failure, o isang 100 Continue na tugon.
HTTP_REQUEST_DATA↪ HTTP_REQUESTAfter an HTTP::collect has gathered the specified amount of request payload.
LB_FAILED↪ LB_SELECTEDInstead of LB_SELECTED, when the system fails to select a pool or member, or the selected resource is unreachable.
HTTP_RESPONSE_CONTINUE↪ HTTP_RESPONSEBefore HTTP_RESPONSE, whenever the server sends a 100 Continue interim response.
HTTP_RESPONSE_DATA↪ HTTP_RESPONSEAfter an HTTP::collect has gathered the specified amount of response payload.
- Within a single event, multiple iRules run by priority (default 500, lowest number first); the priority command overrides that. This ordering is across events, not within one.
- Availability also depends on provisioning: module events (APM ACCESS_*, ASM/Advanced WAF, bot defense) only fire when that module is provisioned. And CLIENT_DATA, SERVER_DATA, HTTP_REQUEST_DATA, and HTTP_RESPONSE_DATA need an explicit TCP::collect or HTTP::collect first.