Forum Discussion
mattrm_59122
Nimbostratus
Jul 28, 2010TCP payload match and logging
Hi All,
I'm trying to reference TCP client data and look for userid and timestamp and log these values, I also need to log which LB Select.
I have the first part, (i think), but what do I do to find...
mattrm_59122
Nimbostratus
Dec 07, 2010Hi Just an update to the iRule, below is the working version:
Using the following stream profile:
@Username.*Userpassword=\n@@
when STREAM_MATCHED {
log each match found by the stream filter
scan [STREAM::match] "Username=%s" user
log local0. "Username [b64decode $user] had password
replaced"
STREAM::replace "Username=$user\nUserpassword=0000=\n"
}
when LB_SELECTED {
set serverIP [LB::server addr]
log local0. "LB Server IP $serverIP"
}
Matt
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
