1. 29 Sep, 2003 1 commit
  2. 28 Sep, 2003 1 commit
  3. 27 Sep, 2003 3 commits
  4. 26 Sep, 2003 1 commit
    • Roger Dingledine's avatar
      first pass: obey log convention · 9e5cafc3
      Roger Dingledine authored
      ERR is if something fatal just happened
      
      WARNING is something bad happened, but we're still running. The bad thing
      is either a bug in the code, an attack or buggy protocol/implementation
      of the remote peer, etc. The operator should examine the bad thing and
      try to correct it.
      (No error or warning messages should be expected. I expect most people
      to run on -l warning eventually.)
      
      NOTICE is never ever used.
      
      INFO means something happened (maybe bad, maybe ok), but there's nothing
      you need to (or can) do about it.
      
      DEBUG is for everything louder than INFO.
      
      
      svn:r486
      9e5cafc3
  5. 25 Sep, 2003 2 commits
    • Roger Dingledine's avatar
      various bugfixes and updates · 3b5191d3
      Roger Dingledine authored
      redo all the config files for the new format (we'll redo them again soon)
      
      fix (another! yuck) segfault in log_fn when input is too large
      tor_tls_context_new() returns -1 for error, not NULL
      fix segfault in check_conn_marked() on conn's that die during tls handshake
      
      make ORs also initialize conn from router when we're the receiving node
      
      make non-dirserver ORs upload descriptor to every dirserver on startup
      add our local address to the descriptor
      add Content-Length field to POST command
      revert the Content-Length search in fetch_from_buf_http() to previous code
      fix segfault in memmove in fetch_from_buf_http()
      raise maximum allowed headers/body size in directory.c
      
      
      svn:r484
      3b5191d3
    • Nick Mathewson's avatar
      Refactor buffers; implement descriptors. · 3d4ccb78
      Nick Mathewson authored
      'buf_t' is now an opaque type defined in buffers.c .
      
      Router descriptors now include all keys; routers generate keys as
      needed on startup (in a newly defined "data directory"), and generate
      their own descriptors.  Descriptors are now self-signed.
      
      Implementation is not complete: descriptors are never published; and
      upon receiving a descriptor, the directory doesn't do anything with
      it.
      
      At least "routers.or" and orkeygen are now obsolete, BTW.
      
      
      svn:r483
      3d4ccb78
  6. 22 Sep, 2003 1 commit
  7. 21 Sep, 2003 1 commit
    • Roger Dingledine's avatar
      bugfixes and note missing features · ed51df74
      Roger Dingledine authored
      deal with content-length headers better when reading http
      don't assume struct socks4_info is a packed struct
      fail the socks handshake if destip is zero
      flesh out conn_state_to_string() for dir conn
      fix typo (bug) in connection_handle_read()
      directory get is now called fetch, post is now upload
      reopen logs on sighup
      
      
      svn:r475
      ed51df74
  8. 18 Sep, 2003 1 commit
    • Roger Dingledine's avatar
      leave the socks handshake on the inbuf until it's complete · 078c5ab6
      Roger Dingledine authored
      this paves the way for supporting socks5 and other handshakes
      it also removes those pesky AP-only variables from connection_t
      
      also hacked a fix for a bug where some streams weren't ending properly --
      maybe because marked connections weren't flushing properly?
      
      
      svn:r472
      078c5ab6
  9. 17 Sep, 2003 1 commit
  10. 16 Sep, 2003 3 commits
  11. 08 Sep, 2003 1 commit
  12. 14 Aug, 2003 1 commit
  13. 12 Aug, 2003 2 commits
  14. 25 Jun, 2003 1 commit
  15. 17 Jun, 2003 1 commit
  16. 28 May, 2003 1 commit
  17. 20 May, 2003 1 commit
  18. 09 May, 2003 2 commits
  19. 08 May, 2003 2 commits
    • Nick Mathewson's avatar
      Get directories working. · 22df330f
      Nick Mathewson authored
      Or at least, directories get generated, signed, download, and checked, with
      nobody seeming to crash.
      
      In config/*, added 'signing-key' blocks to dirservers and routers.or, so
      that everyone will know about the directories' signing keys.
      
      In or/directory.c, refrained from using a dirserver's signing key when
      no such key is known; added more debugging output.
      
      In or/main.c, added debugging output and fixed a few logic errors.
      
      In or/routers.c, added debugging output and prevented a segfault on
      routers_resolve_directory.  The interleaving of arrays and lists on
      routerinfo_t is still messy, but at least it seems to work again.
      
      
      svn:r278
      22df330f
    • Nick Mathewson's avatar
      Call the right signed-directory functions; try to describe the difference... · c3998e94
      Nick Mathewson authored
      Call the right signed-directory functions; try to describe the difference between everything; remove some unused interfaces
      
      
      svn:r276
      c3998e94
  20. 07 May, 2003 1 commit
  21. 07 Apr, 2003 1 commit
  22. 18 Mar, 2003 1 commit
  23. 11 Mar, 2003 1 commit
  24. 14 Oct, 2002 1 commit
    • Roger Dingledine's avatar
      fix subtle race condition · 121d0295
      Roger Dingledine authored
      If you weren't connected to a given router, and you made a directory
      request to it simultaneously with a new web query that caused you to
      want to connect to that OR... it would think you're already connected.
      
      
      svn:r135
      121d0295
  25. 02 Oct, 2002 1 commit
  26. 28 Sep, 2002 2 commits
    • Roger Dingledine's avatar
      more robust http(ish) handling · 827c7444
      Roger Dingledine authored
      
      svn:r123
      827c7444
    • Roger Dingledine's avatar
      cleanup · 22285e6f
      Roger Dingledine authored
      prkey is only fetched when it's needed
      tor nodes who aren't dirservers now fetch directories and autoconnect
        to new nodes listed in the directory
      default role is a non-dirserver node
      
      
      svn:r120
      22285e6f
  27. 26 Sep, 2002 2 commits