]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
18 years ago r15787@tombo: nickm | 2008-01-02 01:59:07 -0500
Nick Mathewson [Wed, 2 Jan 2008 06:59:15 +0000 (06:59 +0000)] 
 r15787@tombo:  nickm | 2008-01-02 01:59:07 -0500
 Allow config values in quotes to contain special characters, with full C escape syntax.  With tests.  Addresses bug 557.

svn:r13021

18 years ago r15786@tombo: nickm | 2008-01-02 01:11:51 -0500
Nick Mathewson [Wed, 2 Jan 2008 06:59:12 +0000 (06:59 +0000)] 
 r15786@tombo:  nickm | 2008-01-02 01:11:51 -0500
 Push the strdups used for parsing configuration lines into parse_line_from_string().  This will make it easier to parse more complex value formats, which in turn will help fix bug 557

svn:r13020

18 years ago r15784@tombo: nickm | 2008-01-02 00:38:06 -0500
Nick Mathewson [Wed, 2 Jan 2008 05:38:53 +0000 (05:38 +0000)] 
 r15784@tombo:  nickm | 2008-01-02 00:38:06 -0500
 Fix bug 575: protect the list of logs with a mutex.  I couldn't find any appreciable change in logging performance on osx, but ymmv. You can undef USE_LOG_MUTEX to see if stuff gets faster for you.

svn:r13019

18 years ago r15782@tombo: nickm | 2008-01-01 23:57:43 -0500
Nick Mathewson [Wed, 2 Jan 2008 04:57:48 +0000 (04:57 +0000)] 
 r15782@tombo:  nickm | 2008-01-01 23:57:43 -0500
 Bugfix for bug 569: do not try to download nonexistant certificates with signing key 000000000000000.

svn:r13018

18 years ago r15779@tombo: nickm | 2008-01-01 23:43:24 -0500
Nick Mathewson [Wed, 2 Jan 2008 04:43:44 +0000 (04:43 +0000)] 
 r15779@tombo:  nickm | 2008-01-01 23:43:24 -0500
 Use reference-counting to avoid allocating a zillion little addr_policy_t objects. (This is an old patch that had been sitting on my hard drive for a while.)

svn:r13017

18 years agoupdate the license for 2008, complete a todo.
Andrew Lewman [Tue, 1 Jan 2008 04:27:13 +0000 (04:27 +0000)] 
update the license for 2008, complete a todo.

svn:r13014

18 years ago r15768@tombo: nickm | 2007-12-31 16:12:09 -0500
Nick Mathewson [Mon, 31 Dec 2007 21:12:16 +0000 (21:12 +0000)] 
 r15768@tombo:  nickm | 2007-12-31 16:12:09 -0500
 Patch from Tup: make NS events work again.

svn:r13009

18 years ago r15767@tombo: nickm | 2007-12-31 16:06:27 -0500
Nick Mathewson [Mon, 31 Dec 2007 21:12:14 +0000 (21:12 +0000)] 
 r15767@tombo:  nickm | 2007-12-31 16:06:27 -0500
 Note an unfreed cert

svn:r13008

18 years ago r15750@tombo: nickm | 2007-12-29 19:12:51 -0500
Nick Mathewson [Sun, 30 Dec 2007 00:13:07 +0000 (00:13 +0000)] 
 r15750@tombo:  nickm | 2007-12-29 19:12:51 -0500
 Make HTTP-processing code in buffers.c faster: do not pull up 50K of text into the first chunk if the headers end earlier than that.

svn:r13006

18 years ago r17433@catbus: nickm | 2007-12-29 12:35:57 -0500
Nick Mathewson [Sat, 29 Dec 2007 17:36:03 +0000 (17:36 +0000)] 
 r17433@catbus:  nickm | 2007-12-29 12:35:57 -0500
 Incomplete code to avoid doing needless pull-ups on HTTP.  Also, use memstr instead of strstr to find the content-length header.

svn:r13005

