> -----Original Message-----
> From: devl-bounces at freenetproject.org [mailto:devl-
> bounces at freenetproject.org] On Behalf Of Matthew Toseland
> Sent: Thursday, February 03, 2011 1:26 PM
> To: Discussion of development issues
> Subject: Re: [freenet-dev] I was thinking of....
> 
> On Thursday 03 February 2011 16:05:17 alex wrote:
> > Matthew Toseland wrote:
> >
> > > On Thursday 03 February 2011 05:02:37 Ian Clarke wrote:
> > >> Sure, why not?  Except, don't use a remote web service to get it.
> > >> No need to advertise Freenet nodes :-)

Agreed.  

> > >
> > > Right. An address classifier that doesn't depend on any external
> > > fetches would be great. Eventually people might want to use it for
> > > jurisdiction-aware routing (as a paranoia feature), although I
> > > suspect the performance issues might be significant.
> >
> > I did this for another p2p app long ago. The geoip lib did this
> > easily, and you only needed to regularly update the offline database
> > (which could obviously be retrieved from some trusted USK).
> 
> Or just hardcode it.

I don't think that you can. Sometimes IP allocations change.  Just not very 
often.  Unless you where talking about hard coding a Freenet key.   However, I 
don't like hard coding stuff.  Normally makes things break later. =)

The IANA has a small xml file which is broken down by regional authority, which 
I think might be a good place to start. One advantage is that it is free and 
unencumbered, which means that we *should* be able to include it.  (I will 
check with them).  The downside seems to be that it doesn't go down to the 
country level (I'm still digging though it).

The other way I was thinking was to put a list up on Freenet and then having 
some kind of user initiated download. 

Reply via email to