]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
18 years ago r12586@catbus: nickm | 2007-04-30 15:43:05 -0400
Nick Mathewson [Mon, 30 Apr 2007 19:48:39 +0000 (19:48 +0000)] 
 r12586@catbus:  nickm | 2007-04-30 15:43:05 -0400
 More work for proposal 104: actually cache extrainfo documents to disk, and reload the cache properly.

svn:r10070

18 years ago r12585@catbus: nickm | 2007-04-30 14:38:37 -0400
Nick Mathewson [Mon, 30 Apr 2007 19:48:33 +0000 (19:48 +0000)] 
 r12585@catbus:  nickm | 2007-04-30 14:38:37 -0400
 (Needs review.) Allow directory authorities to accept multiple router descriptors and extra info documents in a single POST.  This will make implementing the client side of proposal 104 a lot simpler.

svn:r10069

18 years ago r12581@catbus: nickm | 2007-04-30 13:39:21 -0400
Nick Mathewson [Mon, 30 Apr 2007 17:46:19 +0000 (17:46 +0000)] 
 r12581@catbus:  nickm | 2007-04-30 13:39:21 -0400
 Minor cleanups on hidden service usage patch from Karsten: tidy documentation; make free_all idempotent (and safe to call even if we have not yet initialized rephist); and stop using "l" as a variable name (it is too easy to confuse with "1").

svn:r10068

18 years ago r12580@catbus: nickm | 2007-04-30 13:29:05 -0400
Nick Mathewson [Mon, 30 Apr 2007 17:46:13 +0000 (17:46 +0000)] 
 r12580@catbus:  nickm | 2007-04-30 13:29:05 -0400
 Initial version of patch from Karsten Loesing: Add an HSAuthorityRecordStats option to track statistics of overall hidden service usage without logging information that would be useful to an attacker.

svn:r10067

18 years ago r12579@catbus: nickm | 2007-04-30 13:26:53 -0400
Nick Mathewson [Mon, 30 Apr 2007 17:46:11 +0000 (17:46 +0000)] 
 r12579@catbus:  nickm | 2007-04-30 13:26:53 -0400
 Oops. Routerlist_check_bug_417 should work even if we are not on a server.

svn:r10066

18 years ago r12576@catbus: nickm | 2007-04-30 13:16:31 -0400
Nick Mathewson [Mon, 30 Apr 2007 17:16:40 +0000 (17:16 +0000)] 
 r12576@catbus:  nickm | 2007-04-30 13:16:31 -0400
 Changes to 103 based on or-dev mail from arma.

svn:r10065

18 years agoForward port 06_add_compile_time_defaults
Peter Palfrader [Mon, 30 Apr 2007 15:05:51 +0000 (15:05 +0000)] 
Forward port 06_add_compile_time_defaults

svn:r10064

18 years ago r12571@catbus: nickm | 2007-04-30 10:51:52 -0400
Nick Mathewson [Mon, 30 Apr 2007 14:52:07 +0000 (14:52 +0000)] 
 r12571@catbus:  nickm | 2007-04-30 10:51:52 -0400
 Check for more HAVE_* header defines when building eventdns.c

svn:r10063

18 years ago r12570@catbus: nickm | 2007-04-30 10:49:50 -0400
Nick Mathewson [Mon, 30 Apr 2007 14:52:05 +0000 (14:52 +0000)] 
 r12570@catbus:  nickm | 2007-04-30 10:49:50 -0400
 Add an extra lock to try to get unit tessts passing reliably again.

svn:r10062

18 years ago r12569@catbus: nickm | 2007-04-30 10:48:51 -0400
Nick Mathewson [Mon, 30 Apr 2007 14:52:02 +0000 (14:52 +0000)] 
 r12569@catbus:  nickm | 2007-04-30 10:48:51 -0400
 Do not use micro-revision.i on MSVC; it will only be useful to people who have make.

svn:r10061

18 years agoOops; the "not in the routerlist" value for routerinfo_t.routerlist_index is -1,...
Nick Mathewson [Mon, 30 Apr 2007 14:32:22 +0000 (14:32 +0000)] 
Oops; the "not in the routerlist" value for routerinfo_t.routerlist_index is -1, not 0.

svn:r10060

