Forum Discussion
GeoLocation iRule Client_Accepted missing some traffic
Hey thanks for the quick response. Here's the irule and data groups (abbreviated).
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals allowedip]} {
} elseif { [class match [IP::client_addr] equals blockedsrcaddress]} {
drop
} elseif { [class match [whereis [IP::client_addr] country] equals blockedcountries]} {
drop
} elseif { [class match [IP::local_addr] equals blockeddstaddress]} {
drop
} else {
} }
ltm data-group internal allowedip { records { 12.129.. { data FrontBridge_9 } 12.129.. { data FrontBridge_3 }
ltm data-group internal blockedcountries { records { AR { data Argentina } AT { data Austria } BG {
ltm data-group internal blockeddstaddress { records { 87.255.51.. { data Netherlands_Virus_Communications }
ltm data-group internal blockedsrcaddress { records { 198.20.. { data Shodan_CIDR } } type ip }
- What_Lies_Bene1Sep 25, 2013
Cirrostratus
Thanks. So it's only the 'elseif { [class match [whereis [IP::client_addr] country] equals blockedcountries' part you have an issue with yes? How many entries in the DG? Also, how do you know they are getting through?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
