steven_singer_8
Sep 25, 2014Nimbostratus
Per-IP rate limiting for non-matching IPs
I wrote an iRule that 403'ed any requesting IPs that did NOT match a class of IPs.
rule filter_clients_rule {
when HTTP_REQUEST {
if { [matchclass [IP::client_addr] equals $::MySelfDefined_Network_class] } {
pool regular-site-pool
}
else {
HTTP::respond 403
}
}
}
How would one write a similar rule for ASM to simply throttle those non-matching IPs?