- 03 Dec, 2005 2 commits
-
-
Nick Mathewson authored
svn:r5490
-
Nick Mathewson authored
Shave off another 4.7%: remove a linear search when figuring out which circuits wanted us to open a given OR connection. svn:r5489
-
- 28 Nov, 2005 1 commit
-
-
Roger Dingledine authored
conn over and over. that's really bad for memory. svn:r5463
-
- 26 Nov, 2005 1 commit
-
-
Nick Mathewson authored
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
-
- 25 Nov, 2005 1 commit
-
-
Roger Dingledine authored
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
-
- 23 Nov, 2005 1 commit
-
-
Nick Mathewson authored
svn:r5441
-
- 19 Nov, 2005 2 commits
-
-
Roger Dingledine authored
svn:r5428
-
Roger Dingledine authored
svn:r5425
-
- 11 Nov, 2005 2 commits
-
-
Roger Dingledine authored
our code works. svn:r5358
-
Roger Dingledine authored
node in mind, we weren't checking to see if that exit node was already present earlier in the circuit. oops. svn:r5357
-
- 29 Oct, 2005 1 commit
-
-
Roger Dingledine authored
125000 circuit_t's after it had been up for a few weeks, which translates to 20+ megs of wasted space. svn:r5333
-
- 25 Oct, 2005 3 commits
-
-
Nick Mathewson authored
svn:r5317
-
Nick Mathewson authored
svn:r5312
-
Nick Mathewson authored
Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" domain. Domains are now bitmasks... just in case. Make some err msgs non-general. svn:r5309
-
- 24 Oct, 2005 1 commit
-
-
Nick Mathewson authored
svn:r5301
-
- 18 Oct, 2005 2 commits
-
-
Nick Mathewson authored
svn:r5286
-
Roger Dingledine authored
svn:r5283
-
- 17 Oct, 2005 1 commit
-
-
Roger Dingledine authored
svn:r5262
-
- 06 Oct, 2005 1 commit
-
-
Nick Mathewson authored
Using RAND_pseudo_bytes instead of RAND_bytes is an accident waiting to happen, and does not really speed us up much when we do it. So stop doing it. svn:r5210
-
- 05 Oct, 2005 1 commit
-
-
Roger Dingledine authored
not used yet. svn:r5199
-
- 30 Sep, 2005 1 commit
-
-
Nick Mathewson authored
svn:r5160
-
- 29 Sep, 2005 1 commit
-
-
Nick Mathewson authored
svn:r5149
-
- 22 Jul, 2005 1 commit
-
-
Nick Mathewson authored
svn:r4637
-
- 14 Jul, 2005 2 commits
-
-
Nick Mathewson authored
svn:r4557
-
Roger Dingledine authored
svn:r4553
-
- 01 Jul, 2005 1 commit
-
-
Roger Dingledine authored
svn:r4516
-
- 29 Jun, 2005 1 commit
-
-
Nick Mathewson authored
- Add a new extend_info_t datatype to hold information needed to extend a circuit (addr,port,keyid,onion_key). Use it in cpath and build_state. Make appropriate functions take or return it instead of routerinfo_t or keyid. - #if 0 needless check in circuit_get_by_edge_conn; if nobody triggers this error in 0.1.0.10, nobody will trigger it. - Implement new hidden service descriptor format, which contains "extend info" for introduction points, along with protocol version list. - Parse new format. - Generate new format - Cache old and new formats alongside each other. - Directories serve "old" format if asked in old way, "newest available" format if asked in new way. - Use new format to find introduction points if possible; otherwise fall back. Keep nickname lists and extendinfo lists in sync. - Tests for new format. - Implement new "v2" INTRODUCE cell format. - Accept new format - Use new format if we have a versioned service descriptor that says the server accepts the new format. - Add documentation for functions and data types. svn:r4506
-
- 19 Jun, 2005 1 commit
-
-
Nick Mathewson authored
Implement all the rest of the new controller protocol, debug a little, add some new features, add ADDRMAP events. svn:r4460
-
- 11 Jun, 2005 1 commit
-
-
Nick Mathewson authored
Docment or add DOCDOC comments to undocumented functions in src/or. Make function definition format uniform. svn:r4411
-
- 09 Jun, 2005 2 commits
-
-
Nick Mathewson authored
svn:r4382
-
Nick Mathewson authored
svn:r4378
-
- 03 May, 2005 1 commit
-
-
Roger Dingledine authored
also generally clean up log messages. svn:r4174
-
- 02 May, 2005 1 commit
-
-
Nick Mathewson authored
New and frightening code to implement fast-path first-hop CREATE_FAST cells. Watch out when we bump the version to 0.1.0.6-rc! svn:r4162
-
- 08 Apr, 2005 2 commits
-
-
Nick Mathewson authored
svn:r4055
-
Nick Mathewson authored
svn:r4054
-
- 07 Apr, 2005 3 commits
-
-
Nick Mathewson authored
svn:r4047
-
Nick Mathewson authored
svn:r4041
-
Nick Mathewson authored
svn:r4040
-
- 06 Apr, 2005 2 commits
-
-
Nick Mathewson authored
Rename circuit_get_by_stream to circuit_get_by_edge_conn, and actually start using it. Watch out, kids! svn:r4026
-
Nick Mathewson authored
Add a pointer from edge connections to their corresponding circuit (ulp!); add some debugging sanity-checking for cirid_orconn_map stuff svn:r4024
-