18 years ago r15745@tombo: nickm | 2007-12-29 00:15:17 -0500
Nick Mathewson [Sat, 29 Dec 2007 05:16:30 +0000 (05:16 +0000)] 
 r15745@tombo:  nickm | 2007-12-29 00:15:17 -0500
 Try even harder not to allocate chunks bigger than MAX_CHUNK_ALLOC.

svn:r13003

18 years ago r17426@catbus: nickm | 2007-12-28 21:12:29 -0500
Nick Mathewson [Sat, 29 Dec 2007 02:33:42 +0000 (02:33 +0000)] 
 r17426@catbus:  nickm | 2007-12-28 21:12:29 -0500
 Remove need for buf_pullup in fetch_line_from_buf().

svn:r13002

18 years ago r17423@catbus: nickm | 2007-12-28 01:54:42 -0500
Nick Mathewson [Fri, 28 Dec 2007 06:54:46 +0000 (06:54 +0000)] 
 r17423@catbus:  nickm | 2007-12-28 01:54:42 -0500
 Fix compilation with dmalloc

svn:r12998

18 years ago r17410@catbus: nickm | 2007-12-27 09:20:27 -0500
Nick Mathewson [Thu, 27 Dec 2007 14:20:30 +0000 (14:20 +0000)] 
 r17410@catbus:  nickm | 2007-12-27 09:20:27 -0500
 Exciting new entries in buf_dump_freelist_sizes() to make sure our freelist sizes are reasonable.

svn:r12996

18 years ago r17407@catbus: nickm | 2007-12-27 00:18:31 -0500
Nick Mathewson [Thu, 27 Dec 2007 05:18:36 +0000 (05:18 +0000)] 
 r17407@catbus:  nickm | 2007-12-27 00:18:31 -0500
 Fix windows compile error

svn:r12995

18 years ago r17405@catbus: nickm | 2007-12-26 22:27:37 -0500
Nick Mathewson [Thu, 27 Dec 2007 03:27:48 +0000 (03:27 +0000)] 
 r17405@catbus:  nickm | 2007-12-26 22:27:37 -0500
 And clean up an assertion failure.

svn:r12993

18 years ago r17403@catbus: nickm | 2007-12-26 22:23:50 -0500
Nick Mathewson [Thu, 27 Dec 2007 03:23:57 +0000 (03:23 +0000)] 
 r17403@catbus:  nickm | 2007-12-26 22:23:50 -0500
 Apparently loops work better when you actually increment/decrement the loop variable.  Who knew?

svn:r12992

18 years ago r15723@tombo: nickm | 2007-12-26 19:25:51 -0500
Nick Mathewson [Thu, 27 Dec 2007 00:25:54 +0000 (00:25 +0000)] 
 r15723@tombo:  nickm | 2007-12-26 19:25:51 -0500
 Actually trim freelists.

svn:r12991

18 years ago r15721@tombo: nickm | 2007-12-26 17:07:10 -0500
Nick Mathewson [Wed, 26 Dec 2007 22:07:14 +0000 (22:07 +0000)] 
 r15721@tombo:  nickm | 2007-12-26 17:07:10 -0500
 Fix a nasty infinite loop in flush_buf[_tls].

svn:r12990

18 years ago r15719@tombo: nickm | 2007-12-26 14:02:12 -0500
Nick Mathewson [Wed, 26 Dec 2007 19:02:15 +0000 (19:02 +0000)] 
 r15719@tombo:  nickm | 2007-12-26 14:02:12 -0500
 More tweaks on 0-byte TLS writes.

svn:r12989

18 years ago r15717@tombo: nickm | 2007-12-26 13:55:53 -0500
Nick Mathewson [Wed, 26 Dec 2007 18:55:56 +0000 (18:55 +0000)] 
 r15717@tombo:  nickm | 2007-12-26 13:55:53 -0500
 Oops.  flush_buf_tls can request more than the requested number of bytes.  When that happens, do not let the size_t sz wrap around.

svn:r12988

18 years ago r15715@tombo: nickm | 2007-12-26 13:09:27 -0500
Nick Mathewson [Wed, 26 Dec 2007 18:09:36 +0000 (18:09 +0000)] 
 r15715@tombo:  nickm | 2007-12-26 13:09:27 -0500
 Peacetime managed to run overnight in paranoia mode.  Disabling paranoia, so that buffers.c can be a little speedy again.

