aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-12-13clean up some copyrightsRoger Dingledine
svn:r907
2003-12-13bughunt: start tracking the bug mutiny foundRoger Dingledine
svn:r906
2003-12-13bugfix: a circuit that immediately failed still counts as a failed circuitRoger Dingledine
svn:r905
2003-12-13revamp circuit node selection to use smartlists:Roger Dingledine
* now we know for sure if an acceptable node is available; we don't have to keep guessing and checking * we try options.EntryNodes first for picking the first node svn:r904
2003-12-13minor tweaks to the smartlist operationsRoger Dingledine
svn:r903
2003-12-13Make default exit policy reject 127.*:*Nick Mathewson
svn:r902
2003-12-13reasonably permissive exit policy if you don't set oneRoger Dingledine
svn:r901
2003-12-13put the default exit policy in placeRoger Dingledine
svn:r900
2003-12-13Add port ranges to exit policiesNick Mathewson
svn:r899
2003-12-13use the smartlist to pick random routers, rather than our own idiomRoger Dingledine
svn:r898
2003-12-13add a 'smartlist' building block that picks random elements from a listRoger Dingledine
svn:r897
2003-12-12if >=2 circs are being built that handle a given stream,Roger Dingledine
no need to have new circs handle it too. svn:r896
2003-12-09make the license explicit on fakepoll.[ch]Roger Dingledine
svn:r895
2003-12-09Document parsing functions in routerlist.c, and separate parsing from ↵Nick Mathewson
non-parsing functions. svn:r894
2003-12-09close the circuit when we get a truncated cellRoger Dingledine
svn:r893
2003-12-09our circuit symmetric key (for aes) is 127 bits, not 128 bits.Roger Dingledine
we accept that. svn:r892
2003-12-09back out the broken change from yesterdayRoger Dingledine
svn:r891
2003-12-08Make router/directory parsing nondestructive and more const-friendlyNick Mathewson
svn:r890
2003-12-07general cleanupsRoger Dingledine
svn:r889
2003-12-06declare the prototypes betterRoger Dingledine
svn:r888
2003-12-06break routers.c into router.c for stuff the router does,Roger Dingledine
and routerlist.c for handling routerlist. svn:r887
2003-12-05terminology shift:Roger Dingledine
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
2003-12-03prevent assert failure on -HUP when options->PidFile==NULLRoger Dingledine
svn:r885
2003-12-03OnionRouter config option is obsoleteRoger Dingledine
svn:r883
2003-12-03choose randomly from running dirservers, not always the first oneRoger Dingledine
svn:r881
2003-12-03pick nodes for a circuit only from those the directory says are upRoger Dingledine
svn:r880
2003-12-03stop segfault when choose_good_exit_server returns NULLRoger Dingledine
svn:r879
2003-12-03fix vicious bug in connection_ap_attach_pending that caused it toRoger Dingledine
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
2003-12-03assert that nobody asks for a random number between 0 and -1Roger Dingledine
svn:r875
2003-12-03bugfix in exit node choice: we used to find the perfect exit node but ↵Roger Dingledine
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
2003-12-02stop expecting sample-server-torrc to be thereRoger Dingledine
svn:r873
2003-11-30start tracking a rare bug: package_raw_inbuf gets called with package_window 0Roger Dingledine
Nov 25 22:39:18.294 [warn] connection_edge_package_raw_inbuf(): called with package_window 0. T ell Roger. svn:r870
2003-11-30stop complaining as loudly when a dns resolve failsRoger Dingledine
svn:r869
2003-11-30bugfix: we were writing to stderr even when it's closedRoger Dingledine
svn:r868
2003-11-30bump up header length when the dirserv reads http commandsRoger Dingledine
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
2003-11-30remove a conn_close_if_marked warningRoger Dingledine
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
2003-11-29bugfix: an offline OP would leak all its sockets and stop workingRoger Dingledine
svn:r865
2003-11-23Fix a few bugs in sending and receiving DNS resultsNick Mathewson
svn:r864
2003-11-23Bring assert_connection_ok up to dateNick Mathewson
svn:r863
2003-11-21Fix incorrect error messageNick Mathewson
svn:r862
2003-11-20merge torrc.in and sample-server-torrc.inRoger Dingledine
svn:r858
2003-11-20simplify: options.OnionRouter==1 iff options.ORPort>0Roger Dingledine
svn:r857
2003-11-19default log level is now warnRoger Dingledine
(info is too noisy) svn:r855
2003-11-19make pidfile default to null rather than writing to your cwdRoger Dingledine
svn:r853
2003-11-19if you tell people that IgnoreVersion exists,Roger Dingledine
some of them will use it rather than upgrade. svn:r852
2003-11-19bugfix and cleanupsRoger Dingledine
svn:r848
2003-11-19Separate failure-count tracking from circuit-launching.Nick Mathewson
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
2003-11-19Check that we can write to the logfile and log a warning to stderr if we can'tPeter Palfrader
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
2003-11-19Patch last patch to last patchNick Mathewson
svn:r845
2003-11-19removed unused variable; silence warningNick Mathewson
svn:r844