Nick Mathewson
|
b1d034d2ab
Fix bug 212: Directory authorities should not try to download server descriptors that they know they will reject.
|
20 年之前 |
Nick Mathewson
|
d2123388ad
Better fix for last bug: avoids trying to double-mark circuits.
|
20 年之前 |
Nick Mathewson
|
b03e8733f3
Change how OR conns get removed from the identity map; fix some warnings on shutdown.
|
20 年之前 |
Nick Mathewson
|
148a1e969d
Shave off another 4.7%: remove a linear search when figuring out which circuits wanted us to open a given OR connection.
|
20 年之前 |
Nick Mathewson
|
d56a65c497
Fix some verbose warnings and remove an unneeded include.
|
20 年之前 |
Nick Mathewson
|
9cec3a13f5
remove some functions that are not used; #if0 out some files that are not likely to be used.
|
20 年之前 |
Nick Mathewson
|
3bd613b44d
Rename connection_get_by_identity_digest to reflect that it is OR-only. Make it use a hashtable instead of a linear search.
|
20 年之前 |
Roger Dingledine
|
97f748f680
clean up broken comment
|
20 年之前 |
Nick Mathewson
|
652e1899ac
"How about 'never'? Does 'never' work for you?"
|
20 年之前 |
Roger Dingledine
|
fe221f3dff
Start the process of treating internal circuits and exit circuits
|
20 年之前 |
Nick Mathewson
|
fbf8a8c25f
Dump bytes held to store descriptors.
|
20 年之前 |
Nick Mathewson
|
7d7bb95f36
Track how many bytes we have in signed descriptors. Try to make sure we are tracking this right. Somebody should valgrind a dirserver on an example net. There should be code to dump this value.
|
20 年之前 |
Peter Palfrader
|
b9d37a2d58
Add a new controller event type that allows controllers to get all
|
20 年之前 |
Roger Dingledine
|
5c949fce51
Start obeying our firewall options more rigorously:
|
20 年之前 |
Roger Dingledine
|
7aae63994f
Recover better from TCP connections to Tor servers that are broken but
|
20 年之前 |
Roger Dingledine
|
afb1c79879
Leave options->DirServers alone -- if the user didn't specify any,
|
20 年之前 |
Roger Dingledine
|
298da4497a
help the term "OP" become obsolete
|
20 年之前 |
Roger Dingledine
|
c4aa9e7941
Add a new config option TestSocks so people can see if their
|
20 年之前 |
Roger Dingledine
|
862a997495
when we were cannibalizing a circuit with a particular exit
|
20 年之前 |
Nick Mathewson
|
75d85c8214
On directory servers, old_routers was wasting hundreds of bytes per superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers.
|
20 年之前 |
Nick Mathewson
|
9e82f0cdb7
enable code to remove members of old_routers when it gets big.
|
20 年之前 |
Roger Dingledine
|
44b3f3060a
make circ->onionskin a pointer, not a static array. moria2 was using
|
20 年之前 |
Roger Dingledine
|
bf2be9abd7
Do round-robin writes of at most 16 kB per write. This might
|
20 年之前 |
Nick Mathewson
|
e594ce92fe
Start making directory caches retain old routerinfo_t. The code to remove old ones is definitely some textbook C problem.
|
20 年之前 |
Nick Mathewson
|
5d85560d9e
Remove last vestiges of old logging interface.
|
20 年之前 |
Nick Mathewson
|
932106f54c
Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
|
20 年之前 |
Nick Mathewson
|
fa338d85db
Fix one possible source of reuse-a-circuit-id bug; convert circuitbuild to new logging
|
20 年之前 |
Nick Mathewson
|
55f2ab9cc3
Migrate a few more files to domained logging
|
20 年之前 |
Nick Mathewson
|
edf5698474
Start dividing log messages into logging domains. No, LD_ is not the best of identifiers. src/or has not been converted yet. Domains dont do anything yet.
|
20 年之前 |
Nick Mathewson
|
7a19588a43
Use digestmap_t instead of strmap_t where appropriate. Do less hex en/decoding
|
20 年之前 |