Forum Discussion
CPHA_97141
Nimbostratus
Aug 29, 2008Generic iRule for URL scrubbing
Hi,
I am new to iRules and was wanted to see if anyone out there has a generic iRule to scrub the contents after a URL. I looked up the forums found credit card / SSN scrubbing but not a generic one....
ex:
From:
https://www.google.com/blahblah.asp?blah=343&blahblah
In other words anything after the main domain gets scrubbed with no restriction to the number of charaters
To:
https://www.google.com/SDSDSAAAA*)@DSADSSDSZZZZZDWEXZW (some junk characters)
Appreciate anyone's response and guidance...
Thanks,
VK
- Patrick_Chang_7Historic F5 AccountWe generally recommend using the built-in functionality of our Firepass product to do this.
- CPHA_97141
Nimbostratus
Sure...but is there any possibility to do this with the 6400 series we have with an iRule? Are there any performance issues by implementing it with an iRule on a 6400? - hoolio
Cirrostratus
You can do this with an iRule. The performance is something you'll need to test as it depends on a lot of factors such as existing load on the 6400, throughput on the VIP, app response sizes, etc. - Patrick_Chang_7Historic F5 AccountIt turns out that when a browser issues a request, the URL displayed will be the URL requested (unless it has been redirected). In order to do what the customer wants, we would need an iRule that would redirect the first request to an encrypted URL. It would then have to decrypt the URL and ask for the real URL on the back end. It would have to find all links (including absolute and relative links) and replace them with encrypted links in the response. It would then have to know to unencrypt all requests (after the first one) to the back end. We would have to have a fixed starting point to enter the app. Entering from any other starting point would break the app. In addition, the TMM hit would be considerable with any type of load.
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