svn:r12987

18 years agobump torbutton version
Andrew Lewman [Wed, 26 Dec 2007 02:18:55 +0000 (02:18 +0000)] 
bump torbutton version

svn:r12985

18 years ago r15710@tombo: nickm | 2007-12-25 19:36:03 -0500
Nick Mathewson [Wed, 26 Dec 2007 00:36:05 +0000 (00:36 +0000)] 
 r15710@tombo:  nickm | 2007-12-25 19:36:03 -0500
 Fix in flush_buf_tls: it is okay to flush an empty buffer, since we may have a partial TLS record pending.

svn:r12984

18 years ago r15693@tombo: nickm | 2007-12-25 19:11:29 -0500
Nick Mathewson [Wed, 26 Dec 2007 00:12:08 +0000 (00:12 +0000)] 
 r15693@tombo:  nickm | 2007-12-25 19:11:29 -0500
 Here, have some terribly clever new buffer code.  It uses a mbuf-like strategy rather than a ring buffer strategy, so it should require far far less extra memory to hold any given amount of data.  Also, it avoids access patterns like x=malloc(1024);x=realloc(x,1048576);x=realloc(x,1024);append_to_freelist(x) that might have been contributing to memory fragmentation.  I've  tested it out a little on peacetime, and it seems to work so far.  If you want to benchmark it for speed, make sure to remove the #define PARANOIA; #define NOINLINE macros at the head of the module.

svn:r12983

18 years ago r15692@tombo: nickm | 2007-12-25 18:15:50 -0500
Nick Mathewson [Wed, 26 Dec 2007 00:12:05 +0000 (00:12 +0000)] 
 r15692@tombo:  nickm | 2007-12-25 18:15:50 -0500
 Bump version to 0.2.0.15-alpha-dev

svn:r12982

18 years ago r15691@tombo: nickm | 2007-12-25 18:13:54 -0500
Nick Mathewson [Wed, 26 Dec 2007 00:12:01 +0000 (00:12 +0000)] 
 r15691@tombo:  nickm | 2007-12-25 18:13:54 -0500
 New, slightly esoteric function, tor_malloc_roundup().  While tor_malloc(x) allocates x bytes, tor_malloc_roundup(&x) allocates the same size of chunk it would use to store x bytes, and sets x to the usable size of that chunk.

svn:r12981

18 years agoFix a typo. Thanks sjmurdoch.
Andrew Lewman [Tue, 25 Dec 2007 19:02:12 +0000 (19:02 +0000)] 
Fix a typo. Thanks sjmurdoch.

svn:r12978

18 years agoproposal 121: replaced misleading term "authentication" by "authorization", added...
Karsten Loesing [Tue, 25 Dec 2007 11:34:29 +0000 (11:34 +0000)] 
proposal 121: replaced misleading term "authentication" by "authorization", added some clarifications (comments by Sven Kaffille)

svn:r12967

18 years agoNew upstream version
Peter Palfrader [Tue, 25 Dec 2007 08:39:53 +0000 (08:39 +0000)] 
New upstream version

svn:r12965

18 years agobump to 0.2.0.15-alpha tor-0.2.0.15-alpha
Roger Dingledine [Tue, 25 Dec 2007 05:45:36 +0000 (05:45 +0000)] 
bump to 0.2.0.15-alpha

svn:r12962

18 years agoThe bridge GeoIP stats were counting other relays, for example
Roger Dingledine [Tue, 25 Dec 2007 00:07:13 +0000 (00:07 +0000)] 
The bridge GeoIP stats were counting other relays, for example
self-reachability and authority-reachability tests.

svn:r12960

18 years agotweaks
Roger Dingledine [Mon, 24 Dec 2007 23:51:22 +0000 (23:51 +0000)] 
tweaks

svn:r12959

18 years agominor patches from Christian Brueffer
Roger Dingledine [Mon, 24 Dec 2007 22:05:05 +0000 (22:05 +0000)] 
minor patches from Christian Brueffer

