aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-09Travis: create configure flags once, then echo the flagsteor
Creating the configure flags once avoids inconsistent flags between configure and distcheck configure. Echoing the flags helps developers work out what configure is doing. (Backported to 0.2.9 and later as a precaution.) Fixes 27088 on 0.3.4.1-alpha, adds logging in previous releases.
2018-08-09Travis: enable macOS buildsteor
Also: * explain why we don't install zlib Part of 24629.
2018-08-09Travis: Rewrite .travis.ymlteor
Build on all compilers: * default options + hardening Build on gcc: * coverage (+ no hardening) * distcheck * no hardening Add some extra logging: * tail config.log on failure (config.log is too long for travis to render) Put the config in a more logical order * Sort config items in chronological order * Put related items together Part of 24629.
2018-08-09Add more optional packages to TravisTaylor Yu
Apparently we weren't building with either libcap or libseccomp on Travis. Install libcap-dev and libseccomp-dev in .travis.yml. Closes ticket 26560.
2018-08-08Changes file for 25440Nick Mathewson
2018-08-08Fix crash when calling openat with sandbox enabled #25440Daniel Pinto
The seccomp rule for the openat syscall checks for the AT_FDCWD constant. Because this constant is usually a negative value, a cast to unsigned int is necessary to make sure it does not get converted to uint64_t used by seccomp. More info on: https://github.com/seccomp/libseccomp/issues/69#issuecomment-273805980
2018-08-03Merge branch 'fix_nonstandard_malloc_029' into maint-0.2.9Nick Mathewson
2018-07-25Stop logging link auth warnings on Single Onion Services and Tor2webteor
Instead, log a protocol warning when single onion services or Tor2web clients fail to authenticate direct connections to relays. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
2018-07-18Changes file for bug 26787Nick Mathewson
2018-07-18Try putting ulimit -c 0 in test_bt.sh to see if it fixes bug 26787Nick Mathewson
2018-07-18Merge branch 'bug26485_029_squashed' into maint-0.2.9Nick Mathewson
2018-07-18Add a test for format_recommended_version_list.Nick Mathewson
2018-07-18Warn when an authority has voted for a version with a space in it.Nick Mathewson
Another way to try to prevent a recurrence of 26485.
2018-07-18Warn the directory authority operator if their versions list is bogusNick Mathewson
Prevents bug 26485; bugfix on 0.1.1.6-alpha.
2018-07-17SKIP test_keygen.sh on Windows until the underlying issue is resolvedteor
Skip an unreliable key generation test on Windows, until the underlying issue in bug 26076 is resolved. Fixes bug 26830; bugfix on 0.2.7.3-rc.
2018-07-12put new bridge auth Serge into placeRoger Dingledine
The "Bifroest" bridge authority has been retired; the new bridge authority is "Serge", and it is operated by George from the TorBSD project. Closes ticket 26771.
2018-07-11When setting a nonstandard malloc, disable the system malloc.Nick Mathewson
Closes ticket 20424.
2018-07-09Merge branch 'bug26269_029' into maint-0.2.9Nick Mathewson
2018-07-06Update geoip and geoip6 to the July 3 2018 database.Karsten Loesing
2018-07-03Merge branch 'bug26535_029' into maint-0.2.9Nick Mathewson
2018-07-02ntor_ref.py: pass only strings to subprocess.PopenNick Mathewson
Recent Python3 versions seem to require this on Windows. Fixes bug 26535; bug introduced in f4be34f70d6f277a0f3f73e, which was apparently intended itself as a Python3 workaround.
2018-06-29Finally remove our EOL@EOF check.Nick Mathewson
This check was added by mistake long ago. It will be nice to see these EOLs disappear from our code over time. (backport from master)
2018-06-29Fix a memory error in test_shared_randomNick Mathewson
Bug not in any released Tor.
2018-06-29Changes file for 26467Nick Mathewson
2018-06-29Merge remote-tracking branch 'ahf-github/maint-0.2.9' into maint-0.2.9Nick Mathewson
2018-06-26Merge branch 'feature26372_029' into maint-0.2.9Nick Mathewson
2018-06-23Fix memory leak in test_sr_setup_commits().Alexander Færøy
This patch fixes a memory leak in test_sr_setup_commits() where the place_holder is allocated, but never freed again. See: Coverity CID 1437440.
2018-06-23Fix memory leak in disk_state_parse_commits().Alexander Færøy
This patch fixes a memory leak in disk_state_parse_commits() where if commit is NULL, we continue the internal loop, but without ever freeing the args variable. See: Coverity CID 1437441.
2018-06-23Fix memory leak in frac_nodes_with_descriptors().Alexander Færøy
This patch fixes a memory leak in frac_nodes_with_descriptors() where we might return without free'ing the bandwidths variable. See: Coverity CID 1437451.
2018-06-23Fix potential memory leak in test_hs_auth_cookies().Alexander Færøy
This patch fixes a potential memory leak in test_hs_auth_cookies() if a test-case fails and we goto the done label where no memory clean up is done. See: Coverity CID 1437453
2018-06-21Prefer recent Python 3 in autoconf.Nick Mathewson
Closes ticket 26372.
2018-06-17Add .editorconfig to follow coding standards stylejuga0
2018-06-13Fix a GCC "potential null dereference" warning.Nick Mathewson
Fixes bug 26269; bugfix on c30be5a82d47328 in 0.2.8.2-alpha
2018-06-12Merge branch 'dannenberg_ipv6_029' into maint-0.2.9Nick Mathewson
2018-06-12Add a changelog entry.Linus Nordberg
2018-06-12Add IPv6 orport address for dannenberg.Linus Nordberg
2018-06-11Update geoip and geoip6 to the June 7 2018 database.Karsten Loesing
2018-06-08Avoid out-of-bounds smartlist access in protover_compute_vote()rl1987
and contract_protocol_list()
2018-05-24Merge branch 'bug26116_029' into maint-0.2.9Nick Mathewson
2018-05-24Add a unit test for PEM-encrypted documents.Nick Mathewson
2018-05-16Merge branch 'bug26072_029' into maint-0.2.9Nick Mathewson
2018-05-16Return -1 from our PEM password callbackNick Mathewson
Apparently, contrary to its documentation, this is how OpenSSL now wants us to report an error. Fixes bug 26116; bugfix on 0.2.5.16.
2018-05-15Update geoip and geoip6 to the May 1 2018 database.Karsten Loesing
2018-05-14Add a missing return after marking a stream for bad connected cellNick Mathewson
Fixes bug 26072; bugfix on 0.2.4.7-alpha.
2018-05-10Merge remote-tracking branch 'juga/ticket26007_029_02' into maint-0.2.9Nick Mathewson
2018-05-09Having a ControlPort open doesn't mean we are a clientDavid Goulet
The any_client_port_set() returns true if the ControlPort is set which is wrong because we can have that port open but still not behave as a tor client (like many relays for instance). Fixes #26062 Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-05-09Test read bandwidth measurements with empty filejuga0
2018-05-09Stop logging stack contents when reading a zero-length bandwidth fileteor
When directory authorities read a zero-byte bandwidth file, they log a warning with the contents of an uninitialised buffer. Log a warning about the empty file instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
2018-05-03Merge remote-tracking branch 'catalyst-github/bug25936-029' into maint-0.2.9Nick Mathewson
2018-05-02Stop logging stack contents when reading a zero-length bandwidth fileteor
When directory authorities read a zero-byte bandwidth file, they log a warning with the contents of an uninitialised buffer. Log a warning about the empty file instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.