Forum Discussion
Mohanad
Cirrostratus
Sep 17, 2019how to add logging to irule
Hi everyone i want to add logging for my irule, thank you log local0. "ALERT! - IP [IP::client_addr] is using [SSL::profile]" when CLIENT_ACCEPTED {
switch [IP::client_addr] {
10.222.56.10 ...
Sep 17, 2019
Hi Mohanad,
SSL::profile does not return the profile name.
You can use this.
when CLIENT_ACCEPTED {
switch [IP::client_addr] {
10.222.56.10 {
SSL::profile Web-Staging-NoClientCert
log local0. "ALERT! - IP [IP::client_addr] is using Web-Staging-NoClientCert"
}
default {
SSL::profile Web-Staging-Client
log local0. "ALERT! - IP [IP::client_addr] is using Web-Staging-Client"
}
}
}
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