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
Oct 01, 2008Cirrostratus
nhoh0ft, I don't have a 4.x unit to test on. claretian, you should be able to log server_addr to get the VIP address:
rule log_client_address {
log local0. "Client IP: " + client_addr + ", Server IP: " + server_addr
use pool corp_ldap_3895
}
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