| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r6002
|
|
|
|
| |
svn:r5949
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r5734
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
| |
svn:r5580
|
|
|
|
|
|
|
| |
smartlist yet. so don't free it.
svn:r5577
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r5535
|
|
|
|
| |
svn:r5511
|
|
|
|
| |
svn:r5510
|
|
|
|
| |
svn:r5508
|
|
|
|
| |
svn:r5493
|
|
|
|
| |
svn:r5491
|
|
|
|
| |
svn:r5490
|
|
|
|
|
|
| |
circuits wanted us to open a given OR connection.
svn:r5489
|
|
|
|
|
|
|
| |
conn over and over. that's really bad for memory.
svn:r5463
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
significantly faster.
svn:r5441
|
|
|
|
| |
svn:r5428
|
|
|
|
| |
svn:r5425
|
|
|
|
|
|
|
| |
our code works.
svn:r5358
|
|
|
|
|
|
|
|
| |
node in mind, we weren't checking to see if that exit node
was already present earlier in the circuit. oops.
svn:r5357
|
|
|
|
|
|
|
|
| |
125000 circuit_t's after it had been up for a few weeks, which translates
to 20+ megs of wasted space.
svn:r5333
|
|
|
|
| |
svn:r5317
|
|
|
|
| |
svn:r5312
|
|
|
|
|
|
| |
domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
svn:r5309
|
|
|
|
|
|
| |
new logging
svn:r5301
|
|
|
|
| |
svn:r5286
|
|
|
|
| |
svn:r5283
|
|
|
|
| |
svn:r5262
|
|
|
|
|
|
| |
happen, and does not really speed us up much when we do it. So stop doing it.
svn:r5210
|
|
|
|
|
|
|
| |
not used yet.
svn:r5199
|
|
|
|
| |
svn:r5160
|
|
|
|
|
|
| |
tree.h
svn:r5149
|
|
|
|
| |
svn:r4637
|
|
|
|
| |
svn:r4557
|
|
|
|
| |
svn:r4553
|
|
|
|
| |
svn:r4516
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
some new features, add ADDRMAP events.
svn:r4460
|
|
|
|
|
|
| |
function definition format uniform.
svn:r4411
|
|
|
|
| |
svn:r4382
|
|
|
|
| |
svn:r4378
|
|
|
|
|
|
|
| |
also generally clean up log messages.
svn:r4174
|
|
|
|
|
|
| |
Watch out when we bump the version to 0.1.0.6-rc!
svn:r4162
|
|
|
|
| |
svn:r4055
|
|
|
|
| |
svn:r4054
|
|
|
|
|
|
| |
skewed-descriptor messages better.
svn:r4047
|