aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* comment SocksPort better as it pertains to serversRoger Dingledine2005-01-22
| | | | svn:r3413
* fwd-port win32 isprint fixNick Mathewson2005-01-22
| | | | svn:r3410
* Fix dumb bug in unittests.Nick Mathewson2005-01-22
| | | | svn:r3409
* forward-port: fix win32 compileRoger Dingledine2005-01-22
| | | | svn:r3406
* clean a couple of messagesNick Mathewson2005-01-21
| | | | svn:r3401
* special case so we don't yell when an empty http body doesn't specify aRoger Dingledine2005-01-21
| | | | | | | content-encoding svn:r3397
* if we get an incredibly skewed timestamp from a dirserver mirror thatRoger Dingledine2005-01-21
| | | | | | | | isn't a verified OR, don't complain very loudly -- it's probably him that's wrong. svn:r3395
* Log the offending policy, not the first policyNick Mathewson2005-01-20
| | | | svn:r3394
* Appease another 64-bit warningNick Mathewson2005-01-20
| | | | svn:r3392
* Have reason string for serverdesc post requests contain actual serverdesc ↵Nick Mathewson2005-01-20
| | | | | | status. Also fix return values of dirserv_add_descriptor to work as advertised. svn:r3391
* Appease weasel's paranoid 64-bit compiler.Nick Mathewson2005-01-20
| | | | svn:r3389
* give a header file for ntohsRoger Dingledine2005-01-20
| | | | svn:r3388
* start to fix http status stuff, more work neededRoger Dingledine2005-01-20
| | | | svn:r3387
* Give better reason phrases in HTTP status lines. Start resolving task #67. ↵Nick Mathewson2005-01-20
| | | | | | (Messages still need to be better.) svn:r3386
* Compilation fixes for win32 version detection.Nick Mathewson2005-01-20
| | | | svn:r3385
* Make zlib detection happy on little-endian platforms; fix unit tests.Nick Mathewson2005-01-20
| | | | svn:r3384
* Warn when exit policy implicitly allows local addresses.Nick Mathewson2005-01-20
| | | | svn:r3383
* The crowning hidden-service patch: prefer non-internal circuitsRoger Dingledine2005-01-20
| | | | | | | | for normal connections, so we don't spend our internal circs on other stuff and not have them when we need them. svn:r3380
* Handle unavailable hidden services better. We try each intro pointRoger Dingledine2005-01-19
| | | | | | | | | | 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
* 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
* Basic windows libevent fixesNick Mathewson2005-01-18
| | | | svn:r3366
* allow bandwidthburst to be smaller, but whine if it's small.Roger Dingledine2005-01-18
| | | | svn:r3364
* 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
* make tor-resolve print the Tor version on --version tooRoger Dingledine2005-01-16
| | | | svn:r3358
* 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
* 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
* 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
* 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