Forum Discussion
Jeremy_Lanzarot
Sep 24, 2008Nimbostratus
Irule to log client source IP
I am trying to log the source IP address of every request that hits a VIP on a 4.2 BigIP to a file, /var/log/ldap_clients.log on the Bigip. Right now there is no irule on the VIP, it is just using a ...
hooleylist
Sep 25, 2008Cirrostratus
You shouldn't need to test the IP address, you can just log it:
rule log_client_address {
log local0. "Client IP: " + client_addr
}
You can modify the facility in the log statement to something other than local0. and/or syslog configuration to change where the log output is written.
Aaron
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