aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-27
|\
| * Quiet "Set buildtimeout to low val" warnings: make them infoNick Mathewson2012-08-27
| | | | | | | | Fix for #6251
| * Downgrade path-bias warning messages to INFO for now.Nick Mathewson2012-08-27
| | | | | | | | | | | | | | 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.
* | Merge remote-tracking branch 'mikeperry/bug6647'Nick Mathewson2012-08-27
|\ \
| * | Bug 6647: Use correct scale constant and prevent rounding errorMike Perry2012-08-23
| | | | | | | | | | | | | | | We were effectively resetting our counts, and the rounding error leads to incorrect log messages.
| * | Bug 6475: Demote pathbias log messages for 0.2.3.xMike Perry2012-08-23
| | | | | | | | | | | | | | | | | | | | | 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.
| * | Disable path bias accounting if we have no guards.Mike Perry2012-08-23
| | | | | | | | | | | | | | | This should eliminate a lot of notices for Directory Authorities and other situations where circuits built without using guard nodes.
* | | 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 defaultNick Mathewson2012-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | 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.3Nick Mathewson2012-08-27
| |\ \ \ | | |/ / | |/| | | | | | | | | | Conflicts: src/or/policies.c
| | * | Do not assert when comparing a null address/port against a policyNick Mathewson2012-08-27
| | | | | | | | | | | | | | | | | | | | This can create a remote crash opportunity for/against directory authorities.
* | | | 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 up make distcheck and greatly simplify docs dependencies (although it's ↵Stewart Smith2012-08-09
| | | | | | | | | | | | | | | | | | | | still a bit odd)
| * | | | fix circular dependency for generating code digestsStewart Smith2012-08-09
| | | | |
| * | | | fix TESTS to include full path to src/test/testStewart Smith2012-08-09
| | | | |
| * | | | fix dependencies for some generated filesStewart Smith2012-08-09
| | | | |
| * | | | Move to non-recursive makeStewart Smith2012-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/
* | | | | Merge remote-tracking branch 'linus/bug6364'Nick Mathewson2012-08-27
|\ \ \ \ \
| * | | | | Fetch IPv6 address from NETINFO "other OR's address" field.Linus Nordberg2012-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The my_apparent_addr is still unused, apart from now being logged in the "Got good NETINFO cell" info message.
| * | | | | Send IPv6 address in NETINFO cells.Linus Nordberg2012-08-20
| | | | | | | | | | | | | | | | | | | | | | | | Closes #6364.
* | | | | | Merge remote-tracking branch 'linus/bug6362'Nick Mathewson2012-08-27
|\ \ \ \ \ \
| * | | | | | Make all relays, not only bridges, capable of advertising an IPv6 OR port.Linus Nordberg2012-08-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #6362.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-24
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge remote-tracking branch 'public/bug6472' into maint-0.2.3Nick Mathewson2012-08-24
| |\ \ \ \ \ \
| | * | | | | | When iterating over connections pending DNS, skip marked onesNick Mathewson2012-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failure to do this would lead to double-free cases and similar, especially when the exit's DNS was broken. See bug 6472 for full details; this is a fix for 6472. Anonymous patch from "cypherpunks" on trac.
* | | | | | | | Make node_assert_ok less duplicateyNick Mathewson2012-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This comes at the cost of making its failure message a little less friendly, but since when do assertion failures count as user-friendly?
* | | | | | | | Clarify docs on get_configured_bridge_by_*_digestNick Mathewson2012-08-24
| | | | | | | |
* | | | | | | | Move ipv6_preferred from routerinfo_t to node_t.Linus Nordberg2012-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move extend_info_from_router() from circuitbuild.c to router.c and make it static. Add get_configured_bridge_by_orports_digest() and have get_configured_bridge_by_routerinfo() and node_is_a_configured_bridge() use it. We now consider all OR ports of a bridge when looking for it. Move node_get_*_orport to nodelist.c. Fix a cut'n'paste error in header of nodelist.h. Add node_assert_ok(). Add router_get_all_orports(). It's duplicating code from node_get_all_orports(). Worth fixing at the cost of complicating the API slightly?
* | | | | | | | Merge branch 'bug6638'Nick Mathewson2012-08-21
|\ \ \ \ \ \ \ \
| * | | | | | | | Avoid spurious warnings in rend_service_introduceNick Mathewson2012-08-21
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was some code in the "err:" block that would always log a warning, reporting an "unknown error" if we hadn't set err_msg. But there were also plenty of "goto err" blocks that did their own logging, and never set err_msg at all. Now we should only log when we have an error message to log. This fixes bug 6638, from no released Tor version.
* | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-21
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge remote-tracking branch 'public/bug6404' into maint-0.2.3Nick Mathewson2012-08-21
| |\ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | |
| | * | | | | | Fix memory leak in dirvote_create_microdescriptorNick Mathewson2012-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by George, who gets a cookie.
| | * | | | | | Remove the upper limit on the size of MD we can generate.Nick Mathewson2012-07-31
| | | | | | | |
| | * | | | | | Warn at parse time for routerstatus entry missing a microdesc consensusNick Mathewson2012-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 0.2.3.18-rc, we started warning on this case while building a list of missing microdescriptor digests. That turned out to spam the logs; instead let's warn at parse time. Partial fix for bug 6404.
| | * | | | | | Don't include a router in an md consensus if we can't find a md for it.Nick Mathewson2012-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spec requires that every router in a microdesc consensus have an m line; we weren't obeying that spec. This creates a new consensus method (13) to allow voting to continue to work right. Partial fix for bug 6404; fix on 0.2.2.6-alpha.
| | * | | | | | Allow microdescs to be up to 2k. Partial fix for 6404.Nick Mathewson2012-07-31
| | | | | | | |
* | | | | | | | Merge remote-tracking branch 'linus/bug6621'Nick Mathewson2012-08-21
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Make authorities not set Running unless all advertised OR ports are reachable.Linus Nordberg2012-08-17
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Resolves #6621.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-17
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | whitespace fixNick Mathewson2012-08-17
| | |_|/ / / | |/| | | |
* | | | | | Merge remote-tracking branch 'public/bug5124'Nick Mathewson2012-08-17
|\ \ \ \ \ \
| * | | | | | Never emit the "opt" prefix in any directory stuffNick Mathewson2012-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for bug 5124.
* | | | | | | Remove needless flush-on-write code.Nick Mathewson2012-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Long ago, before we had cell queues, it was necessary to maybe call connection_handle_write() from connectino_write_to_buf_impl() on OR connections, so that we wouldn't get into a loop of reading infinite amounts of data and queueing it all on an outbuf before bothering to write any data. If that doesn't sounds like what our code does now, you're right: right now, we won't stick more than OR_CONN_HIGHWATER bytes of cells on an outbuf, and we won't suck more than CELL_QUEUE_HIGHWATER_SIZE cells off any edge connection. So, there's no more call for that code. Removing this code will simplify our data flow, and that should be something we can all get behind.
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-17
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |