| Commit message (Expand) | Author | Age |
... | |
* | bugfix: we were caching transient dns failures•••svn:r1266
| Roger Dingledine | 2004-03-12 |
* | Make all the other read/writes into recv/sends, except when they shouldn't be.•••svn:r1260
| Nick Mathewson | 2004-03-11 |
* | stop asserting that computers always go forward in time•••it's simply not true
svn:r1236
| Roger Dingledine | 2004-03-06 |
* | make workers explain their death better when tor dies•••and make them say it at log level info rather than err
svn:r1232
| Roger Dingledine | 2004-03-04 |
* | bugfix: don't pass complex things to the connection_mark_for_close macro•••svn:r1231
| Roger Dingledine | 2004-03-04 |
* | Clean up dns->connection_mark_for_close->dns_remove path•••svn:r1230
| Nick Mathewson | 2004-03-04 |
* | fix the function comment•••svn:r1169
| Roger Dingledine | 2004-02-28 |
* | Split dns_cancel_pending_resolve into dns_cancel_pending_resolve (kill a•••resolve in response to a DNS worker dying) and connection_dns_remove (remove
a pending connection from the resolve structure.)
svn:r1168
| Nick Mathewson | 2004-02-28 |
* | add a log_warn to notify us of yet another potential dns.c bug•••svn:r1167
| Roger Dingledine | 2004-02-28 |
* | Make dns_cancel_pending_resolve less agressive.•••svn:r1166
| Nick Mathewson | 2004-02-28 |
* | Fix bug on dns_found_answer from mark_to_close stuff.•••svn:r1165
| Nick Mathewson | 2004-02-28 |
* | remove assert from dns.c that's no longer true:•••typically the resolve will be pending, but it could be failed if it
just failed and we're working through the 'pending' list, or it could
be valid if some other dnsworker raced us to fill in the entry.
svn:r1164
| Roger Dingledine | 2004-02-28 |
* | Push responsibility for connection marking down as far as possible; have only...•••svn:r1149
| Nick Mathewson | 2004-02-28 |
* | Refactor mark_for_close, connection_edge_end and friends. Now, everybody•••who wants to shut down a connection calls connection_mark_for_close instead
of setting marked_for_close to 1. This automatically removes the connection
from the DNS cache if needed, sends a RELAY END cell if appropriate, and can
be changed to do whatever else is needed.
Still to do:
- The same for circuits, maybe.
- Add some kind of hold_connection_open_until_flushed flag, maybe.
- Change stuff that closes connections with return -1 to use mark_for_close,
maybe.
svn:r1145
| Nick Mathewson | 2004-02-27 |
* | Basic RAM poisoning and magic-checking to notice connection and circuit•••corruption faster; also, check for corruption in dns.c so we can fail fast
for the bug that's nailing Lucky and moria3.
svn:r1123
| Nick Mathewson | 2004-02-25 |
* | remove dead code•••svn:r1121
| Roger Dingledine | 2004-02-25 |
* | fix some bugs in assert_connection_ok•••svn:r1118
| Roger Dingledine | 2004-02-24 |
* | start hunting the lucky-bug•••svn:r1116
| Roger Dingledine | 2004-02-22 |
* | split the token bucket into 'rate' and 'burst' params•••we're not entirely migrated to burst yet, for backward compatibility
note some win32 probable-bugs
clean up routerlist.c
svn:r982
| Roger Dingledine | 2004-01-10 |
* | Fix the dns bug: children weren't dying•••We were telling a child to die by closing the parent's file descriptor
to him. But newer children were inheriting the open file descriptor from
the parent, and since they weren't closing them, the socket never closed,
so the child never read eof, so he never knew to exit.
As a side effect to this bug, we were probably failing to properly close
connections to remote hosts, ORs, and OPs, after a dns child was born.
I'm surprised Tor worked at all.
svn:r974
| Roger Dingledine | 2004-01-06 |
* | betcha didn't know strncpy could leave an unterminated string•••svn:r949
| Roger Dingledine | 2003-12-17 |
* | Make compile warning-free on cygwin•••svn:r936
| Nick Mathewson | 2003-12-15 |
* | start tracking the 'It appears I've already sent the end' warning•••svn:r932
| Roger Dingledine | 2003-12-14 |
* | change dns notation from question/answer to address/addr•••svn:r929
| Roger Dingledine | 2003-12-14 |
* | more friendly warning when there are too many dns workers•••svn:r919
| Roger Dingledine | 2003-12-14 |
* | more general cleanup•••svn:r915
| Roger Dingledine | 2003-12-14 |
* | use the tor_malloc_zero wrapper•••svn:r837
| Roger Dingledine | 2003-11-18 |
* | let getconfig survive repeated calls. now we call it again when we hup.•••change RecommendedVersions into a config option, so dirservers can hup
for a new one
svn:r809
| Roger Dingledine | 2003-11-13 |
* | warn on startup that we don't provide anonymity•••make exit dns cache entries last 15 minutes
svn:r807
| Roger Dingledine | 2003-11-13 |
* | Add lots of logging to dns.c; change behavior of often-failing assertion•••svn:r778
| Nick Mathewson | 2003-11-08 |
* | make end relay cells have payloads•••move default exit policy into config files
svn:r653
| Roger Dingledine | 2003-10-22 |
* | send the end cell when we realize we're going to end,•••not when we're closing the stream.
this lets us put a payload in the end cell if we want to,
to describe why we're closing the stream.
there are still some places where we don't send the end cell
immediately. i need to track them down. but it's a low priority,
since i've made it send the end cell when we close the stream if
we haven't already sent it.
svn:r640
| Roger Dingledine | 2003-10-21 |
* | another minor memory leak•••make dnsconn->address reflect what it's currently resolving
svn:r624
| Roger Dingledine | 2003-10-18 |
* | Stop using stdout for non-debugging cases•••svn:r592
| Nick Mathewson | 2003-10-15 |
* | change WARNING to WARN•••and fix a few typos
svn:r571
| Roger Dingledine | 2003-10-10 |
* | wrap strdup; prefer time() to gettimeofday()•••svn:r538
| Roger Dingledine | 2003-10-04 |
* | refactor so connection_write_to_buf() never fails•••svn:r537
| Roger Dingledine | 2003-10-04 |
* | clean up receiver buckets; prepare for payloads in relay_end; note a few bugs•••svn:r502
| Roger Dingledine | 2003-09-27 |
* | connection_new() can't ever fail•••svn:r497
| Roger Dingledine | 2003-09-27 |
* | first pass: obey log convention•••ERR is if something fatal just happened
WARNING is something bad happened, but we're still running. The bad thing
is either a bug in the code, an attack or buggy protocol/implementation
of the remote peer, etc. The operator should examine the bad thing and
try to correct it.
(No error or warning messages should be expected. I expect most people
to run on -l warning eventually.)
NOTICE is never ever used.
INFO means something happened (maybe bad, maybe ok), but there's nothing
you need to (or can) do about it.
DEBUG is for everything louder than INFO.
svn:r486
| Roger Dingledine | 2003-09-26 |
* | Refactor buffers; implement descriptors.•••'buf_t' is now an opaque type defined in buffers.c .
Router descriptors now include all keys; routers generate keys as
needed on startup (in a newly defined "data directory"), and generate
their own descriptors. Descriptors are now self-signed.
Implementation is not complete: descriptors are never published; and
upon receiving a descriptor, the directory doesn't do anything with
it.
At least "routers.or" and orkeygen are now obsolete, BTW.
svn:r483
| Nick Mathewson | 2003-09-25 |
* | refactor connects into connection_connect()•••svn:r460
| Roger Dingledine | 2003-09-16 |
* | fix the cpuworker circ-had-vanished bug (maybe)•••still several (many) tls-related bugs outstanding.
svn:r454
| Roger Dingledine | 2003-09-14 |
* | note an assert bug that's still around•••svn:r417
| Roger Dingledine | 2003-08-25 |
* | implemented cpuworkers•••please poke at it and report bugs
still needs polishing, and only handles onions now (should handle
OR handshakes too)
svn:r402
| Roger Dingledine | 2003-08-20 |
* | start refactoring dnsworker so testing won't be so darn hard•••add NumCpus config variable in preparation for cpuworkers
hardcode /etc/torrc path for config (simplifies win32 port)
improve exit policy debugging during router entry parsing
svn:r397
| Roger Dingledine | 2003-08-14 |
* | bugfix: if a dnsworker dies, remember that.•••svn:r396
| Roger Dingledine | 2003-08-13 |
* | Adopt socketpair implementation from perl. For now, always use it.•••svn:r389
| Nick Mathewson | 2003-08-12 |
* | use the spawn_func / spawn_exit abstraction for dnsworkers•••svn:r388
| Roger Dingledine | 2003-08-12 |
* | Start of port to win32. Missing are:••• - signal support
- forking for DNS farm
- changes for async IO
- daemonizing
In other words, some files still don't build, and the ones that do build,
do nonblocking IO incorrectly.
I'm also not checking in the project files till I have a good place
for them.
svn:r380
| Nick Mathewson | 2003-08-12 |