1. 11 Feb, 2005 1 commit
  2. 10 Feb, 2005 1 commit
  3. 01 Feb, 2005 1 commit
  4. 31 Jan, 2005 1 commit
  5. 28 Jan, 2005 1 commit
  6. 20 Jan, 2005 2 commits
  7. 19 Jan, 2005 1 commit
  8. 18 Jan, 2005 1 commit
  9. 17 Jan, 2005 1 commit
    • Roger Dingledine's avatar
      Introduce a notion of 'internal' circs, which are chosen without regard · d2400a5a
      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
      d2400a5a
  10. 13 Jan, 2005 1 commit
  11. 12 Jan, 2005 2 commits
    • Nick Mathewson's avatar
      Make Tor use Niels Provos's libevent instead of it's current · 324b192f
      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
      324b192f
    • Roger Dingledine's avatar
      Annotate circuits w/ whether they aim to contain high uptime nodes and/or · 84c81e07
      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
      84c81e07
  12. 07 Jan, 2005 1 commit
  13. 06 Jan, 2005 2 commits
  14. 05 Jan, 2005 2 commits
  15. 04 Jan, 2005 2 commits
  16. 03 Jan, 2005 2 commits
  17. 31 Dec, 2004 1 commit
  18. 24 Dec, 2004 1 commit
  19. 22 Dec, 2004 2 commits
  20. 13 Dec, 2004 1 commit
  21. 07 Dec, 2004 2 commits
  22. 05 Dec, 2004 1 commit
    • Roger Dingledine's avatar
      New circuit building strategy: keep a list of ports that we've used in ... · ef6c9d18
      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
      ef6c9d18
  23. 04 Dec, 2004 2 commits
  24. 30 Nov, 2004 2 commits
  25. 29 Nov, 2004 5 commits
  26. 26 Nov, 2004 1 commit