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