Forum Discussion
Arkashik_6155
Jan 04, 2013Nimbostratus
iRule to log POP3/IMAP user
Hello everyone,
Since i'm new with iRules, could you please advice me how to log username/user's email address from POP3 and IMAP sessions.
The goal is to move users to go through POP3/IMAP...
What_Lies_Bene1
Jan 04, 2013Cirrostratus
So an iRule to log that might look like this. This is a bit simple and I'm sure it could be improved and you could pull the username string out, I just don't have that level of skill;
when CLIENT_ACCEPTED {
TCP::collect 300
}
when CLIENT_DATA {
if { [TCP::payload 300] contains "login" } {
log local0. "[TCP::payload 300]"
TCP::release
}
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