]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
10 years agoFix unit tests on systems without IPv4 or localhost addresses
teor (Tim Wilson-Brown) [Wed, 18 Nov 2015 12:25:21 +0000 (23:25 +1100)] 
Fix unit tests on systems without IPv4 or localhost addresses

Make unit tests pass on IPv6-only systems, and systems without
localhost addresses (like some FreeBSD jails).

Fixes:
* get_if_addrs_ifaddrs: systems without localhost
* get_if_addrs_ioctl: only works on IPv4 systems
* socket: check IPv4 and IPv6, skip on EPROTONOSUPPORT
* socketpair_ersatz: uses IPv4, skip on EPROTONOSUPPORT

Fixes bug #17632; bugfix on unit tests in 0.2.7.3-rc.
c464a367728d was a partial fix for this issue in #17255;
it was released in unit tests in 0.2.7.4-rc.

Patch by "teor".

10 years agoappease check-spaces
Nick Mathewson [Fri, 13 Nov 2015 18:46:47 +0000 (13:46 -0500)] 
appease check-spaces

10 years agoMerge remote-tracking branch 'public/ticket11150_client_only'
Nick Mathewson [Fri, 13 Nov 2015 14:58:16 +0000 (09:58 -0500)] 
Merge remote-tracking branch 'public/ticket11150_client_only'

10 years agoRemove a little duplicated code in TAP key expansion
Nick Mathewson [Fri, 13 Nov 2015 14:46:32 +0000 (09:46 -0500)] 
Remove a little duplicated code in TAP key expansion

patch from pfrankw; closes 17587.

10 years agofix an email address in doc/HACKING/ReleasingTor.md
Nick Mathewson [Fri, 13 Nov 2015 14:01:55 +0000 (09:01 -0500)] 
fix an email address in doc/HACKING/ReleasingTor.md

10 years agoMerge commit '741d2dc685a0e380bc4d8fbcda5a33b70272b3f7'
Nick Mathewson [Fri, 13 Nov 2015 13:42:31 +0000 (08:42 -0500)] 
Merge commit '741d2dc685a0e380bc4d8fbcda5a33b70272b3f7'

10 years agoMerge commit '7b859fd8c558c9cf08add79db87fb1cb76537535'
Nick Mathewson [Fri, 13 Nov 2015 13:42:20 +0000 (08:42 -0500)] 
Merge commit '7b859fd8c558c9cf08add79db87fb1cb76537535'

10 years agoBump to 0.2.7.5
Nick Mathewson [Fri, 13 Nov 2015 13:41:30 +0000 (08:41 -0500)] 
Bump to 0.2.7.5

10 years agoMerge branch 'decouple_circuit_mark_squashed'
Nick Mathewson [Thu, 12 Nov 2015 19:20:24 +0000 (14:20 -0500)] 
Merge branch 'decouple_circuit_mark_squashed'

10 years agoExperimentally decouple the main body of circuit_mark_for_close
Nick Mathewson [Fri, 2 Oct 2015 15:55:25 +0000 (17:55 +0200)] 
Experimentally decouple the main body of circuit_mark_for_close

10 years ago+ and / usage clarification - Fixes #13158
Joan Queralt [Mon, 2 Nov 2015 00:36:19 +0000 (01:36 +0100)] 
+ and / usage clarification - Fixes #13158

10 years agoMerge branch 'karsten_bug13192_026_03_teor'
Nick Mathewson [Thu, 12 Nov 2015 16:40:58 +0000 (11:40 -0500)] 
Merge branch 'karsten_bug13192_026_03_teor'

10 years agoRename cast_double_to_int64 to clamp_double_to_int64
Nick Mathewson [Thu, 9 Jul 2015 20:54:17 +0000 (16:54 -0400)] 
Rename cast_double_to_int64 to clamp_double_to_int64

