aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
* comment choose_good_exit_serverNick Mathewson2003-11-17
| | | | svn:r822
* trivial bugfixesRoger Dingledine2003-11-17
| | | | svn:r821
* Fix a segfault caused by a weird logic error and masked by another.Nick Mathewson2003-11-17
| | | | svn:r820
* recognize in-progress circs and don't start redundant onesRoger Dingledine2003-11-17
| | | | | | | quickly notice streams that don't have a circ on the way, and start one svn:r819
* bugfixesRoger Dingledine2003-11-16
| | | | svn:r818
* change when circuits are built and expiredRoger Dingledine2003-11-16
| | | | | | | not quite happy with it yet svn:r817
* bugfix: if you recognize a relay cell, don't also pass it on.Roger Dingledine2003-11-16
| | | | svn:r816
* dump exit policies correctly to descriptorRoger Dingledine2003-11-16
| | | | svn:r815
* initial patches on patchesRoger Dingledine2003-11-16
| | | | svn:r814
* Finish implementing the rest of the exitpolicy stuff, except for ↵Nick Mathewson2003-11-16
| | | | | | automatically starting circuit builds. svn:r813
* Improved exit policy syntax; basic client-side DNS caching.Nick Mathewson2003-11-14
| | | | | | | | | | | | | | | | | | | | - 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
* commencing the bughuntRoger Dingledine2003-11-14
| | | | svn:r811
* bump default pathlen to 3; clean up surrounding codeRoger Dingledine2003-11-13
| | | | svn:r810
* let getconfig survive repeated calls. now we call it again when we hup.Roger Dingledine2003-11-13
| | | | | | | | change RecommendedVersions into a config option, so dirservers can hup for a new one svn:r809