>Is it sufficient just to add a new GETINFO command?
> GETINFO ip-to-country/128.31.0.34
> 250+ip-to-country/128.31.0.34="US","USA","UNITED STATES"
Other commands that would be useful:
1. 'getinfo servers/[COUNTRYCODE]' giving a list of servers with that
countrycode
2. setconf ExcludeCountryCodes
3. setconf IncludeCountryCodes
But why not absorb the countrycode into the server descriptor and have it
assigned by the authorities?
This would:
- prevent possible partitioning attacks arising from different versions of the
geoip db floating around (if bootstrap versions are supplied).
- save bandwidth (the db would be shared by authorities only)
- save client/relay processing power
Something like:
@downloaded-at 2007-11-29 19:45:13
@source "86.59.21.38"
@geoip US Boston X-ordinate Y-ordinate
maybe?
Attachment:
signature.asc
Description: This is a digitally signed message part.