18 years ago r12567@catbus: nickm | 2007-04-30 10:26:35 -0400
Nick Mathewson [Mon, 30 Apr 2007 14:26:38 +0000 (14:26 +0000)] 
 r12567@catbus:  nickm | 2007-04-30 10:26:35 -0400
 Suggested by weasel: Add a fast function to check for the common failure mode for bug 417/404, and call it a lot.

svn:r10059

18 years ago r12565@catbus: nickm | 2007-04-30 10:09:07 -0400
Nick Mathewson [Mon, 30 Apr 2007 14:09:11 +0000 (14:09 +0000)] 
 r12565@catbus:  nickm | 2007-04-30 10:09:07 -0400
 Misc cleanup and bulletproofing on r10056.

svn:r10058

18 years ago r12559@catbus: nickm | 2007-04-30 09:17:54 -0400
Nick Mathewson [Mon, 30 Apr 2007 13:17:57 +0000 (13:17 +0000)] 
 r12559@catbus:  nickm | 2007-04-30 09:17:54 -0400
 Fix bug 421: Only set the revision number from SVK if we have a runnable svk _and_ a ~/.svk directory.

svn:r10057

18 years agoLet the controller specify HOP=%d as an argument to ATTACHSTREAM,
Roger Dingledine [Mon, 30 Apr 2007 11:10:45 +0000 (11:10 +0000)] 
Let the controller specify HOP=%d as an argument to ATTACHSTREAM,
so we can exit from the middle of the circuit.

svn:r10056

18 years agominor tweaks on proposals
Roger Dingledine [Mon, 30 Apr 2007 11:10:03 +0000 (11:10 +0000)] 
minor tweaks on proposals

svn:r10055

18 years agoAdd a new config option __DisablePredictedCircuits designed for
Roger Dingledine [Mon, 30 Apr 2007 09:18:48 +0000 (09:18 +0000)] 
Add a new config option __DisablePredictedCircuits designed for
use by the controller, when we don't want Tor to build any circuits
preemptively.

svn:r10054

18 years ago r12557@catbus: nickm | 2007-04-30 01:36:39 -0400
Nick Mathewson [Mon, 30 Apr 2007 05:36:41 +0000 (05:36 +0000)] 
 r12557@catbus:  nickm | 2007-04-30 01:36:39 -0400
 Oops; the rest of the last patch. If that one gets backported, this should too.

svn:r10053

18 years ago r12553@catbus: nickm | 2007-04-30 01:32:54 -0400
Nick Mathewson [Mon, 30 Apr 2007 05:32:57 +0000 (05:32 +0000)] 
 r12553@catbus:  nickm | 2007-04-30 01:32:54 -0400
 Backport candidate:  Add asserts to dirserv_remove_invalid, and fix a bug in dirserv_remove_invalid that could mess with pointers in a freed routerinfo right after it was freed.

svn:r10052

18 years agoschedule proposal 110 to start in the 0.2.0 timeframe. perhaps
Roger Dingledine [Mon, 30 Apr 2007 04:15:40 +0000 (04:15 +0000)] 
schedule proposal 110 to start in the 0.2.0 timeframe. perhaps
this will encourage nick to comment on it. :)

svn:r10051

18 years agominor cleanups
Roger Dingledine [Mon, 30 Apr 2007 04:00:06 +0000 (04:00 +0000)] 
minor cleanups

svn:r10050

18 years ago r12546@catbus: nickm | 2007-04-29 21:27:43 -0400
Nick Mathewson [Mon, 30 Apr 2007 01:27:47 +0000 (01:27 +0000)] 
 r12546@catbus:  nickm | 2007-04-29 21:27:43 -0400
 Correctly report win98se and win95osr2 versions.

svn:r10047

18 years ago r12544@catbus: nickm | 2007-04-29 21:08:58 -0400
Nick Mathewson [Mon, 30 Apr 2007 01:09:03 +0000 (01:09 +0000)] 
 r12544@catbus:  nickm | 2007-04-29 21:08:58 -0400
 Fix an assertion when we call tor_free_all before calling do_main_loop(). Discovered by weasel.

svn:r10046

18 years agoMerge branches/tor-0_1_2-patches/debian (from 9860 on) to trunk. This includes 0...
Peter Palfrader [Fri, 27 Apr 2007 13:28:07 +0000 (13:28 +0000)] 
Merge branches/tor-0_1_2-patches/debian (from 9860 on) to trunk.  This includes 0.1.2.13-1 and 0.1.2.13-2.

svn:r10039

