Forum Discussion
redheadontherun
Jul 27, 2016Nimbostratus
Block Source IP using a blocklist hosted on a webserver
Currently we utilize a web server to host a blocklist that some of our other security devices use to block IP addresses. It allows us to maintain 1 list for all devices. Can the F5 ASM or LTM utilize...
Yann_Desmarest
Cirrus
Hi,
this list can be uploaded as an ifile. You can also do a lookup using sideband connections in irules
Yann_Desmarest
Jul 27, 2016Cirrus
Here a small Proof of Concept.
when HTTP_REQUEST {
set file [ifile get domains]
log local0. "$file"
set domain "amazon.co.uk.security-check.ga"
if { [string match "*$domain*" $file] } {
log local0. "succeeded"
HTTP::respond 200 content "ok"
} else {
log local0. "failed"
}
}
Note : should test performance impact, memory consumption and stuff like that before switching something in production
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