]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Tue, 1 Aug 2017 15:19:29 +0000 (11:19 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Tue, 1 Aug 2017 15:19:29 +0000 (11:19 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 1 Aug 2017 15:19:28 +0000 (11:19 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 1 Aug 2017 15:19:24 +0000 (11:19 -0400)]
Merge remote-tracking branch 'karsten/geoip-jul2017' into maint-0.2.4
Nick Mathewson [Wed, 26 Jul 2017 19:39:55 +0000 (15:39 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Wed, 26 Jul 2017 19:39:55 +0000 (15:39 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 26 Jul 2017 19:39:55 +0000 (15:39 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 26 Jul 2017 19:39:50 +0000 (15:39 -0400)]
Point travis to #tor-ci, not #tor-bots
Nick Mathewson [Wed, 26 Jul 2017 19:35:01 +0000 (15:35 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Wed, 26 Jul 2017 19:34:56 +0000 (15:34 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 26 Jul 2017 19:34:40 +0000 (15:34 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Isis Lovecruft [Tue, 25 Jul 2017 01:03:15 +0000 (01:03 +0000)]
In < 0.2.9.x, --enable-fatal-warnings was --enable-gcc-warnings.
Isis Lovecruft [Mon, 24 Jul 2017 23:07:09 +0000 (23:07 +0000)]
Builds on CI should use --enable-fragile-hardening.
(cherry picked from commit
c91a57ccf90308c6728184b43519f96b61acb95d )
Isis Lovecruft [Mon, 24 Jul 2017 18:53:18 +0000 (18:53 +0000)]
Install optional dependencies during Travis CI builds.
(cherry picked from commit
1bb00fb812c0df7a574ed62e9f53b0e8192c7d04 )
Isis Lovecruft [Mon, 24 Jul 2017 18:26:36 +0000 (18:26 +0000)]
Fix CI homebrew checks for outdated packages.
(cherry picked from commit
8f8689f70235dc19cbc5092ea148af5772a9cdc3 )
Isis Lovecruft [Wed, 12 Jul 2017 00:32:38 +0000 (00:32 +0000)]
Add a changes file for bug22636.
Isis Lovecruft [Tue, 11 Jul 2017 20:12:15 +0000 (20:12 +0000)]
Fix and expand upon our Travis CI configuration.
* CHANGE .travis.yml so that commands for different purposes (e.g. getting
dependencies, building, testing) are in separate config lines and sections.
* CHANGE .travis.yml to use their mechanism for installing dependencies via
apt. [0] This also allows us to not need sudo (the "sudo: false" line).
* CHANGE Travis CI tests (the "script:" section) to build and run tests in the
same manner as Jenkins (i.e. with --enable-fatal-warnings and
--disable-silent-rules and run `make check`).
* ADD Travis configuration to do all the target builds with both GCC and clang.
* ADD make flags to build with both of the cores available.
* ADD notifications for IRC, and configure email notifications (to the author
of the commit) only if the branch was previously building successfully and
the latest commit broke it.
* ADD the ability to run the Travis build matrix for OSX as well, but leave it
commented out by default (because it takes roughly ten times longer, due to a
shortage of OSX build machines).
* ADD Travis config option to cancel/fail the build early if one target has
already failed ("fast_finish: true").
* ADD comments to describe what our Travis config is doing and why it is
configured that way.
[0]: https://docs.travis-ci.com/user/installing-dependencies/#Installing-Packages-on-Container-Based-Infrastructure)
Patrick O'Doherty [Sun, 2 Jul 2017 21:28:52 +0000 (14:28 -0700)]
.travis.yml to run test suite
Installs dependencies (including rust) and runs the existing test suite.
TODO: Introduce build matrix utilizing the rust toolchain to run test
suites both with and without the rust components.
Nick Mathewson [Fri, 7 Jul 2017 14:51:28 +0000 (10:51 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Fri, 7 Jul 2017 14:51:28 +0000 (10:51 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 7 Jul 2017 14:51:28 +0000 (10:51 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Fri, 7 Jul 2017 14:51:25 +0000 (10:51 -0400)]
Mention TROVE-2017-007 in changes file for 22789
Karsten Loesing [Fri, 7 Jul 2017 14:27:54 +0000 (16:27 +0200)]
Update geoip and geoip6 to the July 4 2017 database.
Nick Mathewson [Wed, 5 Jul 2017 17:42:37 +0000 (13:42 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Wed, 5 Jul 2017 17:42:32 +0000 (13:42 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 5 Jul 2017 17:42:26 +0000 (13:42 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 5 Jul 2017 17:41:27 +0000 (13:41 -0400)]
Merge branch 'bug22789_024' into maint-0.2.4
Nick Mathewson [Mon, 3 Jul 2017 15:20:09 +0000 (11:20 -0400)]
Fix assertion failure related to openbsd strtol().
Fixes bug 22789; bugfix on 0.2.3.8-alpha.
Nick Mathewson [Tue, 27 Jun 2017 15:04:44 +0000 (11:04 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Tue, 27 Jun 2017 15:04:44 +0000 (11:04 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 27 Jun 2017 15:04:44 +0000 (11:04 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 27 Jun 2017 15:04:41 +0000 (11:04 -0400)]
Merge branch 'bug22737_024' into maint-0.2.4
Nick Mathewson [Tue, 27 Jun 2017 14:45:29 +0000 (10:45 -0400)]
Fix an errant memset() into the middle of a struct in cell_pack().
This mistake causes two possible bugs. I believe they are both
harmless IRL.
BUG 1: memory stomping
When we call the memset, we are overwriting two 0 bytes past the end
of packed_cell_t.body. But I think that's harmless in practice,
because the definition of packed_cell_t is:
// ...
typedef struct packed_cell_t {
TOR_SIMPLEQ_ENTRY(packed_cell_t) next;
char body[CELL_MAX_NETWORK_SIZE];
uint32_t inserted_time;
} packed_cell_t;
So we will overwrite either two bytes of inserted_time, or two bytes
of padding, depending on how the platform handles alignment.
If we're overwriting padding, that's safe.
If we are overwriting the inserted_time field, that's also safe: In
every case where we call cell_pack() from connection_or.c, we ignore
the inserted_time field. When we call cell_pack() from relay.c, we
don't set or use inserted_time until right after we have called
cell_pack(). SO I believe we're safe in that case too.
BUG 2: memory exposure
The original reason for this memset was to avoid the possibility of
accidentally leaking uninitialized ram to the network. Now
remember, if wide_circ_ids is false on a connection, we shouldn't
actually be sending more than 512 bytes of packed_cell_t.body, so
these two bytes can only leak to the network if there is another bug
somewhere else in the code that sends more data than is correct.
Fortunately, in relay.c, where we allocate packed_cell_t in
packed_cell_new() , we allocate it with tor_malloc_zero(), which
clears the RAM, right before we call cell_pack. So those
packed_cell_t.body bytes can't leak any information.
That leaves the two calls to cell_pack() in connection_or.c, which
use stack-alocated packed_cell_t instances.
In or_handshake_state_record_cell(), we pass the cell's contents to
crypto_digest_add_bytes(). When we do so, we get the number of
bytes to pass using the same setting of wide_circ_ids as we passed
to cell_pack(). So I believe that's safe.
In connection_or_write_cell_to_buf(), we also use the same setting
of wide_circ_ids in both calls. So I believe that's safe too.
I introduced this bug with
1c0e87f6d8c7a0abdadf1b5cd9082c10abc7f4e2
back in 0.2.4.11-alpha; it is bug 22737 and CID
1401591
Nick Mathewson [Fri, 9 Jun 2017 13:58:45 +0000 (09:58 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Fri, 9 Jun 2017 13:58:45 +0000 (09:58 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 9 Jun 2017 13:58:45 +0000 (09:58 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Fri, 9 Jun 2017 13:47:49 +0000 (15:47 +0200)]
Update geoip and geoip6 to the June 8 2017 database.
Nick Mathewson [Thu, 8 Jun 2017 18:06:06 +0000 (14:06 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
"ours" merge to avoid version bump.
Nick Mathewson [Thu, 8 Jun 2017 18:05:59 +0000 (14:05 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
"ours" merge to avoid version bump.
Nick Mathewson [Thu, 8 Jun 2017 18:05:37 +0000 (14:05 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
"ours" merge to avoid version bump.
Nick Mathewson [Thu, 8 Jun 2017 18:05:18 +0000 (14:05 -0400)]
Add -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:16 +0000 (14:05 -0400)]
Add -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:13 +0000 (14:05 -0400)]
Add -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 18:05:08 +0000 (14:05 -0400)]
Add -dev to version number.
Nick Mathewson [Thu, 8 Jun 2017 13:28:54 +0000 (09:28 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
"ours" merge to avoid version bump.
Nick Mathewson [Thu, 8 Jun 2017 13:28:29 +0000 (09:28 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
"ours" merge to avoid version bump.
Nick Mathewson [Thu, 8 Jun 2017 13:28:11 +0000 (09:28 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
"ours" merge to avoid version bump.
Nick Mathewson [Thu, 8 Jun 2017 13:27:34 +0000 (09:27 -0400)]
Bump to 0.2.7.8
Nick Mathewson [Thu, 8 Jun 2017 13:26:20 +0000 (09:26 -0400)]
Bump to 0.2.6.12
Nick Mathewson [Thu, 8 Jun 2017 13:26:00 +0000 (09:26 -0400)]
bump to 0.2.5.14
Nick Mathewson [Thu, 8 Jun 2017 13:25:31 +0000 (09:25 -0400)]
Bump to 0.2.4.29
Nick Mathewson [Thu, 8 Jun 2017 13:21:15 +0000 (09:21 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Thu, 8 Jun 2017 13:21:15 +0000 (09:21 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 8 Jun 2017 13:21:15 +0000 (09:21 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
David Goulet [Mon, 5 Jun 2017 15:11:42 +0000 (11:11 -0400)]
TROVE-2017-005: Fix assertion failure in connection_edge_process_relay_cell
On an hidden service rendezvous circuit, a BEGIN_DIR could be sent
(maliciously) which would trigger a tor_assert() because
connection_edge_process_relay_cell() thought that the circuit is an
or_circuit_t but is an origin circuit in reality.
Fixes #22494
Reported-by: Roger Dingledine <arma@torproject.org>
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Mon, 5 Jun 2017 18:48:30 +0000 (14:48 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Mon, 5 Jun 2017 18:39:06 +0000 (14:39 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Ours merge to avoid taking
4ee48cb434c46d9e4c477dabd8a97f03e3db221d
Nick Mathewson [Mon, 5 Jun 2017 18:38:54 +0000 (14:38 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 5 Jun 2017 18:38:38 +0000 (14:38 -0400)]
Fix C89 warning (since Tor 0.2.4-5 still care about that.)
Nick Mathewson [Mon, 5 Jun 2017 16:00:41 +0000 (12:00 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Mon, 5 Jun 2017 16:00:27 +0000 (12:00 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 5 Jun 2017 16:00:08 +0000 (12:00 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 5 Jun 2017 14:09:39 +0000 (10:09 -0400)]
Fix undefined behavior in geoip_parse_entry().
Fixes bug 22490; bugfix on
6a241ff3ffe7dc1 in 0.2.4.6-alpha.
Found by teor using clang-5.0's AddressSanitizer stack-use-after-scope.
Nick Mathewson [Mon, 8 May 2017 12:07:11 +0000 (08:07 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Mon, 8 May 2017 12:07:04 +0000 (08:07 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 8 May 2017 12:06:59 +0000 (08:06 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Mon, 8 May 2017 08:09:42 +0000 (10:09 +0200)]
Update geoip and geoip6 to the May 2 2017 database.
Nick Mathewson [Thu, 6 Apr 2017 12:31:23 +0000 (08:31 -0400)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Thu, 6 Apr 2017 12:31:18 +0000 (08:31 -0400)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 6 Apr 2017 12:31:12 +0000 (08:31 -0400)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Thu, 6 Apr 2017 08:52:39 +0000 (10:52 +0200)]
Update geoip and geoip6 to the April 4 2017 database.
Nick Mathewson [Wed, 8 Mar 2017 15:11:05 +0000 (10:11 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Wed, 8 Mar 2017 15:10:44 +0000 (10:10 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 8 Mar 2017 15:10:29 +0000 (10:10 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Wed, 8 Mar 2017 08:41:35 +0000 (09:41 +0100)]
Update geoip and geoip6 to the March 7 2017 database.
Nick Mathewson [Tue, 28 Feb 2017 15:27:20 +0000 (10:27 -0500)]
Bump version to 0.2.7.7
Nick Mathewson [Tue, 28 Feb 2017 15:26:45 +0000 (10:26 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
"ours" merge to avoid version bumps
Nick Mathewson [Tue, 28 Feb 2017 15:26:24 +0000 (10:26 -0500)]
bump to 0.2.6.11
Nick Mathewson [Tue, 28 Feb 2017 15:25:51 +0000 (10:25 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
"ours" merge to avoid version bumps
Nick Mathewson [Tue, 28 Feb 2017 15:23:20 +0000 (10:23 -0500)]
Bump version to 0.2.5.13
Nick Mathewson [Tue, 28 Feb 2017 15:22:36 +0000 (10:22 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
"ours" merge to avoid bumping version
Nick Mathewson [Tue, 28 Feb 2017 15:20:46 +0000 (10:20 -0500)]
Bump to 0.2.4.28
Nick Mathewson [Fri, 17 Feb 2017 22:10:47 +0000 (17:10 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Wed, 15 Feb 2017 12:52:33 +0000 (07:52 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 15 Feb 2017 12:51:41 +0000 (07:51 -0500)]
Merge branch 'maint-0.2.6' of git-rw.torproject.org:/tor into maint-0.2.6
Nick Mathewson [Wed, 15 Feb 2017 12:51:33 +0000 (07:51 -0500)]
Merge branch 'maint-0.2.5' of git-rw.torproject.org:/tor into maint-0.2.5
Nick Mathewson [Wed, 15 Feb 2017 12:47:12 +0000 (07:47 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 15 Feb 2017 12:47:04 +0000 (07:47 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 15:58:02 +0000 (10:58 -0500)]
Avoid integer underflow in tor_version_compare.
Fix for TROVE-2017-001 and bug 21278.
(Note: Instead of handling signed ints "correctly", we keep the old
behavior, except for the part where we would crash with -ftrapv.)
Roger Dingledine [Mon, 13 Feb 2017 20:27:57 +0000 (15:27 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Roger Dingledine [Mon, 13 Feb 2017 20:23:50 +0000 (15:23 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Roger Dingledine [Mon, 13 Feb 2017 20:22:36 +0000 (15:22 -0500)]
be sure to remember the changes file for #20384
Nick Mathewson [Mon, 13 Feb 2017 19:37:42 +0000 (14:37 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 13 Feb 2017 19:37:01 +0000 (14:37 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Sun, 12 Feb 2017 14:56:31 +0000 (15:56 +0100)]
Update geoip and geoip6 to the February 8 2017 database.
Nick Mathewson [Tue, 7 Feb 2017 15:38:05 +0000 (10:38 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7-redux
Nick Mathewson [Tue, 7 Feb 2017 15:37:53 +0000 (10:37 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 15:37:43 +0000 (10:37 -0500)]
Merge remote-tracking branch 'public/bug18710_025' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 15:37:31 +0000 (10:37 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 15:13:20 +0000 (10:13 -0500)]
Revert "Revert "Add hidserv-stats filname to our sandbox filter""
This reverts commit
5446cb8d3d536e9bc737de6d9286bd4b4b185661 .
The underlying revert was done in 0.2.6, since we aren't backporting
seccomp2 loosening fixes to 0.2.6. But the fix (for 17354) already
went out in 0.2.7.4-rc, so we shouldn't revert it in 0.2.7.