18 years agoMake PreferTunneledDirConns and TunnelDirConns work even when
Roger Dingledine [Fri, 27 Apr 2007 10:26:09 +0000 (10:26 +0000)] 
Make PreferTunneledDirConns and TunnelDirConns work even when
we have no cached directory info. This means Tor clients can now
do all of their connections protected by TLS.

svn:r10035

18 years agosimplify connection_watch_events()
Roger Dingledine [Wed, 25 Apr 2007 07:20:04 +0000 (07:20 +0000)] 
simplify connection_watch_events()
hope this doesn't break it

svn:r10025

18 years agofix an assert error in r9995 (unlikely to happen, but still)
Roger Dingledine [Wed, 25 Apr 2007 07:04:53 +0000 (07:04 +0000)] 
fix an assert error in r9995 (unlikely to happen, but still)

svn:r10024

18 years agostop generating a 6-gig info-level log file after a day of running
Roger Dingledine [Wed, 25 Apr 2007 06:10:16 +0000 (06:10 +0000)] 
stop generating a 6-gig info-level log file after a day of running

svn:r10023

18 years agocleanups, and note a bug
Roger Dingledine [Wed, 25 Apr 2007 06:05:46 +0000 (06:05 +0000)] 
cleanups, and note a bug

svn:r10022

18 years agosome todo items that have been sitting in my sandbox
Roger Dingledine [Wed, 25 Apr 2007 05:59:30 +0000 (05:59 +0000)] 
some todo items that have been sitting in my sandbox

svn:r10021

18 years agoforward-port the 0.1.2.13 changelog and releasenotes
Roger Dingledine [Tue, 24 Apr 2007 18:29:57 +0000 (18:29 +0000)] 
forward-port the 0.1.2.13 changelog and releasenotes

svn:r10018

18 years agoFix paths for osx docs here too.
Andrew Lewman [Tue, 24 Apr 2007 01:26:13 +0000 (01:26 +0000)] 
Fix paths for osx docs here too.

svn:r10013

18 years ago r12784@Kushana: nickm | 2007-04-23 19:24:09 -0400
Nick Mathewson [Mon, 23 Apr 2007 23:24:53 +0000 (23:24 +0000)] 
 r12784@Kushana:  nickm | 2007-04-23 19:24:09 -0400
 Avoid another assert failure in the new buffer memory code.  (This time, it hit when freeing a 4k buffer with some data on it.)

svn:r10011

18 years ago r12782@Kushana: nickm | 2007-04-23 18:20:19 -0400
Nick Mathewson [Mon, 23 Apr 2007 22:20:45 +0000 (22:20 +0000)] 
 r12782@Kushana:  nickm | 2007-04-23 18:20:19 -0400
 Avoid a segfault when freeing a buffer with size 0.

svn:r10010

18 years ago r12499@catbus: nickm | 2007-04-23 10:42:23 -0400
Nick Mathewson [Mon, 23 Apr 2007 14:42:27 +0000 (14:42 +0000)] 
 r12499@catbus:  nickm | 2007-04-23 10:42:23 -0400
 Keep a freelist of unused 4k buffer chunks, rather than wasting 8k for every inactive connection_t.

svn:r10006

18 years agoInclude the kqueue update in this branch as well.
Andrew Lewman [Mon, 23 Apr 2007 04:10:52 +0000 (04:10 +0000)] 
Include the kqueue update in this branch as well.

svn:r10005

18 years ago r12496@catbus: nickm | 2007-04-22 23:04:05 -0400
Nick Mathewson [Mon, 23 Apr 2007 03:04:46 +0000 (03:04 +0000)] 
 r12496@catbus:  nickm | 2007-04-22 23:04:05 -0400
 When logging memory usage, break down memory used in buffers by buffer type.

svn:r10004

18 years ago r12492@catbus: nickm | 2007-04-22 20:24:02 -0400
Nick Mathewson [Mon, 23 Apr 2007 00:24:06 +0000 (00:24 +0000)] 
 r12492@catbus:  nickm | 2007-04-22 20:24:02 -0400
 Even more asserts to try to catch bug 404/417.

svn:r10003

18 years agopatch on 112-bring-back-pathlencoinweight.txt from mikeperry
Roger Dingledine [Sun, 22 Apr 2007 03:59:55 +0000 (03:59 +0000)] 
patch on 112-bring-back-pathlencoinweight.txt from mikeperry

svn:r10001

