summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-11simplify rend_cache_store_status_t back to a booleanRoger Dingledine
it used to be a tri-state, but now it's just a bi-state, so we can take out all the machinery like the enum.
2016-03-11rip out rend_id_is_in_interval()Roger Dingledine
it was used by hid_serv_responsible_for_desc_id(), which we no longer use.
2016-03-11rip out hid_serv_acting_as_directory()Roger Dingledine
When we made HidServDirectoryV2 always 1, we removed the situation where a relay could choose not to be an HSDir. Now simplify the rest of the code to reflect this decision. (We have to remove two apparently unrelated free() calls in the unit tests, since they used to free stuff that we created as a side effect of calling router_get_my_routerinfo(), and now we no longer call that.)
2016-03-11rip out hid_serv_responsible_for_desc_id()Roger Dingledine
This simplifies relay behavior, because the relay offers the hsdir functionality independent of whether the directory authorities have decided this relay is suitable for clients to use yet. Implements ticket 18332.
2016-03-11Merge remote-tracking branch 'teor/bug18454'Nick Mathewson
2016-03-11Merge remote-tracking branch 'public/bug18204_028'Nick Mathewson
2016-03-11Move Automake options to configure.accypherpunks
This will centralize the version configuration in one file to simplify future changes. Also fixes some typos in the Automake options comments.
2016-03-11Add changes file for 18448; refactorNick Mathewson
(I've made it so FreeBSD || FreeBSD_kernel is enough to ensure that we think you might have ipfw, and so that the logic is all in one place.)
2016-03-11enable and test transproxy on FreeBSD derivatives #18448Steven Chamberlain
The transproxy feature is only enabled when __FreeBSD__ is defined, and only regular FreeBSD does that. Change this to __FreeBSD_kernel__ which is defined on derivatives as well. This enables the relevant options/validate__transproxy test on FreeBSD derivatives.
2016-03-11Do not link tests against both libor.a and libor-testing.aNick Mathewson
Also, put libor-testing.a at a better position in the list of libraries, to avoid linker errors. This is a fix, or part of a fix, for 18490.
2016-03-11moving hid_serv_get_responsible_directories and hid_serv_acting_as_directory ↵Hassan Alsibyani
from routerlist.c to rendcommon.c
2016-03-11Fedora Core->Fedora; yum->dnf.Nick Mathewson
Closes 18426 and 18459.
2016-03-09Merge branch 'maint-0.2.7'Nick Mathewson
2016-03-09Merge branch 'maint-0.2.6' into maint-0.2.7Nick Mathewson
2016-03-09Merge branch 'maint-0.2.5' into maint-0.2.6Nick Mathewson
2016-03-09Merge branch 'maint-0.2.4' into maint-0.2.5Nick Mathewson
2016-03-070.2.5.12 got left out of the changelog somehowRoger Dingledine
2016-03-04Correctly duplicate addresses in get_interface_address6_listteor (Tim Wilson-Brown)
2016-03-04Avoid freeing an uninitialised pointer in get_interface_addresses_ioctlteor (Tim Wilson-Brown)
2016-03-04Update geoip and geoip6 to the March 3 2016 database.Karsten Loesing
2016-02-28clean/extend some module docs, including fix from #18403Nick Mathewson
2016-02-28Merge remote-tracking branch 'teor/fallbacks-201602-v2'Nick Mathewson
2016-02-28Merge remote-tracking branch 'teor/bug18123'Nick Mathewson
2016-02-28Use the kdf_rfc5869() function instead of kdf().Alexander Færøy
This patch fixes an issue in "ntor_ref.py gen_kdf_vectors" where the script tries to call the undefined function kdf().
2016-02-28Merge remote-tracking branch 'teor/bug17193'Nick Mathewson
2016-02-27Update the copyright year.Nick Mathewson
2016-02-27It appears I added an empty file by mistake.Nick Mathewson
2016-02-27Add a brief file-level description for everything in src/commonNick Mathewson
2016-02-27Make sure that every module in src/or has a brief description.Nick Mathewson
2016-02-27Fix an unused-variable warningNick Mathewson
2016-02-27Merge branch 'bug18392'Nick Mathewson
2016-02-27Update default fallback directories for 0.2.8.2-alpha (Feb 2016)teor (Tim Wilson-Brown)
Allow fallback directories which have been stable for 7 days to work around #18050, which causes relays to submit descriptors with 0 DirPorts when restarted. (Particularly during Tor version upgrades.) Ignore low fallback directory count in alpha builds. Set the target count to 50.
2016-02-27Fix minor fallback directory script issues with time zonesteor (Tim Wilson-Brown)
2016-02-27Check if fallback directories can serve the consensus fast enoughteor (Tim Wilson-Brown)
2016-02-26Add missing man page option from #4483 (35bbf2e4)teor (Tim Wilson-Brown)
TestingClientBootstrapConsensusAuthorityOnlyMaxDownloadTries
2016-02-26Set EXCLUSIVEADDRUSE on Win32 to avoid a local port-stealing attackteor (Tim Wilson-Brown)
2016-02-25Merge remote-tracking branch 'teor/bug18384'Nick Mathewson
2016-02-25Fix check_private_dir() to work on Windows again.Nick Mathewson
On windows, you cannot open() a directory. So for Windows we should just take our previous stat-based approach. Closes bug 18392; bug not in any released Tor.
2016-02-25Changes file for bug 18384: bugfix on 0f3eeca9 in 0.2.7.2-alpha.teor (Tim Wilson-Brown)
2016-02-24Make the sandbox work again with chutney.Nick Mathewson
Previously, we had a problem due to the check_private_dir() rewrite. Bug not in any released Tor.
2016-02-24Repare dependency in "make test-stem".Nick Mathewson
2016-02-24Fix a huge number of leaks in test_config.cNick Mathewson
I no longer see asan reporting memory leaks in the unit tests.
2016-02-24Fix memory leaks in routerlist/pick_directory_server_impl testNick Mathewson
2016-02-24Fix a leak in test_have_enough_mem_for_dircacheNick Mathewson
2016-02-24Remove the freelist from memarea.cNick Mathewson
This is in accordance with our usual policy against freelists, now that working allocators are everywhere. It should also make memarea.c's coverage higher. I also doubt that this code ever helped performance.
2016-02-24Silence clang-scan warnings in ed25519_donnateor (Tim Wilson-Brown)
2016-02-23Another clang+_FORTIFY_SOURCE issueNick Mathewson
There was a parenthesis issue in test_util that clang found confusing. This part was only in master. Closes issue 14821.
2016-02-23Merge branch 'maint-0.2.7'Nick Mathewson
2016-02-23Make clang asan work with FORTIFIED_SOURCE again.Nick Mathewson
Short version: clang asan hates the glibc strcmp macro in bits/string2.h if you are passing it a constant string argument of length two or less. (I could be off by one here, but that's the basic idea.) Closes issue 14821.
2016-02-23Replace two instances of N_DIGEST_ALGORITHMS.Nick Mathewson
These should have been N_COMMON_DIGEST_ALGORITHMS. Fixes bug 18380; bug not in any released Tor.