summaryrefslogtreecommitdiff
path: root/src/or/geoip.c
AgeCommit message (Collapse)Author
2009-05-27Improve documentation for the last fix of bug 932.Karsten Loesing
2009-05-27Fix bug 932 even more.Karsten Loesing
Ignore connections two hours after switching from bridge to relay or back.
2009-05-04Update copyright to 2009.Karsten Loesing
2009-02-16Possible fix for broken country settings in ExcludeExitNodes.Nick Mathewson
It turns out that we weren't updating the _ExcludeExitNodesUnion set's country numbers when we reloaded (or first loaded!) the IP-to-country file. Spotted by Lark. Bugfix on 0.2.1.6-alpha. svn:r18575
2009-01-14Refactor MIN_IPS_TO_NOTE_* macros in geoip.c: simplify code.Nick Mathewson
It was dumb to have an "announce the value if it's over 0" version of the code coexisting with an "announce the value if it's at least N" version. Retain the latter only, with N set to 1. Incidentally, this should fix a Coverity REVERSE_INULL warning. svn:r18100
2009-01-04Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson
The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
2008-12-27partial move to letting bridge descriptor fetches use our new (well,Roger Dingledine
new from their perspective) directory download schedule abstraction. not done yet, but i'd better get this out of my sandbox before nick does another sweeping change. :) svn:r17798
2008-12-25some fixes i found in my sandboxRoger Dingledine
svn:r17771
2008-12-22Fix most DOCDOCs remaining and/or added by redox.Nick Mathewson
svn:r17734
2008-12-22Add DOCDOC comments for all undocumented functions. Add missing *s to other ↵Nick Mathewson
comments so that they will get recognized as doxygen. svn:r17729
2008-12-18Remove fixed xxx020s; downgrade unfixed ones.Nick Mathewson
(The unfixed ones are being downgraded to regular XXXs mainly on the rationale that they don't seem to be exploding Tor, and they were apparently not showstoppers for 0.2.0.x-final.) svn:r17682
2008-12-17Resolve many DOCDOCs.Nick Mathewson
svn:r17662
2008-09-25Widen the conditions under which we whine about not having a geoip file to ↵Nick Mathewson
include "a country code was configured in a node list." svn:r16968
2008-09-25Add country-code support to configured node lists to implement the ↵Nick Mathewson
ever-popular "no exits in Monaco" feature (ExcludeExitNodes {MC}). Also allow country codes and IP ranges in ExitNodes. (EntryNodes needs more work.) Based on code by Robert Hogan. Needs more testing. svn:r16966
2008-09-04Fix mingw build with --enable-gcc-warnings set.Nick Mathewson
svn:r16759
2008-08-29Double oops: revert accidentally committed local geoipc.c debugging hack.Nick Mathewson
svn:r16687
2008-08-29Oops. Make warn_too_many_conns() actually work. Nick Mathewson
svn:r16686
2008-06-18implement more fine-tuning options for stats codeNick Mathewson
svn:r15345
2008-06-10Fix last geoip bugs.Nick Mathewson
svn:r15106
2008-06-10a couple more geoip bugfixesNick Mathewson
svn:r15105
2008-06-10 r16139@tombo: nickm | 2008-06-10 15:25:23 -0400Nick Mathewson
Small formatting fixes for geoip-stats file. svn:r15104
2008-06-10 r16137@tombo: nickm | 2008-06-10 15:10:55 -0400Nick Mathewson
sign error svn:r15103
2008-06-10 r16133@tombo: nickm | 2008-06-10 15:06:43 -0400Nick Mathewson
Pointers do not make good ints. svn:r15102
2008-06-10 r16129@tombo: nickm | 2008-06-10 14:28:06 -0400Nick Mathewson
More geoip tweaks. Include in the file a rough estimator of our total share. svn:r15099
2008-06-10 r16127@tombo: nickm | 2008-06-10 14:03:01 -0400Nick Mathewson
Improved code for counting clients by country: support recording by number of directory status requests in addition to number of IPs seen. svn:r15097
2008-06-04forward-port r14934Roger Dingledine
svn:r14936
2008-06-04forward-port r14930Roger Dingledine
svn:r14931
2008-05-29New code to implement proposal for local geoip stats. Only enabled with ↵Nick Mathewson
--enable-geoip-stats passed to configure. svn:r14802
2008-05-28document the handle-comments-in-geoip fileRoger Dingledine
svn:r14785
2008-05-28Fix some warnings.Nick Mathewson
svn:r14781
2008-05-28Several geoip changes/fixes as requested.Nick Mathewson
svn:r14780
2008-04-16minor fixes that have been accumulatingRoger Dingledine
svn:r14378
2008-02-22 r14399@tombo: nickm | 2008-02-22 14:09:38 -0500Nick Mathewson
More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680
2008-02-21other cleanups that have been sitting in my sandboxRoger Dingledine
svn:r13649
2008-02-12 r18051@catbus: nickm | 2008-02-12 15:20:43 -0500Nick Mathewson
Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
2008-02-05 r17914@catbus: nickm | 2008-02-05 16:12:16 -0500Nick Mathewson
Remove or downgrade some XXX020 items. svn:r13388
2008-01-10 r17552@catbus: nickm | 2008-01-10 12:13:43 -0500Nick Mathewson
Make bridge geoip data get rounded up, not down. svn:r13092
2007-12-24tweaksRoger Dingledine
svn:r12959
2007-12-18 r17239@catbus: nickm | 2007-12-18 16:57:02 -0500Nick Mathewson
Sort GeoIP results in descending order of IP counts. svn:r12863
2007-12-18 r17231@catbus: nickm | 2007-12-18 16:21:55 -0500Nick Mathewson
Document and clean-up geoip code; give it some unit tests. svn:r12856
2007-12-17 r15532@tombo: nickm | 2007-12-17 17:41:05 -0500Nick Mathewson
clean up whitesapce and debug a little on geoip stuff. svn:r12847
2007-12-17 r15531@tombo: nickm | 2007-12-17 17:19:24 -0500Nick Mathewson
Support raw IP-to-country as well as postprocessed format. Include GEOIP summary in extrainfo of bridges. svn:r12846
2007-12-17 r15530@tombo: nickm | 2007-12-17 16:54:03 -0500Nick Mathewson
First wodge of geoip code so bridges can figure out which countries are blocking them. svn:r12845