Forum Discussion
zafer
Nimbostratus
May 11, 2009logging client ip address with nat
Hello
i use this irule for logging client ip address and server communications
when CLIENT_ACCEPTED {
log local0. "client: [IP::remote_addr]:[TCP::remote_port]...
The_Bhattman
Nimbostratus
May 11, 2009You can intercept the in the irule the header without regexp
http://devcentral.f5.com/wiki/default.aspx/iRules/HTTP__header.html
It would be something like
set variablename [HOST::header "HTTP_CLIENT"]
From there you can use that variablename for whatever you deem important.
Hope this helps
CB
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