aboutsummaryrefslogtreecommitdiff
path: root/src/or/entrynodes.h
AgeCommit message (Collapse)Author
2015-02-18clean up comments and whitespace a bitRoger Dingledine
2015-02-18Calculate the guardfraction bandwidth of a guard.George Kadianakis
2015-02-18Parse GuardFraction info from consensuses and votes.George Kadianakis
Also introduce the UseGuardFraction torrc option which decides whether clients should use guardfraction information found in the consensus.
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-11-04Merge remote-tracking branch 'andrea/ticket6456'Nick Mathewson
Somewhat tricky conflicts: src/or/config.c Also, s/test_assert/tt_assert in test_config.c
2014-10-28Add another year to our copyright dates.Nick Mathewson
Because in 95 years, we or our successors will surely care about enforcing the BSD license terms on this code. Right?
2014-08-20Unit testing entry_is_time_to_retry().rl1987
2014-07-25Add some mocks needed to unit test ↵Andrea Shepard
ClientTransportPlugin/ServerTransportPlugin config line parsing
2014-07-16Fix wide lines, make entry_is_live() non-inlineNick Mathewson
2014-06-25Change the interface of entry_is_live() to take a bitmap.George Kadianakis
2014-06-25Basic entry_is_live() unittest.George Kadianakis
2014-06-15Make a few entrynodes.c functions testable.George Kadianakis
2014-03-25Fix warnings from doxygenNick Mathewson
Most of these are simple. The only nontrivial part is that our pattern for using ENUM_BF was confusing doxygen by making declarations that didn't look like declarations.
2014-03-10Throw control port warning if we failed to connect to all our bridges.George Kadianakis
2013-10-29Merge remote-tracking branch 'public/bug5018'Nick Mathewson
Conflicts: src/or/entrynodes.c
2013-10-29Only launch transport proxies that provide useful transports.George Kadianakis
2013-10-21DROPGUARDS controller commandNick Mathewson
Implements ticket 9934; patch from "ra"
2013-03-19Merge remote-tracking branch 'asn/bug3594_rebased_and_fixed'Nick Mathewson
Conflicts: src/common/util.c src/or/entrynodes.h
2013-02-15Merge remote-tracking branch 'public/feature4994-rebased'Nick Mathewson
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-11Refactoring to make parse_bridge_line() unittestable.George Kadianakis
- Make parse_bridge_line() return a struct. - Make bridge_add_from_config() accept a struct. - Make string_is_key_value() less hysterical.
2013-02-09Send SOCKS arguments when doing SOCKS5.George Kadianakis
2013-02-09Send SOCKS arguments when doing SOCKS4.George Kadianakis
2013-02-09Add support for parsing SOCKS arguments.George Kadianakis
2013-02-07Separate the flags for logging use bias.Mike Perry
I think we want both sets of messages to appear independently to help us know what needs tuning.
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-16Update the copyright date to 201.Nick Mathewson
2012-12-25Merge remote-tracking branch 'mikeperry/209-path-bias-changes'Nick Mathewson
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-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-07Move a pathbias function that depends on entryguard_t.Mike Perry
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-07Fix spaces.Mike Perry
2012-12-07Add log message checks for different rates.Mike Perry
May want to squash this forward or back..
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-15Split code for entry guards and bridges into a new module.Nick Mathewson