svn:r12958

18 years ago0.2.0.15-alpha is coming out tonight. get yer bug reports in now!
Roger Dingledine [Mon, 24 Dec 2007 20:10:43 +0000 (20:10 +0000)] 
0.2.0.15-alpha is coming out tonight. get yer bug reports in now!

svn:r12957

18 years agocorrect the patch from cjacker huang for iphone compiling
Roger Dingledine [Mon, 24 Dec 2007 11:37:16 +0000 (11:37 +0000)] 
correct the patch from cjacker huang for iphone compiling

svn:r12953

18 years agoFix several remotely triggerable asserts based on DirPort requests
Roger Dingledine [Mon, 24 Dec 2007 11:25:45 +0000 (11:25 +0000)] 
Fix several remotely triggerable asserts based on DirPort requests
for a v2 or v3 networkstatus object before we were prepared. This
was particularly bad for 0.2.0.13 and later bridge relays, who
would never have a v2 networkstatus and would thus always crash
when used. Bugfixes on 0.2.0.x.

Estimate the v3 networkstatus size more accurately, rather than
estimating it at zero bytes and giving it artificially high priority
compared to other directory requests. Bugfix on 0.2.0.x.

svn:r12952

18 years agosome geoip related todo items
Roger Dingledine [Mon, 24 Dec 2007 11:18:05 +0000 (11:18 +0000)] 
some geoip related todo items

svn:r12951

18 years agobugfix on r10612:
Roger Dingledine [Mon, 24 Dec 2007 10:31:39 +0000 (10:31 +0000)] 
bugfix on r10612:
When we load a bridge descriptor from the cache,
and it was previously unreachable, mark it as retriable so we won't
just ignore it. Also, try fetching a new copy immediately.

svn:r12950

18 years ago r15653@tombo: nickm | 2007-12-23 14:15:12 -0500
Nick Mathewson [Sun, 23 Dec 2007 19:15:22 +0000 (19:15 +0000)] 
 r15653@tombo:  nickm | 2007-12-23 14:15:12 -0500
 Refactor circuit_launch* functions to take a bitfield of flags rather than 4 separate nonconsecutive flags arguments.  Also, note a possible but in circuit_find_to_cannibalize, which seems to be ignoring its purpose argument.

svn:r12948

18 years ago r15648@tombo: nickm | 2007-12-23 13:27:30 -0500
Nick Mathewson [Sun, 23 Dec 2007 18:27:47 +0000 (18:27 +0000)] 
 r15648@tombo:  nickm | 2007-12-23 13:27:30 -0500
 Support building for iPhone; patch from cjacker huang.

svn:r12946

18 years ago r15646@tombo: nickm | 2007-12-23 13:17:33 -0500
Nick Mathewson [Sun, 23 Dec 2007 18:20:22 +0000 (18:20 +0000)] 
 r15646@tombo:  nickm | 2007-12-23 13:17:33 -0500
 Handle cross-compilation more sanely: avoid most uses of the (never-defined!) CROSS_COMPILE variable; in the one place where we cannot help it, use the correct cross_compiling.

svn:r12945

18 years ago r15644@tombo: nickm | 2007-12-23 12:56:38 -0500
Nick Mathewson [Sun, 23 Dec 2007 17:57:07 +0000 (17:57 +0000)] 
 r15644@tombo:  nickm | 2007-12-23 12:56:38 -0500
 Bump to 0.2.0.14-alpha-dev

svn:r12944

18 years ago* New upstream version.
Peter Palfrader [Sun, 23 Dec 2007 14:04:38 +0000 (14:04 +0000)] 
* New upstream version.
* Work around fig2dev failing to build the images on sparc like we do on s390.

svn:r12942

18 years agoRemove 13_r12907-fix-unit-tests.dpatch (Fix unit tests from HEAD) again - it's
Peter Palfrader [Sun, 23 Dec 2007 09:46:38 +0000 (09:46 +0000)] 
Remove 13_r12907-fix-unit-tests.dpatch (Fix unit tests from HEAD) again - it's
included upstream.

svn:r12941

