Forum Discussion
Rostislav_Zatol
Nimbostratus
Nov 20, 2009replace IP in POST body with source IPaddr
Hello,
I am searching for possibility to replace in xml formated HTTP POST body an IPaddress with TCP source IP address.
I sure have to use STREAM. So something like this...
Rostislav_Zatol
Nimbostratus
Dec 11, 2009Hello,
Trying to proceed with my idea, but have found following problem:
If I user REGEX to search for IP adress format string, I have to use {} brackets.
STREAM::expression {@\"xsd:string\">\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}@"xsd:string">[IP::client_addr]@}
But it seems in this case variable [IP::client_addr] is nor available for replacement.
Have tryed with "", the REGEXP doese not match.
If I dont use REGEXP and try to match to test device with hardcoded IP, it works:
STREAM::expression "@\"xsd:string">10.0.0.139@\"xsd:string\">[IP::client_addr]@"
Any Ideas to bring both cases together? I dont want to search with *.*.*.* for IP address.
BR
RZ
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
