| /src/external/mpl/bind/dist/bin/tests/system/geoip2/conf/ |
| bad-areacode.conf | 27 geoip-directory "data"; 29 geoip area 831; 30 geoip areacode 831; 31 geoip metro 828; 32 geoip metrocode 828; 33 geoip tz "America/Los_Angeles"; 34 geoip timezone "America/Los_Angeles"; 35 geoip postal 95060; 36 geoip postalcode 95060;
|
| bad-netspeed.conf | 27 geoip-directory "data"; 29 geoip netspeed 100; 30 geoip metro 828; 31 geoip metrocode 828; 32 geoip tz "America/Los_Angeles"; 33 geoip timezone "America/Los_Angeles"; 34 geoip postal 95060; 35 geoip postalcode 95060;
|
| good-options.conf | 27 geoip-directory "data"; 29 geoip metro 828; 30 geoip metrocode 828; 31 geoip tz "America/Los_Angeles"; 32 geoip timezone "America/Los_Angeles"; 33 geoip postal 95060; 34 geoip postalcode 95060;
|
| bad-regiondb.conf | 26 geoip-directory "../data"; 39 match-clients { geoip db region region "California"; };
|
| bad-threeletter.conf | 26 geoip-directory "../data"; 30 match-clients { geoip db country country AUS; };
|
| /src/external/mpl/bind/dist/bin/tests/system/geoip2/ns2/ |
| named.conf.j2 | 26 geoip-directory "../data"; 39 match-clients { geoip db country country AU; }; 47 match-clients { geoip db country country US; }; 55 match-clients { geoip db country country GB; }; 63 match-clients { geoip db country country CA; }; 71 match-clients { geoip db country country CL; }; 79 match-clients { geoip db country country DE; }; 87 match-clients { geoip db country country EH; }; 95 match-clients { geoip db country country O1; };
|
| named10.conf.j2 | 26 geoip-directory "../data"; 39 match-clients { geoip asnum 100001; }; 47 match-clients { geoip asnum 100002; }; 55 match-clients { geoip asnum 100003; }; 63 match-clients { geoip asnum 100004; }; 71 match-clients { geoip asnum 100005; }; 79 match-clients { geoip asnum 100006; }; 87 match-clients { geoip asnum 100007; };
|
| named11.conf.j2 | 26 geoip-directory "../data"; 39 match-clients { geoip domain one.de; }; 47 match-clients { geoip domain two.com; }; 55 match-clients { geoip domain three.com; }; 63 match-clients { geoip domain four.edu; }; 71 match-clients { geoip domain five.es; }; 79 match-clients { geoip domain six.it; }; 87 match-clients { geoip domain seven.org; };
|
| named2.conf.j2 | 26 geoip-directory "../data"; 38 acl gAU { geoip db country country AU; }; 39 acl gUS { geoip db country country US; }; 40 acl gGB { geoip db country country GB; }; 41 acl gCA { geoip db country country CA; }; 42 acl gCL { geoip db country country CL; }; 43 acl gDE { geoip db country country DE; }; 44 acl gEH { geoip db country country EH; };
|
| named3.conf.j2 | 26 geoip-directory "../data"; 39 match-clients { geoip db country country Australia; }; 47 match-clients { geoip db country country "United States"; }; 55 match-clients { geoip db country country "United Kingdom"; }; 63 match-clients { geoip db country country Canada; }; 71 match-clients { geoip db country country Chile; }; 79 match-clients { geoip db country country Germany; }; 87 match-clients { geoip db country country "Western Sahara"; };
|
| named6.conf.j2 | 26 geoip-directory "../data"; 39 match-clients { geoip city "Redwood City"; }; 47 match-clients { geoip city "Santa Cruz"; }; 55 match-clients { geoip city "Oklahoma City"; }; 63 match-clients { geoip city "Ashland"; }; 71 match-clients { geoip city "Atlanta"; }; 79 match-clients { geoip city "Morrison"; }; 87 match-clients { geoip city "Ketchikan"; };
|
| named7.conf.j2 | 26 geoip-directory "../data"; 39 match-clients { geoip isp "One Systems, Inc."; }; 47 match-clients { geoip isp "Two Technology Ltd."; }; 55 match-clients { geoip isp "Three Network Labs"; }; 63 match-clients { geoip isp "Four University"; }; 71 match-clients { geoip isp "Five Telecom"; }; 79 match-clients { geoip isp "Six Company"; }; 87 match-clients { geoip isp "Seven Communications"; };
|
| named8.conf.j2 | 26 geoip-directory "../data"; 39 match-clients { geoip org "One Systems, Inc."; }; 47 match-clients { geoip org "Two Technology Ltd."; }; 55 match-clients { geoip org "Three Network Labs"; }; 63 match-clients { geoip org "Four University"; }; 71 match-clients { geoip org "Five Telecom"; }; 79 match-clients { geoip org "Six Company"; }; 87 match-clients { geoip org "Seven Communications"; };
|
| named9.conf.j2 | 26 geoip-directory "../data"; 39 match-clients { geoip asnum "AS100001"; }; 47 match-clients { geoip asnum "AS100002"; }; 55 match-clients { geoip asnum "AS100003"; }; 63 match-clients { geoip asnum "AS100004"; }; 71 match-clients { geoip asnum "AS100005"; }; 79 match-clients { geoip asnum "AS100006"; }; 87 match-clients { geoip asnum "AS100007"; };
|
| named5.conf.j2 | 26 geoip-directory "../data"; 39 match-clients { geoip region CA; }; 47 match-clients { geoip region OK; }; 55 match-clients { geoip region VA; }; 63 match-clients { geoip region GA; }; 71 match-clients { geoip region CO; }; 79 match-clients { geoip region AK; };
|
| named4.conf.j2 | 26 geoip-directory "../data"; 39 match-clients { geoip db country continent OC; }; 47 match-clients { geoip db country continent NA; }; 55 match-clients { geoip db country continent EU; }; 63 match-clients { geoip db country continent SA; }; 71 match-clients { geoip db country continent AF; };
|
| named12.conf.j2 | 17 geoip db country country AU; 30 geoip-directory "../data";
|
| /src/external/mpl/bind/dist/tests/dns/ |
| acl_test.c | 48 dns_acl_t *geoip = NULL; local 72 dns_acl_create(mctx, 1, &geoip); 74 de = geoip->elements; 81 assert_true(geoip->length < geoip->alloc); 82 dns_acl_node_count(geoip)++; 83 de->node_num = dns_acl_node_count(geoip); 84 geoip->length++; 88 result = dns_acl_merge(notgeoip, geoip, false); 98 assert_true(dns_acl_isinsecure(geoip)); /* geoip; * [all...] |
| geoip_test.c | 35 #include <dns/geoip.h> 41 static dns_geoip_databases_t geoip; variable 54 /* Use databases from the geoip system test */ 85 geoip.country = open_geoip2(dir, "GeoIP2-Country.mmdb", &geoip_country); 86 geoip.city = open_geoip2(dir, "GeoIP2-City.mmdb", &geoip_city); 87 geoip.as = open_geoip2(dir, "GeoLite2-ASN.mmdb", &geoip_as); 88 geoip.isp = open_geoip2(dir, "GeoIP2-ISP.mmdb", &geoip_isp); 89 geoip.domain = open_geoip2(dir, "GeoIP2-Domain.mmdb", &geoip_domain); 117 db = geoip2_database(&geoip, fix_subtype(&geoip, subtype)) [all...] |
| /src/external/mpl/bind/dist/lib/dns/ |
| geoip2.c | 37 #include <dns/geoip.h> 41 * This structure preserves state from the previous GeoIP lookup, 50 * If the next geoip ACL lookup is for the same database and from the 53 * geoip ACLs: for example, when there are multiple views with 59 * searching in more than one GeoIP database.) 104 fix_subtype(const dns_geoip_databases_t *geoip, dns_geoip_subtype_t subtype) { 109 if (geoip->city != NULL) { 111 } else if (geoip->country != NULL) { 116 if (geoip->city != NULL) { 118 } else if (geoip->country != NULL) [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| geoip2.c | 36 #include <dns/geoip.h> 48 * This structure preserves state from the previous GeoIP lookup, 57 * If the next geoip ACL lookup is for the same database and from the 60 * geoip ACLs: for example, when there are multiple views with 66 * searching in more than one GeoIP database.) 111 fix_subtype(const dns_geoip_databases_t *geoip, dns_geoip_subtype_t subtype) { 116 if (geoip->city != NULL) { 118 } else if (geoip->country != NULL) { 123 if (geoip->city != NULL) { 125 } else if (geoip->country != NULL) [all...] |
| /src/external/mpl/bind/dist/lib/isccfg/include/isccfg/ |
| aclconf.h | 22 #include <dns/geoip.h> 31 dns_geoip_databases_t *geoip; member in struct:cfg_aclconfctx
|
| /src/external/mpl/dhcp/bind/dist/lib/isccfg/include/isccfg/ |
| aclconf.h | 23 #include <dns/geoip.h> 32 dns_geoip_databases_t *geoip; member in struct:cfg_aclconfctx
|
| /src/external/mpl/bind/dist/lib/dns/include/dns/ |
| geoip.h | 1 /* $NetBSD: geoip.h,v 1.9 2025/01/26 16:25:27 christos Exp $ */ 22 /*! \file dns/geoip.h 24 * GeoIP/GeoIP2 data types and function prototypes. 108 const dns_geoip_databases_t *geoip,
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/ |
| geoip.h | 1 /* $NetBSD: geoip.h,v 1.1 2024/02/18 20:57:36 christos Exp $ */ 23 /*! \file dns/geoip.h 25 * GeoIP/GeoIP2 data types and function prototypes. 109 const dns_geoip_databases_t *geoip,
|