Forum Discussion
Sylvain_Maitena
Nimbostratus
Jul 18, 2016capture IP client on IMAP request
I used this I-Rule to insert the client IP in the Http Header of the request to gather this information on my server :
" when HTTP_REQUEST { HTTP::header insert X-Forwarded-For [IP::client_addr] } " ...
ekaleido_26616
Cirrocumulus
Jul 18, 2016Maybe this, assuming you just want to log the client IP.
when CLIENT_CONNECTED {
log local0. "IMAP Connection from [IP::client_addr]"
}
- DevBabuJul 18, 2016
Cirrus
Where do you want to log the IP, in POP3/IMAP server of in LTM. If in LTM you might want to use the above iRule. It's not possible for you to get client IP forwarded to server if you use SNAT for other protocols.
- Sylvain_MaitenaJul 19, 2016
Nimbostratus
hello,
I want to log the client IP in the IMAP/POP3 server. And I don't use SNAT.
Thank you for your time.
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