18 years agook, going to release now tor-0.2.0.14-alpha
Roger Dingledine [Sun, 23 Dec 2007 06:38:00 +0000 (06:38 +0000)] 
ok, going to release now

svn:r12938

18 years agoadd a 'bridge relay' config section to the sample torrc
Roger Dingledine [Sun, 23 Dec 2007 05:08:46 +0000 (05:08 +0000)] 
add a 'bridge relay' config section to the sample torrc

svn:r12937

18 years agofix some irix compile complaints; make "kbytes" work as a memory unit
Roger Dingledine [Sun, 23 Dec 2007 04:22:55 +0000 (04:22 +0000)] 
fix some irix compile complaints; make "kbytes" work as a memory unit

svn:r12936

18 years agobump to 0.2.0.14-alpha
Roger Dingledine [Sun, 23 Dec 2007 01:31:39 +0000 (01:31 +0000)] 
bump to 0.2.0.14-alpha

svn:r12935

18 years agominor other things in my sandbox
Roger Dingledine [Sun, 23 Dec 2007 01:28:25 +0000 (01:28 +0000)] 
minor other things in my sandbox

svn:r12934

18 years agoIf we receive a general-purpose descriptor and then receive an
Roger Dingledine [Sun, 23 Dec 2007 01:18:14 +0000 (01:18 +0000)] 
If we receive a general-purpose descriptor and then receive an
identical bridge-purpose descriptor soon after, don't discard
the next one as a duplicate.

svn:r12933

18 years ago r17340@catbus: nickm | 2007-12-22 12:30:07 -0500
Nick Mathewson [Sat, 22 Dec 2007 17:30:12 +0000 (17:30 +0000)] 
 r17340@catbus:  nickm | 2007-12-22 12:30:07 -0500
 Try to resolve bug 553 by adding a sys/time.h include to the autoconf test for rlim_t.

svn:r12931

18 years agoand clean up after myself
Roger Dingledine [Sat, 22 Dec 2007 11:54:33 +0000 (11:54 +0000)] 
and clean up after myself

svn:r12930

18 years agoIf bridge authorities set BridgePassword, they will serve a
Roger Dingledine [Sat, 22 Dec 2007 11:48:17 +0000 (11:48 +0000)] 
If bridge authorities set BridgePassword, they will serve a
snapshot of known bridge routerstatuses from their DirPort to
anybody who knows that password. Unset by default.

svn:r12929

18 years agoFix a crash on startup if you install Tor 0.2.0.13-alpha fresh
Roger Dingledine [Sat, 22 Dec 2007 11:42:12 +0000 (11:42 +0000)] 
Fix a crash on startup if you install Tor 0.2.0.13-alpha fresh
without a datadirectory from a previous Tor install. Reported
by Zax.

svn:r12928

18 years agostart working on serving bridge status from the dirport, for
Roger Dingledine [Sat, 22 Dec 2007 10:54:21 +0000 (10:54 +0000)] 
start working on serving bridge status from the dirport, for
bridge communities.

svn:r12927

18 years agoadd the blurb for 0.2.0.13-alpha
Roger Dingledine [Sat, 22 Dec 2007 09:20:11 +0000 (09:20 +0000)] 
add the blurb for 0.2.0.13-alpha

svn:r12926

18 years agoIf the user sets RelayBandwidthRate but doesn't set
Roger Dingledine [Sat, 22 Dec 2007 09:13:24 +0000 (09:13 +0000)] 
If the user sets RelayBandwidthRate but doesn't set
RelayBandwidthBurst, then make them equal rather than erroring out.

svn:r12925

18 years agotodo:
Roger Dingledine [Sat, 22 Dec 2007 09:09:43 +0000 (09:09 +0000)] 
todo:
if we notice a cached-status directory and we're not serving v2 dir
info and it's old enough, delete it. same with cached-routers*.

svn:r12924

18 years agoIf BridgeRelay is set to 1, then the default for
Roger Dingledine [Sat, 22 Dec 2007 09:04:46 +0000 (09:04 +0000)] 
If BridgeRelay is set to 1, then the default for
PublishServerDescriptor is now "bridge" rather than "v2,v3".

