Forum Discussion
JamesS_40157
Nimbostratus
Jan 03, 2012Blocking a single IP in ASM - send to the blocking page
Hi all, I can't for the life of me work out what I would have thought would be a simple thing to do in ASM. What we would like to do is blacklist a single IP address (or potent...
JamesS_40157
Nimbostratus
Jan 03, 2012Would something like this work in the meantime? I realise it will basically allow anything through that isn't in the block list:
when HTTP_REQUEST {
if { [matchclass [IP::remote_addr] equals /Common/asmblockips] } {
ASM::enable
} else {
ASM::disable
}
}
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