summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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.
2016-02-23Merge remote-tracking branch 'arma/bug16825'Nick Mathewson
2016-02-23Merge remote-tracking branch 'teor/bug18348-v2'Nick Mathewson
2016-02-23Merge branch 'bug18296_squashed'Nick Mathewson
2016-02-23Simple fix for integer overflow in smartlist_heapify.Nick Mathewson
2016-02-23Merge branch 'bug17795'Nick Mathewson
2016-02-23Fix an erroneous renamingNick Mathewson
Did you know that crypto_digest_all is a substring of crypto_digest_alloc_bytes()? Hence the mysterious emergence of "crypto_common_digestsoc_bytes". Next time I should use the \b assertion in my regexen. Spotted by Mike.
2016-02-23Add missing check to test_address_get_if_addrs_ifaddrs. Bug 18378Nick Mathewson
2016-02-23Appease make check-spacesAndrea Shepard
2016-02-22Another memory leak in the testsNick Mathewson
2016-02-22Small fixup on last fix to test leaksNick Mathewson
2016-02-22Fix a bunch of memory leaks in the unit testsNick Mathewson
2016-02-22Add a missing free in parsing an :auto portNick Mathewson
Fixes bug 18374; bugfix on 0.2.3.3-alpha.
2016-02-22asan does not like TO_CONN(NULL)Nick Mathewson
2016-02-22Define O_NOFOLLOW on platforms that do not have itcypherpunks
Fixes #18339
2016-02-22Update to trunnel 1.4.4 to fix 18373Nick Mathewson
2016-02-22Merge branch 'bug16023_028_01_squashed'Nick Mathewson
2016-02-22avoid redundant bootstrap events if the number of descs we just fetched is 0Roger Dingledine
2016-02-22avoid extra LOG_NOTICE for every new microdesc batchRoger Dingledine
We already write out bootstrapping progress (see bug 9927) per new microdesc batch. There's no need to do a full "I learned some more directory information, but not enough to..." line each time too.
2016-02-22refactor directory_info_has_arrived so we can quiet the logsRoger Dingledine
no actual behavior changes
2016-02-22new microdescs mean progress towards bootstrappingRoger Dingledine
Now, when a user who has set EntryNodes finishes bootstrapping, Tor automatically repopulates the guard set based on this new directory information. Fixes bug 16825; bugfix on 0.2.3.1-alpha.
2016-02-22fix two typos in commentsRoger Dingledine
2016-02-21Update unit tests for fascist_firewall_choose_address*teor (Tim Wilson-Brown)
Check that clients, bridge clients, and relays choose addresses as expected.
2016-02-20Downgrade directory preference warning to info levelteor (Tim Wilson-Brown)
2016-02-20If both IPv4 and IPv6 addresses could be used, choose one correctlyteor (Tim Wilson-Brown)
If there is a node, use node_ipv6_or/dir_preferred(). If there is no node, use fascist_firewall_prefer_ipv6_or/dirport().
2016-02-20Refactor IPV6_OR_LOOKUP into fascist_firewall_choose_address_rsteor (Tim Wilson-Brown)
It's only used once now, so having it as a macro is unhelpful.
2016-02-20Make some fascist_firewall_choose_address* functions staticteor (Tim Wilson-Brown)
2016-02-20Refactor fascist_firewall_allows_address without changing behaviourteor (Tim Wilson-Brown)
2016-02-20Ensure relays must use IPv4, and can use IPv6teor (Tim Wilson-Brown)
A mistake in previous refactoring had relays using IPv4 and IPv6.
2016-02-17Add onion address to the HS_DESC UPLOADED eventDavid Goulet
Fixes #16023 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2016-02-16Set or_ap/dir_ap.port on the invalid addr case. Bug in no released Tor. CID ↵Nick Mathewson
1353178 and 1353179.
2016-02-16Fix a NULL dereference on unit test failure. CID 1353177.Nick Mathewson
2016-02-16Merge branch 'bug17852_revised'Nick Mathewson
2016-02-16Harden check_private_dir() to remove any potential race.Jeremy
Remove any potential race between stat() and chmod(). Replace stat() with fstat(). Replace chmod() with fchmod()
2016-02-16src/common/util.c:expand_filename() - Perhaps use GetFullPathName() as a ↵Jeremy
form of input validation on the filename argument.
2016-02-11Fix all doxygen warnings other than "X is not documented"Nick Mathewson