svn:r12923

18 years agoMake PublishServerDescriptor default to 1, so the default doesn't
Roger Dingledine [Sat, 22 Dec 2007 08:27:42 +0000 (08:27 +0000)] 
Make PublishServerDescriptor default to 1, so the default doesn't
have to change as we invent new directory protocol versions.

svn:r12922

18 years agoFix a crash when we load a bridge descriptor from disk but we don't
Roger Dingledine [Sat, 22 Dec 2007 06:11:49 +0000 (06:11 +0000)] 
Fix a crash when we load a bridge descriptor from disk but we don't
currently have a Bridge line for it in our torrc. Bugfix on
0.2.0.12-alpha.

svn:r12921

18 years agoa todo item that nick might like sometime
Roger Dingledine [Sat, 22 Dec 2007 06:11:29 +0000 (06:11 +0000)] 
a todo item that nick might like sometime

svn:r12920

18 years agoMake "GETINFO/desc-annotations/id/<OR digest>" actually work.
Roger Dingledine [Sat, 22 Dec 2007 05:27:30 +0000 (05:27 +0000)] 
Make "GETINFO/desc-annotations/id/<OR digest>" actually work.

svn:r12919

18 years agoadd a little note about matt's 0.2.0.12-alpha crash
Roger Dingledine [Sat, 22 Dec 2007 05:26:36 +0000 (05:26 +0000)] 
add a little note about matt's 0.2.0.12-alpha crash

svn:r12918

18 years agoFix a crash when accessing hidden services: it would work the first
Roger Dingledine [Fri, 21 Dec 2007 23:28:23 +0000 (23:28 +0000)] 
Fix a crash when accessing hidden services: it would work the first
time you use a given introduction point for your service, but
on subsequent requests we'd be using garbage memory. Fixed by
Karsten Loesing. Bugfix on 0.2.0.12-alpha.

svn:r12913

18 years agotrivial whitespace fix
Roger Dingledine [Fri, 21 Dec 2007 23:23:53 +0000 (23:23 +0000)] 
trivial whitespace fix

svn:r12912

