aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Expand)AuthorAge
* minor typos i found while constructing the changelogRoger Dingledine2012-09-05
* Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-09-04
|\
| * Merge remote-tracking branch 'arma/bug6743' into maint-0.2.3Nick Mathewson2012-09-04
| |\
| | * Make begindir_cutoff the same as general_cutoff•••Allow one-hop directory fetching circuits the full "circuit build timeout" period, rather than just half of it, before failing them and marking the relay down. This fix should help reduce cases where clients declare relays (or worse, bridges) unreachable because the TLS handshake takes a few seconds to complete. Fixes bug 6743 (one piece of bug 3443); bugfix on 0.2.2.2-alpha, where we changed the timeout from a static 30 seconds. Roger Dingledine2012-09-01
* | | Merge branch 'bug5535_only_rebased'Nick Mathewson2012-09-04
|\ \ \
| * | | Take microdesc into account when deciding about preferred OR port.Linus Nordberg2012-09-04
| * | | Make node_ipv6_preferred() take microdescs into account.•••Also, make node_get_prim_orport() indicate in its return value whether a valid OR port was copied or not. Maybe we should make it legal to pass ap_out==NULL? Linus Nordberg2012-09-04
| * | | Take microdesc IPv6 address into account when setting node->ipv6_preferred.•••Also, do this only for clients, explicitly. Also, give the flag a value every time we set consensus. We used to touch it only when ClientPreferIPv6ORPort was set, which was wrong. Linus Nordberg2012-09-04
| * | | Use preferred OR for nodes with routerstatus and microdesc too.•••extend_info_from_node() used to use the primary OR port (i.e. IPv4) unless the node had routerinfo. Now that we have IPv6 addresses in microdescs we may want to use them. Note that this patch changes using r->cache_info.identity_digest into using node->identity. I count on these being well synchronised, or things would break in other ways. Right? Linus Nordberg2012-09-04
| * | | Add IPv6 OR port to microdesc_t and populate it.Linus Nordberg2012-09-04
| * | | Clients connect to public relays over IPv6.•••Add ClientUseIPv6 and ClientPreferIPv6ORPort configuration options. Use "preferred OR port" for all entry nodes, not only for bridges. Mark bridges with "prefer IPv6 OR port" if an IPv6 address is configured in Bridge line and ClientPreferIPv6ORPort is set. Mark relays with "prefer IPv6 OR port" if an IPv6 address is found in descriptor and ClientPreferIPv6ORPort is set. Filter "preferred OR port" through the ClientUseIPv6 config option. We might want to move this test to where actual connection is being set up once we have a fall back mechanism in place. Have only non-servers pick an IPv6 address for the first hop: We don't want relays to connect over IPv6 yet. (IPv6 has never been used for second or third hops.) Implements ticket 5535. Linus Nordberg2012-09-04
* | | | Merge remote-tracking branch 'linus/bug6363_only-ln'Nick Mathewson2012-09-04
|\ \ \ \ | |/ / / |/| | |
| * | | Allocate vote_microdesc_hash_t using tor_malloc_zero().•••In case the struct grows in the future. Shouldn't be too expensive. Linus Nordberg2012-09-04
| * | | Whitespace.Linus Nordberg2012-09-04
| * | | Remove spurious debug log printout.Linus Nordberg2012-09-04
| * | | Add tor_addr_port_new().Linus Nordberg2012-09-04
| * | | Generate microdescriptors with "a" lines.•••Generate and store all supported microdescriptor formats. Generate votes with one "m" line for each format. Only "m" lines with version info matching chosen consensus method will be voted upon. An optimisation would be to combine "m" lines with identical hashes, i.e. instead of "m 1,2,3 H1" and "m 4,5 H1", say "m 1,2,3,4,5 H1". Linus Nordberg2012-09-04
| * | | Have directory authorities vote on IPv6 OR ports according to the spec•••Define new new consensus method 14 adding "a" lines to vote and consensus documents. From proposal 186: As with other data in the vote derived from the descriptor, the consensus will include whichever set of "a" lines are given by the most authorities who voted for the descriptor digest that will be used for the router. This patch implements this. Linus Nordberg2012-09-04
* | | | Clear the ipv6_preferred flag like the others.•••I'm not entirely sure that this is meningful but I'm pretty sure it's not harmful. Seems like the logical thing to do. Linus Nordberg2012-09-04
* | | | Fix a comment.Linus Nordberg2012-09-04
|/ / /
* | | Merge remote-tracking branch 'arma/bug6759'Nick Mathewson2012-09-04
|\ \ \
| * | | Don't log about reloading the microdescriptor cache at startup•••Addresses bug 6759. Roger Dingledine2012-09-03
| |/ /
| * / fix whitespace and trivial typoRoger Dingledine2012-09-03
| |/
* | Merge remote-tracking branch 'arma/feature6758'Nick Mathewson2012-09-04
|\ \
| * | omit the first heartbeat message (resolves ticket 6758)Roger Dingledine2012-09-03
* | | Merge remote-tracking branch 'arma/feature6760'Nick Mathewson2012-09-04
|\ \ \
| * | | quiet "I learned some more directory information" on startup•••Reserve it for when new directory information arrives in response to a fetch. Resolves ticket 6760. Roger Dingledine2012-09-03
| |/ /
* | | resolve an XXX by agreeing with nickmRoger Dingledine2012-09-03
* | | make "Launching %d requests for %d routers" message more useful•••specifically, specify what sort of routers we're fetching. Roger Dingledine2012-09-03
|/ /
* | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-27
|\|
| * Quiet "Set buildtimeout to low val" warnings: make them info•••Fix for #6251 Nick Mathewson2012-08-27
| * Downgrade path-bias warning messages to INFO for now.•••We've had over two months to fix them, and didn't. Now we need 0.2.3.x stable. Yes, it would be cool to get this working in 0.2.3.x, but not at the expense of delaying every other feature that _does_ work in 0.2.3.x. We can do a real fix in 0.2.4. Nick Mathewson2012-08-27
* | Merge remote-tracking branch 'mikeperry/bug6647'Nick Mathewson2012-08-27
|\ \
| * | Bug 6647: Use correct scale constant and prevent rounding error•••We were effectively resetting our counts, and the rounding error leads to incorrect log messages. Mike Perry2012-08-23
| * | Bug 6475: Demote pathbias log messages for 0.2.3.x•••Also make a couple of them less scary. We'll do a separate, additional commit on 0.2.4.x to bump them back up again. Mike Perry2012-08-23
| * | Disable path bias accounting if we have no guards.•••This should eliminate a lot of notices for Directory Authorities and other situations where circuits built without using guard nodes. Mike Perry2012-08-23
* | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-27
|\ \ \ | | |/ | |/|
| * | Merge branch 'bug6710_023' into maint-0.2.3Nick Mathewson2012-08-27
| |\ \
| | * | Disable extending to private/internal addresses by default•••This is important, since otherwise an attacker can use timing info to probe the internal network. Also, add an option (ExtendAllowPrivateAddresses) so that TestingTorNetwork won't break. Fix for bug 6710; bugfix on all released versions of Tor. Nick Mathewson2012-08-27
* | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-27
|\| | |
| * | | Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3•••Conflicts: src/or/policies.c Nick Mathewson2012-08-27
| |\ \ \ | | |/ / | |/| |
| | * | Do not assert when comparing a null address/port against a policy•••This can create a remote crash opportunity for/against directory authorities. Nick Mathewson2012-08-27
* | | | Fix whitespaceNick Mathewson2012-08-27
* | | | Merge branch 'bug6524_nm'Nick Mathewson2012-08-27
|\ \ \ \
| * | | | build: minimal adjustments to make out-of-tree build workJim Meyering2012-08-27
| * | | | Make the _sha1.i file generation quieterNick Mathewson2012-08-23
| * | | | fix circular dependency for generating code digestsStewart Smith2012-08-09
| * | | | fix dependencies for some generated filesStewart Smith2012-08-09
| * | | | Move to non-recursive make•••This gives us a few benefits: 1) make -j clean all this will start working, as it should. It currently doesn't. 2) increased parallel build recursive make will max out at number of files in a directory, non-recursive make doesn't have such a limitation 3) Removal of duplicate information in make files, less error prone I've also slightly updated how we call AM_INIT_AUTOMAKE, as the way that was used was not only deprecated but will be *removed* in the next major automake release (1.13).... so probably best that we can continue to bulid tor without requiring old automake. (see http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html ) For more reasons why, see resources such as: http://miller.emu.id.au/pmiller/books/rmch/ Stewart Smith2012-08-09
* | | | | Merge remote-tracking branch 'linus/bug6364'Nick Mathewson2012-08-27
|\ \ \ \ \