Nick Mathewson
|
60f234f42b
Add more functions to free things to help dmalloc allong.
|
21 лет назад |
Roger Dingledine
|
37ca621301
when a client asks us for a dir mirror and we don't have one,
|
21 лет назад |
Nick Mathewson
|
bb32fa86d7
Re-normalize whitespace; make "make check-spaces" happy
|
21 лет назад |
Roger Dingledine
|
56d4b99491
forward-port the logic skew and double-free thing
|
21 лет назад |
Roger Dingledine
|
2e97593d25
define TOR_FRAGILE if you want tor to give you a core when
|
21 лет назад |
Roger Dingledine
|
cab0138e4c
give a better log message when we don't have a good mirror of
|
21 лет назад |
Roger Dingledine
|
d273891107
if we fetch the dir from a mirror that has a wildly skewed
|
21 лет назад |
Roger Dingledine
|
191e52179c
distinguish between "well-formed and rejected" and "not well
|
21 лет назад |
Roger Dingledine
|
7fd8dfe6ea
accept LDAP (389/tcp) and LDAPS (636/tcp) in default exit policy
|
21 лет назад |
Nick Mathewson
|
fbb7f869c5
fwd-port win32 isprint fix
|
21 лет назад |
Nick Mathewson
|
de9b46ad64
clean a couple of messages
|
21 лет назад |
Roger Dingledine
|
4826718eac
special case so we don't yell when an empty http body doesn't specify a
|
21 лет назад |
Roger Dingledine
|
b137f6d19f
if we get an incredibly skewed timestamp from a dirserver mirror that
|
21 лет назад |
Nick Mathewson
|
fd41cbcadf
Have reason string for serverdesc post requests contain actual serverdesc status. Also fix return values of dirserv_add_descriptor to work as advertised.
|
21 лет назад |
Roger Dingledine
|
67f0babfd4
start to fix http status stuff, more work needed
|
21 лет назад |
Nick Mathewson
|
80e8359ccf
Give better reason phrases in HTTP status lines. Start resolving task #67. (Messages still need to be better.)
|
21 лет назад |
Roger Dingledine
|
38be533c69
Handle unavailable hidden services better. We try each intro point
|
21 лет назад |
Nick Mathewson
|
1eddb28f82
Add unittests for compression detection. Make all rendezvous descriptors "plausible".
|
21 лет назад |
Nick Mathewson
|
69fa5be7b6
Workaround for webservers that lie about Content-Encoding: Tor now tries to autodetect compressed directories and compression itself. (resolves bug 65)
|
21 лет назад |
Nick Mathewson
|
324b192f68
Make Tor use Niels Provos's libevent instead of it's current
|
21 лет назад |
Roger Dingledine
|
84c81e0783
Annotate circuits w/ whether they aim to contain high uptime nodes and/or
|
21 лет назад |
Roger Dingledine
|
45eb8d9660
if you're a server and the auth dirservers are down, go to any other
|
21 лет назад |
Roger Dingledine
|
f468ff04ea
when we haven't fetched a directory yet, or the last time we
|
21 лет назад |
Roger Dingledine
|
cd1f50d2f0
new config option DirAllowPrivateAddresses for authdirservers.
|
21 лет назад |
Nick Mathewson
|
91bafc476e
Fix a fun bug: do not rewrite a cached directory back to the cache; otherwise we will think it is recent and not fetch a newer one.
|
21 лет назад |
Roger Dingledine
|
82c5381ecb
forward-port the fix for the compiler warning
|
21 лет назад |
Nick Mathewson
|
d1fc7ad94b
Log when we retry a directory connection
|
21 лет назад |
Nick Mathewson
|
0c4186d6ee
Use correct logic to decide whether there are more directory servers to retry.
|
21 лет назад |
Nick Mathewson
|
65c4fa2614
Split mark-dir-failed-and-retry logic into separate function; make it retry runningrouters as well as directory fetches; note that the do-we-need-to-give-up test is wrong.
|
21 лет назад |
Roger Dingledine
|
59504f4831
bugfix: if a server uploads a descriptor that's unapproved, actually
|
21 лет назад |