10 years agoMake round_to_next_multiple_of always round upwards.
Nick Mathewson [Thu, 12 Nov 2015 16:32:14 +0000 (11:32 -0500)] 
Make round_to_next_multiple_of always round upwards.

Yes, even if it has to return a non-multiple.  This prevents us from
ever having a bug where we try to use it for allocation, and under-allocate.

10 years agoMerge branch 'bug17549'
Nick Mathewson [Tue, 10 Nov 2015 15:40:31 +0000 (10:40 -0500)] 
Merge branch 'bug17549'

10 years agoappease check-spaces
Nick Mathewson [Tue, 10 Nov 2015 15:40:19 +0000 (10:40 -0500)] 
appease check-spaces

10 years agoevery version of openssl we support has SSL_get_state
Nick Mathewson [Tue, 10 Nov 2015 15:14:58 +0000 (10:14 -0500)] 
every version of openssl we support has SSL_get_state

10 years agoEvery openssl we support has ERR_remove_thread_state
Nick Mathewson [Tue, 10 Nov 2015 15:13:04 +0000 (10:13 -0500)] 
Every openssl we support has ERR_remove_thread_state

10 years agoMove openssl version compatibility defines into a new header.
Nick Mathewson [Tue, 10 Nov 2015 15:02:21 +0000 (10:02 -0500)] 
Move openssl version compatibility defines into a new header.

10 years agoMark fallback directoriess as too busy after a 503 response
teor (Tim Wilson-Brown) [Mon, 9 Nov 2015 22:47:48 +0000 (09:47 +1100)] 
Mark fallback directoriess as too busy after a 503 response

Mark fallback directory mirrors as "too busy" when they return
a 503 response. Previously, the code just marked authorities as busy.

Unless clients set their own fallback directories, they will never see
this bug. (There are no default fallbacks yet.)

Fixes bug 17572; bugfix on 5c51b3f1f0d4 released in 0.2.4.7-alpha.
Patch by "teor".

10 years agoFix the tortls.c unit tests to pass with OpenSSL 1.1.0-dev.
Yawning Angel [Fri, 6 Nov 2015 19:42:39 +0000 (19:42 +0000)] 
Fix the tortls.c unit tests to pass with OpenSSL 1.1.0-dev.

The string description for the states got changed slightly.

10 years agoFix compilation with OpenSSL 1.1.0 --enable-gcc-warnings is set.
Yawning Angel [Fri, 6 Nov 2015 19:12:43 +0000 (19:12 +0000)] 
Fix compilation with OpenSSL 1.1.0 --enable-gcc-warnings is set.

10 years agoFix compilation with OpenSSL 1.1.0-dev.
Yawning Angel [Fri, 6 Nov 2015 19:02:56 +0000 (19:02 +0000)] 
Fix compilation with OpenSSL 1.1.0-dev.

OpenSSL changed the API:
 * https://github.com/openssl/openssl/commit/5998e2903589e7b19e102ebff06521f2dcb60409
 * https://github.com/openssl/openssl/commit/b0700d2c8de79252ba605748a075cf2e5d670da1

10 years ago"And now a better patch which builds the tests if LibreSSL is used."
Nick Mathewson [Fri, 6 Nov 2015 15:58:00 +0000 (10:58 -0500)] 
"And now a better patch which builds the tests if LibreSSL is used."

Works on the latest LibreSSL (in OpenBSD-current).

