aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* r12934@catbus: nickm | 2007-05-24 14:11:18 -0400Nick Mathewson2007-05-24
| | | | | | | When freeing slack buffers, free the buffers at the end of the freelist first. svn:r10313
* r12933@catbus: nickm | 2007-05-24 14:10:28 -0400Nick Mathewson2007-05-24
| | | | | | | Optimize digestmap_set, since it sometimes shows up in profiles. Seems to work so far, but it isnt the prettiest thing ever. svn:r10312
* r12920@catbus: nickm | 2007-05-24 13:12:52 -0400Nick Mathewson2007-05-24
| | | | | | | and remove an XXX012. svn:r10308
* r12919@catbus: nickm | 2007-05-24 13:04:56 -0400Nick Mathewson2007-05-24
| | | | | | | backport candidate: Warn when using a version of libevent before 1.3b to run a server on osx or bsd: these versions of libevent interact badly with userspace threads. svn:r10307
* r12918@catbus: nickm | 2007-05-24 12:52:40 -0400Nick Mathewson2007-05-24
| | | | | | | Make reset_download_failures() reset extrainfo download status too. svn:r10306
* r12917@catbus: nickm | 2007-05-24 12:48:47 -0400Nick Mathewson2007-05-24
| | | | | | | Put the hash-as-signed, not the raw hash, in the signed_descriptor_digest field of our own descriptor. Backport candidate; probably harmless though. svn:r10305
* r12916@catbus: nickm | 2007-05-24 12:43:45 -0400Nick Mathewson2007-05-24
| | | | | | | Add math functions to round values to the nearest power of 2. Make mempools more careful about making sure that the size of their chunks is a little less than a power of 2, not a little more. svn:r10304
* r12915@catbus: nickm | 2007-05-24 12:12:34 -0400Nick Mathewson2007-05-24
| | | | | | | Do not send a warning when somebody uploads an extrainfo that we will reject, if it happens to be newer than our current routerdesc. svn:r10303
* r12906@catbus: nickm | 2007-05-22 20:43:13 -0400Nick Mathewson2007-05-23
| | | | | | | s/32/64/; s/breaks/works/; svn:r10297
* new ip addresses for moria1 and moria2; new ports for moria2Roger Dingledine2007-05-22
| | | | svn:r10296
* r12902@catbus: nickm | 2007-05-22 14:52:29 -0400Nick Mathewson2007-05-22
| | | | | | | First draft of code to generate votes. needs testing. does not yet upload or serve votes. Shares most of its code with the old generate_v2_networkstatus. svn:r10295
* r12899@catbus: nickm | 2007-05-22 13:51:26 -0400Nick Mathewson2007-05-22
| | | | | | | Extract common code from networkstatus_getinfo_helper_single() and generate_v2_networkstatus(). svn:r10294
* r12898@catbus: nickm | 2007-05-22 13:11:04 -0400Nick Mathewson2007-05-22
| | | | | | | More v3 directory code: have authorities load certificates; have everybody store certificates to disk and load them; provide a way to configure v3 authorities. svn:r10293
* r12853@catbus: nickm | 2007-05-22 11:36:54 -0400Nick Mathewson2007-05-22
| | | | | | | Make connection_array into a smartlist. svn:r10292
* r12852@catbus: nickm | 2007-05-22 11:00:27 -0400Nick Mathewson2007-05-22
| | | | | | | Use svn revisions consistently throughout all log messages. svn:r10291
* r12850@catbus: nickm | 2007-05-21 22:20:42 -0400Nick Mathewson2007-05-22
| | | | | | | Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up. svn:r10248
* r12846@catbus: nickm | 2007-05-21 21:55:15 -0400Nick Mathewson2007-05-22
| | | | | | | Oops; it is possible to have an empty store. svn:r10247
* r12844@catbus: nickm | 2007-05-21 21:52:19 -0400Nick Mathewson2007-05-22
| | | | | | | Oops. It compiles better when you spell the fields right. svn:r10245
* r12842@catbus: nickm | 2007-05-21 21:51:45 -0400Nick Mathewson2007-05-22
| | | | | | | Partial backport candidate. Fix issue noted in r10241: stores were rebuilt too often. Also notes dropped bytes better. svn:r10244
* clean up r10240 so we avoid the exit node itself tooRoger Dingledine2007-05-22
| | | | svn:r10242
* mark a bug for nick to tackle -- we're rebuilding our router store moreRoger Dingledine2007-05-22
| | | | | | | often than we need to. reported by lodger. svn:r10241
* When choosing an entry guard for our circuit, avoid using guardsRoger Dingledine2007-05-22
| | | | | | | | that are in the same family as the chosen exit -- not just guards that are exactly the chosen exit. (Reported by lodger.) svn:r10240
* Make the NodeFamilies config option work. (Reported byRoger Dingledine2007-05-22
| | | | | | | | lodger -- it has never actually worked, even though we added it in Oct 2004.) svn:r10238
* r13025@Kushana: nickm | 2007-05-21 17:40:56 -0400Nick Mathewson2007-05-21
| | | | | | | Bugfix and possible backport candidate: use the same logic as in read_all when reading resolv.conf. Maybe this fixes bug 433. svn:r10237
* Hopefully fix #429 for good by actually using, not just figuring out, the ↵Peter Palfrader2007-05-21
| | | | | | correct mmap svn:r10233
* r13023@Kushana: nickm | 2007-05-20 16:16:36 -0400Nick Mathewson2007-05-20
| | | | | | | More bulletproofing on bug 429 svn:r10231
* r13021@Kushana: nickm | 2007-05-20 14:03:10 -0400Nick Mathewson2007-05-20
| | | | | | | Provide actual reasons when dropping an uploaded extrainfo for incompatibility; also, clean whitespace. svn:r10230
* r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400Nick Mathewson2007-05-20
| | | | | | | Address points in r10227. svn:r10229
* svn:r10228Nick Mathewson2007-05-20
|
* point out two remote crash bugs, a memory leak, and a few otherRoger Dingledine2007-05-20
| | | | | | | items we should probably look into. svn:r10227
* r12818@catbus: nickm | 2007-05-20 01:15:50 -0400Nick Mathewson2007-05-20
| | | | | | | Look for extrainfo bodies in the extrainfo mmap, not in the descriptor mmap. Duh. Should fix bug 429. svn:r10226
* Fix a loop in routerlist_assert_ok()Peter Palfrader2007-05-19
| | | | svn:r10224
* r12812@catbus: nickm | 2007-05-19 16:17:36 -0400Nick Mathewson2007-05-19
| | | | | | | Fix compilation with -O0; add unit tests for swap and shuffle. svn:r10223
* r12810@catbus: nickm | 2007-05-19 16:08:42 -0400Nick Mathewson2007-05-19
| | | | | | | Fix bugs in extrainfo_insert, and change it to use desc_by_eid_map. svn:r10222
* r12808@catbus: nickm | 2007-05-19 14:48:51 -0400Nick Mathewson2007-05-19
| | | | | | | Fix another consistency error. svn:r10221
* r12805@catbus: nickm | 2007-05-19 14:31:00 -0400Nick Mathewson2007-05-19
| | | | | | | Fix a groovy memory corruption bug in routerlist_replace. svn:r10220
* r12804@catbus: nickm | 2007-05-19 14:21:18 -0400Nick Mathewson2007-05-19
| | | | | | | Disable a blatantly incorrect control event with potential for memory corruption. svn:r10219
* r12802@catbus: nickm | 2007-05-19 14:12:27 -0400Nick Mathewson2007-05-19
| | | | | | | clear some ram when freeing it; add some more checks to assert_routerlist_ok. svn:r10218
* r12800@catbus: nickm | 2007-05-18 20:45:15 -0400Nick Mathewson2007-05-19
| | | | | | | Possible fix for bug 417 and bug 404: do not insert our routerinfo directly; instead, re-parse it first. svn:r10217
* r12798@catbus: nickm | 2007-05-18 20:31:54 -0400Nick Mathewson2007-05-19
| | | | | | | Yet more debugging code to track down 417/404, inspired by a fun core from arma. svn:r10216
* r12794@catbus: nickm | 2007-05-18 20:24:26 -0400Nick Mathewson2007-05-19
| | | | | | | Make caches-extra-info lines parseable. svn:r10215
* found this in my sandboxRoger Dingledine2007-05-19
| | | | svn:r10214
* r12790@catbus: nickm | 2007-05-18 17:24:26 -0400Nick Mathewson2007-05-18
| | | | | | | Fix build on gcc 4.2 svn:r10212
* r12982@Kushana: nickm | 2007-05-18 15:15:14 -0400Nick Mathewson2007-05-18
| | | | | | | Partial backport candidate: We had a bug where we were downloading descriptors by descriptor digest, but trying to look them up by identity fingerprint when updating their failure count and next retry time. (Also use correct backoff logic for extrainfo code.) Needs testing, doubtless. svn:r10210
* r12981@Kushana: nickm | 2007-05-18 14:12:19 -0400Nick Mathewson2007-05-18
| | | | | | | First cut at code to download extra-info docs. Also note a bad bug in directory.c (look for the string BUG BUG BUG). svn:r10209
* r12980@Kushana: nickm | 2007-05-18 14:11:05 -0400Nick Mathewson2007-05-18
| | | | | | | Add a "swap" function to smartlist, add a "shuffle" function for smartlist to crypto.c, and make appropriate hashtable functions be more const. svn:r10208
* r12777@catbus: nickm | 2007-05-16 21:52:23 -0400Nick Mathewson2007-05-17
| | | | | | | Fix dumb bug introduced in r10199 svn:r10202
* r12771@catbus: nickm | 2007-05-16 18:12:32 -0400Nick Mathewson2007-05-16
| | | | | | | Make -Wstrict-overflow=5 happy with GCC 4.2. It is kind of a pain, but it does agood job of letting us know where we can make our code better by simplifying dependent conditionals. svn:r10201
* r12770@catbus: nickm | 2007-05-16 17:49:26 -0400Nick Mathewson2007-05-16
| | | | | | | Move around field order a little, in order to compact some structures. (Thanks to -Wpadded) svn:r10200
* r12769@catbus: nickm | 2007-05-16 17:32:01 -0400Nick Mathewson2007-05-16
| | | | | | | Fix warnings from -Wunsafe-loop-optimizations, which incidentally turned up a logic bug in connection_or_flush_from_first_active_circuit that would overcount the number of cells flushed. svn:r10199