summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
AgeCommit message (Collapse)Author
2013-02-12Restore the entry/dirguard distinction.Nick Mathewson
We shouldn't be calling choose_random_entry() for directory conncetions; that's what choose_random_dirguard() is for.
2013-02-02generalize choose_random_entry()'s dirinfo parameterRoger Dingledine
Now we can specify to skip bridges that wouldn't be able to answer the type of dir fetch we're launching. It's still the responsibility of the rest of the code to prevent us from launching a given dir fetch if we have no bridges that could handle it.
2013-02-02use microdescriptors if *any* of our bridges can handle themRoger Dingledine
Now as we move into a future where most bridges can handle microdescs we will generally find ourselves using them, rather than holding back just because one of our bridges doesn't use them.
2013-01-18Implement Path use bias accounting.Mike Perry
Path use bias measures how often we can actually succeed using the circuits we actually try to use. It is a subset of path bias accounting, but it is computed as a separate statistic because the rate of client circuit use may vary depending on use case.
2013-01-16Rename *_isin to *_containsNick Mathewson
This is an automatically generated commit, from the following perl script, run with the options "-w -i -p". s/smartlist_string_num_isin/smartlist_contains_int_as_string/g; s/smartlist_string_isin((?:_case)?)/smartlist_contains_string$1/g; s/smartlist_digest_isin/smartlist_contains_digest/g; s/smartlist_isin/smartlist_contains/g; s/digestset_isin/digestset_contains/g;
2013-01-16Merge remote-tracking branch 'asn/bug7896'Nick Mathewson
2013-01-16Update the copyright date to 201.Nick Mathewson
2013-01-09Mention name of the transport used when we learn the fpr of a bridge.George Kadianakis
2013-01-03Merge branch 'ntor-resquashed'Nick Mathewson
Conflicts: src/or/cpuworker.c src/or/or.h src/test/bench.c
2013-01-03Enable the ntor handshake on the client side.Nick Mathewson
"works for me"
2012-12-25Merge remote-tracking branch 'mikeperry/209-path-bias-changes'Nick Mathewson
2012-12-25Add configuration options for directory guardsNick Mathewson
In addition to all the other ways to make directory gurads not go, you can now set UseEntryGuardsAsDirGuards to 0.
2012-12-25Directory guard implementation.Nick Mathewson
Implements proposal 207; ticket 6526.
2012-12-25Remember which of our guards are directory cachesNick Mathewson
2012-12-18Nick's Code review #3 part 2.Mike Perry
2012-12-18Changes from Nick's code review 'part 1'Mike Perry
I think this is actually his third code review of this branch so far.
2012-12-09Space fixes.Mike Perry
2012-12-09Fix a rather serious use-count state bug.Mike Perry
We need to use the success count or the use count depending on the consensus parameter.
2012-12-09Convert to doubles for all pathbias state.Mike Perry
Let's hope this solves the rounding error issue..
2012-12-09Also shorten circuit_successes to circ_successes.Mike Perry
For consistency and great justice. Ok, mostly consistency.
2012-12-09Rename first_hop to circ_attempt.Mike Perry
Since we've generalized what we can count from (first or second hop), we should generalize the variable and constant naming too.
2012-12-07Prop 209: Add path bias counts for timeouts and other mechanisms.Mike Perry
Turns out there's more than one way to block a tagged circuit. This seems to successfully handle all of the normal exit circuits. Hidden services need additional tweaks, still.
2012-12-07Update with code review changes from Nick.Mike Perry
2012-12-07Update pathbias parameters to match Proposal 209.Mike Perry
Needs manpage update and testing still..
2012-12-07Add the ability to count circuit timeouts for guards.Mike Perry
This is purely for informational reasons for debugging.
2012-12-07Bug 3443: Don't count ORconn setup in circuit build time.Mike Perry
Also, add a hack Roger suggested where we're more patient if no circuits are opened yet.
2012-10-22Fix more madness from the split_circuitbuild mergeNick Mathewson
2012-10-15Split code for entry guards and bridges into a new module.Nick Mathewson