What does the following iRule do?
when CLIENT_ACCEPTED {
if { [matchclass [IP::client_addr] equals WebClient1-Whitelist1] }{
#log local0. “Valid client IP: [IP::client_addr] – forwarding traffic”
#Pool WebClient1
} else {
log local0. “Invalid client IP: [IP::client_addr] – discarding”
discard
}
}
A. The iRule compares a client IP to a list. If the client IP is on the list, discard and log the discard.
B. The iRule compares a client IP to a list. If the client IP is NOT on the list, discard and log the discard.
C. The iRule compares a client IP to a list. If the client IP is on the list, the client is sent to Pool WebClient1. Otherwise, discard and log the discard.
D. The iRule compares a client IP to a list. If the client IP is NOT on the list, the client is sent to Pool WebClient1. Otherwise, discard and log the discard.