aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* r12355@catbus: nickm | 2007-04-14 11:52:20 -0400Nick Mathewson2007-04-14
| | | | | | | Rename DNSBL to DNSEL. svn:r9952
* Update paths to spec files. Thanks to Matt for noticing.Andrew Lewman2007-04-14
| | | | svn:r9950
* r12353@catbus: nickm | 2007-04-11 15:58:46 -0400Nick Mathewson2007-04-11
| | | | | | | 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
* r12351@catbus: nickm | 2007-04-11 12:09:46 -0400Nick Mathewson2007-04-11
| | | | | | | 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
* r12349@catbus: nickm | 2007-04-11 09:18:15 -0400Nick Mathewson2007-04-11
| | | | | | | 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
* r12344@catbus: nickm | 2007-04-10 21:27:25 -0400Nick Mathewson2007-04-11
| | | | | | | Fix documentation and usage of 2nd argument to mp_pool_new. svn:r9942
* Make sure the logfile exists and has the correct permissions.Andrew Lewman2007-04-11
| | | | svn:r9941
* r12338@catbus: nickm | 2007-04-10 20:29:05 -0400Nick Mathewson2007-04-11
| | | | | | | Document memory pool implementation, and tweak it even mor. See? Programming is fun. svn:r9940
* r12337@catbus: nickm | 2007-04-10 17:55:26 -0400Nick Mathewson2007-04-11
| | | | | | | Add support for using memory pools to allocate queued cell; pass --disable-cell-pool to configure to disable this. svn:r9939
* r12336@catbus: nickm | 2007-04-10 17:34:25 -0400Nick Mathewson2007-04-11
| | | | | | | Unit tests and debugging for memory pool implementation. svn:r9938
* r12335@catbus: nickm | 2007-04-10 16:53:48 -0400Nick Mathewson2007-04-11
| | | | | | | Initial version of memory pool logic. Needs unit tests. Made to be easily separable from Tor. svn:r9937
* r12332@catbus: nickm | 2007-04-10 12:24:45 -0400Nick Mathewson2007-04-10
| | | | | | | 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
* r12330@catbus: nickm | 2007-04-09 19:15:42 -0400Nick Mathewson2007-04-09
| | | | | | | 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
* r12328@catbus: nickm | 2007-04-09 18:16:31 -0400Nick Mathewson2007-04-09
| | | | | | | Argh, missed another 9030 bogon. svn:r9934
* r12326@catbus: nickm | 2007-04-09 17:36:41 -0400Nick Mathewson2007-04-09
| | | | | | | Clean up crap from 9930. I can hardly wait till I trust SVK 2.x enough to upgrade. svn:r9933
* r12688@Kushana: nickm | 2007-04-09 17:29:12 -0400Nick Mathewson2007-04-09
| | | | | | | 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
* r12687@Kushana: nickm | 2007-04-09 17:05:57 -0400Nick Mathewson2007-04-09
| | | | | | | Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve. Needs refactoring a little. svn:r9931
* svn:r9930Nick Mathewson2007-04-09
|
* r12318@catbus: nickm | 2007-04-09 16:08:20 -0400Nick Mathewson2007-04-09
| | | | | | | 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
* r12317@catbus: nickm | 2007-04-09 15:50:51 -0400Nick Mathewson2007-04-09
| | | | | | | 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
* fix a memory leak when we ask for "all" networkstatuses andRoger Dingledine2007-03-29
| | | | | | | | | we get one we don't recognize. backport candidate. backbackport candidate. svn:r9918
* forward-port r9916, and remove another duplicated changelog entryRoger Dingledine2007-03-29
| | | | svn:r9917
* Fix a crash bug in cell queues: It is possible for a connection_write_to_buf ↵Nick Mathewson2007-03-29
| | | | | | 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
* Turn bool_neq and bool_eq into macros.Nick Mathewson2007-03-29
| | | | svn:r9914
* Comment out the "clear queue when sending a destroy" logic: it seems ↵Nick Mathewson2007-03-29
| | | | | | potentially dangerous. (see comment for details) svn:r9913
* Fix the tex error I just introduced. Andrew Lewman2007-03-28
| | | | svn:r9911
* Fix tex and spelling mistakes.Andrew Lewman2007-03-28
| | | | svn:r9910
* r12654@Kushana: nickm | 2007-03-25 19:03:44 -0400Nick Mathewson2007-03-26
| | | | | | | Add documentation for cell queue functions; make destroy cells result in cell queues getting cleared before the destroy gets sent. svn:r9907
* r12653@Kushana: nickm | 2007-03-25 18:21:38 -0400Nick Mathewson2007-03-26
| | | | | | | Add documentation for make_old argument to routerlist functions. svn:r9906
* r12652@Kushana: nickm | 2007-03-25 15:01:48 -0400Nick Mathewson2007-03-26
| | | | | | | A surprisingly simple patch to stop reading on edge connections when their circuits get too full, and start again when they empty out. This lets us remove the logic to block begin_dir conns when the corresponding or conns get full: it was already broken by cell queues anyway. svn:r9905
* r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400Nick Mathewson2007-03-26
| | | | | | | Initial version of circuit-based cell queues. Instead of hammering or_conns with piles of cells, queue cells on their corresponding circuits, and append them to the or_conn as needed. This seems to work so far, but needs a bit more work. This will break the memory-use-limitation patch for begin_dir conns: the solution will be a fun but fiddly. svn:r9904
* r12274@catbus: nickm | 2007-03-26 09:29:18 -0400Nick Mathewson2007-03-26
| | | | | | | Possibly resolve bug reported by xiando. svn:r9903
* r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400Nick Mathewson2007-03-24
| | | | | | | Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson2007-03-24
| | | | | | | Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
* Don't save non-general-purpose router descriptors to the disk cache,Roger Dingledine2007-03-21
| | | | | | | | because we have no way of remembering what their purpose was when we restart. svn:r9894
* cleanups on proposal 105Roger Dingledine2007-03-21
| | | | svn:r9893
* clean up proposal 104 moreRoger Dingledine2007-03-21
| | | | svn:r9892
* r12259@catbus: nickm | 2007-03-21 00:12:02 -0400Nick Mathewson2007-03-21
| | | | | | | Incorporate ideas from or-dev discussion. svn:r9891
* r12257@catbus: nickm | 2007-03-20 23:17:52 -0400Nick Mathewson2007-03-21
| | | | | | | Add specification to proposal 104; settle on "extra info" approach rather than "long descriptor" approach. svn:r9890
* put the stopgap on whether we've sent a create cell, notRoger Dingledine2007-03-20
| | | | | | | whether we've attached a stream. svn:r9883
* a stopgap measure while we wait for proposal 111: apply theRoger Dingledine2007-03-20
| | | | | | | | stricter rate limiting to all OR conns except those that have been touched by local circuits. svn:r9882
* Add a separate set of token buckets for relayed traffic. RightRoger Dingledine2007-03-20
| | | | | | | now that's just defined as answers to directory requests. svn:r9881
* temporary hack to solve bug 384, so i can get on with debuggingRoger Dingledine2007-03-20
| | | | | | | other stuff. svn:r9880
* correct a function comment that's become wrongRoger Dingledine2007-03-19
| | | | svn:r9879
* Update mingw instructions for -trunk.Andrew Lewman2007-03-18
| | | | svn:r9868
* r12230@catbus: nickm | 2007-03-17 17:34:32 -0400Nick Mathewson2007-03-17
| | | | | | | Remove some duplicated code in control.c: unify the "parse space-separated arguments and warn if there are too few" logic into a single helper function. svn:r9866
* r12229@catbus: nickm | 2007-03-17 17:20:28 -0400Nick Mathewson2007-03-17
| | | | | | | Add a warning when using obsolete "GUARDS" event. Also, remove obsolete "if (1) {}"s from control.c: big patch, mostly just dedenting block contents. svn:r9865
* r12212@catbus: nickm | 2007-03-17 17:05:54 -0400Nick Mathewson2007-03-17
| | | | | | | Merge or-dev discussion into 109; mark 109 accepted. svn:r9864
* svn:r9863Nick Mathewson2007-03-17
|
* r12191@catbus: nickm | 2007-03-15 15:33:37 -0400Nick Mathewson2007-03-17
| | | | | | | Check return values from pthread_mutex functions. svn:r9862