aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* terminology shift:Roger Dingledine2003-12-05
| | | | | | | | | | | | | 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
* prevent assert failure on -HUP when options->PidFile==NULLRoger Dingledine2003-12-03
| | | | svn:r885
* OnionRouter config option is obsoleteRoger Dingledine2003-12-03
| | | | svn:r883
* choose randomly from running dirservers, not always the first oneRoger Dingledine2003-12-03
| | | | svn:r881
* pick nodes for a circuit only from those the directory says are upRoger Dingledine2003-12-03
| | | | svn:r880
* stop segfault when choose_good_exit_server returns NULLRoger Dingledine2003-12-03
| | | | svn:r879
* fix vicious bug in connection_ap_attach_pending that caused it toRoger Dingledine2003-12-03
| | | | | | | | | | | never work. fix vicious bug in choose_good_exit_server that caused it to *skip over* pending circuits, and look only at *non-pending circuits*, when choosing a good exit node for the new circuit. bugfix: remove incorrect asserts in circuit_get_newest() svn:r876
* assert that nobody asks for a random number between 0 and -1Roger Dingledine2003-12-03
| | | | svn:r875
* bugfix in exit node choice: we used to find the perfect exit node but ↵Roger Dingledine2003-12-03
| | | | | | | | | | | | | | | | | 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
* stop expecting sample-server-torrc to be thereRoger Dingledine2003-12-02
| | | | svn:r873
* start tracking a rare bug: package_raw_inbuf gets called with package_window 0Roger Dingledine2003-11-30
| | | | | | | | Nov 25 22:39:18.294 [warn] connection_edge_package_raw_inbuf(): called with package_window 0. T ell Roger. svn:r870
* stop complaining as loudly when a dns resolve failsRoger Dingledine2003-11-30
| | | | svn:r869
* bugfix: we were writing to stderr even when it's closedRoger Dingledine2003-11-30
| | | | svn:r868
* bump up header length when the dirserv reads http commandsRoger Dingledine2003-11-30
| | | | | | | | Nov 23 12:10:26.556 [warn] fetch_from_buf_http(): headerlen 1487 larger than 1023. Failing. Nov 23 12:10:26.556 [warn] directory_handle_command(): input too large. Failing. svn:r867
* remove a conn_close_if_marked warningRoger Dingledine2003-11-30
| | | | | | | | Nov 27 15:45:19.003 [warn] connection_write_to_buf(): write_to_buf failed. Closing connection (fd 42). Nov 27 15:45:19.010 [warn] conn_close_if_marked(): Conn (socket 42) still wants to flush. Losing 0 bytes! svn:r866
* bugfix: an offline OP would leak all its sockets and stop workingRoger Dingledine2003-11-29
| | | | svn:r865
* Fix a few bugs in sending and receiving DNS resultsNick Mathewson2003-11-23
| | | | svn:r864
* Bring assert_connection_ok up to dateNick Mathewson2003-11-23
| | | | svn:r863
* Fix incorrect error messageNick Mathewson2003-11-21
| | | | svn:r862
* merge torrc.in and sample-server-torrc.inRoger Dingledine2003-11-20
| | | | svn:r858
* simplify: options.OnionRouter==1 iff options.ORPort>0Roger Dingledine2003-11-20
| | | | svn:r857
* default log level is now warnRoger Dingledine2003-11-19
| | | | | | | (info is too noisy) svn:r855
* make pidfile default to null rather than writing to your cwdRoger Dingledine2003-11-19
| | | | svn:r853
* if you tell people that IgnoreVersion exists,Roger Dingledine2003-11-19
| | | | | | | some of them will use it rather than upgrade. svn:r852
* bugfix and cleanupsRoger Dingledine2003-11-19
| | | | svn:r848
* Separate failure-count tracking from circuit-launching.Nick Mathewson2003-11-19
| | | | | | | | Increment failure counts only when circuits close without having been built. Reset failure counts only on the second, and when circuits are done building. svn:r847
* Check that we can write to the logfile and log a warning to stderr if we can'tPeter Palfrader2003-11-19
| | | | | | | | | Move writing of pidfile after daemonizing, and also after setting the [ug]id: This means that the tor user needs write priviliges to the pidfile location. It needs it for unlinking the pidfile anyway. svn:r846
* Patch last patch to last patchNick Mathewson2003-11-19
| | | | svn:r845
* removed unused variable; silence warningNick Mathewson2003-11-19
| | | | svn:r844
* Patch last patch.Nick Mathewson2003-11-19
| | | | svn:r843
* Skip non-running routers for exit node selectionNick Mathewson2003-11-19
| | | | svn:r842
* bugfix: sometimes we closed a circ while cpuworker was cranking,Roger Dingledine2003-11-18
| | | | | | | and it didn't notice svn:r841
* revert part of that last changeRoger Dingledine2003-11-18
| | | | | | | time for bed svn:r840
* make more sure we can't end up with two connections to the same ORRoger Dingledine2003-11-18
| | | | | | | fix leaked pk in connection_tls_finish_handshake svn:r839
* bugfix: don't ask for ->next of an expired circuitRoger Dingledine2003-11-18
| | | | | | | | | | | | | | | 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
* use the tor_malloc_zero wrapperRoger Dingledine2003-11-18
| | | | svn:r837
* add a tor_malloc_zero wrapper: tor_malloc and memset 0Roger Dingledine2003-11-18
| | | | svn:r836
* don't build too many circs at onceRoger Dingledine2003-11-18
| | | | | | | expire circs that have been building for too long svn:r835
* Simplify post-TLS-handshake checks, and add check for correct nicknameNick Mathewson2003-11-18
| | | | svn:r834
* Stop leaking X509 certs; those things are _nasty_ on the carpetNick Mathewson2003-11-18
| | | | svn:r833
* Always include newline with port section of exit policyNick Mathewson2003-11-18
| | | | svn:r832
* stop client_dns_clean from calling malloc(0)Roger Dingledine2003-11-18
| | | | svn:r831
* Fix possible bug in circID selection when building circuits on combination ↵Nick Mathewson2003-11-17
| | | | | | OP/OR servers svn:r830
* more verbose info for circuits when kill -USR1Roger Dingledine2003-11-17
| | | | svn:r829
* "I don't think it's quite fair to condemn a whole program because of aNick Mathewson2003-11-17
| | | | | | | | single slip-up." -- General "Buck" Turgidson, _Doctor Strangelove_ svn:r828
* finally find and possibly fix the circuit_deliver_relay_cell warn bugRoger Dingledine2003-11-17
| | | | svn:r827
* Fix bytesex issues on in.s_addrNick Mathewson2003-11-17
| | | | svn:r826
* catch the last missing log line i hopeRoger Dingledine2003-11-17
| | | | svn:r825
* Remove a possible source of error in circID picking.Nick Mathewson2003-11-17
| | | | svn:r824
* continue the circuit_deliver_relay_cell forward-failure bughuntRoger Dingledine2003-11-17
| | | | svn:r823