Forum Discussion
Dianna_129659
Nimbostratus
Mar 05, 2014Whitelist a user agent
We use Pingdom to alert us when our site is down. We also block most IP Addresses that are not within the United States (we do business only within the US). Is there a way that I can whitelist the Pi...
Kevin_Stewart
Employee
Mar 05, 2014Something like this perhaps:
when CLIENT_ACCEPTED {
if { ( [class match [IP::client_addr] equals pingdom_list] ) or ( [whereis $ip country] equals "US" ) } {
return
} else {
drop
}
}
where "pingdom_list" is an address-based data group of Pingdom source addresses (and/or source networks). You can also perform this function in an HTTP_REQUEST event, in case you want to send an HTML response for requests not allowed.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
