php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60562 Geolocation database needs update
Submitted: 2011-12-19 11:29 UTC Modified: 2015-08-16 04:23 UTC
Votes:6
Avg. Score:3.8 ± 0.9
Reproduced:4 of 5 (80.0%)
Same Version:1 (25.0%)
Same OS:2 (50.0%)
From: php dot net dot domain dot bohwaz at miam dot kd2 dot org Assigned: cmb (profile)
Status: No Feedback Package: Website problem
PHP Version: Irrelevant OS: Not relevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php dot net dot domain dot bohwaz at miam dot kd2 dot org
New email:
PHP Version: OS:

 

 [2011-12-19 11:29 UTC] php dot net dot domain dot bohwaz at miam dot kd2 dot org
Description:
------------
I use OVH as provider, OVH is a French ISP since 2010 and RIPE gave them a new IP range 109.190.0.0/16 which was used by a Russian operator before.

They did the job few months ago in order to clean this range of IP and make it declared in France.

But it seems that your database is not up to date, even if the geo-localization of these IP is good: https://apps.db.ripe.net/search/query.html

So it seems that PHP.net geolocation database needs some update.

Test script:
---------------
$ curl -I php.net/substr

Expected result:
----------------
Being redirected to fr.php.net

Actual result:
--------------
HTTP/1.1 302 Found
Date: Mon, 19 Dec 2011 11:28:29 GMT
Server: Apache/1.3.41 (Unix) PHP/5.2.17
X-Powered-By: PHP/5.2.17
Content-language: en
Set-Cookie: COUNTRY=RUS%2C109.190.6.11; expires=Mon, 26-Dec-2011 11:28:30 GMT; path=/; domain=.php.net
X-PHP-Load: 4.52099609375, 3.67333984375, 3.275390625
Location: http://ru.php.net/substr
Connection: close
Content-Type: text/html; charset=utf-8


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-12-21 07:15 UTC] bjori@php.net
-Status: Open +Status: Suspended
 [2011-12-21 07:15 UTC] bjori@php.net
The ip2country database we are using seems to be updating just fine, so I guess 
this information simply isn't available in our providers 
database(www.directi.com).

There is very little we can do about that..
You can still "select your preferred mirror" on http://php.net/my.php to work 
around this

-Hannes
 [2011-12-21 13:19 UTC] php dot net dot domain dot bohwaz at miam dot kd2 dot org
OK I've contacted Directi to ask them to update their database, thanks.
 [2012-02-03 03:15 UTC] php dot net dot domain dot bohwaz at miam dot kd2 dot org
Directi is not answering my emails and it seems that their database is really out of date (last update 14 december 2010!), maybe that's time to use another database?
 [2015-08-02 14:58 UTC] cmb@php.net
-Status: Suspended +Status: Feedback -Assigned To: +Assigned To: cmb
 [2015-08-02 14:58 UTC] cmb@php.net
Is that still an issue after rolling out GeoDNS?
 [2015-08-06 17:27 UTC] bjori@php.net
We still use DirectI for redirecting in certain cases -- it however would be interesting to know what results you get from:

$ dig +short www.php.net

We might have more pull with EasyDNS then with DirectI to get these sort of issues fixed.
 [2015-08-16 04:23 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 22:01:28 2024 UTC