summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | Replace man_MANS with nodist_man1_MANSJim Meyering2012-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (commit message by nickm)
| * | | | | | s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/Jim Meyering2012-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently the former will stop working with newer auto* (commit message by nickm)
| * | | | | | fix up calling of config.status to generate docsStewart Smith2012-08-09
| | | | | | |
| * | | | | | 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
| | | | | | |
| * | | | | | remove contrib/Makefile and contrib/suse/Makefile from configure.inStewart Smith2012-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (otherwise would throw an error of "required file X" not found as part of autogen.sh)
| * | | | | | add subdir-objects to AUTOMAKE_OPTIONS, this builds object files in subdirs ↵Stewart Smith2012-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with non-recursive make
| * | | | | | 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?
* | | | | | | | | | Remove #6480 fix from 0.2.2.38 changelog - it was not includedPeter Palfrader2012-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Forward-port from release-0.2.2 to master)
* | | | | | | | | | 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
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / | |/| | | | | | | |
| | * | | | | | | | Update description of what we did to upper limit on md sizeNick Mathewson2012-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spotted by asn
| | * | | | | | | | 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.
* | | | | | | | | Merge branch 'bug6468_squashed'Nick Mathewson2012-08-17
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | 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
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Consider IPv6 OR ports when deciding whether a routerinfo change is cosmetic.Linus Nordberg2012-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #6423.
* | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-17
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Merge branch 'bug6379' into maint-0.2.3Nick Mathewson2012-08-17
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Fix more warnings from openbsd_mallocNick Mathewson2012-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently, (void)writev is not enough to suppress the "you are ignoring the return value!" warnings on Linux. Instead, remove the whole warning/error logic when compiling openbsd_malloc for Tor: we can't use it.
| | * | | | | | | | Fix warnings and 64-bit problems in openbsd-malloc codeNick Mathewson2012-08-15
| | | |_|_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The warning fixes are: - Only define issetugid if it's missing. - Explicitly ignore the return value of writev. - Explicitly cast the retval of readlink() to int. The 64-bit problems are related to just storing a size_t in an int. Not cool! Use a size_t instead. Fix for bug 6379. Bugfix on 0.2.0.20-rc, which introduced openbsd-malloc.
* | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-08-17
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Merge remote-tracking branch 'public/bug6244_part_c' into maint-0.2.3Nick Mathewson2012-08-17
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Fix wildcarded address mappings from the control portNick Mathewson2012-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently, we weren't actually detecting wildcardedness when parsing them: whoops! bug 6244. Bugfix on 0.2.3.9-alpha
| | * | | | | | | | Raise the part of torrc mapaddress handling that knows wildcardsNick Mathewson2012-08-15
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch extracts the inner part of config_register_addressmaps -- the part that knows about detecting wildcard addresses addresses -- and makes it into a new function. The new function is deliberately not moved or reindented, so that the diff is smaller. I need this to fix bug 6244.