summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-07-29 r13972@catbus: nickm | 2007-07-29 00:01:38 -0400Nick Mathewson
Make our control events for multi-line async replies conform to our old grammar. Change back to the old grammar (which got "corrected" in r10931). svn:r10964
2007-07-29 r13964@catbus: nickm | 2007-07-28 22:55:10 -0400Nick Mathewson
Change "IN_ADDR" macro to "IN4_ADDR" in an attempt to fix mingw compilation svn:r10963
2007-07-29 r13963@catbus: nickm | 2007-07-28 22:53:32 -0400Nick Mathewson
Add support for signature upload svn:r10962
2007-07-29When running with dmalloc, dump more stats on hup and exit.Roger Dingledine
svn:r10961
2007-07-28 r13960@catbus: nickm | 2007-07-28 18:14:29 -0400Nick Mathewson
Start correctly when cached-certs is missing. oops svn:r10957
2007-07-28 r13959@catbus: nickm | 2007-07-28 18:09:56 -0400Nick Mathewson
Use the correct formula to calculate exit weights. svn:r10956
2007-07-28 r13956@catbus: nickm | 2007-07-27 20:09:48 -0400Nick Mathewson
Better certificate manipulations: extract certificates from incoming votes, forget ones that are very old, and remember to store them on disk. svn:r10954
2007-07-27 r13952@catbus: nickm | 2007-07-27 19:18:46 -0400Nick Mathewson
Weasel noticed that many buffers spend their time with empty 4k, 8k, and 16k memory chunks. Thus, be more aggressive about putting empty chunks on the freelist, regardless of their high water marks. (Also, run buffer_shrink_freelist on the 8k-chunk freelist.) svn:r10953
2007-07-27 r13951@catbus: nickm | 2007-07-27 18:39:28 -0400Nick Mathewson
Make it so we can actually compile with FULL_V1_DIRECTORIES disabled. svn:r10952
2007-07-27 r13950@catbus: nickm | 2007-07-27 18:15:23 -0400Nick Mathewson
Wrap bandwidth usage info in another ifdef so we can easily drop it on august 1 when it is time to finalize proposal 104. svn:r10951
2007-07-27 r13946@catbus: nickm | 2007-07-27 16:09:31 -0400Nick Mathewson
Fix median_int for platforms where sizeof(int)!=sizeof(time_t) svn:r10949
2007-07-27 r13944@catbus: nickm | 2007-07-27 15:52:35 -0400Nick Mathewson
Fix warnings on platforms where rlim values can be signed. Add an 8k buffer freelist. svn:r10948
2007-07-27 r13939@catbus: nickm | 2007-07-27 14:33:22 -0400Nick Mathewson
When dumping memory usage, list bytes used in buffer memory free-lists. svn:r10947
2007-07-27 r13938@catbus: nickm | 2007-07-27 14:26:07 -0400Nick Mathewson
More code to handle incoming consensus signatures svn:r10946
2007-07-27 r13937@catbus: nickm | 2007-07-27 12:43:36 -0400Nick Mathewson
Maintain a detached-signatures document along with pending consensus document. Add a dirvote_free_all() to clean up static vars in dirvote.c svn:r10945
2007-07-27 r13936@catbus: nickm | 2007-07-27 12:23:26 -0400Nick Mathewson
Code to implement detached signature documents. svn:r10944
2007-07-27 r13934@catbus: nickm | 2007-07-27 10:41:00 -0400Nick Mathewson
Fix spelling; add a comment. svn:r10943
2007-07-27Maybe fix #471. Compute the size of bitfields more correctly. Nick, please ↵Peter Palfrader
check. svn:r10941
2007-07-27Resolve a compiler warning about uninitialized usePeter Palfrader
svn:r10940
2007-07-26 r13927@catbus: nickm | 2007-07-26 17:26:49 -0400Nick Mathewson
Fix router_choose_by_bandwidth to no longer be biases by floating-point roundoff issues. This runs through the list of routers yet another time, and uses an additional bitfield, but this should be okay: the function did not appear in profiles before, and shouldnt start appearing now. svn:r10939
2007-07-26 r13926@catbus: nickm | 2007-07-26 17:21:06 -0400Nick Mathewson
Add a bit-array type with reasonably fast inline functions. svn:r10938
2007-07-26 r13924@catbus: nickm | 2007-07-26 16:46:45 -0400Nick Mathewson
We can have multiple authority certificates for an authority at a time: make the code reflect that. svn:r10937
2007-07-26 r13921@catbus: nickm | 2007-07-26 16:26:48 -0400Nick Mathewson
Code to add signatures to a pending consensus directory. svn:r10936
2007-07-26 r13920@catbus: nickm | 2007-07-26 16:25:25 -0400Nick Mathewson
whitespace fixes svn:r10935
2007-07-25 r13908@catbus: nickm | 2007-07-25 18:55:47 -0400Nick Mathewson
Patch from Robert Hogan: set conn->dns_server_port correctly so that we can close dns server ports when they change, thus avoiding crashes and dangling references and other sources of unhappiness. svn:r10933
2007-07-25 r13907@catbus: nickm | 2007-07-25 18:51:25 -0400Nick Mathewson
Patch from tup: translate LFs to CRLFs in NS replies and ensures the data section is properly terminated with "\r\n.\r\n svn:r10932
2007-07-25 r13905@catbus: nickm | 2007-07-25 18:48:44 -0400Nick Mathewson
ADDRMAP events should never have specified local time. Extend them to have the proper gmt time, and make GETINFO address-mappings always do the right thing (since it is new in this version). svn:r10930
2007-07-25 r13904@catbus: nickm | 2007-07-25 18:04:46 -0400Nick Mathewson
Fix whitespaces and compilation in and around dirvote code. svn:r10929
2007-07-25 r13903@catbus: nickm | 2007-07-25 18:03:56 -0400Nick Mathewson
Make buffer large enough to hold ip6.arpa addresses. This code was not actually used yet, so no user-visible bug existed. (Based on patch by croup.) svn:r10928
2007-07-25 r13902@catbus: nickm | 2007-07-25 17:43:52 -0400Nick Mathewson
Some dirvote code to handle generating votes and slinging them around. More code is still needed. svn:r10927
2007-07-25 r13901@catbus: nickm | 2007-07-25 16:23:51 -0400Nick Mathewson
Make all code to generate v1 directories into conditional code. svn:r10926
2007-07-25 r13900@catbus: nickm | 2007-07-25 16:16:30 -0400Nick Mathewson
Better fix for GCC 4.2 warning on routerlist.c svn:r10925
2007-07-23 r13773@kushana: nickm | 2007-07-23 00:16:44 -0400Nick Mathewson
Use tor malloc replacements in eventdns.c for now: there might be goblins there...goblins that only dmalloc can find! svn:r10912
2007-07-22 r13875@catbus: nickm | 2007-07-22 18:56:30 -0400Nick Mathewson
Once more with feeling. svn:r10907
2007-07-22 r13872@catbus: nickm | 2007-07-22 18:51:02 -0400Nick Mathewson
esc_router_info static field should not be cleared postfork, to avoid races. svn:r10906
2007-07-22 r13858@catbus: nickm | 2007-07-22 18:44:02 -0400Nick Mathewson
Fix/note some relatively trivial mem usage issues svn:r10905
2007-07-22dump dmalloc stats on sighupRoger Dingledine
svn:r10903
2007-07-22free a small static string on exit.Roger Dingledine
svn:r10902
2007-07-22Revert part of r10874, since it was breaking our load balancingRoger Dingledine
(we always picked one router past the one we wanted!) and could conceivably read past the end of the smartlist too. Nick, I don't know what gcc 4.2 was worried about, but we need to find a better fix than this. :) svn:r10901
2007-07-22handle fetching bridge descriptors from the bridge authority too.Roger Dingledine
svn:r10898
2007-07-21Directory authorities now call routers Fast if their bandwidth isRoger Dingledine
at least 100KB/s, and consider their bandwidth adequate to be a Guard if it is at least 250KB/s. This fix complements proposal 107. [Bugfix on 0.1.2.x] svn:r10897
2007-07-21when requesting tor/server/authority, ask for tor/server/authority.zRoger Dingledine
instead. same functionality, saves a bit of bandwidth. and might even work. svn:r10896
2007-07-20 r13856@catbus: nickm | 2007-07-20 14:30:44 -0400Nick Mathewson
slightly smarter heuristic about when to use obsolete ::a.b.c.d format. svn:r10893
2007-07-20 r13850@catbus: nickm | 2007-07-20 12:25:24 -0400Nick Mathewson
Fix some bugs in ntop/pton. svn:r10891
2007-07-19 r13848@catbus: nickm | 2007-07-19 16:47:16 -0400Nick Mathewson
Use our own version of inet_ntop and inet_pton everywhere, to avoid partitioning attacks. svn:r10888
2007-07-19 r13846@catbus: nickm | 2007-07-19 16:31:41 -0400Nick Mathewson
Actually, OSX (and some BSDs) accept [f:f:f:f:f:f:f:f::] as a perfectly fine ipv6 address. svn:r10887
2007-07-19 r13844@catbus: nickm | 2007-07-19 16:04:04 -0400Nick Mathewson
Same as the last patch, only more so. svn:r10886
2007-07-19 r13842@catbus: nickm | 2007-07-19 16:02:54 -0400Nick Mathewson
OSX writes ::3 as ::0.0.0.3; choose a less ambiguous example. svn:r10885
2007-07-19 r13840@catbus: nickm | 2007-07-19 16:00:43 -0400Nick Mathewson
Apparently, this problem can occur on the whole BSD family. "Yay." svn:r10884
2007-07-19 r13838@catbus: nickm | 2007-07-19 15:50:16 -0400Nick Mathewson
Apparently, OSX does not define s6_addr32 or s6_addr16. How silly. svn:r10883