aboutsummaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'asn/bug11069_take2'Nick Mathewson2014-03-11
|\
| * Throw control port warning if we failed to connect to all our bridges.George Kadianakis2014-03-10
| |
* | Merge remote-tracking branch 'arma/ticket5528'Nick Mathewson2014-03-05
|\ \ | |/ |/| | | | | | | Conflicts: src/or/router.c src/test/test_dir.c
| * stop setting, or using, router->addressRoger Dingledine2013-02-09
| | | | | | | | resolves ticket 5528.
| * use router->addr for log messages and controller eventsRoger Dingledine2013-02-09
| | | | | | | | (rather than router->address)
| * stop passing "address" around the directory_initiate_command* funcsRoger Dingledine2013-02-09
| | | | | | | | since it was always just the string version of "addr" anyway
* | Fix get_configured_bridge_by_addr_port_digest(.,.,NULL)rl19872013-12-09
| | | | | | | | | | | | The old behavior was that NULL matched only bridges without known identities; the correct behavior is that NULL should match all bridges (assuming that their addr:port matches).
* | Add missing includes for circpathbias.hNick Mathewson2013-10-31
| |
* | Merge remote-tracking branch 'public/bug5018'Nick Mathewson2013-10-29
|\ \ | | | | | | | | | | | | Conflicts: src/or/entrynodes.c
| * | Simplify transport_is_needed.David Fifield2013-10-29
| | | | | | | | | | | | | | | By Roger at https://trac.torproject.org/projects/tor/ticket/5018#comment:11.
| * | Only launch transport proxies that provide useful transports.George Kadianakis2013-10-29
| | |
* | | DROPGUARDS controller commandNick Mathewson2013-10-21
| | | | | | | | | | | | Implements ticket 9934; patch from "ra"
* | | Merge branch 'maint-0.2.4'Roger Dingledine2013-10-12
|\ \ \
| * | | be willing to bootstrap from all three of our directory guardsRoger Dingledine2013-10-12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix a bug where if the guard we choose first doesn't answer, we would try the second guard, but once we connected to the second guard we would abandon it and retry the first one, slowing down bootstrapping. The fix in both cases is to treat all our initially chosen guards as acceptable to use. Fixes bug 9946.
* | | fix another confusing whitespace instanceRoger Dingledine2013-09-30
| | |
* | | fix confusing whitespaceRoger Dingledine2013-09-30
| | |
* | | Separate mutable/const accessors for circuit_build_timesNick Mathewson2013-08-22
| | | | | | | | | | | | (These have proved invaluable for other global accessors.)
* | | Make circ_times static and add accessor functions.vagrant2013-08-22
| | | | | | | | | | | | | | | | | | Change the global circ_times to a static variable and use accessor functions throughout the code, instead of accessing it directly.
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-07-31
|\| |
| * | NumDirectoryGuards now tracks NumEntryGuards by defaultRoger Dingledine2013-07-30
| | | | | | | | | | | | | | | Now a user who changes only NumEntryGuards will get the behavior she expects. Fixes bug 9354; bugfix on 0.2.4.8-alpha.
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-24
|\| |
| * | Increase the pathbias state file miscounting version check.Mike Perry2013-04-24
| | | | | | | | | | | | | | | We now know the bug is present in 0.2.4.12-alpha too. It should be fixed in 0.2.4.13-alpha, though.
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-03
|\| |
| * | Clip invalid path bias counts at startup.Mike Perry2013-04-03
| | | | | | | | | | | | | | | | | | There was a bug in Tor prior to 0.2.4.10-alpha that allowed counts to become invalid. Clipping the counts at startup allows us to rule out log messages due to corruption from these prior Tor versions.
* | | Remove check for whether bridge_line->digest is NULLNick Mathewson2013-03-21
| | | | | | | | | | | | | | | | | | | | | It can never be NULL, since it's an array in bridge_line_t. Introduced in 266f8cddd87f. Found by coverity; this is CID 992691. Bug not in any released Tor.
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-03-21
|\| |
| * | The *default* guard lifetime is two months; the *min* is oneNick Mathewson2013-03-21
| | | | | | | | | | | | | | | | | | This caused an assertion failure when pruning guards. Fixes bug #8553; bug not in any released Tor.
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-03-19
|\| |
| * | Merge branch 'bug8240_v2_squashed' into maint-0.2.4Nick Mathewson2013-03-19
| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tor.1.txt src/or/circuitbuild.c src/or/config.c src/or/or.h
* | | Merge remote-tracking branch 'asn/bug3594_rebased_and_fixed'Nick Mathewson2013-03-19
|\ \ \ | |/ / |/| | | | | | | | | | | Conflicts: src/common/util.c src/or/entrynodes.h
| * | Refactoring to make parse_bridge_line() unittestable.George Kadianakis2013-02-11
| | | | | | | | | | | | | | | | | | - Make parse_bridge_line() return a struct. - Make bridge_add_from_config() accept a struct. - Make string_is_key_value() less hysterical.
| * | Send SOCKS arguments when doing SOCKS5.George Kadianakis2013-02-09
| | |
| * | Send SOCKS arguments when doing SOCKS4.George Kadianakis2013-02-09
| | |
| * | Add support for parsing SOCKS arguments.George Kadianakis2013-02-09
| |/
* | Fix some wide linesNick Mathewson2013-03-18
| |
* | Merge remote-tracking branch 'public/no_dup_guards' into maint-0.2.4Nick Mathewson2013-03-18
|\ \
| * | Be more robust when excluding existing nodes as new dirguardsNick Mathewson2013-02-14
| | | | | | | | | | | | | | | | | | In addition to rejecting them post-hoc, avoid picking them in the first place. This makes us less likely to decide that we can't add guards at all.
| * | Add some code to bluntly prevent duplicate guards from getting addedNick Mathewson2013-02-14
| |/ | | | | | | | | | | Apparently something in the directory guard code made it possible for the same node to get added as a guard over and over when there were no actual running guard nodes.
* | Correctly set entry->is_dir_cache when adding an entry guard for the first timeAndrea Shepard2013-03-01
| | | | | | | | (Second part of a bug8367 fix. -NM)
* | Fix bootstrapping with bridges by making is_dir_cache is set on them.Nick Mathewson2013-03-01
| | | | | | | | | | This fixes bug 8367, introduced in d7089ff228227259137b5a8b. Not in any released Tor.
* | Restore the entry/dirguard distinction.Nick Mathewson2013-02-12
| | | | | | | | | | We shouldn't be calling choose_random_entry() for directory conncetions; that's what choose_random_dirguard() is for.
* | generalize choose_random_entry()'s dirinfo parameterRoger Dingledine2013-02-02
| | | | | | | | | | | | | | | | 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.
* | use microdescriptors if *any* of our bridges can handle themRoger Dingledine2013-02-02
|/ | | | | | 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.
* Implement Path use bias accounting.Mike Perry2013-01-18
| | | | | | | 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.
* Rename *_isin to *_containsNick Mathewson2013-01-16
| | | | | | | | | | | 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;
* Merge remote-tracking branch 'asn/bug7896'Nick Mathewson2013-01-16
|\
| * Mention name of the transport used when we learn the fpr of a bridge.George Kadianakis2013-01-09
| |
* | Update the copyright date to 201.Nick Mathewson2013-01-16
|/
* Merge branch 'ntor-resquashed'Nick Mathewson2013-01-03
|\ | | | | | | | | | | | | Conflicts: src/or/cpuworker.c src/or/or.h src/test/bench.c
| * Enable the ntor handshake on the client side.Nick Mathewson2013-01-03
| | | | | | | | "works for me"