Forum Discussion
jay_41157
Apr 12, 2011Nimbostratus
scrub out going traffic.
HI,
I need to be able to scrub the response going to the end user.
What I need is the F5 only send back data that is between the below tags and drop the rest.
.....
Any suggestions on how I can do this?
Thanks,
Jay
- hooleylistCirrostratusI agree with Joel. Using just a stream profile would mean the stream filter is applied to all request and response payloads. Most scenarios don't require request payload checking and only need checking of text response payloads. So you can get inadvertent matching and unnecessary checking without an iRule.
- James_Quinby_46Historic F5 AccountOK, those make sense. Thanks, guys.
- ArieAltostratusKeep in mind that if you delete or add characters the Content-Length will change. This may lead to unintended consequences. A workaround is to replace characters with spaces or something similar.
- hooleylistCirrostratusGood point. You can also handle the change in content length by using a custom HTTP profile with response chunking set to rechunk:
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