🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #74044

Re: Christmas presents

#74044
From: Marco Schmidt
Date: Tue, 20 Dec 2005 23:30
21 lines
1744 bytes
aioe:

>do you know an acceptably fast method to determine which ips resolve to
>'the west'?
>
>a whois query is too slow and the *.us clients are few

Use the free IP address to country mapping from Maxmind
<http://www.maxmind.com/app/geoip_country>. It has APIs for a number
of popular programming languages <http://www.maxmind.com/app/api>. You
download a database file of about 400 KB size, insert about 20 lines
of code in your authentication module and it should work. There are a
few smaller restrictions of the free service - AOL users will always
map to "US" even if they connect from elsewhere and you can't detect
proxies and satellite providers.

I've listed similar services at
<http://schmidt.devlib.org/data/geo-data.html>.

Regards,
Marco
Technical Details
Message-ID: <40rih2F1bs3coU1@news.dfncis.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
References: <pan.2005.12.20.08.43.11.172193@aioe.org> <1h5m73-509.ln1@ID-107770.user.individual.net> <pan.2005.12.20.22.33.15.438978@aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <40rih2F1bs3coU1@news.dfncis.de>
Subject: Re: Christmas presents
Date: Wed, 21 Dec 2005 00:30:27 +0100
From: Marco Schmidt <marcoschmidt@geocities.com>
References: <pan.2005.12.20.08.43.11.172193@aioe.org> <1h5m73-509.ln1@ID-107770.user.individual.net> <pan.2005.12.20.22.33.15.438978@aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
Newsgroups: alt.free.newsservers
Lines: 21
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.dfncis.de
 6VJMXRE1aOihspnWfb+DKAK89TFnAeE6LsYhfu0MCddQON62Hf9gtsnMc=