18 years ago r12489@catbus: nickm | 2007-04-21 13:48:39 -0400
Nick Mathewson [Sat, 21 Apr 2007 17:48:50 +0000 (17:48 +0000)] 
 r12489@catbus:  nickm | 2007-04-21 13:48:39 -0400
 The ten thousandth Tor commit: add two new proposals (one from Mike Perry about randomized path length, and one from me about simplifyin authority operation) and expand and/or refine serveral older ones.  Most notable  there are changes to 103 that will allow us to make authorities more resistant to key compromise.

svn:r10000

18 years ago r12488@catbus: nickm | 2007-04-21 13:47:09 -0400
Nick Mathewson [Sat, 21 Apr 2007 17:48:45 +0000 (17:48 +0000)] 
 r12488@catbus:  nickm | 2007-04-21 13:47:09 -0400
 Mark more proposals for inclusion in 0.2.0.  Arma, please take this out or question them if you disagree.

svn:r9999

18 years ago r12485@catbus: nickm | 2007-04-21 13:46:14 -0400
Nick Mathewson [Sat, 21 Apr 2007 17:46:22 +0000 (17:46 +0000)] 
 r12485@catbus:  nickm | 2007-04-21 13:46:14 -0400
 Document some fields in or.h

svn:r9998

18 years ago r12484@catbus: nickm | 2007-04-21 13:45:58 -0400
Nick Mathewson [Sat, 21 Apr 2007 17:46:17 +0000 (17:46 +0000)] 
 r12484@catbus:  nickm | 2007-04-21 13:45:58 -0400
 Suppress display of version-detection junk in Makefile.am

svn:r9997

18 years ago r12482@catbus: nickm | 2007-04-21 13:30:24 -0400
Nick Mathewson [Sat, 21 Apr 2007 17:30:42 +0000 (17:30 +0000)] 
 r12482@catbus:  nickm | 2007-04-21 13:30:24 -0400
 Rename a couple of confusing fields

svn:r9996

18 years ago r12763@Kushana: nickm | 2007-04-20 18:42:58 -0400
Nick Mathewson [Sat, 21 Apr 2007 17:26:12 +0000 (17:26 +0000)] 
 r12763@Kushana:  nickm | 2007-04-20 18:42:58 -0400
 Initial version of code to stop using socket pairs for linked connections.  Superficially, it seems to work, but it probably needs a lot more testing and attention.

svn:r9995

18 years ago r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400
Nick Mathewson [Sat, 21 Apr 2007 17:24:18 +0000 (17:24 +0000)] 
 r12759@Kushana:  nickm | 2007-04-20 08:47:20 -0400
 Track the number of connection_t separately from the number of open sockets.  It is already possible to have connections that do not count: resolving conns, for one.  Once we move from socketpairs to linked conns, and once we do dns proxying, there will be lots of such connections.

svn:r9994

18 years ago r12760@Kushana: nickm | 2007-04-20 11:23:21 -0400
Nick Mathewson [Fri, 20 Apr 2007 17:17:13 +0000 (17:17 +0000)] 
 r12760@Kushana:  nickm | 2007-04-20 11:23:21 -0400
 Describe a simpler implementation for proposal 108, and note some limitations in the proposal.

svn:r9993

18 years ago r12458@catbus: nickm | 2007-04-19 15:52:23 -0400
Nick Mathewson [Thu, 19 Apr 2007 19:52:30 +0000 (19:52 +0000)] 
 r12458@catbus:  nickm | 2007-04-19 15:52:23 -0400
 Fix a bug in displaying memory pool usage.  Also dump cell allocation, and track padded_cell_ts as they are allocated and freed, to make sure we are not leaking cells.

svn:r9992

18 years ago r12456@catbus: nickm | 2007-04-19 14:47:01 -0400
Nick Mathewson [Thu, 19 Apr 2007 18:47:04 +0000 (18:47 +0000)] 
 r12456@catbus:  nickm | 2007-04-19 14:47:01 -0400
 Make dumpmemusage() dump cell pool usage information.

svn:r9991

18 years ago r12434@catbus: nickm | 2007-04-19 11:23:35 -0400
Nick Mathewson [Thu, 19 Apr 2007 15:23:38 +0000 (15:23 +0000)] 
 r12434@catbus:  nickm | 2007-04-19 11:23:35 -0400
 When advancing a string pointer, make sure we do not later free the altered pointer.  Fixes bug 416, introduced in r9971.

