Forum Discussion
Dianna_129659
Sep 23, 2013Nimbostratus
Can I block an IP address?
Can I blacklist a specific IP address? Our web scraping is set pretty loose because many of our customers do transactions that appear to be scraping. We are being hit hard by some crawlers, and I wou...
Sep 23, 2013
Especially if you are dealing with a large number of source IPs to block it might make sense to use a generic iRule associated with a so called data group.
It´s ease to add or remove addresses from the data group without touching the iRule anymore.if { [class match [IP::remote_addr] equals ip_blacklist] } {
reject
event disable all
return
}
The data group will be of type IP address and may contain hosts and networks.
This should be easier to handleRecent 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