(Patch from 'rubiate' on #17253.

10 years agoFix SipHash-2-4 performance for non multiple of 8 buffers.
Yawning Angel [Thu, 5 Nov 2015 18:21:43 +0000 (18:21 +0000)] 
Fix SipHash-2-4 performance for non multiple of 8 buffers.

Code cribbed from Andrew Moon's Public Domain SipHash-2-4
implementation (which IMO is also cleaner).

Fixes bug 17544.

10 years agoDelete trailing whitespace in md files
Nick Mathewson [Thu, 5 Nov 2015 14:53:05 +0000 (09:53 -0500)] 
Delete trailing whitespace in md files

10 years agoadd release notes
Nick Mathewson [Thu, 5 Nov 2015 14:46:40 +0000 (09:46 -0500)] 
add release notes

10 years agoadded some markdown formatting
tom lurge [Thu, 5 Nov 2015 14:13:53 +0000 (09:13 -0500)] 
added some markdown formatting

10 years agoFix filename endings in HACKING. Patch from "ckomlo", ticket #17515.
Nick Mathewson [Tue, 3 Nov 2015 13:23:08 +0000 (08:23 -0500)] 
Fix filename endings in HACKING. Patch from "ckomlo", ticket #17515.

10 years agoremove changes files that have been used in existing changelogs
Nick Mathewson [Sat, 31 Oct 2015 18:44:34 +0000 (14:44 -0400)] 
remove changes files that have been used in existing changelogs

10 years agoRefer to the actual minima and the preferred minimum
Nick Mathewson [Fri, 30 Oct 2015 14:57:47 +0000 (10:57 -0400)] 
Refer to the actual minima and the preferred minimum

10 years agoBump up minimum BandwidthRate from 30KB to 250KBytes - Fixes #16382
Nima Fatemi [Mon, 15 Jun 2015 23:12:52 +0000 (23:12 +0000)] 
Bump up minimum BandwidthRate from 30KB to 250KBytes - Fixes #16382

10 years agoMerge remote-tracking branch 'rl1987/ticket16831_part2_rebased'
Nick Mathewson [Fri, 30 Oct 2015 13:59:11 +0000 (09:59 -0400)] 
Merge remote-tracking branch 'rl1987/ticket16831_part2_rebased'

10 years agoMerge branch 'doc17392'
Nick Mathewson [Fri, 30 Oct 2015 13:25:51 +0000 (09:25 -0400)] 
Merge branch 'doc17392'

10 years agoMention torspec URL in the manpage.
rl1987 [Thu, 22 Oct 2015 17:12:46 +0000 (20:12 +0300)] 
Mention torspec URL in the manpage.

10 years agohacking is now markdown
Nick Mathewson [Thu, 29 Oct 2015 14:30:27 +0000 (10:30 -0400)] 
hacking is now markdown

Not good markdown, mind you.

10 years agoMore issues that Karsten spotted
Nick Mathewson [Thu, 29 Oct 2015 14:29:21 +0000 (10:29 -0400)] 
More issues that Karsten spotted

10 years agoClean up the doc/HACKING/* docs a bit.
Karsten Loesing [Thu, 29 Oct 2015 13:28:17 +0000 (14:28 +0100)] 
Clean up the doc/HACKING/* docs a bit.

10 years agoFix GCC warnings.
rl1987 [Thu, 29 Oct 2015 12:12:29 +0000 (13:12 +0100)] 
Fix GCC warnings.

10 years agoMerge remote-tracking branch 'rl1987/bug17417_take2'
Nick Mathewson [Mon, 26 Oct 2015 13:18:48 +0000 (09:18 -0400)] 
Merge remote-tracking branch 'rl1987/bug17417_take2'

10 years agoAvoid crashing due to double-freeing memory.
rl1987 [Sat, 24 Oct 2015 13:21:35 +0000 (16:21 +0300)] 
Avoid crashing due to double-freeing memory.

10 years agoAdding changes file.
rl1987 [Thu, 22 Oct 2015 15:56:43 +0000 (18:56 +0300)] 
Adding changes file.

10 years agoSeventh test case for dns_resolve_impl().
rl1987 [Wed, 21 Oct 2015 19:24:00 +0000 (22:24 +0300)] 
Seventh test case for dns_resolve_impl().

10 years agoSixth test case for dns_resolve_impl.
rl1987 [Tue, 20 Oct 2015 17:40:21 +0000 (20:40 +0300)] 
Sixth test case for dns_resolve_impl.

10 years agoAdd a fifth unit test.
rl1987 [Sun, 18 Oct 2015 15:04:48 +0000 (18:04 +0300)] 
Add a fifth unit test.

10 years agoWhitespace fixes.
rl1987 [Mon, 12 Oct 2015 18:13:01 +0000 (21:13 +0300)] 
Whitespace fixes.

10 years agoAdd a fourth test case.
rl1987 [Sat, 10 Oct 2015 15:03:11 +0000 (18:03 +0300)] 
Add a fourth test case.

10 years agoThird test case for dns_resolve_impl.
rl1987 [Sat, 10 Oct 2015 14:49:24 +0000 (17:49 +0300)] 
Third test case for dns_resolve_impl.

10 years agoA second test case for dns_resolve_impl.
rl1987 [Thu, 8 Oct 2015 18:47:52 +0000 (21:47 +0300)] 
A second test case for dns_resolve_impl.

10 years agoMaking it slightly cleaner.
rl1987 [Thu, 8 Oct 2015 18:27:17 +0000 (21:27 +0300)] 
Making it slightly cleaner.

10 years agoFirst test case for dns_resolve_impl().
rl1987 [Wed, 7 Oct 2015 19:14:48 +0000 (22:14 +0300)] 
First test case for dns_resolve_impl().

10 years agoUsing namespace macros for mock functions in test_dns.c
rl1987 [Mon, 28 Sep 2015 18:44:05 +0000 (21:44 +0300)] 
Using namespace macros for mock functions in test_dns.c

10 years agoUse NS_SUBMODULEs in test_dns.c
rl1987 [Sun, 27 Sep 2015 16:51:04 +0000 (19:51 +0300)] 
Use NS_SUBMODULEs in test_dns.c

10 years agoCompilation was off by one character
Nick Mathewson [Thu, 22 Oct 2015 22:47:26 +0000 (18:47 -0400)] 
Compilation was off by one character

10 years agoActually add HowToReview.txt
Nick Mathewson [Thu, 22 Oct 2015 14:03:04 +0000 (10:03 -0400)] 
Actually add HowToReview.txt

10 years agoStart writing a how to review doc
Nick Mathewson [Thu, 22 Oct 2015 14:01:13 +0000 (10:01 -0400)] 
Start writing a how to review doc

10 years agoFix windows build: do not assume util_process works on windows
Nick Mathewson [Thu, 22 Oct 2015 14:01:05 +0000 (10:01 -0400)] 
Fix windows build: do not assume util_process works on windows

10 years agoAdd another entry to ReleasingTor email list, per anonym
Nick Mathewson [Wed, 21 Oct 2015 21:06:10 +0000 (17:06 -0400)] 
Add another entry to ReleasingTor email list, per anonym

10 years agoFix valgrind errors in test_util_process
Nick Mathewson [Wed, 21 Oct 2015 20:51:21 +0000 (16:51 -0400)] 
Fix valgrind errors in test_util_process

10 years agoFix whitespaces
Nick Mathewson [Wed, 21 Oct 2015 20:46:28 +0000 (16:46 -0400)] 
Fix whitespaces

10 years agoMerge remote-tracking branch 'twstrike/util_process_tests'
Nick Mathewson [Wed, 21 Oct 2015 20:45:49 +0000 (16:45 -0400)] 
Merge remote-tracking branch 'twstrike/util_process_tests'

10 years agoFix various coverity-found issues
Nick Mathewson [Wed, 21 Oct 2015 20:01:29 +0000 (16:01 -0400)] 
Fix various coverity-found issues

10 years agoforwardport the changelog for 0.2.7.4-rc
Nick Mathewson [Wed, 21 Oct 2015 19:34:30 +0000 (15:34 -0400)] 
forwardport the changelog for 0.2.7.4-rc

10 years agoYet more memory leaks closed in test_tortls
Nick Mathewson [Wed, 21 Oct 2015 18:30:34 +0000 (14:30 -0400)] 
Yet more memory leaks closed in test_tortls

10 years agoMore memory leaks closed in test_tortls
Nick Mathewson [Wed, 21 Oct 2015 18:19:43 +0000 (14:19 -0400)] 
More memory leaks closed in test_tortls

10 years agoFix another pile of test_tortls memory leaks
Nick Mathewson [Wed, 21 Oct 2015 18:06:13 +0000 (14:06 -0400)] 
Fix another pile of test_tortls memory leaks

10 years agoMore leaks to fix.
Nick Mathewson [Wed, 21 Oct 2015 17:12:19 +0000 (13:12 -0400)] 
More leaks to fix.

10 years agoresolve some leaks in test_tortls.c
Nick Mathewson [Wed, 21 Oct 2015 16:41:00 +0000 (12:41 -0400)] 
resolve some leaks in test_tortls.c

10 years agoNote that you can use a unix domain socket for hsport
Nick Mathewson [Wed, 21 Oct 2015 16:22:05 +0000 (12:22 -0400)] 
Note that you can use a unix domain socket for hsport

10 years agoMerge remote-tracking branch 'origin/maint-0.2.7'
Nick Mathewson [Wed, 21 Oct 2015 16:03:04 +0000 (12:03 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.7'

10 years agoMerge remote-tracking branch 'public/bug17404_024' into maint-0.2.7
Nick Mathewson [Wed, 21 Oct 2015 16:02:42 +0000 (12:02 -0400)] 
Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.7

10 years agoFix the return value
Nick Mathewson [Wed, 21 Oct 2015 16:01:05 +0000 (12:01 -0400)] 
Fix the return value

10 years agoMerge remote-tracking branch 'origin/maint-0.2.7'
Nick Mathewson [Wed, 21 Oct 2015 15:53:00 +0000 (11:53 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.7'

10 years agoMerge remote-tracking branch 'public/bug17404_024' into maint-0.2.7
Nick Mathewson [Wed, 21 Oct 2015 15:51:03 +0000 (11:51 -0400)] 
Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.7

10 years agoCheck for len < 4 in dn_indicates_v3_cert
Nick Mathewson [Wed, 21 Oct 2015 15:44:43 +0000 (11:44 -0400)] 
Check for len < 4 in dn_indicates_v3_cert

Without this check, we potentially look up to 3 characters before
the start of a malloc'd segment, which could provoke a crash under
certain (weird afaik) circumstances.

Fixes 17404; bugfix on 0.2.6.3-alpha.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.7'
Nick Mathewson [Wed, 21 Oct 2015 15:18:11 +0000 (11:18 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.7'

10 years agomemory leaks in procmon tests
Nick Mathewson [Wed, 21 Oct 2015 15:17:59 +0000 (11:17 -0400)] 
memory leaks in procmon tests

10 years agoFix a memory leak in reading an expired ed signing key.
Nick Mathewson [Wed, 21 Oct 2015 15:16:28 +0000 (11:16 -0400)] 
Fix a memory leak in reading an expired ed signing key.

Closes 17403.

10 years agoFix all leaks (and an introduced failure) in the rendcache tests
Nick Mathewson [Wed, 21 Oct 2015 15:05:27 +0000 (11:05 -0400)] 
Fix all leaks (and an introduced failure) in the rendcache tests

10 years agoMerge remote-tracking branch 'origin/maint-0.2.7'
Nick Mathewson [Wed, 21 Oct 2015 14:56:40 +0000 (10:56 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.7'

10 years agoWhoops; infinite recursion
Nick Mathewson [Wed, 21 Oct 2015 14:56:27 +0000 (10:56 -0400)] 
Whoops; infinite recursion

10 years agoMerge remote-tracking branch 'origin/maint-0.2.7'
Nick Mathewson [Wed, 21 Oct 2015 14:54:12 +0000 (10:54 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.7'

10 years agoYet more memory leaks in the rendcache tests
Nick Mathewson [Wed, 21 Oct 2015 14:54:07 +0000 (10:54 -0400)] 
Yet more memory leaks in the rendcache tests

10 years agoFix memory leak in rend_cache_failure_entry_free()
Nick Mathewson [Wed, 21 Oct 2015 14:52:57 +0000 (10:52 -0400)] 
Fix memory leak in rend_cache_failure_entry_free()

Bug 17402.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.7'
Nick Mathewson [Wed, 21 Oct 2015 14:28:16 +0000 (10:28 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.7'

10 years agoMore leaks here
Nick Mathewson [Wed, 21 Oct 2015 14:28:10 +0000 (10:28 -0400)] 
More leaks here

10 years agoFix an (unreachable) memory leak in rendcache.c
Nick Mathewson [Wed, 21 Oct 2015 14:27:19 +0000 (10:27 -0400)] 
Fix an (unreachable) memory leak in rendcache.c

The 0.2.8 unit tests provoke this leak, though I don't think it can
happen IRL.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.7'
Nick Mathewson [Wed, 21 Oct 2015 14:00:52 +0000 (10:00 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.7'

10 years agoFix a bunch more memory leaks in the tests.
Nick Mathewson [Wed, 21 Oct 2015 14:00:05 +0000 (10:00 -0400)] 
Fix a bunch more memory leaks in the tests.

10 years agoFix a use-after-free in validate_intro_point_failure. Bug 17401. Found w valgrind
Nick Mathewson [Wed, 21 Oct 2015 13:59:19 +0000 (09:59 -0400)] 
Fix a use-after-free in validate_intro_point_failure. Bug 17401. Found w valgrind

10 years agoFix numerous leaks and memory errors in tests. Found by valgrind
Nick Mathewson [Wed, 21 Oct 2015 12:49:29 +0000 (08:49 -0400)] 
Fix numerous leaks and memory errors in tests. Found by valgrind

10 years agoMerge remote-tracking branch 'origin/maint-0.2.7'
Nick Mathewson [Wed, 21 Oct 2015 12:17:34 +0000 (08:17 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.7'

10 years agoFix a number of unit-test memory leaks, found by valgrind.
Nick Mathewson [Wed, 21 Oct 2015 12:17:30 +0000 (08:17 -0400)] 
Fix a number of unit-test memory leaks, found by valgrind.

10 years agoFix a memory leak; bug 17398.
Nick Mathewson [Wed, 21 Oct 2015 12:17:07 +0000 (08:17 -0400)] 
Fix a memory leak; bug 17398.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.7'
Nick Mathewson [Mon, 19 Oct 2015 15:20:38 +0000 (11:20 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.7'

10 years agoMerge commit '551af4f97d37c7b4cff7a8557c1a1a647487b4cb'
Nick Mathewson [Mon, 19 Oct 2015 15:20:26 +0000 (11:20 -0400)] 
Merge commit '551af4f97d37c7b4cff7a8557c1a1a647487b4cb'

10 years agoBump version to 0.2.7.4-rc
Nick Mathewson [Mon, 19 Oct 2015 15:19:51 +0000 (11:19 -0400)] 
Bump version to 0.2.7.4-rc

10 years agotweak some changes files
Nick Mathewson [Mon, 19 Oct 2015 15:12:43 +0000 (11:12 -0400)] 
tweak some changes files

10 years agoMerge remote-tracking branch 'origin/maint-0.2.7'
Nick Mathewson [Thu, 15 Oct 2015 17:56:53 +0000 (13:56 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.7'

10 years agoMerge remote-tracking branch 'origin/maint-0.2.6' into maint-0.2.7
Nick Mathewson [Thu, 15 Oct 2015 17:56:41 +0000 (13:56 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.6' into maint-0.2.7