/dports/misc/libpostal/libpostal-1.1-alpha/src/ |
H A D | geodb.c | 3 static geodb_t *geodb = NULL; variable 6 return geodb; in get_geodb() 160 geodb = geodb_init(dir); in geodb_load() 161 return (geodb != NULL); in geodb_load() 201 if (geodb == NULL || geodb->hash_reader == NULL || geodb->log_iter == NULL) return NULL; in geodb_get_len() 202 …sparkey_returncode ret = sparkey_hash_get(geodb->hash_reader, (uint8_t *)key, len, geodb->log_iter… in geodb_get_len() 209 …if (geonames_generic_deserialize(&generic->type, geodb->geoname, geodb->postal_code, geodb->value_… in geodb_get_len() 232 if (geodb == NULL) { in geodb_module_setup() 241 if (geodb != NULL) { in geodb_module_teardown() 242 geodb_destroy(geodb); in geodb_module_teardown() [all …]
|
H A D | libpostal_data | 158 if [ -e $LIBPOSTAL_DATA_DIR/geodb ]; then 159 rm -rf $LIBPOSTAL_DATA_DIR/geodb;
|
H A D | geodb.h | 40 typedef struct geodb { struct
|
/dports/mail/spamassassin-devel/spamassassin-1ea352210/lib/Mail/SpamAssassin/Plugin/ |
H A D | RelayCountry.pm | 99 if (!$self->{main}->{geodb} || 100 !$self->{main}->{geodb}->can('country')) { 107 my $geodb = $self->{main}->{geodb}; 112 my $cc = $geodb->get_country($ip); 119 my $cc = $geodb->get_country($ip); 131 my $cc = $geodb->get_country($ip); 139 my $cc = $geodb->get_country($ip);
|
H A D | URILocalBL.pm | 353 if (!$self->{main}->{geodb} || 354 (!$self->{main}->{geodb}->can('country') && 355 !$self->{main}->{geodb}->can('isp'))) { 410 if ($self->{main}->{geodb}->can('country_v6')) { 456 my $geodb = $self->{main}->{geodb}; 478 my $cc = $geodb->get_country($ip); 500 my $cc = $geodb->get_continent($ip); 514 if ($geodb->can('isp')) { 519 my $isp = $geodb->get_isp($ip);
|
H A D | ASN.pm | 333 my $geodb = $self->{main}->{geodb}; 334 my $has_geodb = $conf->{asn_use_geodb} && $geodb && $geodb->can('asn'); 383 my $asn = $geodb->get_asn($ip); 384 my $org = $geodb->get_asn_org($ip);
|
/dports/dns/knot3/knot-3.1.5/src/knot/modules/geoip/ |
H A D | geoip.rst | 92 mode: geodb 93 geodb-file: /path/to/GeoLite2-City.mmdb 94 geodb-key: [ country/iso_code, city/names/en ] 210 mode: geodb | subnet | weighted 213 geodb-file: STR 214 geodb-key: STR ... 251 - ``geodb`` – Responses are tailored according to geographic data retrieved 287 geodb-file 292 *Required if* :ref:`mod-geoip_mode` *is set to* **geodb** 296 geodb-key [all …]
|
H A D | geodb.c | 148 void geodb_close(geodb_t *geodb) in geodb_close() argument 151 MMDB_close(geodb); in geodb_close() 155 int geodb_query(geodb_t *geodb, geodb_data_t *entries, struct sockaddr *remote, in geodb_query() argument 161 res = MMDB_lookup_sockaddr(geodb, remote, &mmdb_error); in geodb_query()
|
H A D | Makefile.inc | 2 knot/modules/geoip/geodb.c \ 3 knot/modules/geoip/geodb.h
|
H A D | geodb.h | 60 void geodb_close(geodb_t *geodb); 62 int geodb_query(geodb_t *geodb, geodb_data_t *entries, struct sockaddr *remote,
|
H A D | geoip.c | 126 geodb_t *geodb; member 703 geodb_close(ctx->geodb); in free_geoip_ctx() 704 free(ctx->geodb); in free_geoip_ctx() 883 if (geodb_query(ctx->geodb, entries, (struct sockaddr *)remote, in geoip_process() 972 ctx->geodb = geodb_open(conf.single.string); in load_module() 973 if (ctx->geodb == NULL) { in load_module()
|
/dports/dns/knot3-lib/knot-3.1.5/src/knot/modules/geoip/ |
H A D | geoip.rst | 92 mode: geodb 93 geodb-file: /path/to/GeoLite2-City.mmdb 94 geodb-key: [ country/iso_code, city/names/en ] 210 mode: geodb | subnet | weighted 213 geodb-file: STR 214 geodb-key: STR ... 251 - ``geodb`` – Responses are tailored according to geographic data retrieved 287 geodb-file 292 *Required if* :ref:`mod-geoip_mode` *is set to* **geodb** 296 geodb-key [all …]
|
H A D | geodb.c | 148 void geodb_close(geodb_t *geodb) in geodb_close() argument 151 MMDB_close(geodb); in geodb_close() 155 int geodb_query(geodb_t *geodb, geodb_data_t *entries, struct sockaddr *remote, in geodb_query() argument 161 res = MMDB_lookup_sockaddr(geodb, remote, &mmdb_error); in geodb_query()
|
H A D | Makefile.inc | 2 knot/modules/geoip/geodb.c \ 3 knot/modules/geoip/geodb.h
|
H A D | geodb.h | 60 void geodb_close(geodb_t *geodb); 62 int geodb_query(geodb_t *geodb, geodb_data_t *entries, struct sockaddr *remote,
|
H A D | geoip.c | 126 geodb_t *geodb; member 703 geodb_close(ctx->geodb); in free_geoip_ctx() 704 free(ctx->geodb); in free_geoip_ctx() 883 if (geodb_query(ctx->geodb, entries, (struct sockaddr *)remote, in geoip_process() 972 ctx->geodb = geodb_open(conf.single.string); in load_module() 973 if (ctx->geodb == NULL) { in load_module()
|
/dports/mail/spamassassin-devel/spamassassin-1ea352210/lib/Mail/SpamAssassin/ |
H A D | Conf.pm | 4301 $self->{geodb}->{module} = 'geoip2'; 4303 $self->{geodb}->{module} = 'geoip'; 4305 $self->{geodb}->{module} = 'dbfile'; 4307 $self->{geodb}->{module} = 'fast'; 4324 $self->{geodb}->{module} = 'geoip2'; 4326 $self->{geodb}->{module} = 'geoip'; 4328 $self->{geodb}->{module} = 'fast'; 4380 $self->{geodb}->{options} = {}; 4409 $self->{geodb}->{geodb_search_path} = []; 4428 $self->{geodb}->{options}->{country} = $value; [all …]
|
/dports/dns/gdnsd2/gdnsd-2.4.3/libgdmaps/ |
H A D | gdgeoip.c | 629 …geoip_db_t* geodb = geoip_db_open(pathname, map_name, dclists, dcmap, fips, v4o_flag, city_auto_mo… in gdgeoip_make_list() local 630 if(geodb) { in gdgeoip_make_list() 633 const unsigned start_depth = geodb->ipv6 ? 128 : 32; in gdgeoip_make_list() 634 const bool rec_rv = list_xlate_recurse(geodb, nl, ip6_zero, start_depth, 0); in gdgeoip_make_list() 635 const bool close_rv = geoip_db_close(geodb); in gdgeoip_make_list()
|
/dports/net/webalizer-geodb/ |
H A D | .license-catalog.mk | 5 _LICENSE_DISTFILES=webalizer-geodb-20210701.tgz
|
H A D | GEODB.README | 13 most current file will be named 'webalizer-geodb-latest.tgz').
|
/dports/security/zeronet/ZeroNet-0.7.1/plugins/Sidebar/ |
H A D | SidebarPlugin.py | 604 def getLoc(self, geodb, ip): argument 611 loc_data = geodb.get(ip) 662 geodb = maxminddb.open_database(db_path) 674 loc = self.getLoc(geodb, peer.ip) 696 my_loc = self.getLoc(geodb, ip)
|
/dports/mail/spamassassin-devel/spamassassin-1ea352210/ |
H A D | MANIFEST | 324 t/data/geodb/GeoIP2-City.mmdb 325 t/data/geodb/GeoIP2-Country.mmdb 326 t/data/geodb/GeoIP2-ISP.mmdb 327 t/data/geodb/GeoIPCity.dat 328 t/data/geodb/GeoIPISP.dat 329 t/data/geodb/create_GeoIPCity.README 330 t/data/geodb/create_GeoIPISP.README 331 t/data/geodb/create_ipcc.sh 332 t/data/geodb/ipcc.db
|
/dports/net/pwhois/pwhois-2.2.1.0/ |
H A D | pwhoisd.conf | 122 fastload.geodb=/var/db/pwhois/geo.pwdump
|
/dports/graphics/py-gdal/gdal-3.3.3/doc/source/drivers/vector/ |
H A D | mssqlspatial.rst | 195 …ogr2ogr -overwrite -f MSSQLSpatial "MSSQL:server=.\MSSQLSERVER2008;database=geodb;trusted_connecti… 203 … ogrinfo -al "MSSQL:server=.\MSSQLSERVER2008;database=geodb;tables=rivers;trusted_connection=yes" 211 … ogrinfo -al MSSQL:server=.\MSSQLSERVER2008;database=geodb;trusted_connection=no;UID=user;PWD=pwd
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/doc/source/drivers/vector/ |
H A D | mssqlspatial.rst | 195 …ogr2ogr -overwrite -f MSSQLSpatial "MSSQL:server=.\MSSQLSERVER2008;database=geodb;trusted_connecti… 203 … ogrinfo -al "MSSQL:server=.\MSSQLSERVER2008;database=geodb;tables=rivers;trusted_connection=yes" 211 … ogrinfo -al MSSQL:server=.\MSSQLSERVER2008;database=geodb;trusted_connection=no;UID=user;PWD=pwd
|