| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r9438
|
|
|
|
|
|
|
| |
"DNS resolve socks failed" handshake reply; just close it.
svn:r9437
|
|
|
|
| |
svn:r9435
|
|
|
|
| |
svn:r9434
|
|
|
|
|
|
|
|
| |
let servers enable write limiting but still allow most clients to
succeed at their directory requests.
svn:r9433
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This one is a little tricky. Our BEGIN_DIR implementation has a
problem: the dirserv conns will decide they can flush all their data
immediately, since the edge_conns will read greedily.
For our 0.1.2 workaround, we track which or_conn a bridged dirserv
conn is attached to, and stop writing when its outbuf is too full, and
start writing again when the or_conn's outbuf empties out a little.
This requires a bit of pointer management. Let's hope it works.
svn:r9432
|
|
|
|
|
|
|
| |
Fix two assert bugs encountered when trying ipv6 lookups with eventdns code.
svn:r9430
|
|
|
|
|
|
|
| |
when we're deciding the required bandwidth to become a guard.
svn:r9423
|
|
|
|
|
|
|
| |
connection_is_rate_limited(). One day this will be useful.
svn:r9422
|
|
|
|
| |
svn:r9421
|
|
|
|
|
|
|
|
| |
DirPort due to AccountingMax enabled or a low BandwidthRate. It
was confusing Zax, so now we're hopefully more helpful.
svn:r9404
|
|
|
|
|
|
|
| |
Fix argument types in printf: try to make buildbot happier.
svn:r9403
|
|
|
|
| |
svn:r9400
|
|
|
|
|
|
|
| |
Use set_uint16/32 instead of raw assignments in order to make gcc happier.
svn:r9399
|
|
|
|
|
|
|
| |
Yet more documentation. (Again, trying to see whether I have buildbot working).
svn:r9396
|
|
|
|
| |
svn:r9395
|
|
|
|
|
|
|
| |
More documentation. (Again, trying to see whether I have buildbot working).
svn:r9394
|
|
|
|
|
|
|
| |
Add documentation to dns.c (mainly to test new buildbot version)
svn:r9393
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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
|