1. 28 Feb, 2004 4 commits
  2. 27 Feb, 2004 1 commit
    • Nick Mathewson's avatar
      Refactor mark_for_close, connection_edge_end and friends. Now, everybody · c5bbb571
      Nick Mathewson authored
      who wants to shut down a connection calls connection_mark_for_close instead
      of setting marked_for_close to 1.  This automatically removes the connection
      from the DNS cache if needed, sends a RELAY END cell if appropriate, and can
      be changed to do whatever else is needed.
      Still to do:
        - The same for circuits, maybe.
        - Add some kind of hold_connection_open_until_flushed flag, maybe.
        - Change stuff that closes connections with return -1 to use mark_for_close,
  3. 25 Feb, 2004 2 commits
  4. 24 Feb, 2004 1 commit
  5. 22 Feb, 2004 1 commit
  6. 10 Jan, 2004 1 commit
  7. 06 Jan, 2004 1 commit
    • Roger Dingledine's avatar
      Fix the dns bug: children weren't dying · c485725c
      Roger Dingledine authored
      We were telling a child to die by closing the parent's file descriptor
      to him. But newer children were inheriting the open file descriptor from
      the parent, and since they weren't closing them, the socket never closed,
      so the child never read eof, so he never knew to exit.
      As a side effect to this bug, we were probably failing to properly close
      connections to remote hosts, ORs, and OPs, after a dns child was born.
      I'm surprised Tor worked at all.
  8. 17 Dec, 2003 1 commit
  9. 15 Dec, 2003 1 commit
  10. 14 Dec, 2003 4 commits
  11. 18 Nov, 2003 1 commit
  12. 13 Nov, 2003 2 commits
  13. 08 Nov, 2003 1 commit
  14. 22 Oct, 2003 1 commit
  15. 21 Oct, 2003 1 commit
    • Roger Dingledine's avatar
      send the end cell when we realize we're going to end, · 4a66865d
      Roger Dingledine authored
      not when we're closing the stream.
      this lets us put a payload in the end cell if we want to,
      to describe why we're closing the stream.
      there are still some places where we don't send the end cell
      immediately. i need to track them down. but it's a low priority,
      since i've made it send the end cell when we close the stream if
      we haven't already sent it.
  16. 18 Oct, 2003 1 commit
  17. 15 Oct, 2003 1 commit
  18. 10 Oct, 2003 1 commit
  19. 04 Oct, 2003 2 commits
  20. 27 Sep, 2003 2 commits
  21. 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.
  22. 25 Sep, 2003 1 commit
    • 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
      At least "routers.or" and orkeygen are now obsolete, BTW.
  23. 16 Sep, 2003 1 commit
  24. 14 Sep, 2003 1 commit
  25. 25 Aug, 2003 1 commit
  26. 20 Aug, 2003 1 commit
    • Roger Dingledine's avatar
      implemented cpuworkers · 2dda97e8
      Roger Dingledine authored
      please poke at it and report bugs
      still needs polishing, and only handles onions now (should handle
      OR handshakes too)
  27. 14 Aug, 2003 1 commit
  28. 13 Aug, 2003 1 commit
  29. 12 Aug, 2003 2 commits