]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
9 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Mon, 7 Nov 2016 14:31:36 +0000 (09:31 -0500)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

9 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Mon, 7 Nov 2016 14:30:42 +0000 (09:30 -0500)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

9 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 7 Nov 2016 14:30:16 +0000 (09:30 -0500)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

9 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 7 Nov 2016 14:29:54 +0000 (09:29 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

9 years agoUpdate geoip and geoip6 to the November 3 2016 database.
Karsten Loesing [Mon, 7 Nov 2016 14:05:19 +0000 (15:05 +0100)] 
Update geoip and geoip6 to the November 3 2016 database.

9 years agoMerge branch 'bug20551_028' into maint-0.2.8
Nick Mathewson [Thu, 3 Nov 2016 22:36:25 +0000 (18:36 -0400)] 
Merge branch 'bug20551_028' into maint-0.2.8

9 years agoMerge remote-tracking branch 'arma/bug19969_028_squashed' into maint-0.2.8
Nick Mathewson [Thu, 3 Nov 2016 19:44:30 +0000 (15:44 -0400)] 
Merge remote-tracking branch 'arma/bug19969_028_squashed' into maint-0.2.8

9 years agoWork around a behavior change in openssl's BUF_MEM code
Nick Mathewson [Thu, 3 Nov 2016 14:46:27 +0000 (10:46 -0400)] 
Work around a behavior change in openssl's BUF_MEM code

In our code to write public keys to a string, for some unfathomable
reason since 253f0f160e1185c, we would allocate a memory BIO, then
set the NOCLOSE flag on it, extract its memory buffer, and free it.
Then a little while later we'd free the memory buffer with
BUF_MEM_free().

As of openssl 1.1 this doesn't work any more, since there is now a
BIO_BUF_MEM structure that wraps the BUF_MEM structure.  This
BIO_BUF_MEM doesn't get freed in our code.

So, we had a memory leak!

Is this an openssl bug?  Maybe.  But our code was already pretty
silly.  Why mess around with the NOCLOSE flag here when we can just
keep the BIO object around until we don't need the buffer any more?

Fixes bug 20553; bugfix on 0.0.2pre8

9 years agoUse explicit casts to avoid warnings when building with openssl 1.1
Nick Mathewson [Thu, 3 Nov 2016 13:35:41 +0000 (09:35 -0400)] 
Use explicit casts to avoid warnings when building with openssl 1.1

fixes bug 20551; bugfix on 0.2.1.1-alpha

9 years agoAlways call connection_ap_attach_pending() once a second.
Nick Mathewson [Mon, 31 Oct 2016 18:42:26 +0000 (14:42 -0400)] 
Always call connection_ap_attach_pending() once a second.

Fixes bug 19969; bugfix on b1d56fc58.  We can fix this some more in
later Tors, but for now, this is probably the simplest fix possible.

This is a belt-and-suspenders fix, where the earlier fix ("Ask
event_base_loop to finish when we add a pending stream") aims to respond
to new streams as soon as they arrive, and this one aims to make sure
that we definitely respond to all of the streams.

9 years agoAsk event_base_loop to finish when we add a pending stream
Roger Dingledine [Mon, 31 Oct 2016 04:23:53 +0000 (00:23 -0400)] 
Ask event_base_loop to finish when we add a pending stream

Fixes bug 19969; bugfix on b1d56fc58. We can fix this some more in
later Tors, but for now, this is probably the right fix for us.

9 years agorefactor out the tor_event_base_loopexit() call
Roger Dingledine [Mon, 31 Oct 2016 04:20:22 +0000 (00:20 -0400)] 
refactor out the tor_event_base_loopexit() call

no actual changes

9 years agoBump to 0.2.8.9-dev
Nick Mathewson [Mon, 17 Oct 2016 20:32:11 +0000 (16:32 -0400)] 
Bump to 0.2.8.9-dev

9 years agobump to 0.2.8.9
Nick Mathewson [Mon, 17 Oct 2016 18:57:26 +0000 (14:57 -0400)] 
bump to 0.2.8.9

9 years agoMerge branch 'buf_sentinel_026_v2' into maint-0.2.8
Nick Mathewson [Mon, 17 Oct 2016 18:51:06 +0000 (14:51 -0400)] 
Merge branch 'buf_sentinel_026_v2' into maint-0.2.8

9 years agoAdd a one-word sentinel value of 0x0 at the end of each buf_t chunk
Nick Mathewson [Fri, 14 Oct 2016 13:38:12 +0000 (09:38 -0400)] 
Add a one-word sentinel value of 0x0 at the end of each buf_t chunk

This helps protect against bugs where any part of a buf_t's memory
is passed to a function that expects a NUL-terminated input.

It also closes TROVE-2016-10-001 (aka bug 20384).

9 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Thu, 6 Oct 2016 13:59:42 +0000 (09:59 -0400)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

9 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Thu, 6 Oct 2016 13:59:18 +0000 (09:59 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

9 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 6 Oct 2016 13:59:03 +0000 (09:59 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

9 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Thu, 6 Oct 2016 13:58:54 +0000 (09:58 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

9 years agoUpdate geoip and geoip6 to the October 6 2016 database.
Karsten Loesing [Wed, 5 Oct 2016 14:35:14 +0000 (16:35 +0200)] 
Update geoip and geoip6 to the October 6 2016 database.

9 years agoBump to 0.2.8.8-dev.
Nick Mathewson [Fri, 23 Sep 2016 19:58:06 +0000 (15:58 -0400)] 
Bump to 0.2.8.8-dev.

9 years agoMerge remote-tracking branch 'teor/broken-028-fallbacks' into maint-0.2.8
Nick Mathewson [Fri, 23 Sep 2016 13:29:55 +0000 (09:29 -0400)] 
Merge remote-tracking branch 'teor/broken-028-fallbacks' into maint-0.2.8

9 years agoRemove another fallback whose operator opted-out
teor [Thu, 22 Sep 2016 23:38:04 +0000 (16:38 -0700)] 
Remove another fallback whose operator opted-out

9 years agoUpdate versions to 0.2.8.8
Nick Mathewson [Thu, 22 Sep 2016 19:37:06 +0000 (15:37 -0400)] 
Update versions to 0.2.8.8

9 years agoLintChanges fix
Nick Mathewson [Thu, 22 Sep 2016 19:19:59 +0000 (15:19 -0400)] 
LintChanges fix

9 years agoMerge branch 'bug20203_027_squashed' into maint-0.2.8
Nick Mathewson [Thu, 22 Sep 2016 19:17:00 +0000 (15:17 -0400)] 
Merge branch 'bug20203_027_squashed' into maint-0.2.8

9 years agoWhen clearing cells from a circuit for OOM reasons, tell cmux we did so.
Nick Mathewson [Wed, 21 Sep 2016 23:01:12 +0000 (19:01 -0400)] 
When clearing cells from a circuit for OOM reasons, tell cmux we did so.

Not telling the cmux would sometimes cause an assertion failure in
relay.c when we tried to get an active circuit and found an "active"
circuit with no cells.

Additionally, replace that assert with a test and a log message.

Fix for bug 20203. This is actually probably a bugfix on
0.2.8.1-alpha, specifically my code in 8b4e5b7ee902fb7fa0776 where I
made circuit_mark_for_close_() do less in order to simplify our call
graph. Thanks to "cypherpunks" for help diagnosing.

9 years agoFix lintchanges warnings in 028
Nick Mathewson [Thu, 22 Sep 2016 13:00:16 +0000 (09:00 -0400)] 
Fix lintchanges warnings in 028

9 years agoChanges file for #20190: remove broken fallbacks
teor [Wed, 21 Sep 2016 22:08:59 +0000 (08:08 +1000)] 
Changes file for #20190: remove broken fallbacks

9 years agoMerge remote-tracking branch 'public/bug20103_028_v3' into maint-0.2.8
Nick Mathewson [Tue, 20 Sep 2016 23:30:24 +0000 (19:30 -0400)] 
Merge remote-tracking branch 'public/bug20103_028_v3' into maint-0.2.8

9 years agofixup! Update hard-coded fallback list based on pre-0.2.9 checks
teor [Tue, 20 Sep 2016 23:13:04 +0000 (09:13 +1000)] 
fixup! Update hard-coded fallback list based on pre-0.2.9 checks

9 years agoDon't look at any routerstatus_t when the networkstatus is inconsistent
Nick Mathewson [Mon, 19 Sep 2016 16:03:58 +0000 (12:03 -0400)] 
Don't look at any routerstatus_t when the networkstatus is inconsistent

For a brief moment in networkstatus_set_current_consensus(), the old
consensus has been freed, but the node_t objects still have dead
pointers to the routerstatus_t objects within it.  During that
interval, we absolutely must not do anything that would cause Tor to
look at those dangling pointers.

Unfortunately, calling the (badly labeled!) current_consensus macro
or anything else that calls into we_use_microdescriptors_for_circuits(),
can make us look at the nodelist.

The fix is to make sure we identify the main consensus flavor
_outside_ the danger zone, and to make the danger zone much much
smaller.

Fixes bug 20103.  This bug has been implicitly present for AGES; we
just got lucky for a very long time.  It became a crash bug in
0.2.8.2-alpha when we merged 35bbf2e4a4e8ccb to make
find_dl_schedule start looking at the consensus, and 4460feaf2850ef0
which made node_get_all_orports less (accidentally) tolerant of
nodes with a valid ri pointer but dangling rs pointer.

9 years agoUpdate hard-coded fallback list based on pre-0.2.9 checks
teor [Tue, 20 Sep 2016 06:49:45 +0000 (16:49 +1000)] 
Update hard-coded fallback list based on pre-0.2.9 checks

9 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Wed, 7 Sep 2016 17:54:12 +0000 (13:54 -0400)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

9 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Wed, 7 Sep 2016 17:54:03 +0000 (13:54 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

9 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 7 Sep 2016 17:53:53 +0000 (13:53 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

9 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Wed, 7 Sep 2016 17:53:43 +0000 (13:53 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

9 years agoUpdate geoip and geoip6 to the September 6 2016 database.
Karsten Loesing [Wed, 7 Sep 2016 09:08:04 +0000 (11:08 +0200)] 
Update geoip and geoip6 to the September 6 2016 database.

9 years agobump to 0.2.8.7-dev
Nick Mathewson [Wed, 24 Aug 2016 18:46:08 +0000 (14:46 -0400)] 
bump to 0.2.8.7-dev

9 years agoBump to 0.2.8.7
Nick Mathewson [Wed, 24 Aug 2016 15:01:57 +0000 (11:01 -0400)] 
Bump to 0.2.8.7

9 years agoChanges file for bug19973
Nick Mathewson [Wed, 24 Aug 2016 14:34:00 +0000 (10:34 -0400)] 
Changes file for bug19973

9 years agoFix path selection on firewalled clients
teor [Thu, 18 Aug 2016 02:02:33 +0000 (12:02 +1000)] 
Fix path selection on firewalled clients

Signed-off-by: teor <teor2345@gmail.com>
9 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Wed, 24 Aug 2016 14:02:52 +0000 (10:02 -0400)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

9 years agoChanges file for bifroest
Nick Mathewson [Wed, 24 Aug 2016 14:02:42 +0000 (10:02 -0400)] 
Changes file  for bifroest

9 years agoReplace Tonga with 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

9 years agoDo not pass NULL to log(%s) in dir_server_new.
Nick Mathewson [Mon, 22 Aug 2016 05:22:19 +0000 (01:22 -0400)] 
Do not pass NULL to log(%s) in dir_server_new.

This bug had existed since 0.2.4.7-alpha, but now that we have
FallbackDirs by default, it actually matters.

Fixes bug 19947; bugfix on 0.2.4.7-alpha or maybe 0.2.8.1-alpha.

Rubiate wrote the patch; teor wrote the changes file.

9 years agoMerge branch 'bug19903_028_v2' into maint-0.2.8
Nick Mathewson [Fri, 19 Aug 2016 23:35:26 +0000 (19:35 -0400)] 
Merge branch 'bug19903_028_v2' into maint-0.2.8

9 years agoAvoid confusing GCC 4.2.1 by saying "int foo()... inline int foo() {...}"
Nick Mathewson [Fri, 12 Aug 2016 00:29:37 +0000 (20:29 -0400)] 
Avoid confusing GCC 4.2.1 by saying "int foo()... inline int foo() {...}"

Fixes bug 19903; bugfix on 0.2.8.1-alpha.

9 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Fri, 12 Aug 2016 14:27:14 +0000 (10:27 -0400)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

9 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Fri, 12 Aug 2016 14:27:08 +0000 (10:27 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

9 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 12 Aug 2016 14:27:01 +0000 (10:27 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

9 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Fri, 12 Aug 2016 14:26:48 +0000 (10:26 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

9 years agoUpdate geoip and geoip6 to the August 2 2016 database.
Karsten Loesing [Fri, 12 Aug 2016 09:53:38 +0000 (11:53 +0200)] 
Update geoip and geoip6 to the August 2 2016 database.

9 years agobump maint-0.2.8 to 0.2.8.6-dev
Nick Mathewson [Tue, 2 Aug 2016 15:13:44 +0000 (11:13 -0400)] 
bump maint-0.2.8 to 0.2.8.6-dev

9 years agobump to 0.2.8.6
Nick Mathewson [Fri, 29 Jul 2016 15:17:28 +0000 (11:17 -0400)] 
bump to 0.2.8.6

9 years agoRemove a fallback that was on the hardcoded list, then opted-out
teor (Tim Wilson-Brown) [Fri, 29 Jul 2016 00:00:49 +0000 (10:00 +1000)] 
Remove a fallback that was on the hardcoded list, then opted-out

The fallback was added in 0.2.8.2-alpha.

9 years agoCoverity hates it when we do "E1 ? E2 : E2".
Nick Mathewson [Thu, 21 Jul 2016 12:14:33 +0000 (14:14 +0200)] 
Coverity hates it when we do "E1 ? E2 : E2".

It says, 'Incorrect expression (IDENTICAL_BRANCHES)'

Fix for CID 1364127. Not in any released Tor.

9 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 19 Jul 2016 10:34:27 +0000 (12:34 +0200)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

9 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 19 Jul 2016 10:32:14 +0000 (12:32 +0200)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

9 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 19 Jul 2016 10:31:54 +0000 (12:31 +0200)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

9 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 19 Jul 2016 10:31:20 +0000 (12:31 +0200)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

9 years agoUpdate geoip and geoip6 to the July 6 2016 database.
Karsten Loesing [Mon, 18 Jul 2016 06:39:23 +0000 (08:39 +0200)] 
Update geoip and geoip6 to the July 6 2016 database.

9 years agoMerge remote-tracking branch 'weasel/bug19660' into maint-0.2.8
Nick Mathewson [Sun, 17 Jul 2016 17:54:40 +0000 (13:54 -0400)] 
Merge remote-tracking branch 'weasel/bug19660' into maint-0.2.8

9 years agoFix warnings in test_util_formats.
Nick Mathewson [Sun, 17 Jul 2016 17:51:45 +0000 (13:51 -0400)] 
Fix warnings in test_util_formats.

Storing 255 into a char gives a warning when char is signed.

Fixes bug 19682; bugfix on 0.2.8.1-alpha, where these tests were added.

9 years agochanges file for bug18397
Nick Mathewson [Wed, 13 Jul 2016 13:19:23 +0000 (09:19 -0400)] 
changes file for bug18397

9 years agoMerge remote-tracking branch 'Jigsaw52/seccomp-fix-18397' into maint-0.2.8
Nick Mathewson [Wed, 13 Jul 2016 13:16:59 +0000 (09:16 -0400)] 
Merge remote-tracking branch 'Jigsaw52/seccomp-fix-18397' into maint-0.2.8

9 years agoAdd (SOCK_DGRAM, IPPROTO_UDP) sockets to the sandboxing whitelist
Peter Palfrader [Mon, 11 Jul 2016 07:37:01 +0000 (09:37 +0200)] 
Add (SOCK_DGRAM, IPPROTO_UDP) sockets to the sandboxing whitelist

If we did not find a non-private IPaddress by iterating over interfaces,
we would try to get one via
get_interface_address6_via_udp_socket_hack().  This opens a datagram
socket with IPPROTO_UDP.  Previously all our datagram sockets (via
libevent) used IPPROTO_IP, so we did not have that in the sandboxing
whitelist.  Add (SOCK_DGRAM, IPPROTO_UDP) sockets to the sandboxing
whitelist.  Fixes bug 19660.

9 years agoAdds missing syscalls to seccomp filter.
Daniel Pinto [Fri, 8 Jul 2016 23:36:37 +0000 (00:36 +0100)] 
Adds missing syscalls to seccomp filter.

Fixes #18397 which prevented tor starting with Sandbox 1.

9 years agoBump maint-0.2.8 to 0.2.8.5-rc-dev
Nick Mathewson [Thu, 7 Jul 2016 16:43:52 +0000 (12:43 -0400)] 
Bump maint-0.2.8 to 0.2.8.5-rc-dev

9 years agoWhen checking if a routerstatus is reachable, don't check the node
teor (Tim Wilson-Brown) [Wed, 6 Jul 2016 04:35:01 +0000 (14:35 +1000)] 
When checking if a routerstatus is reachable, don't check the node

This fixes #19608, allowing IPv6-only clients to use
microdescriptors, while preserving the ability of bridge clients
to have some IPv4 bridges and some IPv6 bridges.

Fix on c281c036 in 0.2.8.2-alpha.

9 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 5 Jul 2016 17:52:18 +0000 (13:52 -0400)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

9 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 5 Jul 2016 17:52:04 +0000 (13:52 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

9 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 5 Jul 2016 17:51:51 +0000 (13:51 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

9 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 5 Jul 2016 17:51:34 +0000 (13:51 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

9 years agowhoops. changelog file for 19271.
Nick Mathewson [Tue, 5 Jul 2016 17:51:21 +0000 (13:51 -0400)] 
whoops. changelog file for 19271.

9 years agoUpdate version to 0.2.8.5-rc. This is not yet a release.
Nick Mathewson [Tue, 5 Jul 2016 17:05:36 +0000 (13:05 -0400)] 
Update version to 0.2.8.5-rc. This is not yet a release.

9 years agoAppease lint-changes script.
Nick Mathewson [Tue, 5 Jul 2016 16:57:43 +0000 (12:57 -0400)] 
Appease lint-changes script.

9 years agoRepair unit test that assumed we have 9 dirauths.
Nick Mathewson [Tue, 5 Jul 2016 16:52:19 +0000 (12:52 -0400)] 
Repair unit test that assumed we have 9 dirauths.

9 years agoMerge remote-tracking branch 'weasel/bug19557' into maint-0.2.8
Nick Mathewson [Tue, 5 Jul 2016 16:40:25 +0000 (12:40 -0400)] 
Merge remote-tracking branch 'weasel/bug19557' into maint-0.2.8

9 years agoMerge remote-tracking branch 'weasel/bug19556' into maint-0.2.8
Nick Mathewson [Tue, 5 Jul 2016 16:39:40 +0000 (12:39 -0400)] 
Merge remote-tracking branch 'weasel/bug19556' into maint-0.2.8

9 years agoRun asciidoc in UTC timezone for build reproducibility.
intrigeri [Sun, 3 Jul 2016 18:44:13 +0000 (18:44 +0000)] 
Run asciidoc in UTC timezone for build reproducibility.

asciidoc adds a timestamp at the end of a generated HTML file.
This timestamp is based on the date of the file but it can change
depending on the TZ environment variable.

9 years agoMerge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 5 Jul 2016 16:23:14 +0000 (12:23 -0400)] 
Merge branch 'maint-0.2.7' into maint-0.2.8

9 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 5 Jul 2016 16:22:47 +0000 (12:22 -0400)] 
Merge branch 'maint-0.2.6' into maint-0.2.7

9 years agoMerge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 5 Jul 2016 16:21:25 +0000 (12:21 -0400)] 
Merge branch 'maint-0.2.5' into maint-0.2.6

9 years agoMerge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 5 Jul 2016 16:20:42 +0000 (12:20 -0400)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

9 years agoRemove urras as a default trusted directory authority
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.

9 years agosandboxing: allow writing to stats/hidserv-stats
Peter Palfrader [Sun, 3 Jul 2016 16:03:26 +0000 (18:03 +0200)] 
sandboxing: allow writing to stats/hidserv-stats

Our sandboxing code would not allow us to write to stats/hidserv-stats,
causing tor to abort while trying to write stats.  This was previously
masked by bug#19556.

9 years agoNote which bug this fixes in the changes entry
Peter Palfrader [Sun, 3 Jul 2016 16:04:33 +0000 (18:04 +0200)] 
Note which bug this fixes in the changes entry

9 years agosandboxing: allow open() of stats dir
Peter Palfrader [Sun, 3 Jul 2016 15:47:45 +0000 (17:47 +0200)] 
sandboxing: allow open() of stats dir

When sandboxing is enabled, we could not write any stats to disk.
check_or_create_data_subdir("stats"), which prepares the private stats
directory, calls check_private_dir(), which also opens and not just stats() the
directory.  Therefore, we need to also allow open() for the stats dir in our
sandboxing setup.

9 years agoWhen tor can't find a directory, log less
teor (Tim Wilson-Brown) [Fri, 1 Jul 2016 04:26:00 +0000 (14:26 +1000)] 
When tor can't find a directory, log less

9 years agoMerge branch 'bug19071-extra-squashed' into maint-0.2.8
Nick Mathewson [Tue, 28 Jun 2016 23:15:20 +0000 (19:15 -0400)] 
Merge branch 'bug19071-extra-squashed' into maint-0.2.8

9 years agoComment-out fallbacks in a way the stem fallback parser understands
teor (Tim Wilson-Brown) [Thu, 23 Jun 2016 00:49:03 +0000 (10:49 +1000)] 
Comment-out fallbacks in a way the stem fallback parser understands

If we manually remove fallbacks in C by adding '/*' and '*/' on separate
lines, stem still parses them as being present, because it only looks at
the start of a line.

Add a comment to this effect in the generated source code.

9 years agowhitespace fixes
Nick Mathewson [Tue, 28 Jun 2016 15:14:42 +0000 (11:14 -0400)] 
whitespace fixes

9 years agoMerge remote-tracking branch 'teor/bug18812' into maint-0.2.8
Nick Mathewson [Tue, 28 Jun 2016 15:12:51 +0000 (11:12 -0400)] 
Merge remote-tracking branch 'teor/bug18812' into maint-0.2.8

9 years agoResolve bug18812 by logging fallback key changes at info level
teor (Tim Wilson-Brown) [Tue, 28 Jun 2016 04:15:11 +0000 (14:15 +1000)] 
Resolve bug18812 by logging fallback key changes at info level

9 years agoMake it clear that fallbacks include authorities
teor (Tim Wilson-Brown) [Tue, 28 Jun 2016 04:14:04 +0000 (14:14 +1000)] 
Make it clear that fallbacks include authorities

Comment-only change

9 years agoRefactor connection_or_client_learned_peer_id for bug18812
teor (Tim Wilson-Brown) [Tue, 28 Jun 2016 04:12:18 +0000 (14:12 +1000)] 
Refactor connection_or_client_learned_peer_id for bug18812

No behavioural change.
Also clarify some comments.

9 years agoBug19499: Fix GCC warnings when building against bleeding edge OpenSSL.
Yawning Angel [Fri, 24 Jun 2016 22:20:41 +0000 (22:20 +0000)] 
Bug19499: Fix GCC warnings when building against bleeding edge OpenSSL.

The previous version of the new accessors didn't specify const but it
was changed in master.

9 years agoWhitelist a fallback's new IPv6 address
teor (Tim Wilson-Brown) [Thu, 23 Jun 2016 00:38:52 +0000 (10:38 +1000)] 
Whitelist a fallback's new IPv6 address

The IPv4-only entry will be used for 0.2.8.
The IPv4 and IPv6 entry will be considered in 0.2.9.