Kolejność zdarzeń iRule
Wybierz stos profili wirtualnego serwera BIG-IP — Client-SSL, HTTP, Server-SSL, pula — i zobacz kolejność, w jakiej wyzwalają się typowe zdarzenia iRule, od CLIENT_ACCEPTED do CLIENT_CLOSED, jako oś czasu i listę. Wszystko w przeglądarce.
SieciStos profili wirtualnego serwera
Obliczone w przeglądarce. Nic nie jest nigdzie wysyłane.
Model udokumentowanego zachowania F5 dla wirtualnego serwera Standard. Nigdy nie kontaktuje się z BIG-IP.
Sekwencja zdarzeń
Zdarzenia w kolejności
CLIENT_ACCEPTEDstrona klientaA 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_CLIENTHELLOstrona klientaThe client's TLS ClientHello has been received, before the handshake is processed. Useful for SNI-based decisions.
CLIENTSSL_HANDSHAKEstrona klientaThe client-side TLS handshake has completed successfully.
HTTP_REQUESTstrona klientaThe system has fully parsed the complete client HTTP request headers.
LB_SELECTEDglobalneThe system has selected a pool member for the connection.
SERVER_CONNECTEDstrona serweraThe server-side connection to the selected pool member has been established.
SERVERSSL_HANDSHAKEstrona serweraThe server-side TLS handshake has completed successfully.
HTTP_REQUEST_SENDstrona serweraImmediately before the HTTP request is sent to the server-side TCP stack. Runs in the server-side context.
HTTP_RESPONSEstrona klientaThe system has parsed all of the response status and header lines from the server response.
SERVER_CLOSEDstrona serweraThe server-side connection has been closed.
CLIENT_CLOSEDstrona klientaThe client-side connection has been closed.
Zdarzenia warunkowe
Wyzwalają się tylko w określonych warunkach: TCP::collect lub HTTP::collect, niepowodzenie równoważenia, albo odpowiedź 100 Continue.
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.