| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
More doxygen comments: this time mainly around spooling and storing directory information.
svn:r9392
|
|
|
|
|
|
|
| |
When logging TLS certificate and identity-related errors, scrub IP addresses for incoming connections, and distinguish between incoming and outgoing connections in log messages. Backport candidate.
svn:r9391
|
|
|
|
|
|
|
| |
Remove redundant check for whether _connection_write_to_buf_impl is called with a zlib and a non-directory connection: TO_DIR_CONN will already assert if it gets a non-dir connection.
svn:r9390
|
|
|
|
|
|
|
| |
Fix an XXXX012 in routerlist.c: when we do not have enough networkstatuses to launch router requests, do not launch router requests. Backport candidate.
svn:r9388
|
|
|
|
| |
svn:r9387
|
|
|
|
|
|
|
| |
Free CACHE_STATE_DONE cached_router_t items on dns_free_all().
svn:r9386
|
|
|
|
|
|
|
| |
Document a few undocumented functions and arguments.
svn:r9385
|
|
|
|
|
|
|
|
|
|
| |
writing to them, so we avoid queueing 4+ megabytes of data before
trying to flush.
Also add a new XXX012.
svn:r9382
|
|
|
|
| |
svn:r9381
|
|
|
|
|
|
|
| |
Fix memory leak on networkstatus 503.
svn:r9380
|
|
|
|
|
|
|
| |
Detect and reject another (harmless) class of DNS replies. Also, fix a couple of IPv6 bugs in evendns.c
svn:r9379
|
|
|
|
|
|
|
| |
Detect pointer loops in DNS requests and replies; avoid infinite loop on such malformed replies. Fixes bug 380.
svn:r9378
|
|
|
|
|
|
|
|
| |
uptime in the descriptor. Also, don't let the global rate limiting
buckets go absurdly negative.
svn:r9377
|
|
|
|
|
|
|
| |
And remove another strcpy.
svn:r9375
|
|
|
|
|
|
|
| |
Implement SOCKS_BAD_HOSTNAME status event. Defer remaining status events. Clean up control-spec.txt a little, and fill in recommendations for events.
svn:r9374
|
|
|
|
|
|
|
| |
Yes, apparently saying strcpy in front of openbsd is like saying "intellectual property" in front of RMS. They both have a point, I guess, even though they extend it to contexts where it is completely irrelevant.
svn:r9370
|
|
|
|
| |
svn:r9369
|
|
|
|
|
|
|
| |
connections) even when the global rate limiting buckets are empty.
svn:r9368
|
|
|
|
|
|
|
|
|
|
| |
aggressively. my vidalia bandwidth graph, when rate limiting
to 32kB/s, has the "write" line constantly at 32kB. I can't
imagine what's going on with the relay latency but it can't
be good.
svn:r9366
|
|
|
|
| |
svn:r9365
|
|
|
|
|
|
|
| |
Be even more clever about severity of messages from eventdns: NOTICE when the first nameserver comes up; INFO on subsequent ones.
svn:r9364
|
|
|
|
|
|
|
| |
Apparently, the OpenBSD linker thinks it knows C better than I do, and gets to call me names for having strcat and strcpy and sprintf in my code--whether I use them safely or not. All right, OpenBSD. You win... this round.
svn:r9360
|
|
|
|
|
|
|
| |
set or_conn->tls_error to 0 on non-error to avoid looking at stale errors.
svn:r9359
|
|
|
|
|
|
|
| |
Answer questions from r9348.
svn:r9358
|
| |
|
|
|
|
|
|
|
| |
tidy up more whitespace issues
svn:r9356
|
|
|
|
|
|
|
| |
Tidy up ORCONN reason patch from Mike Perry. Changes: make some of the handling of TLS error codes less error prone. Enforce house style wrt spaces. Make it compile with --enable-gcc-warnings. Only set or_conn->tls_error in the case of an actual error. Add a changelog entry.
svn:r9355
|
|
|
|
|
|
|
| |
Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision.
svn:r9354
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handshake to finish. Previously we would let them sit around for
days, if the connecting application didn't close them either.
Also take this opportunity to refactor a duplicate bit of circuituse.c.
And change the semantics of SocksTimeout slightly, but I think it'll
be ok.
svn:r9350
|
|
|
|
| |
svn:r9349
|
|
|
|
| |
svn:r9348
|
|
|
|
|
|
|
| |
reflect all available options to tor binary.
svn:r9341
|
|
|
|
|
|
|
| |
Check addresses for rfc953-saneness at exit too, and give a PROTOCOL_WARN when they fail. Also provide a mechanism to override this, so blossom can have its @@##$$^.whatever.exit hostnames if it wants.
svn:r9336
|
|
|
|
|
|
|
| |
Fix a crash bug in the presence of DNS hijacking.
svn:r9333
|
|
|
|
|
|
|
| |
fix recently-introduced segfault when not running as a dirserver
svn:r9332
|
|
|
|
|
|
|
|
| |
The foo_init() funcs need to happen before we call
options_act() and friends.
svn:r9331
|
|
|
|
| |
svn:r9328
|
|
|
|
|
|
|
| |
Clear untrusted networkstatuses after 10 days too. (This is not a terribly awful bug, since we would only ever retain 16 of them, but it still might be nice to backport.) Resolves part A of bug 372.
svn:r9324
|
|
|
|
|
|
|
| |
Add some defensive programming to eventdns.c in an attempt to catch possible memory stomping bugs.
svn:r9322
|
|
|
|
|
|
|
| |
Base skew calculation on conn->timestamp_lastwritten, not on now.
svn:r9319
|
|
|
|
|
|
|
| |
surprise release too
svn:r9314
|
|
|
|
| |
svn:r9311
|
|
|
|
|
|
|
| |
time to put out the bugfix release.
svn:r9309
|
|
|
|
|
|
|
|
|
| |
"read this if you don't understand the code and want some help."
which is not the same as "hey, you think you understand this code,
but you don't."
svn:r9307
|
|
|
|
|
|
|
| |
connection handles more than 4 gigs in either direction, we assert.
svn:r9306
|
|
|
|
|
|
|
|
| |
advertised exit node, somebody might try to exit from you when
you're bootstrapping and before you've built your descriptor yet.
svn:r9305
|
|
|
|
|
|
|
| |
Implement DNS-related status events.
svn:r9285
|
|
|
|
|
|
|
| |
Implement a control status event for bad libevent version/method combos. Warn that libevent <1.1 with select() is needlessly slow. Reply to comment.
svn:r9284
|
|
|
|
|
|
|
| |
Document how we set Guard a little better.
svn:r9283
|
|
|
|
|
|
|
| |
Fix an XXXX012 in connection.c: prevent overflows on unfeasibly-high-bandwidth servers on 32-bit architectures.
svn:r9282
|