svn:r9990

18 years ago r12429@catbus: nickm | 2007-04-18 15:28:41 -0400
Nick Mathewson [Wed, 18 Apr 2007 19:28:47 +0000 (19:28 +0000)] 
 r12429@catbus:  nickm | 2007-04-18 15:28:41 -0400
 Make svn revision number visible in version even if building from a .tar.gz.  This was remarkably painless.

svn:r9988

18 years ago r12425@catbus: nickm | 2007-04-17 17:16:38 -0400
Nick Mathewson [Tue, 17 Apr 2007 21:16:40 +0000 (21:16 +0000)] 
 r12425@catbus:  nickm | 2007-04-17 17:16:38 -0400
 Detect the svn version correctly when building from an svk checkout too.  Whee, fun with bash and make.

svn:r9985

18 years ago r12418@catbus: nickm | 2007-04-16 20:58:25 -0400
Nick Mathewson [Tue, 17 Apr 2007 00:58:30 +0000 (00:58 +0000)] 
 r12418@catbus:  nickm | 2007-04-16 20:58:25 -0400
 Twiddle tor_version_as_new_as() so we can check for particular svn revisions.  With unit tests, for added freshness.

svn:r9977

18 years agoA hack I've been wanting for a while: when building a -dev version
Nick Mathewson [Mon, 16 Apr 2007 23:56:31 +0000 (23:56 +0000)] 
A hack I've been wanting for a while: when building a -dev version
from an SVN repository, use the current svn revision in the platform
string and in the output of --version.

svn:r9976

18 years ago r12414@catbus: nickm | 2007-04-16 17:37:17 -0400
Nick Mathewson [Mon, 16 Apr 2007 21:37:21 +0000 (21:37 +0000)] 
 r12414@catbus:  nickm | 2007-04-16 17:37:17 -0400
 More proposal-104 stuff: actually remember extra-info stuff.

svn:r9975

18 years ago r12412@catbus: nickm | 2007-04-16 15:11:29 -0400
Nick Mathewson [Mon, 16 Apr 2007 19:11:34 +0000 (19:11 +0000)] 
 r12412@catbus:  nickm | 2007-04-16 15:11:29 -0400
 Mark proposal 104 accepted

svn:r9974

18 years agominor cleanups on proposal 104
Roger Dingledine [Mon, 16 Apr 2007 19:09:35 +0000 (19:09 +0000)] 
minor cleanups on proposal 104

svn:r9973

18 years agoFix some proposal-104 bugs.
Nick Mathewson [Mon, 16 Apr 2007 18:54:56 +0000 (18:54 +0000)] 
Fix some proposal-104 bugs.

svn:r9972

18 years ago r12406@catbus: nickm | 2007-04-16 14:39:33 -0400
Nick Mathewson [Mon, 16 Apr 2007 18:39:39 +0000 (18:39 +0000)] 
 r12406@catbus:  nickm | 2007-04-16 14:39:33 -0400
 More proposal-104 stuff: add most of the code for authorities to accept and serve extra-info documents.  The back-end to store the things is missing.

svn:r9971

18 years ago r12403@catbus: nickm | 2007-04-16 13:55:03 -0400
Nick Mathewson [Mon, 16 Apr 2007 17:55:08 +0000 (17:55 +0000)] 
 r12403@catbus:  nickm | 2007-04-16 13:55:03 -0400
 Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc.

svn:r9970

18 years ago r12401@catbus: nickm | 2007-04-16 12:28:01 -0400
Nick Mathewson [Mon, 16 Apr 2007 16:28:06 +0000 (16:28 +0000)] 
 r12401@catbus:  nickm | 2007-04-16 12:28:01 -0400
 Enforce checks for number of arguments to items in directory objects more uniformly.

svn:r9968

18 years ago r12399@catbus: nickm | 2007-04-16 11:38:42 -0400
Nick Mathewson [Mon, 16 Apr 2007 15:38:53 +0000 (15:38 +0000)] 
 r12399@catbus:  nickm | 2007-04-16 11:38:42 -0400
 Torel spec patch from tup.

svn:r9967

18 years ago r12388@catbus: nickm | 2007-04-16 00:17:29 -0400
Nick Mathewson [Mon, 16 Apr 2007 04:18:29 +0000 (04:18 +0000)] 
 r12388@catbus:  nickm | 2007-04-16 00:17:29 -0400
 Now that the directory parser checks for missing items, the rest of the code can just assert that they are there, rather than checking a second time.

