| Commit message (Expand) | Author | Age |
* | clean up some copyrights•••svn:r907
| Roger Dingledine | 2003-12-13 |
* | bughunt: start tracking the bug mutiny found•••svn:r906
| Roger Dingledine | 2003-12-13 |
* | bugfix: a circuit that immediately failed still counts as a failed circuit•••svn:r905
| Roger Dingledine | 2003-12-13 |
* | revamp circuit node selection to use smartlists:••• * 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
| Roger Dingledine | 2003-12-13 |
* | Make default exit policy reject 127.*:*•••svn:r902
| Nick Mathewson | 2003-12-13 |
* | reasonably permissive exit policy if you don't set one•••svn:r901
| Roger Dingledine | 2003-12-13 |
* | Add port ranges to exit policies•••svn:r899
| Nick Mathewson | 2003-12-13 |
* | use the smartlist to pick random routers, rather than our own idiom•••svn:r898
| Roger Dingledine | 2003-12-13 |
* | if >=2 circs are being built that handle a given stream,•••no need to have new circs handle it too.
svn:r896
| Roger Dingledine | 2003-12-12 |
* | Document parsing functions in routerlist.c, and separate parsing from non-par...•••svn:r894
| Nick Mathewson | 2003-12-09 |
* | close the circuit when we get a truncated cell•••svn:r893
| Roger Dingledine | 2003-12-09 |
* | our circuit symmetric key (for aes) is 127 bits, not 128 bits.•••we accept that.
svn:r892
| Roger Dingledine | 2003-12-09 |
* | back out the broken change from yesterday•••svn:r891
| Roger Dingledine | 2003-12-09 |
* | Make router/directory parsing nondestructive and more const-friendly•••svn:r890
| Nick Mathewson | 2003-12-08 |
* | general cleanups•••svn:r889
| Roger Dingledine | 2003-12-07 |
* | declare the prototypes better•••svn:r888
| Roger Dingledine | 2003-12-06 |
* | break routers.c into router.c for stuff the router does,•••and routerlist.c for handling routerlist.
svn:r887
| Roger Dingledine | 2003-12-06 |
* | terminology shift:•••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
| Roger Dingledine | 2003-12-05 |
* | prevent assert failure on -HUP when options->PidFile==NULL•••svn:r885
| Roger Dingledine | 2003-12-03 |
* | choose randomly from running dirservers, not always the first one•••svn:r881
| Roger Dingledine | 2003-12-03 |
* | pick nodes for a circuit only from those the directory says are up•••svn:r880
| Roger Dingledine | 2003-12-03 |
* | stop segfault when choose_good_exit_server returns NULL•••svn:r879
| Roger Dingledine | 2003-12-03 |
* | fix vicious bug in connection_ap_attach_pending that caused it to••• 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
| Roger Dingledine | 2003-12-03 |
* | bugfix in exit node choice: we used to find the perfect exit node but ...•••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
| Roger Dingledine | 2003-12-03 |
* | start tracking a rare bug: package_raw_inbuf gets called with package_window 0•••Nov 25 22:39:18.294 [warn] connection_edge_package_raw_inbuf(): called with package_window 0. T
ell Roger.
svn:r870
| Roger Dingledine | 2003-11-30 |
* | stop complaining as loudly when a dns resolve fails•••svn:r869
| Roger Dingledine | 2003-11-30 |
* | bugfix: we were writing to stderr even when it's closed•••svn:r868
| Roger Dingledine | 2003-11-30 |
* | bump up header length when the dirserv reads http commands•••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
| Roger Dingledine | 2003-11-30 |
* | remove a conn_close_if_marked warning•••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
| Roger Dingledine | 2003-11-30 |
* | bugfix: an offline OP would leak all its sockets and stop working•••svn:r865
| Roger Dingledine | 2003-11-29 |
* | Fix a few bugs in sending and receiving DNS results•••svn:r864
| Nick Mathewson | 2003-11-23 |
* | Bring assert_connection_ok up to date•••svn:r863
| Nick Mathewson | 2003-11-23 |
* | simplify: options.OnionRouter==1 iff options.ORPort>0•••svn:r857
| Roger Dingledine | 2003-11-20 |
* | default log level is now warn•••(info is too noisy)
svn:r855
| Roger Dingledine | 2003-11-19 |
* | make pidfile default to null rather than writing to your cwd•••svn:r853
| Roger Dingledine | 2003-11-19 |
* | if you tell people that IgnoreVersion exists,•••some of them will use it rather than upgrade.
svn:r852
| Roger Dingledine | 2003-11-19 |
* | bugfix and cleanups•••svn:r848
| Roger Dingledine | 2003-11-19 |
* | Separate failure-count tracking from circuit-launching.•••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
| Nick Mathewson | 2003-11-19 |
* | Check that we can write to the logfile and log a warning to stderr if we can't•••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
| Peter Palfrader | 2003-11-19 |
* | Patch last patch to last patch•••svn:r845
| Nick Mathewson | 2003-11-19 |
* | removed unused variable; silence warning•••svn:r844
| Nick Mathewson | 2003-11-19 |
* | Patch last patch.•••svn:r843
| Nick Mathewson | 2003-11-19 |
* | Skip non-running routers for exit node selection•••svn:r842
| Nick Mathewson | 2003-11-19 |
* | bugfix: sometimes we closed a circ while cpuworker was cranking,••• and it didn't notice
svn:r841
| Roger Dingledine | 2003-11-18 |
* | revert part of that last change•••time for bed
svn:r840
| Roger Dingledine | 2003-11-18 |
* | make more sure we can't end up with two connections to the same OR•••fix leaked pk in connection_tls_finish_handshake
svn:r839
| Roger Dingledine | 2003-11-18 |
* | bugfix: don't ask for ->next of an expired circuit•••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
| Roger Dingledine | 2003-11-18 |
* | use the tor_malloc_zero wrapper•••svn:r837
| Roger Dingledine | 2003-11-18 |
* | don't build too many circs at once•••expire circs that have been building for too long
svn:r835
| Roger Dingledine | 2003-11-18 |
* | Simplify post-TLS-handshake checks, and add check for correct nickname•••svn:r834
| Nick Mathewson | 2003-11-18 |