Forum Discussion
MichaelMa_61351
May 02, 2011Nimbostratus
Block Referer in Shared F5
Hello,
We are using shared F5 appliance which service other www sites as well as ours. I would like to know, if it is possible by iRules or by other means in F5 to block a list of HTTP requests from a specific referrer (can be found in the HTTP packet in Layer 7) from getting to our www site without blocking the same referrer to other www sites in the F5.
Thanks,
Michael
- Colin_Walker_12Historic F5 AccountYes, you could definitely do this. There are a couple of options.
- Michael_YatesNimbostratusGeorge did a great write-up on Referral Tracking.
- Colin_Walker_12Historic F5 AccountGood find Michael.
- MichaelMa_61351Nimbostratus
Thank you all.
Is there a massive resource utilization on the F5 while processing this kind of iRules ?
- Michael_YatesNimbostratusIf that is a concern (it is awesome that you are thinking efficiency and ability), then I would say....Test It.
- Colin_Walker_12Historic F5 AccountAwesome links Michael, and it's definitely good to think in terms of efficiency.
- Auz_102504NimbostratusThanks Guys for the info, can you provide a sample irule that would block a referer say google.com, I already know there are a number of unwanted referrals from a site and I just want to block referrals from a single domain and allow all others. Thanks again.
- hooleylistCirrostratusHi Auz,
when HTTP_REQUEST { if {[string tolower [URI::host [HTTP::header User-Agent]]] contains "google.com"}{ HTTP::respond 200 content {Blocked!} } }
- Auz_102504NimbostratusThanks would this work?
- Auz_102504NimbostratusThanks would this work?
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