aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-01-20added short note about route selection to dir-spec.txtGeoff Goodell
svn:r3382
2005-01-20added a section about how to deal with connectivity information in Blossom/TorGeoff Goodell
svn:r3381
2005-01-20The crowning hidden-service patch: prefer non-internal circuitsRoger Dingledine
for normal connections, so we don't spend our internal circs on other stuff and not have them when we need them. svn:r3380
2005-01-19Handle unavailable hidden services better. We try each intro pointRoger Dingledine
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
2005-01-19make cannibalizing for rend circs prey on the pleb circs firstRoger Dingledine
if possible, rather than the elite ones. svn:r3378
2005-01-19Detect windows platform correctlyNick Mathewson
svn:r3377
2005-01-19Make detect_compression_method work on platforms with more evil chars.Nick Mathewson
svn:r3376
2005-01-19Add unittests for compression detection. Make all rendezvous descriptors ↵Nick Mathewson
"plausible". svn:r3375
2005-01-19Workaround for webservers that lie about Content-Encoding: Tor now tries to ↵Nick Mathewson
autodetect compressed directories and compression itself. (resolves bug 65) svn:r3374
2005-01-19Give more useful log messages when the tor process closes dns/cpuworker ↵Nick Mathewson
connections. "Error: Success!" makes us seem like crazy people." svn:r3373
2005-01-19fix another bug where general exit circs were looking at rendezvousRoger Dingledine
streams. consolidate the looking into one function so it doesn't happen again. svn:r3372
2005-01-19better comments for exit policies in torrc.sampleRoger Dingledine
svn:r3371
2005-01-19bugfix for cvs: we were needing a rendezvous circ, so we cannibalizedRoger Dingledine
a general circ, and called rend_client_rendcirc_has_opened(), which called connection_ap_attach_pending(), which was needing a rendezvous circ, so it cannibalized a general circuit, and called ... svn:r3370
2005-01-19make it clearer why FooPort and FooBindAddress are separateRoger Dingledine
svn:r3369
2005-01-19some early thoughts on the requirements for our network discovery protocolRoger Dingledine
svn:r3368
2005-01-19make the server setup docs more win32 friendlyRoger Dingledine
svn:r3367
2005-01-18Basic windows libevent fixesNick Mathewson
svn:r3366
2005-01-18mention that HiddenServiceNodes and HiddenServiceExcludeNodesRoger Dingledine
have fine defaults that you can leave alone in normal operation. svn:r3365
2005-01-18allow bandwidthburst to be smaller, but whine if it's small.Roger Dingledine
svn:r3364
2005-01-18write at the top of rend-spec that reading the design paperRoger Dingledine
first will be helpful. svn:r3363
2005-01-17remove some extra-verbose logsRoger Dingledine
svn:r3361
2005-01-17Introduce a notion of 'internal' circs, which are chosen without regardRoger Dingledine
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
2005-01-16Sometime post 0.0.9, we should integrate an http proxy into Tor (maybeRoger Dingledine
as a third class of worker process), so we can stop shipping with the beast that is Privoxy. svn:r3359
2005-01-16make tor-resolve print the Tor version on --version tooRoger Dingledine
svn:r3358
2005-01-15our man page still talked about the dirservers fileRoger Dingledine
svn:r3357
2005-01-14reset published uptime when you wake up from hibernation,Roger Dingledine
since if you hibernate daily a published uptime of >1day will be misleading. svn:r3356
2005-01-14when the hidden service launches a rendezvous circ, make sure itRoger Dingledine
provides good uptime if any virtual_port of the service wants that. svn:r3355
2005-01-13Move call to event_init() immediately after start_daemon(); move ↵Nick Mathewson
start_daemon earlier. This should fix using libevent with RunAsDaemon. svn:r3354
2005-01-13get rid of 0.0.8 backwards compatibilityRoger Dingledine
svn:r3353
2005-01-13start generating version 1 style introduce cellsRoger Dingledine
svn:r3352
2005-01-13fix some problems in control-specRoger Dingledine
svn:r3351
2005-01-13point win32 folks at 0.0.9.2, not 0.0.9.1Roger Dingledine
svn:r3350
2005-01-13when deciding if a port is handled and the port demands uptime, don'tRoger Dingledine
consider it handled if there's a circ that fits but isn't high-uptime. svn:r3349
2005-01-12Add libevent-dev to build-dependsPeter Palfrader
svn:r3348
2005-01-12more cleanupRoger Dingledine
svn:r3347
2005-01-12fix another integer underflow caused by buckets going negativeRoger Dingledine
svn:r3346
2005-01-12fix up some commentsRoger Dingledine
svn:r3345
2005-01-12tolerate bandwidtch buckets going negative (i hope)Roger Dingledine
svn:r3344
2005-01-12Note that we need to check return codes from more libevent functionsNick Mathewson
svn:r3343
2005-01-12document LongLivedPorts in the man pageRoger Dingledine
svn:r3342
2005-01-12Make Tor use Niels Provos's libevent instead of it's currentNick Mathewson
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
2005-01-12add more chat and interactive protocols to LongLivedPortsRoger Dingledine
svn:r3340
2005-01-12Annotate circuits w/ whether they aim to contain high uptime nodes and/orRoger Dingledine
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
2005-01-12clean up smartlist_string_isin so callers don't have to manage bufsRoger Dingledine
themselves svn:r3338
2005-01-11if somebody starts his tor server in jan 2004 and then fixes hisRoger Dingledine
clock, don't make his published uptime be a year. svn:r3337
2005-01-10if you're a server and the auth dirservers are down, go to any otherRoger Dingledine
server. only give up hope on network reachability when no other servers are reachable either. svn:r3335
2005-01-10help avoid overflow from len_in + (len_in/n)*len_insRoger Dingledine
nick, do you think this does it? if so, we should maybe backport too. svn:r3334
2005-01-10separate time_of_process_start from stats_n_seconds_uptime:Roger Dingledine
now we reset uptime when a dir fetch entirely fails. this hopefully has something to do with stability of being on the network. svn:r3333
2005-01-10it helps to use the correct name for the structRoger Dingledine
svn:r3331
2005-01-10when pruning circuit-wait streams when a dir fetch failed,Roger Dingledine
refer in logs to the destination address, not the address of the application connection. svn:r3330