1. 06 Dec, 2003 1 commit
  2. 05 Dec, 2003 1 commit
    • Roger Dingledine's avatar
      terminology shift: · e0952d07
      Roger Dingledine authored
      directory is the string that dirserv.c and directory.c deal with
      routerlist is routerinfo's that are bundled together in routers.c
      
      rename some of the get_routerlist functions to set_routerlist
      
      preparing to break into router.c for stuff the router does,
      and routerlist.c for handling routerlist.
      
      
      svn:r886
      e0952d07
  3. 03 Dec, 2003 2 commits
    • Roger Dingledine's avatar
      63f81bdd
    • Roger Dingledine's avatar
      bugfix in exit node choice: we used to find the perfect exit node but ... · f65e871b
      Roger Dingledine authored
      bugfix in exit node choice: we used to find the perfect exit node but                            then use the wrong one.
      bugfix in connection_ap_can_use_exit: it was using the wrong port
      bugfix: the OP now handles a port of '*' correctly when the IP is not
        yet known and it's trying to guess whether a router's exit policy
        might accept it.
      we now don't ever pick exit routers which will reject *:*
      attach_circuit now fails a new stream outright if it will never work.
      when you get an 'end' cell that resolves an IP, now it will fail the                             circuit outright if no safe exit nodes exist for that IP.
      don't try building a new circuit after an 'end' if a suitable one is
        already on the way.
      
      
      svn:r874
      f65e871b
  4. 20 Nov, 2003 1 commit
  5. 19 Nov, 2003 1 commit
  6. 18 Nov, 2003 2 commits
    • Roger Dingledine's avatar
      bugfix: don't ask for ->next of an expired circuit · f0cccc56
      Roger Dingledine authored
      bugfix: keep going when a circ fails in circuit_n_conn_open
              (make circuit_enumerate_by_naddr_nport obsolete)
      bugfix: make circuit_n_conn_open only look at circ's that start at us
      bugfix: only try circuit_n_conn_open if we're an OP. Otherwise we
              expect connections to always already be up.
      bugfix: when choosing path length, pay attention to whether the directory
              says a router is down.
      bugfix: when picking good exit, skip routers which are known to be down
              (more work needs to be done on this one)
      
      
      svn:r838
      f0cccc56
    • Roger Dingledine's avatar
      don't build too many circs at once · a3e39b0c
      Roger Dingledine authored
      expire circs that have been building for too long
      
      
      svn:r835
      a3e39b0c
  7. 17 Nov, 2003 1 commit
  8. 16 Nov, 2003 4 commits
  9. 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
  10. 13 Nov, 2003 2 commits
  11. 12 Nov, 2003 4 commits
  12. 11 Nov, 2003 3 commits
  13. 10 Nov, 2003 1 commit
  14. 25 Oct, 2003 1 commit
  15. 22 Oct, 2003 3 commits
  16. 21 Oct, 2003 2 commits
  17. 19 Oct, 2003 1 commit
  18. 15 Oct, 2003 2 commits
    • 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
    • Nick Mathewson's avatar
      Make last commit build · 7432d973
      Nick Mathewson authored
      
      svn:r593
      7432d973
  19. 14 Oct, 2003 1 commit
  20. 12 Oct, 2003 1 commit
  21. 09 Oct, 2003 1 commit
  22. 08 Oct, 2003 3 commits
  23. 07 Oct, 2003 1 commit