Forum Discussion
adamp_1459
Nimbostratus
Aug 05, 2012checking request from a specific country
hey i want to create an irule that states
that if a user is from a specific country then add to the request header "country=1"
if not add "country=0"
i suppose ill need to use the geolocation and inset header function but im a newbie at this
any help would be appreciated
3 Replies
- hoolio
Cirrostratus
Hi Adam,
I don't think the license for the GeoIP database allows for this unless you're just using the header information to log:
https://devcentral.f5.com/wiki/iRules.whereis.ashx
It is a direct violation of the EULA to use F5’s data to embed geolocation information or codes representing geolocation information into the requests such that another application or server could make the decision on what to do with that data. Customers wishing to use geolocation data on their webservers or in their applications to make decisions in those products can purchase geolocation data from Quova.
Aaron - Brian_69413
Nimbostratus
Aaron, why would F5 give you all the tools to do this and then make a statement like that in the EULA? I would guess that many are already using this functionality... - hoolio
Cirrostratus
I wasn't a party to the license negotiations between F5 and Quova so I can't say definitively. I'd guess the difference in cost between licensing their GeoIP data for use on BIG-IP itself versus exporting the data was high. To get an official response and/or a quote for exporting the GeoIP data, you could contact F5 Support.
Aaron
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