svn:r9966

18 years ago r12387@catbus: nickm | 2007-04-16 00:06:40 -0400
Nick Mathewson [Mon, 16 Apr 2007 04:18:21 +0000 (04:18 +0000)] 
 r12387@catbus:  nickm | 2007-04-16 00:06:40 -0400
 Refactor router/directory parsing backend: use a separate token table for everything that we parse, and enforce the correct count of each item.

svn:r9965

18 years ago r12386@catbus: nickm | 2007-04-15 23:55:34 -0400
Nick Mathewson [Mon, 16 Apr 2007 04:18:06 +0000 (04:18 +0000)] 
 r12386@catbus:  nickm | 2007-04-15 23:55:34 -0400
 Document multiplicity on some router elements better.

svn:r9964

18 years ago r12385@catbus: nickm | 2007-04-15 22:55:58 -0400
Nick Mathewson [Mon, 16 Apr 2007 04:17:58 +0000 (04:17 +0000)] 
 r12385@catbus:  nickm | 2007-04-15 22:55:58 -0400
 Initial code to parse extra-info documents as described in proposal 104.  This is making me realize that the parsing code in routerparse.c is a little daft.

svn:r9963

18 years agoMerge phobos' todo list into TODO
Andrew Lewman [Sun, 15 Apr 2007 13:33:40 +0000 (13:33 +0000)] 
Merge phobos' todo list into TODO

svn:r9961

18 years ago r12371@catbus: nickm | 2007-04-14 20:01:09 -0400
Nick Mathewson [Sun, 15 Apr 2007 00:29:12 +0000 (00:29 +0000)] 
 r12371@catbus:  nickm | 2007-04-14 20:01:09 -0400
 Add comments to blocking.tex based on an old email from Ian, so I can get the email out of my todo folder.

svn:r9957

18 years ago r12369@catbus: nickm | 2007-04-14 18:28:44 -0400
Nick Mathewson [Sat, 14 Apr 2007 22:28:50 +0000 (22:28 +0000)] 
 r12369@catbus:  nickm | 2007-04-14 18:28:44 -0400
 Rename torbl to torel.

svn:r9956

18 years ago r12366@catbus: nickm | 2007-04-14 17:30:12 -0400
Nick Mathewson [Sat, 14 Apr 2007 21:30:25 +0000 (21:30 +0000)] 
 r12366@catbus:  nickm | 2007-04-14 17:30:12 -0400
 Clarify some points in proposal 104, mostly based on mail from arma on or-dev.

svn:r9955

18 years ago r12365@catbus: nickm | 2007-04-14 16:43:09 -0400
Nick Mathewson [Sat, 14 Apr 2007 21:30:20 +0000 (21:30 +0000)] 
 r12365@catbus:  nickm | 2007-04-14 16:43:09 -0400
 Try to clarify window verbiage a little in tor-spec.

svn:r9954

18 years ago r12362@catbus: nickm | 2007-04-14 12:59:38 -0400
Nick Mathewson [Sat, 14 Apr 2007 16:59:44 +0000 (16:59 +0000)] 
 r12362@catbus:  nickm | 2007-04-14 12:59:38 -0400
 Note indentation and terminal-width conventions in HACKING

svn:r9953

18 years ago r12355@catbus: nickm | 2007-04-14 11:52:20 -0400
Nick Mathewson [Sat, 14 Apr 2007 16:59:41 +0000 (16:59 +0000)] 
 r12355@catbus:  nickm | 2007-04-14 11:52:20 -0400
 Rename DNSBL to DNSEL.

svn:r9952

18 years agoUpdate paths to spec files. Thanks to Matt for noticing.
Andrew Lewman [Sat, 14 Apr 2007 01:12:17 +0000 (01:12 +0000)] 
Update paths to spec files.  Thanks to Matt for noticing.

svn:r9950

18 years ago r12353@catbus: nickm | 2007-04-11 15:58:46 -0400
Nick Mathewson [Wed, 11 Apr 2007 19:58:51 +0000 (19:58 +0000)] 
 r12353@catbus:  nickm | 2007-04-11 15:58:46 -0400
 Apparently some compilers think that anonymous unions are bad C.  Technically, they're right, so let's name the union in mempool.c.

svn:r9946

