| Commit message (Expand) | Author | Age |
* | more changes. i'm all caught up now.•••svn:r9495
| Roger Dingledine | 2007-02-06 |
* | r11637@catbus: nickm | 2007-02-05 12:41:51 -0500••• Fix an XXXX012, and make circuits_pending_or_conns a static variable. In addition to cleaning up the code, this may also resolve Bug 386 if Roger has the right intuition there.
svn:r9482
| Nick Mathewson | 2007-02-05 |
* | r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
| Nick Mathewson | 2007-02-02 |
* | r12123@Kushana: nickm | 2007-02-02 13:57:42 -0500••• Resolve remaining DOCDOC comments.
svn:r9476
| Nick Mathewson | 2007-02-02 |
* | r11287@catbus: nickm | 2007-01-23 20:30:04 -0500••• Yet more documentation. (Again, trying to see whether I have buildbot working).
svn:r9396
| Nick Mathewson | 2007-01-24 |
* | Fix crash with "tor --list-fingerprint" (reported by seeess).•••svn:r9328
| Roger Dingledine | 2007-01-10 |
* | r9461@Kushana: nickm | 2006-10-31 20:30:12 -0500••• Oops. Fix compile error in last build.
svn:r8888
| Nick Mathewson | 2006-11-01 |
* | r9457@Kushana: nickm | 2006-10-31 18:35:17 -0500••• Do not warn when an OR gives us a new circuit end reason. (This will prevent bug 351 from recurring.)
svn:r8887
| Nick Mathewson | 2006-10-31 |
* | r9307@Kushana: nickm | 2006-10-20 13:53:54 -0400••• Have connection_about_to_close use an end_reason field in edge_connection_t to tell what reason to tell the controller for closing the stream. Set end_reason in connection_edge_end, connection_mark_unattached_ap, and everwhere we set edge_has_sent_end. Add a changelog entry.
svn:r8779
| Nick Mathewson | 2006-10-20 |
* | r9272@Kushana: nickm | 2006-10-19 12:52:37 -0400••• Fix an XXX in handling destroy cells: when we get a destroy cell with reason FOO, do not tell the controller REASON=FOO. Instead, say REASON=DESTROYED REMOTE_REASON=FOO. Suggested by a conversation with Mike Perry.
svn:r8760
| Nick Mathewson | 2006-10-19 |
* | r9060@totoro: nickm | 2006-10-17 11:12:48 -0400••• Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.)
svn:r8739
| Nick Mathewson | 2006-10-17 |
* | r8973@totoro: nickm | 2006-10-09 11:45:47 -0400••• Touch up last patch (to add REASON to CIRC events): make some reasons
more sensible, send reasons only to controllers that have enabled
extended events, and clean up whitespace.
svn:r8672
| Nick Mathewson | 2006-10-09 |
* | r8972@totoro: nickm | 2006-10-09 10:36:22 -0400••• Patch from Mike Perry: add a REASON field to closed and failed circ events.
svn:r8671
| Nick Mathewson | 2006-10-09 |
* | remove some old debugging code•••svn:r8657
| Roger Dingledine | 2006-10-08 |
* | r8822@totoro: nickm | 2006-10-01 16:24:22 -0400••• Fix bug 303: reject attempts to use Tor as a one-hop proxy.
svn:r8566
| Nick Mathewson | 2006-10-01 |
* | make my bandwidth exercises actually happen•••svn:r8400
| Roger Dingledine | 2006-09-15 |
* | Send out a burst of long-range drop cells after we've established that•••we're reachable. Spread them over 4 circuits, so hopefully a few will
be fast. This exercises our bandwidth and bootstraps us quicker.
svn:r8399
| Roger Dingledine | 2006-09-15 |
* | fix assert found by DreadWingKnight: now that rendezvous streams•••are attached to p_streams, the p_streams list can consist of both AP
and EXIT conns.
svn:r6945
| Roger Dingledine | 2006-07-30 |
* | r6948@Kushana: nickm | 2006-07-28 10:10:35 -0400••• Identify some likely target fields for lowering; lower global_identifier (since we only use it for AP streams and origin circs).
svn:r6933
| Nick Mathewson | 2006-07-28 |
* | r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400••• Rename some fields, compress a bitfield, and document some structs and fields
svn:r6919
| Nick Mathewson | 2006-07-27 |
* | r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400••• Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness.
svn:r6906
| Nick Mathewson | 2006-07-26 |
* | r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400••• No circuit can be both an intro point and a rend point, so we can merge both the cookie and the pk digest into one "rend_token" field for or circuits. This saves another 20 bytes per or circuit.
svn:r6904
| Nick Mathewson | 2006-07-26 |
* | r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400••• Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit.
svn:r6903
| Nick Mathewson | 2006-07-26 |
* | Fix another segfault in assert_circuit_ok.•••svn:r6818
| Nick Mathewson | 2006-07-23 |
* | Don't tell anybody, but we're going OO here. This patch splits•••circuit_t into origin_circuit_t and or_circuit_t. I fixed some
segaults; there may be more. We still need to move more rendezvous
stuff into subtypes.
This is a trial run for splitting up connection_t; if the approach is
insane, please say so soon so we can do something smarter.
Also, this discards the old HALF_OPEN code, which nobody seems to
want.
svn:r6817
| Nick Mathewson | 2006-07-23 |
* | fix typo, remove extraneous variable•••svn:r6311
| Roger Dingledine | 2006-04-03 |
* | convert some more source files to the new log convention•••svn:r6002
| Roger Dingledine | 2006-02-13 |
* | Happy new year!•••svn:r5949
| Roger Dingledine | 2006-02-09 |
* | fix bug 245: When modifying the orconn_circid_map map, we would•••sometimes decrement conn->n_circuits even when there was no circuit
originally. This caused conn->n_circuits to go negative.
We noticed this because we were checking if connections can be
closed based on conn->n_circuits == 0, so we were never closing
any connection that had ever had a circuit on it.
svn:r5931
| Roger Dingledine | 2006-02-09 |
* | Add reasons to DESTROY and RELAY_TRUNCATED cells.•••svn:r5734
| Nick Mathewson | 2006-01-05 |
* | Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582
| Nick Mathewson | 2005-12-14 |
* | another possible patch related to circuit_free and memory stomping.•••svn:r5580
| Nick Mathewson | 2005-12-14 |
* | sometimes, when we just started tor, we haven't created that•••smartlist yet. so don't free it.
svn:r5577
| Roger Dingledine | 2005-12-14 |
* | when we changed from log_fn to debug/info/notice/warn/err,•••we screwed up the formatting in wild and unpredictable ways.
fix it before it becomes convention to format logs in wild and
unpredictable ways.
still need to do src/common/ someday.
svn:r5551
| Roger Dingledine | 2005-12-10 |
* | Release memory from conn_circid_circuit_map on exit.•••svn:r5535
| Nick Mathewson | 2005-12-08 |
* | Better fix for last bug: avoids trying to double-mark circuits.•••svn:r5511
| Nick Mathewson | 2005-12-05 |
* | We were neglecting to unlink marked circuits from soon-to-close OR connections.•••svn:r5510
| Nick Mathewson | 2005-12-05 |
* | Check magic when removing old connection from map.•••svn:r5508
| Nick Mathewson | 2005-12-05 |
* | Clean up some comments; remove some dead code•••svn:r5493
| Nick Mathewson | 2005-12-03 |
* | cvs diff -u src/or/circuitlist.c | less almost never does what you want in C.•••svn:r5491
| Nick Mathewson | 2005-12-03 |
* | Expunge remaining places where we used "tree" to mean "associative array".•••svn:r5490
| Nick Mathewson | 2005-12-03 |
* | Shave off another 4.7%: remove a linear search when figuring out which circui...•••svn:r5489
| Nick Mathewson | 2005-12-03 |
* | when returning a list of circuits, don't return a list of the same•••conn over and over. that's really bad for memory.
svn:r5463
| Roger Dingledine | 2005-11-28 |
* | "How about 'never'? Does 'never' work for you?"•••Weasel says circuit_get_by_conn is his main timesink. Most of its
users were just checking whether OR conns had circuits, so add a
circuit count to OR conns, and check that. One was
circuit_about_to_close_conn, which was doing an O(n^2) series of calls
to get all circs on an OR conn, so make an O(n) function for that.
Finally, circuit_get_by_edge_conn was using it as a sanity test that
has been around for a while but never found any actualy insanity, so
kill that.
circuit_get_by_conn is finally dead, which is good, since it was never
sane to begin with.
svn:r5460
| Nick Mathewson | 2005-11-26 |
* | Start the process of treating internal circuits and exit circuits•••separately. It's important to keep them separate because internal
circuits have their last hops picked like middle hops, rather than like
exit hops. So exiting on them will break the user's expectations.
- Stop cannibalizing internal circuits for general exits, and stop
cannibalizing exit circuits for rendezvous stuff.
- Don't let new exit streams attach to internal circuits.
- When deciding if we have enough circuits for internal and for exit,
don't count the wrong ones.
- Treat predicted resolves as predicted port 80 exits.
svn:r5457
| Roger Dingledine | 2005-11-25 |
* | Replace balanced trees with hash tables: this should make stuff significantly...•••svn:r5441
| Nick Mathewson | 2005-11-23 |
* | misc cleanups•••svn:r5428
| Roger Dingledine | 2005-11-19 |
* | remove some redundant (and misleading) code•••svn:r5425
| Roger Dingledine | 2005-11-19 |
* | speed up the lookup-by-circid-orconn now that it seems that•••our code works.
svn:r5358
| Roger Dingledine | 2005-11-11 |
* | when we were cannibalizing a circuit with a particular exit•••node in mind, we weren't checking to see if that exit node
was already present earlier in the circuit. oops.
svn:r5357
| Roger Dingledine | 2005-11-11 |