]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Wed, 24 Aug 2016 14:02:42 +0000 (10:02 -0400)]
Changes file for bifroest
Isis Lovecruft [Tue, 23 Aug 2016 14:39:40 +0000 (14:39 +0000)]
Replace Tonga with Bifroest.
* FIXES #19728: https://bugs.torproject.org/19728
* CLOSES #19690: https://bugs.torproject.org/19690
Nick Mathewson [Fri, 12 Aug 2016 14:27:08 +0000 (10:27 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Fri, 12 Aug 2016 14:27:01 +0000 (10:27 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 12 Aug 2016 14:26:48 +0000 (10:26 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Fri, 12 Aug 2016 09:53:38 +0000 (11:53 +0200)]
Update geoip and geoip6 to the August 2 2016 database.
Nick Mathewson [Tue, 19 Jul 2016 10:32:14 +0000 (12:32 +0200)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 19 Jul 2016 10:31:54 +0000 (12:31 +0200)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 19 Jul 2016 10:31:20 +0000 (12:31 +0200)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Mon, 18 Jul 2016 06:39:23 +0000 (08:39 +0200)]
Update geoip and geoip6 to the July 6 2016 database.
Nick Mathewson [Tue, 5 Jul 2016 17:52:04 +0000 (13:52 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 5 Jul 2016 17:51:51 +0000 (13:51 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 5 Jul 2016 17:51:34 +0000 (13:51 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 5 Jul 2016 17:51:21 +0000 (13:51 -0400)]
whoops. changelog file for 19271.
Nick Mathewson [Tue, 5 Jul 2016 16:22:47 +0000 (12:22 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 5 Jul 2016 16:21:25 +0000 (12:21 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 5 Jul 2016 16:20:42 +0000 (12:20 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Sebastian Hahn [Sun, 3 Jul 2016 19:56:39 +0000 (21:56 +0200)]
Remove urras as a default trusted directory authority
It had been a directory authority since 0.2.1.20.
Nick Mathewson [Mon, 13 Jun 2016 14:48:56 +0000 (10:48 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Mon, 13 Jun 2016 14:48:48 +0000 (10:48 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 13 Jun 2016 14:48:35 +0000 (10:48 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Sun, 12 Jun 2016 09:35:50 +0000 (11:35 +0200)]
Update geoip and geoip6 to the June 7 2016 database.
Nick Mathewson [Thu, 2 Jun 2016 14:11:29 +0000 (10:11 -0400)]
Use tor_sscanf, not sscanf, in test_util.c.
Fixes the 0.2.7 case of bug #19213, which prevented mingw64 from
working.
Nick Mathewson [Thu, 12 May 2016 19:33:35 +0000 (15:33 -0400)]
Merge branch 'bug18977_026_v2' into maint-0.2.7
Nick Mathewson [Thu, 12 May 2016 18:39:06 +0000 (14:39 -0400)]
Merge branch 'bug18977_024_v2' into bug18977_026_v2
Had conflicts related to other correct_tm bugs in 0.2.6. Added wday
for another case.
Nick Mathewson [Thu, 5 May 2016 14:49:55 +0000 (10:49 -0400)]
Have correct_tm set tm_wday as well.
The tm_wday field had been left uninitialized, which was causing
some assertions to fail on Windows unit tests.
Fixes bug 18977.
Roger Dingledine [Wed, 11 May 2016 17:42:00 +0000 (13:42 -0400)]
unbreak the build (when warnings are enabled)
Nick Mathewson [Wed, 11 May 2016 17:13:23 +0000 (13:13 -0400)]
Merge remote-tracking branch 'special/bug19032-027' into maint-0.2.7
John Brooks [Wed, 11 May 2016 16:13:22 +0000 (12:13 -0400)]
Fix out-of-bounds write during voting with duplicate
ed25519 keys
In dirserv_compute_performance_thresholds, we allocate arrays based
on the length of 'routers', a list of routerinfo_t, but loop over
the nodelist. The 'routers' list may be shorter when relays were
filtered by routers_make_ed_keys_unique, leading to an out-of-bounds
write on directory authorities.
This bug was originally introduced in
26e89742 , but it doesn't look
possible to trigger until routers_make_ed_keys_unique was introduced
in
13a31e72 .
Fixes bug 19032; bugfix on tor 0.2.8.2-alpha.
Nick Mathewson [Wed, 11 May 2016 16:22:36 +0000 (12:22 -0400)]
Merge branch 'bug18841_1_025' into maint-0.2.7
Nick Mathewson [Wed, 11 May 2016 16:15:37 +0000 (12:15 -0400)]
Undefine _FORTIFY_SOURCE before defining it.
This makes our compilation options checks in autoconf work better on
systems that already define _FORTIFY_SOURCE.
Fixes at least one case of bug 18841; bugfix on 0.2.3.17-beta. Patch
from "trudokal".
Nick Mathewson [Mon, 9 May 2016 22:14:27 +0000 (18:14 -0400)]
Merge branch 'bug19008_027' into maint-0.2.7
Nick Mathewson [Mon, 9 May 2016 22:12:59 +0000 (18:12 -0400)]
Add "-c 1" to ping6 in test-network-all
Fixes bug 19008. bugfix on 0.2.7.3-rc
Nick Mathewson [Mon, 9 May 2016 18:56:56 +0000 (14:56 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Mon, 9 May 2016 18:55:45 +0000 (14:55 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 9 May 2016 18:55:22 +0000 (14:55 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Mon, 9 May 2016 15:49:14 +0000 (17:49 +0200)]
Update geoip and geoip6 to the May 4 2016 database.
Nick Mathewson [Fri, 11 Mar 2016 14:53:25 +0000 (09:53 -0500)]
Do not link tests against both libor.a and libor-testing.a
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.
Conflicts:
src/test/include.am
Nick Mathewson [Thu, 7 Apr 2016 14:45:46 +0000 (10:45 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Thu, 7 Apr 2016 14:45:38 +0000 (10:45 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 7 Apr 2016 14:45:32 +0000 (10:45 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Thu, 7 Apr 2016 09:10:09 +0000 (11:10 +0200)]
Update geoip and geoip6 to the April 5 2016 database.
Andrea Shepard [Wed, 30 Mar 2016 12:23:42 +0000 (12:23 +0000)]
Merge branch 'bug15221_027' into maint-0.2.7
Andrea Shepard [Tue, 29 Mar 2016 15:01:36 +0000 (15:01 +0000)]
Merge branch 'bug18570_027' into maint-0.2.7
Andrea Shepard [Tue, 29 Mar 2016 14:33:45 +0000 (14:33 +0000)]
Merge branch 'bug16248_027' into maint-0.2.7
Nick Mathewson [Mon, 21 Mar 2016 17:25:12 +0000 (13:25 -0400)]
Merge branch 'ed25519_voting_fixes_squashed' into maint-0.2.7
Nick Mathewson [Tue, 15 Mar 2016 14:39:50 +0000 (10:39 -0400)]
Use nth consistently in dircollate.h.
Documentation-only patch. Issue 17668.T6.
Nick Mathewson [Tue, 15 Mar 2016 14:34:05 +0000 (10:34 -0400)]
In routers_make_ed_keys_unique, break ties for published_on
This ensures that if we can't use published_on to decide an ed,rsa
mapping, we at least decide deterministically.
Resolves 17668.T3
Nick Mathewson [Tue, 15 Mar 2016 14:24:18 +0000 (10:24 -0400)]
Assert that dircollator is collated when we're reading its output.
Fix for 17668.S2.
Nick Mathewson [Tue, 15 Mar 2016 14:15:59 +0000 (10:15 -0400)]
After we strip out duplicate entries from 'routers', don't use 'rl'.
We've got to make sure that every single subsequent calculation in
dirserv_generate_networkstatus_vote_obj() are based on the list of
routerinfo_t *after* we've removed possible duplicates, not before.
Fortunately, none of the functions that were taking a routerlist_t
as an argument were actually using any fields other than this list
of routers.
Resolves issue 18318.DG3.
Nick Mathewson [Tue, 23 Feb 2016 14:31:23 +0000 (09:31 -0500)]
Fix another case of 17668: Add NoEdConsensus
I had a half-built mechanism to track, during the voting process,
whether the
Ed25519 value (or lack thereof) reflected a true
consensus among the authorities. But we never actually inserted this
field in the consensus.
The key idea here is that we first attempt to match up votes by pairs
of <Ed,RSA>, where <Ed> can be NULL if we're told that there is no
Ed key. If this succeeds, then we can treat all those votes as 'a
consensus for Ed'. And we can include all other votes with a
matching RSA key and no statement about Ed keys as being "also about
the same relay."
After that, we look for RSA keys we haven't actually found an entry
for yet, and see if there are enough votes for them, NOT considering
Ed keys. If there are, we match them as before, but we treat them
as "not a consensus about ed".
When we include an entry in a consensus, if it does not reflect a
consensus about ed keys, then we include a new NoEdConsensus flag on
it.
This is all only for consensus method 22 or later.
Also see corresponding dir-spec patch.
Nick Mathewson [Tue, 23 Feb 2016 13:13:39 +0000 (08:13 -0500)]
Document has_ed25519_listing
Nick Mathewson [Mon, 22 Feb 2016 16:43:59 +0000 (11:43 -0500)]
Never vote for an ed key twice.
When generating a vote, and we have two routerinfos with the same ed
key, omit the one published earlier.
This was supposed to have been solved by key pinning, but when I
made key pinning optional, I didn't realize that this would jump up
and bite us. It is part of bug 18318, and the root cause of 17668.
Nick Mathewson [Mon, 22 Feb 2016 15:59:27 +0000 (10:59 -0500)]
Fix log message subjects in networkstatus_parse_vote_from_string()
Some of these messages called the thing being parsed a "vote" whether
it is a vote or a consensus.
Fixes bug 18368.
Nick Mathewson [Mon, 22 Feb 2016 15:39:42 +0000 (10:39 -0500)]
Document dircollate.c (and remove an unused global)
Nick Mathewson [Mon, 21 Mar 2016 15:00:50 +0000 (11:00 -0400)]
a couple more changes files issues.
Nick Mathewson [Mon, 21 Mar 2016 14:58:29 +0000 (10:58 -0400)]
Fix some warnings from lintchanges.
Nick Mathewson [Mon, 21 Mar 2016 14:19:07 +0000 (10:19 -0400)]
changes file for bug18570
Andrea Shepard [Tue, 15 Mar 2016 07:40:19 +0000 (07:40 +0000)]
Make sure channel_t queues its own copy of incoming cells
Andrea Shepard [Tue, 15 Mar 2016 03:28:04 +0000 (03:28 +0000)]
Add new channel/queue_incoming unit tests; modify channel unit tests for new clarified handling of alloc/free responsibility for queued incoming cells
Nick Mathewson [Mon, 14 Mar 2016 17:21:16 +0000 (13:21 -0400)]
Permit setrlimit, prlimit, prlimit64 calls.
We call setrlimit under some circumstances, and it can call prlimit
and prlimit64 under the hood.
Fixes bug 15221.
Nick Mathewson [Mon, 14 Mar 2016 16:53:21 +0000 (12:53 -0400)]
Add comments to connection_check_event().
Nick Mathewson [Fri, 11 Mar 2016 15:50:36 +0000 (10:50 -0500)]
Change behavior on missing/present event to warn instead of asserting.
Add a changes file.
Nick Mathewson [Fri, 11 Mar 2016 15:33:19 +0000 (10:33 -0500)]
If we start/stop reading on a dnsserv connection, don't assert.
Fixes bug 16248. Patch from cypherpunks. Bugfix on 0.2.0.1-alpha.
Nick Mathewson [Wed, 9 Mar 2016 15:36:50 +0000 (10:36 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Wed, 9 Mar 2016 15:36:35 +0000 (10:36 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 9 Mar 2016 15:36:20 +0000 (10:36 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Fri, 4 Mar 2016 09:56:51 +0000 (10:56 +0100)]
Update geoip and geoip6 to the March 3 2016 database.
Nick Mathewson [Mon, 22 Feb 2016 19:07:58 +0000 (14:07 -0500)]
Make clang asan work with FORTIFIED_SOURCE again.
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.
Nick Mathewson [Mon, 22 Feb 2016 15:07:42 +0000 (10:07 -0500)]
Enable
ed25519 collator in voting.
Previously, I had left in some debugging code with /*XXX*/ after it,
which nobody noticed. Live and learn! Next time I will use /*XXX
DO NOT COMMIT*/ or something.
We need to define a new consensus method for this; consensus method
21 shouldn't actually be used.
Fixes bug 17702; bugfix on 0.2.7.2-alpha.
Nick Mathewson [Thu, 11 Feb 2016 18:01:46 +0000 (13:01 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Thu, 11 Feb 2016 17:57:28 +0000 (12:57 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 11 Feb 2016 17:55:40 +0000 (12:55 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Thu, 11 Feb 2016 17:55:25 +0000 (12:55 -0500)]
Merge branch 'bug18162_024' into maint-0.2.4
Nick Mathewson [Thu, 11 Feb 2016 17:54:52 +0000 (12:54 -0500)]
Make ensure_capacity a bit more pedantically correct
Issues noted by cypherpunks on #18162
Nick Mathewson [Fri, 5 Feb 2016 13:13:35 +0000 (08:13 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Fri, 5 Feb 2016 13:13:24 +0000 (08:13 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 5 Feb 2016 13:13:13 +0000 (08:13 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Thu, 4 Feb 2016 07:53:24 +0000 (08:53 +0100)]
Update geoip and geoip6 to the February 2 2016 database.
Nick Mathewson [Mon, 1 Feb 2016 14:38:31 +0000 (09:38 -0500)]
Try to fix address tests on FreeBSD
In jails, there is not always a localhost.
Bugfix not on any released Tor.
Nick Mathewson [Thu, 28 Jan 2016 16:52:48 +0000 (11:52 -0500)]
Try to fix formatting in manpage
Nick Mathewson [Thu, 28 Jan 2016 15:19:29 +0000 (10:19 -0500)]
Add descriptions for --keygen to the manpage
Based on text from s7r
Nick Mathewson [Wed, 27 Jan 2016 17:26:02 +0000 (12:26 -0500)]
avoid integer overflow in and around smartlist_ensure_capacity.
This closes bug 18162; bugfix on
a45b1315909c9 , which fixed a related
issue long ago.
In addition to the #18162 issues, this fixes a signed integer overflow
in smarltist_add_all(), which is probably not so great either.
Nick Mathewson [Tue, 19 Jan 2016 13:30:39 +0000 (08:30 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 19 Jan 2016 13:28:58 +0000 (08:28 -0500)]
Refine the memwipe() arguments check for 18089 a little more.
We still silently ignore
memwipe(NULL, ch, 0);
and
memwipe(ptr, ch, 0); /* for ptr != NULL */
But we now assert on:
memwipe(NULL, ch, 30);
Nick Mathewson [Tue, 19 Jan 2016 01:00:16 +0000 (20:00 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
teor (Tim Wilson-Brown) [Tue, 19 Jan 2016 00:22:58 +0000 (11:22 +1100)]
Make memwipe() do nothing when passed a NULL pointer or zero size
Check size argument to memwipe() for underflow.
Closes bug #18089. Reported by "gk", patch by "teor".
Bugfix on 0.2.3.25 and 0.2.4.6-alpha (#7352),
commit
49dd5ef3 on 7 Nov 2012.
Nick Mathewson [Tue, 19 Jan 2016 00:51:57 +0000 (19:51 -0500)]
Merge remote-tracking branch 'teor/bug18050' into maint-0.2.7
teor (Tim Wilson-Brown) [Mon, 18 Jan 2016 03:00:29 +0000 (14:00 +1100)]
Check ORPort and DirPort reachability before publishing a relay descriptor
Otherwise, relays publish a descriptor with DirPort 0 when the DirPort
reachability test takes longer than the ORPort reachability test.
Closes bug #18050. Reported by "starlight", patch by "teor".
Bugfix on 0.1.0.1-rc, commit
a1f1fa6ab on 27 Feb 2005.
Nick Mathewson [Thu, 7 Jan 2016 17:43:12 +0000 (09:43 -0800)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Conflicts:
src/or/config.c
Nick Mathewson [Thu, 7 Jan 2016 17:41:36 +0000 (09:41 -0800)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 7 Jan 2016 17:40:23 +0000 (09:40 -0800)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Conflicts:
src/or/config.c
teor (Tim Wilson-Brown) [Sun, 20 Dec 2015 23:40:10 +0000 (10:40 +1100)]
Update dannenberg's V3 authority identity fingerprint
This new identity key was changed on 18 November 2015.
Nick Mathewson [Thu, 7 Jan 2016 17:14:15 +0000 (09:14 -0800)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Thu, 7 Jan 2016 17:14:05 +0000 (09:14 -0800)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 7 Jan 2016 17:13:54 +0000 (09:13 -0800)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Thu, 7 Jan 2016 10:10:37 +0000 (11:10 +0100)]
Update geoip and geoip6 to the January 5 2016 database.
Nick Mathewson [Wed, 23 Dec 2015 01:37:02 +0000 (20:37 -0500)]
Remove extraneous #endif in configure.ac
This will fix the detection of struct in6_addr.s6_addr32 and others
Found and fixed by cypherpunks; bug 17923; bugfix on
f948caad7b5bd
Nick Mathewson [Thu, 17 Dec 2015 19:56:24 +0000 (14:56 -0500)]
Add some more
ed25519 key files to the seccomp sandbox list
Fixes bug 17675; bugfix on 0.2.7.3-alpha.
Nick Mathewson [Wed, 16 Dec 2015 14:23:44 +0000 (09:23 -0500)]
Don't call pthread_condattr_setclock() unless it exists
Fixes bug 17819; bugfix on 0.2.6.3-alpha (specifically,
d684dbb0 ).