18 years ago r12351@catbus: nickm | 2007-04-11 12:09:46 -0400
Nick Mathewson [Wed, 11 Apr 2007 16:28:44 +0000 (16:28 +0000)] 
 r12351@catbus:  nickm | 2007-04-11 12:09:46 -0400
 More autoconf hacking: use same machinery to find zlib as for openssl and libevent.  Have unified library finder include setup for --with  variable.  Start trying to suggest to the user what packages they should install if finding the library fails.

svn:r9945

18 years ago r12349@catbus: nickm | 2007-04-11 09:18:15 -0400
Nick Mathewson [Wed, 11 Apr 2007 13:18:25 +0000 (13:18 +0000)] 
 r12349@catbus:  nickm | 2007-04-11 09:18:15 -0400
 Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds.  Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers.  This prevents bugs where test.c gets out of sync.

svn:r9944

18 years ago r12344@catbus: nickm | 2007-04-10 21:27:25 -0400
Nick Mathewson [Wed, 11 Apr 2007 01:27:33 +0000 (01:27 +0000)] 
 r12344@catbus:  nickm | 2007-04-10 21:27:25 -0400
 Fix documentation and usage of 2nd argument to mp_pool_new.

svn:r9942

18 years agoMake sure the logfile exists and has the correct permissions.
Andrew Lewman [Wed, 11 Apr 2007 00:42:49 +0000 (00:42 +0000)] 
Make sure the logfile exists and has the correct permissions.

svn:r9941

18 years ago r12338@catbus: nickm | 2007-04-10 20:29:05 -0400
Nick Mathewson [Wed, 11 Apr 2007 00:30:34 +0000 (00:30 +0000)] 
 r12338@catbus:  nickm | 2007-04-10 20:29:05 -0400
 Document memory pool implementation, and tweak it even mor.  See? Programming is fun.

svn:r9940

18 years ago r12337@catbus: nickm | 2007-04-10 17:55:26 -0400
Nick Mathewson [Wed, 11 Apr 2007 00:30:29 +0000 (00:30 +0000)] 
 r12337@catbus:  nickm | 2007-04-10 17:55:26 -0400
 Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this.

svn:r9939

18 years ago r12336@catbus: nickm | 2007-04-10 17:34:25 -0400
Nick Mathewson [Wed, 11 Apr 2007 00:30:25 +0000 (00:30 +0000)] 
 r12336@catbus:  nickm | 2007-04-10 17:34:25 -0400
 Unit tests and debugging for memory pool implementation.

svn:r9938

18 years ago r12335@catbus: nickm | 2007-04-10 16:53:48 -0400
Nick Mathewson [Wed, 11 Apr 2007 00:30:22 +0000 (00:30 +0000)] 
 r12335@catbus:  nickm | 2007-04-10 16:53:48 -0400
 Initial version of memory pool logic. Needs unit tests.  Made to be easily separable from Tor.

svn:r9937

18 years ago r12332@catbus: nickm | 2007-04-10 12:24:45 -0400
Nick Mathewson [Tue, 10 Apr 2007 16:24:50 +0000 (16:24 +0000)] 
 r12332@catbus:  nickm | 2007-04-10 12:24:45 -0400
 Yet another attempted Bug 411 fix: Under some circumstances, a circuit can have cells without being active.  The likeliest is that it has been unlinked from all connections in preparation for closing.  Therefore, stop enforcing this non-invariant.

svn:r9936

18 years ago r12330@catbus: nickm | 2007-04-09 19:15:42 -0400
Nick Mathewson [Mon, 9 Apr 2007 23:15:46 +0000 (23:15 +0000)] 
 r12330@catbus:  nickm | 2007-04-09 19:15:42 -0400
 Split type of "packed cell" from "parsed cell"; pack cells before queueing them on circuits.  This will help us avoid dumb errors when we confuse the two types.

svn:r9935

18 years ago r12328@catbus: nickm | 2007-04-09 18:16:31 -0400
Nick Mathewson [Mon, 9 Apr 2007 22:16:33 +0000 (22:16 +0000)] 
 r12328@catbus:  nickm | 2007-04-09 18:16:31 -0400
 Argh, missed another 9030 bogon.

svn:r9934

18 years ago r12326@catbus: nickm | 2007-04-09 17:36:41 -0400
Nick Mathewson [Mon, 9 Apr 2007 21:36:45 +0000 (21:36 +0000)] 
 r12326@catbus:  nickm | 2007-04-09 17:36:41 -0400
 Clean up crap from 9930.  I can hardly wait till I trust SVK 2.x enough to upgrade.

