- 11 Feb, 2005 1 commit
-
-
Nick Mathewson authored
Free even more things on shutdown. Temporarily move tor_free_all out from #ifdef so it gets tested more. svn:r3614
-
- 10 Feb, 2005 1 commit
-
-
Nick Mathewson authored
svn:r3613
-
- 01 Feb, 2005 1 commit
-
-
Roger Dingledine authored
something goes wrong. this should only be used by people actively tracking bugs. svn:r3487
-
- 31 Jan, 2005 1 commit
-
-
Roger Dingledine authored
that's still on one of the lists. in particular, this will detect situations where we mark-for-close and then free it ourselves. svn:r3475
-
- 28 Jan, 2005 1 commit
-
-
Roger Dingledine authored
svn:r3448
-
- 20 Jan, 2005 2 commits
-
-
Nick Mathewson authored
Have reason string for serverdesc post requests contain actual serverdesc status. Also fix return values of dirserv_add_descriptor to work as advertised. svn:r3391
-
Nick Mathewson authored
svn:r3383
-
- 19 Jan, 2005 1 commit
-
-
Roger Dingledine authored
until none are left, then we try to refetch the descriptor. If it's the same one we had before, then close streams right then. Whenever a new stream arrives, even if it's right after, optimistically try refetching the descriptor, just in case. svn:r3379
-
- 18 Jan, 2005 1 commit
-
-
Nick Mathewson authored
svn:r3366
-
- 17 Jan, 2005 1 commit
-
-
Roger Dingledine authored
to the exit policy of the last hop. Intro and rendezvous circs must be internal circs, to avoid leaking information. Resolve and connect streams can use internal circs if they want. New circuit pooling algorithm: make sure to have enough circs around to satisfy any predicted ports, and also make sure to have 2 internal circs around if we've required internal circs lately (with high uptime if we've seen that lately). Split NewCircuitPeriod config option into NewCircuitPeriod (30 secs), which describes how often we retry making new circuits if current ones are dirty, and MaxCircuitDirtiness (10 mins), which describes how long we're willing to make use of an already-dirty circuit. Once rendezvous circuits are established, keep using the same circuit as long as you attach a new stream to it at least every 10 minutes. (So web browsing doesn't require you to build new rend circs every 30 seconds.) Cannibalize GENERAL circs to be C_REND, C_INTRO, S_INTRO, and S_REND circ as necessary, if there are any completed ones lying around when we try to launch one. Re-instate the ifdef's to use version-0 style introduce cells, since there was yet another bug in handling version-1 style. We'll try switching over again after 0.0.9 is obsolete. Bugfix: when choosing an exit node for a new non-internal circ, don't take into account whether it'll be useful for any pending x.onion addresses -- it won't. Bugfix: we weren't actually publishing the hidden service descriptor when it became dirty. So we only published it every 20 minutes or so, which means when you first start your Tor, the hidden service will seem broken. svn:r3360
-
- 13 Jan, 2005 1 commit
-
-
Roger Dingledine authored
svn:r3353
-
- 12 Jan, 2005 2 commits
-
-
Nick Mathewson authored
poll-but-sometimes-select mess. This will let us use faster async cores (like epoll, kpoll, and /dev/poll), and hopefully work better on Windows too. There are some fairly nasty changes to main.c here; this will almost certainly break something. But hey, that's what alphas are for. svn:r3341
-
Roger Dingledine authored
high capacity nodes. When building circuits, choose appropriate nodes. New config option LongLivedPorts to indicate application streams that will want high uptime circuits. When attaching a stream to a circuit, pay attention to its requirements. This means that every single node in an intro rend circuit, not just the last one, will have a minimum uptime. Boost the min uptime from an hour to 24 hours. svn:r3339
-
- 07 Jan, 2005 1 commit
-
-
Roger Dingledine authored
tried they were all unreachable, assume we are not connected to the network. when an application request comes in during this state, be optimistic and assume we just reconnected. fetch a new directory and if it works, begin making circuits. svn:r3327
-
- 06 Jan, 2005 2 commits
-
-
Roger Dingledine authored
now by default they refuse router descriptors that have non-IP or private-IP addresses. svn:r3321
-
Nick Mathewson authored
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. svn:r3319
-
- 05 Jan, 2005 2 commits
-
-
Nick Mathewson authored
svn:r3307
-
Nick Mathewson authored
Stop reversing and re-reversing config lines: keep them in order all the time. Removes needless confusion and fixes bug #50. svn:r3305
-
- 04 Jan, 2005 2 commits
-
-
Nick Mathewson authored
Nothing actually _uses_ socks_port, so why publish it? For backward compatibility, publish a socks_port of 0, and never read socks_port. svn:r3279
-
Roger Dingledine authored
svn:r3273
-
- 03 Jan, 2005 2 commits
-
-
Nick Mathewson authored
svn:r3257
-
Nick Mathewson authored
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. svn:r3256
-
- 31 Dec, 2004 1 commit
-
-
Roger Dingledine authored
svn:r3232
-
- 24 Dec, 2004 1 commit
-
-
Nick Mathewson authored
svn:r3218
-
- 22 Dec, 2004 2 commits
-
-
Roger Dingledine authored
call network_init in tor-resolve.c too move tor_lookup_hostname from common/util to common/compat svn:r3203
-
Nick Mathewson authored
of the warning messages. svn:r3199
-
- 13 Dec, 2004 1 commit
-
-
Nick Mathewson authored
svn:r3143
-
- 07 Dec, 2004 2 commits
-
-
Roger Dingledine authored
Stop treating the uint16_t's as null-terminated strings, and stop looking at the byte after them to see if it's null, because sometimes you're not allowed to look there. svn:r3108
-
Nick Mathewson authored
svn:r3094
-
- 05 Dec, 2004 1 commit
-
-
Roger Dingledine authored
New circuit building strategy: keep a list of ports that we've used in the past 6 hours, and always try to have 2 circuits open or on the way that will handle each such port. (We can extend this to include addresses if exit policies shift to require that.) Seed us with port 80 so web browsers won't complain that Tor is "slow to start up". This was necessary because our old circuit building strategy just involved counting circuits, and as time went by we would build up a big pile of circuits that had peculiar exit policies (e.g. only exit to 9001-9100) which would take up space in the circuit pile but never get used. Fix router_compare_addr_to_addr_policy: it was not treating a port of * as always matching, so we were picking reject *:* nodes as exit nodes too. If you haven't used a clean circuit in an hour, throw it away, just to be on the safe side. This means after 6 hours a totally unused Tor client will have no circuits open. svn:r3078
-
- 04 Dec, 2004 2 commits
-
-
Roger Dingledine authored
Stop keeping track of num_retries for apconns, since they expire after 60 seconds anyway. When warning about retrying or giving up, print the address, so the user knows which one it's talking about. svn:r3073
-
Nick Mathewson authored
svn:r3070
-
- 30 Nov, 2004 2 commits
-
-
Nick Mathewson authored
svn:r3047
-
Nick Mathewson authored
Rename parse_address to parse_extended_hostname (since we have other kinds of addresses); make its output an enum; support HEXDIGEST.exit hostnames. svn:r3029
-
- 29 Nov, 2004 5 commits
-
-
Nick Mathewson authored
svn:r3023
-
Nick Mathewson authored
svn:r3022
-
Nick Mathewson authored
svn:r3019
-
Nick Mathewson authored
Fetch cached running-routers from servers that serve it (that is, authdirservers, and servers running 0.0.9rc5-cvs or later.) svn:r3018
-
Roger Dingledine authored
decide what exit node to use; based on a patch by geoff goodell. needs more work: e.g. it goes bananas building new circuits when the chosen exit node's exit policy rejects the connection. svn:r3015
-
- 26 Nov, 2004 1 commit
-
-
Roger Dingledine authored
svn:r2989
-