Forum Discussion
cymru81
Altocumulus
Aug 26, 2015irule logging?
Hi, we have the following irule that drops blacklisted IPs in place. Is there any way to log when this is triggered and how would we access this log if possible?
when CLIENT_ACCEPTED {
if { [c...
tatmotiv
Cirrostratus
Aug 26, 2015It shouldn't do that if you add the log statement inside the if clause like that:
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals ip-blacklist] } {
log local0. "[IP::client_addr] blocked due to blacklisting"
reject
}
}
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