svn:r9933

18 years ago r12688@Kushana: nickm | 2007-04-09 17:29:12 -0400
Nick Mathewson [Mon, 9 Apr 2007 21:34:13 +0000 (21:34 +0000)] 
 r12688@Kushana:  nickm | 2007-04-09 17:29:12 -0400
 Simplify dns_resolve: use a helper function so that we handle the error/answer/pending cases uniformly in dns_resolve, and everything else in dns_resolve_impl.

svn:r9932

18 years ago r12687@Kushana: nickm | 2007-04-09 17:05:57 -0400
Nick Mathewson [Mon, 9 Apr 2007 21:34:03 +0000 (21:34 +0000)] 
 r12687@Kushana:  nickm | 2007-04-09 17:05:57 -0400
 Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve.  Needs refactoring a little.

svn:r9931

18 years agosvn:r9930
Nick Mathewson [Mon, 9 Apr 2007 21:33:49 +0000 (21:33 +0000)] 
svn:r9930

18 years ago r12318@catbus: nickm | 2007-04-09 16:08:20 -0400
Nick Mathewson [Mon, 9 Apr 2007 20:09:28 +0000 (20:09 +0000)] 
 r12318@catbus:  nickm | 2007-04-09 16:08:20 -0400
 Fix the first half of bug 411: when we make a circuit active inactive on a connection, it _must_ actually be on that connection.

svn:r9929

18 years ago r12317@catbus: nickm | 2007-04-09 15:50:51 -0400
Nick Mathewson [Mon, 9 Apr 2007 20:09:26 +0000 (20:09 +0000)] 
 r12317@catbus:  nickm | 2007-04-09 15:50:51 -0400
 Fix second part of bug 411 (which was actually a separate bug): it isnt safe to clear a cell queue while the circuit is active.

svn:r9928

18 years agofix a memory leak when we ask for "all" networkstatuses and
Roger Dingledine [Thu, 29 Mar 2007 07:02:12 +0000 (07:02 +0000)] 
fix a memory leak when we ask for "all" networkstatuses and
we get one we don't recognize.
backport candidate.
backbackport candidate.

svn:r9918

18 years agoforward-port r9916, and remove another duplicated changelog entry
Roger Dingledine [Thu, 29 Mar 2007 02:55:00 +0000 (02:55 +0000)] 
forward-port r9916, and remove another duplicated changelog entry

svn:r9917

18 years agoFix a crash bug in cell queues: It is possible for a connection_write_to_buf to close...
Nick Mathewson [Thu, 29 Mar 2007 02:41:36 +0000 (02:41 +0000)] 
Fix a crash bug in cell queues: It is possible for a connection_write_to_buf to close the connection or otherwise unlink the circuit, which makes the circuit nonactive, which invalidates the pointer from the circuit to the next circuit on the active ring.  Also add a bunch of asserts, most #ifdefed out.

svn:r9915

18 years agoTurn bool_neq and bool_eq into macros.
Nick Mathewson [Thu, 29 Mar 2007 02:37:06 +0000 (02:37 +0000)] 
Turn bool_neq and bool_eq into macros.

svn:r9914

18 years agoComment out the "clear queue when sending a destroy" logic: it seems potentially...
Nick Mathewson [Thu, 29 Mar 2007 02:32:00 +0000 (02:32 +0000)] 
Comment out the "clear queue when sending a destroy" logic: it seems potentially dangerous.  (see comment for details)

svn:r9913

18 years agoFix the tex error I just introduced.
Andrew Lewman [Wed, 28 Mar 2007 22:46:59 +0000 (22:46 +0000)] 
Fix the tex error I just introduced.

svn:r9911

18 years agoFix tex and spelling mistakes.
Andrew Lewman [Wed, 28 Mar 2007 22:46:05 +0000 (22:46 +0000)] 
Fix tex and spelling mistakes.

svn:r9910

18 years ago r12654@Kushana: nickm | 2007-03-25 19:03:44 -0400
Nick Mathewson [Mon, 26 Mar 2007 14:08:35 +0000 (14:08 +0000)] 
 r12654@Kushana:  nickm | 2007-03-25 19:03:44 -0400
 Add documentation for cell queue functions; make destroy cells result in cell queues getting cleared before the destroy gets sent.

svn:r9907