1. 16 Nov, 2003 1 commit
  2. 14 Nov, 2003 1 commit
    • Nick Mathewson's avatar
      Improved exit policy syntax; basic client-side DNS caching. · a8eaa79e
      Nick Mathewson authored
      - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and bitcounts
        18.0.0.0/8.  Policies are parsed on startup, not when comparing to them.
      
      - desired_path_len is now part of an opaque cpath_build_state_t structure.
      
      - END_REASON_EXITPOLICY cells no longer include a port.
      
      - RELAY_COMMAND_CONNECTED cells now include the IP address we've connected
        to.
      
      - connection_edge now has a client_dns cache to remember resolved addresses.
        It gets populated by RELAY_COMMAND_CONNECTED cells and END_REASON_EXITPOLICY
        cells.  It gets used by connection_ap_handshake_send_begin.  We don't
        compare it to exit policies yet.
      
      
      svn:r812
      a8eaa79e
  3. 12 Nov, 2003 2 commits
  4. 11 Nov, 2003 6 commits
  5. 10 Nov, 2003 1 commit
  6. 22 Oct, 2003 2 commits
  7. 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.
      
      
      svn:r640
      4a66865d
  8. 15 Oct, 2003 1 commit
    • Roger Dingledine's avatar
      clean up logging, allow user to specify log files · 11a23fc2
      Roger Dingledine authored
      If DebugLogFile is specified, log to it at -l debug
      If LogFile is specified, log to it at the -l from the commandline
        (default info)
      If no LogFile *and* not a Daemon, then log to stdout.
      Make conn->s = -1 by default (this might break things)
      When kill -USR1, prefer to log at INFO, but make sure they always see it.
      
      
      svn:r596
      11a23fc2
  9. 14 Oct, 2003 1 commit
  10. 13 Oct, 2003 1 commit
  11. 10 Oct, 2003 1 commit
  12. 09 Oct, 2003 1 commit
  13. 08 Oct, 2003 2 commits
  14. 06 Oct, 2003 1 commit
  15. 04 Oct, 2003 4 commits
  16. 02 Oct, 2003 1 commit
  17. 27 Sep, 2003 2 commits
  18. 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
  19. 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
      it.
      
      At least "routers.or" and orkeygen are now obsolete, BTW.
      
      
      svn:r483
      3d4ccb78
  20. 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
  21. 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
  22. 16 Sep, 2003 3 commits
  23. 14 Sep, 2003 1 commit
  24. 12 Sep, 2003 1 commit
  25. 14 Aug, 2003 1 commit
  26. 12 Aug, 2003 1 commit
    • Nick Mathewson's avatar
      Start of port to win32. Missing are: · c336c99e
      Nick Mathewson authored
        - signal support
        - forking for DNS farm
        - changes for async IO
        - daemonizing
      
      In other words, some files still don't build, and the ones that do build,
      do nonblocking IO incorrectly.
      
      I'm also not checking in the project files till I have a good place
      for them.
      
      
      svn:r380
      c336c99e