Age | Commit message (Collapse) | Author |
|
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
|
|
Change "IN_ADDR" macro to "IN4_ADDR" in an attempt to fix mingw compilation
svn:r10963
|
|
Add support for signature upload
svn:r10962
|
|
svn:r10961
|
|
Start correctly when cached-certs is missing. oops
svn:r10957
|
|
Use the correct formula to calculate exit weights.
svn:r10956
|
|
Better certificate manipulations: extract certificates from incoming votes, forget ones that are very old, and remember to store them on disk.
svn:r10954
|
|
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
|
|
Make it so we can actually compile with FULL_V1_DIRECTORIES disabled.
svn:r10952
|
|
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
|
|
Fix median_int for platforms where sizeof(int)!=sizeof(time_t)
svn:r10949
|
|
Fix warnings on platforms where rlim values can be signed.
Add an 8k buffer freelist.
svn:r10948
|
|
When dumping memory usage, list bytes used in buffer memory free-lists.
svn:r10947
|
|
More code to handle incoming consensus signatures
svn:r10946
|
|
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
|
|
Code to implement detached signature documents.
svn:r10944
|
|
Fix spelling; add a comment.
svn:r10943
|
|
check.
svn:r10941
|
|
svn:r10940
|
|
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
|
|
Add a bit-array type with reasonably fast inline functions.
svn:r10938
|
|
We can have multiple authority certificates for an authority at a time: make the code reflect that.
svn:r10937
|
|
Code to add signatures to a pending consensus directory.
svn:r10936
|
|
whitespace fixes
svn:r10935
|
|
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
|
|
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
|
|
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
|
|
Fix whitespaces and compilation in and around dirvote code.
svn:r10929
|
|
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
|
|
Some dirvote code to handle generating votes and slinging them around. More code is still needed.
svn:r10927
|
|
Make all code to generate v1 directories into conditional code.
svn:r10926
|
|
Better fix for GCC 4.2 warning on routerlist.c
svn:r10925
|
|
Use tor malloc replacements in eventdns.c for now: there might be goblins there...goblins that only dmalloc can find!
svn:r10912
|
|
Once more with feeling.
svn:r10907
|
|
esc_router_info static field should not be cleared postfork, to avoid races.
svn:r10906
|
|
Fix/note some relatively trivial mem usage issues
svn:r10905
|
|
svn:r10903
|
|
svn:r10902
|
|
(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
|
|
svn:r10898
|
|
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
|
|
instead. same functionality, saves a bit of bandwidth. and might even
work.
svn:r10896
|
|
slightly smarter heuristic about when to use obsolete ::a.b.c.d format.
svn:r10893
|
|
Fix some bugs in ntop/pton.
svn:r10891
|
|
Use our own version of inet_ntop and inet_pton everywhere, to avoid partitioning attacks.
svn:r10888
|
|
Actually, OSX (and some BSDs) accept [f:f:f:f:f:f:f:f::] as a perfectly fine ipv6 address.
svn:r10887
|
|
Same as the last patch, only more so.
svn:r10886
|
|
OSX writes ::3 as ::0.0.0.3; choose a less ambiguous example.
svn:r10885
|
|
Apparently, this problem can occur on the whole BSD family. "Yay."
svn:r10884
|
|
Apparently, OSX does not define s6_addr32 or s6_addr16. How silly.
svn:r10883
|