Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[solved] How to translate tinyipdata.dat ?

[复制链接]
vot 发表于 2011-8-9 21:27:11 | 显示全部楼层 |阅读模式
本帖最后由 vot 于 2011-11-21 16:58 编辑

The file /upload/data/ipdata/tinyipdata.dat contains the IP address ranges and corresponding countries.
The country names are written in Chinese.

I want to convert Countries from Chenese to English!
But I do not know how to decompile this file, and compile it again after translating...

Is there any utility to compile/decompile the  tinyipdata.dat file?

simon525 发表于 2011-8-10 17:33:02 | 显示全部楼层
I'm sorry I can't help you
回复

使用道具 举报

 楼主| vot 发表于 2011-11-21 16:34:00 | 显示全部楼层
I have solved the problem!

For now all the IP addresses correctly mapped to English country names.
Moreover, it is now possible to detect Open Proxy servers IP and block them (if required).

For solve the task, I have used a free of charge GeoIP database from maxmind.com.
The database is updated every month, so you can have up-to-date IP detecting solution at your site.

My IP to country mapping solution for Dzx2 is placed in open repository:
http://code.google.com/p/discuzx-en/source/detail?r=162

Want to discuss it?
Welcome to http://codersclub.org/discuzx/
回复

使用道具 举报

fse15454 发表于 2011-11-28 23:07:18 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

sdaw111 发表于 2011-11-29 07:43:54 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

haskey 发表于 2011-11-29 16:57:10 | 显示全部楼层
vot 发表于 2011-11-21 16:34
I have solved the problem!

For now all the IP addresses correctly mapped to English country names ...

Where could we see inc about  GeoIP ?
回复

使用道具 举报

 楼主| vot 发表于 2011-11-30 12:28:32 | 显示全部楼层
GeoIP solution is opensource.

Public description: http://www.maxmind.com/app/php

Realized in Dzx2 and discussed here: http://codersclub.org/discuzx/
回复

使用道具 举报

世上没有真情 发表于 2011-11-30 12:56:41 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

xexexe 发表于 2012-1-6 08:47:35 | 显示全部楼层
I'm sorry I can't help you
回复

使用道具 举报

xexexe 发表于 2012-1-6 08:47:57 | 显示全部楼层
I'm sorry I can't help you
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-12-23 04:25 , Processed in 0.026624 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表