18 years agoFix a crash when we fetch a descriptor that turns out to be
Roger Dingledine [Fri, 21 Dec 2007 22:58:22 +0000 (22:58 +0000)] 
Fix a crash when we fetch a descriptor that turns out to be
unexpected (it used to be in our networkstatus when we started
fetching it, but it isn't in our current networkstatus), and we
aren't using bridges. Bugfix on 0.2.0.x.

svn:r12911

18 years ago* New upstream version.
Peter Palfrader [Fri, 21 Dec 2007 12:23:23 +0000 (12:23 +0000)] 
* New upstream version.
* Fix unit tests from HEAD (13_r12907-fix-unit-tests.dpatch).

svn:r12909

18 years agotodo: write a tor-gencert man page
Roger Dingledine [Fri, 21 Dec 2007 10:52:47 +0000 (10:52 +0000)] 
todo: write a tor-gencert man page

svn:r12908

18 years agothe better fix for the unit tests
Roger Dingledine [Fri, 21 Dec 2007 10:44:10 +0000 (10:44 +0000)] 
the better fix for the unit tests

svn:r12907

18 years agobump to 0.2.0.13-alpha-dev
Roger Dingledine [Fri, 21 Dec 2007 10:42:14 +0000 (10:42 +0000)] 
bump to 0.2.0.13-alpha-dev

svn:r12906

18 years agoMake the unit tests build again.
Roger Dingledine [Fri, 21 Dec 2007 10:40:40 +0000 (10:40 +0000)] 
Make the unit tests build again.

svn:r12905

18 years agobump to 0.2.0.13-alpha tor-0.2.0.13-alpha
Roger Dingledine [Fri, 21 Dec 2007 09:35:29 +0000 (09:35 +0000)] 
bump to 0.2.0.13-alpha

svn:r12902

18 years agotiny tweaks on r12900
Roger Dingledine [Fri, 21 Dec 2007 09:33:11 +0000 (09:33 +0000)] 
tiny tweaks on r12900

svn:r12901

18 years agorevert r12841 and r12842, and commit karsten's "patch 13"
Roger Dingledine [Fri, 21 Dec 2007 09:28:22 +0000 (09:28 +0000)] 
revert r12841 and r12842, and commit karsten's "patch 13"

svn:r12900

18 years agoclean up changelog and todo file
Roger Dingledine [Fri, 21 Dec 2007 07:29:55 +0000 (07:29 +0000)] 
clean up changelog and todo file

svn:r12899

18 years agoDirectory authorities should only automatically download Extra Info
Roger Dingledine [Fri, 21 Dec 2007 06:33:02 +0000 (06:33 +0000)] 
Directory authorities should only automatically download Extra Info
documents if they're v1, v2, or v3 authorities.

svn:r12898

18 years agosome more refactoring
Roger Dingledine [Fri, 21 Dec 2007 06:28:59 +0000 (06:28 +0000)] 
some more refactoring

svn:r12897

18 years agonew config option FetchDirInfoEarly for tup/ioerror and the tordnsel
Roger Dingledine [Fri, 21 Dec 2007 06:08:00 +0000 (06:08 +0000)] 
new config option FetchDirInfoEarly for tup/ioerror and the tordnsel

svn:r12896

18 years agoOnly Tors that want to mirror the v2 directory info should
Roger Dingledine [Thu, 20 Dec 2007 06:47:59 +0000 (06:47 +0000)] 
Only Tors that want to mirror the v2 directory info should
create the "cached-status" directory in their datadir. All Tors
used to create it. Bugfix on 0.1.2.x.

Bridge relays with DirPort set to 0 no longer cache v1 or v2
directory information; there's no point. Bugfix on trunk.

svn:r12887

18 years agomake r12871 do what i meant
Roger Dingledine [Thu, 20 Dec 2007 06:36:44 +0000 (06:36 +0000)] 
make r12871 do what i meant

svn:r12886

18 years ago r17274@catbus: nickm | 2007-12-20 01:14:09 -0500
Nick Mathewson [Thu, 20 Dec 2007 06:15:09 +0000 (06:15 +0000)] 
 r17274@catbus:  nickm | 2007-12-20 01:14:09 -0500
 Don't try to create the datadir when we are only verifying the configuration or hashing a password. Resolves bug 540.

svn:r12884

18 years ago r17270@catbus: nickm | 2007-12-20 00:04:21 -0500
Nick Mathewson [Thu, 20 Dec 2007 05:06:02 +0000 (05:06 +0000)] 
 r17270@catbus:  nickm | 2007-12-20 00:04:21 -0500
 When we decide to send a 503 in response to a request for server descriptors, disable spooling so that we do not then send the descriptors anyway.  Fixes bug 539.

svn:r12882

18 years ago r17268@catbus: nickm | 2007-12-19 23:53:53 -0500
Nick Mathewson [Thu, 20 Dec 2007 04:54:06 +0000 (04:54 +0000)] 
 r17268@catbus:  nickm | 2007-12-19 23:53:53 -0500
 Initialize [un]named_server_map to empty strmaps when router_reload_consensus_networkstatus fails completely.  Resolves bug 538.

svn:r12881

18 years agoand the obligatory 'make it compile' follow-up
Roger Dingledine [Wed, 19 Dec 2007 05:04:05 +0000 (05:04 +0000)] 
and the obligatory 'make it compile' follow-up

svn:r12872

18 years agoMake getinfo ns/purpose/bridge actually work
Roger Dingledine [Wed, 19 Dec 2007 04:58:58 +0000 (04:58 +0000)] 
Make getinfo ns/purpose/bridge actually work
Also, dump our bridge router status entries to disk every 30 minutes.

svn:r12871

18 years ago r15562@tombo: nickm | 2007-12-18 23:23:59 -0500
Nick Mathewson [Wed, 19 Dec 2007 04:24:05 +0000 (04:24 +0000)] 
 r15562@tombo:  nickm | 2007-12-18 23:23:59 -0500
 Remove the LearnAuthorityAddrFromCerts option; make it always-on.  One option down, ~160 options to go.

svn:r12870

18 years ago r15560@tombo: nickm | 2007-12-18 23:18:21 -0500
Nick Mathewson [Wed, 19 Dec 2007 04:18:28 +0000 (04:18 +0000)] 
 r15560@tombo:  nickm | 2007-12-18 23:18:21 -0500
 Add a bit of missing documentation.

svn:r12869

18 years ago r15558@tombo: nickm | 2007-12-18 22:55:23 -0500
Nick Mathewson [Wed, 19 Dec 2007 03:55:40 +0000 (03:55 +0000)] 
 r15558@tombo:  nickm | 2007-12-18 22:55:23 -0500
 Re-parse annotations in another place.  Good catch, arma.

svn:r12868

18 years agoWhen we were reading router descriptors from cache, we were ignoring
Roger Dingledine [Wed, 19 Dec 2007 03:11:02 +0000 (03:11 +0000)] 
When we were reading router descriptors from cache, we were ignoring
the annotations -- including reading in bridge-purpose descriptors
as general-purpose descriptors.

svn:r12867

18 years ago r17246@catbus: nickm | 2007-12-18 18:45:17 -0500
Nick Mathewson [Tue, 18 Dec 2007 23:45:24 +0000 (23:45 +0000)] 
 r17246@catbus:  nickm | 2007-12-18 18:45:17 -0500
 Fix some xxx020 items.

svn:r12864

18 years ago r17239@catbus: nickm | 2007-12-18 16:57:02 -0500
Nick Mathewson [Tue, 18 Dec 2007 23:45:19 +0000 (23:45 +0000)] 
 r17239@catbus:  nickm | 2007-12-18 16:57:02 -0500
 Sort GeoIP results in descending order of IP counts.

svn:r12863

18 years agoanswer getinfo ns/purpose/bridge queries
Roger Dingledine [Tue, 18 Dec 2007 22:39:15 +0000 (22:39 +0000)] 
answer getinfo ns/purpose/bridge queries

svn:r12860

18 years agoMake bridge authorities test reachability of bridges.
Roger Dingledine [Tue, 18 Dec 2007 21:37:58 +0000 (21:37 +0000)] 
Make bridge authorities test reachability of bridges.
Added two XXX020's that we need to think harder about.

svn:r12859

18 years ago r17233@catbus: nickm | 2007-12-18 16:26:55 -0500
Nick Mathewson [Tue, 18 Dec 2007 21:27:12 +0000 (21:27 +0000)] 
 r17233@catbus:  nickm | 2007-12-18 16:26:55 -0500
 Changelog entry for geoip.

svn:r12858

18 years ago r17232@catbus: nickm | 2007-12-18 16:22:10 -0500
Nick Mathewson [Tue, 18 Dec 2007 21:27:10 +0000 (21:27 +0000)] 
 r17232@catbus:  nickm | 2007-12-18 16:22:10 -0500
 Whitespace fix.

svn:r12857

18 years ago r17231@catbus: nickm | 2007-12-18 16:21:55 -0500
Nick Mathewson [Tue, 18 Dec 2007 21:27:08 +0000 (21:27 +0000)] 
 r17231@catbus:  nickm | 2007-12-18 16:21:55 -0500
 Document and clean-up geoip code; give it some unit tests.

svn:r12856

18 years ago r15532@tombo: nickm | 2007-12-17 17:41:05 -0500
Nick Mathewson [Mon, 17 Dec 2007 22:44:18 +0000 (22:44 +0000)] 
 r15532@tombo:  nickm | 2007-12-17 17:41:05 -0500
 clean up whitesapce and debug a little on geoip stuff.

svn:r12847

18 years ago r15531@tombo: nickm | 2007-12-17 17:19:24 -0500
Nick Mathewson [Mon, 17 Dec 2007 22:44:16 +0000 (22:44 +0000)] 
 r15531@tombo:  nickm | 2007-12-17 17:19:24 -0500
 Support raw IP-to-country as well as postprocessed format.  Include GEOIP summary in extrainfo of bridges.

svn:r12846