]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
10 years agoMerge branch 'bug16034_no_more_openssl_098_squashed'
Nick Mathewson [Wed, 20 May 2015 19:33:22 +0000 (15:33 -0400)] 
Merge branch 'bug16034_no_more_openssl_098_squashed'

Conflicts:
src/test/testing_common.c

10 years agoDrop support for OpenSSLs without AES_CTR
Nick Mathewson [Wed, 20 May 2015 14:23:23 +0000 (10:23 -0400)] 
Drop support for OpenSSLs without AES_CTR

10 years agoNow that OpenSSL 0.9.8 is dead, crypto_seed_rng() needs no args
Nick Mathewson [Tue, 19 May 2015 20:17:03 +0000 (16:17 -0400)] 
Now that OpenSSL 0.9.8 is dead, crypto_seed_rng() needs no args

It needed an argument before because it wasn't safe to call
RAND_poll() on openssl 0.9.8c if you had already opened more fds
than would fit in fd_set.

10 years agoRemove code to support OpenSSL 0.9.8
Nick Mathewson [Tue, 19 May 2015 20:14:20 +0000 (16:14 -0400)] 
Remove code to support OpenSSL 0.9.8

10 years agoStop poking SSL_CTX->comp_methods
Nick Mathewson [Thu, 14 May 2015 14:24:02 +0000 (10:24 -0400)] 
Stop poking SSL_CTX->comp_methods

10 years agoUse SSL_CIPHER accessor functions
Nick Mathewson [Thu, 14 May 2015 14:17:37 +0000 (10:17 -0400)] 
Use SSL_CIPHER accessor functions

10 years agoUse SSL_CIPHER_find where possible.
Nick Mathewson [Thu, 14 May 2015 14:14:06 +0000 (10:14 -0400)] 
Use SSL_CIPHER_find where possible.

10 years agoTry using SSL_get_ciphers in place of session->ciphers
Nick Mathewson [Thu, 14 May 2015 12:42:08 +0000 (08:42 -0400)] 
Try using SSL_get_ciphers in place of session->ciphers

This should help openssl 1.1.  On pre-1.1, we double-check that these
two methods give us the same list, since the underlying code is awfully
hairy.

10 years agoTweak rectify_client_ciphers to work with openssl 1.1
Nick Mathewson [Wed, 13 May 2015 16:38:17 +0000 (12:38 -0400)] 
Tweak rectify_client_ciphers to work with openssl 1.1

The key here is to never touch ssl->cipher_list directly, but only
via SSL_get_ciphers().  But it's not so simple.

See, if there is no specialized cipher_list on the SSL object,
SSL_get_ciphers returns the cipher_list on the SSL_CTX.  But we sure
don't want to modify that one!  So we need to use
SSL_set_cipher_list first to make sure that we really have a cipher
list on the SSL object.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Tue, 19 May 2015 18:59:39 +0000 (14:59 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.6'

10 years agoBump maint-0.2.6 to 0.2.6.8
Nick Mathewson [Tue, 19 May 2015 18:48:09 +0000 (14:48 -0400)] 
Bump maint-0.2.6 to 0.2.6.8

10 years agoFix some compilation warnings
Nick Mathewson [Mon, 18 May 2015 19:57:21 +0000 (15:57 -0400)] 
Fix some compilation warnings

10 years agoMerge remote-tracking branch 'andrea/ticket15358_squashed_2'
Nick Mathewson [Mon, 18 May 2015 18:44:28 +0000 (14:44 -0400)] 
Merge remote-tracking branch 'andrea/ticket15358_squashed_2'

10 years agoMerge remote-tracking branch 'special/bug16060'
Nick Mathewson [Mon, 18 May 2015 15:56:16 +0000 (11:56 -0400)] 
Merge remote-tracking branch 'special/bug16060'

10 years agoMerge remote-tracking branch 'dgoulet/bug16021_027_01'
Nick Mathewson [Mon, 18 May 2015 15:29:50 +0000 (11:29 -0400)] 
Merge remote-tracking branch 'dgoulet/bug16021_027_01'

10 years agoSilence two make rules
cypherpunks [Mon, 18 May 2015 15:29:07 +0000 (11:29 -0400)] 
Silence two make rules

10 years agoChanges file for ticket 15358
Andrea Shepard [Sun, 17 May 2015 13:58:05 +0000 (13:58 +0000)] 
Changes file for ticket 15358

10 years agoAdd GETINFO network-liveness to control protocol
Andrea Shepard [Fri, 15 May 2015 19:44:13 +0000 (19:44 +0000)] 
Add GETINFO network-liveness to control protocol

10 years agoImplement EVENT_NETWORK_LIVENESS
Andrea Shepard [Wed, 6 May 2015 12:37:13 +0000 (12:37 +0000)] 
Implement EVENT_NETWORK_LIVENESS

10 years agoFix crash on HUP with mixed ephemeral services
John Brooks [Sun, 17 May 2015 01:50:18 +0000 (19:50 -0600)] 
Fix crash on HUP with mixed ephemeral services

Ephemeral services will be listed in rend_services_list at the end of
rend_config_services, so it must check whether directory is non-NULL
before comparing.

This crash happens when reloading config on a tor with mixed configured
and ephemeral services.

Fixes bug #16060. Bugfix on 0.2.7.1-alpha.

10 years agoTest: add unit test for rend_data_t object and functions
David Goulet [Thu, 14 May 2015 16:08:54 +0000 (12:08 -0400)] 
Test: add unit test for rend_data_t object and functions

Closes #16021

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoFix: init HSDirs list in rend_data_service_create
David Goulet [Thu, 14 May 2015 14:56:14 +0000 (10:56 -0400)] 
Fix: init HSDirs list in rend_data_service_create

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoMerge branch 'bug15880_027_03'
Nick Mathewson [Thu, 14 May 2015 14:46:45 +0000 (10:46 -0400)] 
Merge branch 'bug15880_027_03'

10 years agoTest: fix HS_DESC to expect descriptor ID
David Goulet [Tue, 12 May 2015 20:45:56 +0000 (16:45 -0400)] 
Test: fix HS_DESC to expect descriptor ID

With #15881 implemented, this adds the missing descriptor ID at the end of
the expected control message.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoAdd missing descriptor ID to HS_DESC control event
David Goulet [Thu, 30 Apr 2015 16:28:11 +0000 (12:28 -0400)] 
Add missing descriptor ID to HS_DESC control event

For FAILED and RECEIVED action of the HS_DESC event, we now sends back the
descriptor ID at the end like specified in the control-spec section 4.1.25.

Fixes #15881

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoFix rend_config_services() indentation
David Goulet [Mon, 11 May 2015 20:16:41 +0000 (16:16 -0400)] 
Fix rend_config_services() indentation

Not sure what happened but whitespace gone wild! :)

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoUse safe_str_client() for service ID in log
David Goulet [Mon, 11 May 2015 20:19:16 +0000 (16:19 -0400)] 
Use safe_str_client() for service ID in log

Scrub the service ID in a warning log.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agotor_tls_get_buffer_sizes() will not work on openssl 1.1. Patch from yawning
Nick Mathewson [Wed, 13 May 2015 16:12:53 +0000 (12:12 -0400)] 
tor_tls_get_buffer_sizes() will not work on openssl 1.1.  Patch from yawning

10 years agoUse SSL_state() to inspect the state of SSL objects.
Nick Mathewson [Wed, 13 May 2015 15:29:33 +0000 (11:29 -0400)] 
Use SSL_state() to inspect the state of SSL objects.

10 years agoUse SSL_clear_mode where available.
Nick Mathewson [Wed, 13 May 2015 15:24:47 +0000 (11:24 -0400)] 
Use SSL_clear_mode where available.

10 years agoSSL_clear_mode exists; we can use it.
Nick Mathewson [Wed, 13 May 2015 15:21:38 +0000 (11:21 -0400)] 
SSL_clear_mode exists; we can use it.

10 years agoStop accessing 'ssl->s3->flags' when we are using openssl 1.1
Nick Mathewson [Wed, 13 May 2015 15:19:19 +0000 (11:19 -0400)] 
Stop accessing 'ssl->s3->flags' when we are using openssl 1.1

This field was only needed to work with the now-long-gone (I hope,
except for some horrible apples) openssl 0.9.8l; if your headers say
you have openssl 1.1, you won't even need it.

10 years agoERR_remove_state() is deprecated since OpenSSL 1.0.0.
Yawning Angel [Thu, 23 Apr 2015 10:56:31 +0000 (10:56 +0000)] 
ERR_remove_state() is deprecated since OpenSSL 1.0.0.

OpenSSL 1.1.0 must be built with "enable-deprecated", and compiled with
`OPENSSL_USE_DEPRECATED` for this to work, so instead, use the newer
routine as appropriate.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Wed, 13 May 2015 15:06:10 +0000 (11:06 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.6'

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 13 May 2015 15:05:33 +0000 (11:05 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5'
Nick Mathewson [Wed, 13 May 2015 15:04:17 +0000 (11:04 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.5'

10 years agoMerge branch 'bug15823_025' into maint-0.2.5
Nick Mathewson [Wed, 13 May 2015 15:03:05 +0000 (11:03 -0400)] 
Merge branch 'bug15823_025' into maint-0.2.5

10 years agoBump version to 0.2.7.1-alpha-dev
Nick Mathewson [Tue, 12 May 2015 15:54:06 +0000 (11:54 -0400)] 
Bump version to 0.2.7.1-alpha-dev

10 years agoAdd a .dummy file in the changes directory to stop git from removing it tor-0.2.7.1-alpha
Nick Mathewson [Mon, 11 May 2015 15:41:48 +0000 (11:41 -0400)] 
Add a .dummy file in the changes directory to stop git from removing it

10 years agocomment patch from dgoulet that was in my inbox too long
Nick Mathewson [Mon, 11 May 2015 15:32:00 +0000 (11:32 -0400)] 
comment patch from dgoulet that was in my inbox too long

10 years agoreflow changelog.
Nick Mathewson [Mon, 11 May 2015 15:18:17 +0000 (11:18 -0400)] 
reflow changelog.

10 years agoTweak spelling and word choice in changelog
Nick Mathewson [Mon, 11 May 2015 15:17:49 +0000 (11:17 -0400)] 
Tweak spelling and word choice in changelog

10 years agoBump version to 0.2.7.1-alpha. (This is not the release yet.)
Nick Mathewson [Mon, 11 May 2015 14:10:29 +0000 (10:10 -0400)] 
Bump version to 0.2.7.1-alpha. (This is not the release yet.)

10 years agoIntro blurb for 0.2.7.1-alpha
Nick Mathewson [Mon, 11 May 2015 13:46:28 +0000 (09:46 -0400)] 
Intro blurb for 0.2.7.1-alpha

10 years agoTweak changelog more.
Nick Mathewson [Mon, 11 May 2015 13:42:41 +0000 (09:42 -0400)] 
Tweak changelog more.

10 years agoFix segfault in HSPOST command introduce with feature #3523
Donncha O'Cearbhaill [Fri, 8 May 2015 08:50:13 +0000 (09:50 +0100)] 
Fix segfault in HSPOST command introduce with feature #3523

Checking if node->rs->is_hs_dir when the router_status for the node does
not exist results in a segfault. This bug is not in any released Tor.

10 years agoMerge branch 'writing_tests'
Nick Mathewson [Thu, 7 May 2015 19:29:56 +0000 (15:29 -0400)] 
Merge branch 'writing_tests'

10 years agoWrite the outlines of a WritingTests.txt document
Nick Mathewson [Thu, 18 Sep 2014 18:03:49 +0000 (14:03 -0400)] 
Write the outlines of a WritingTests.txt document

Also, add some sample tests to be examples.

10 years agoTweak changelog entries a bit
Nick Mathewson [Tue, 5 May 2015 22:24:19 +0000 (18:24 -0400)] 
Tweak changelog entries a bit

10 years agoFix a bug in format_changelog, in a silly way
Nick Mathewson [Tue, 5 May 2015 22:23:56 +0000 (18:23 -0400)] 
Fix a bug in format_changelog, in a silly way

10 years agoMerge remote-tracking branch 'public/bug15821_025'
Nick Mathewson [Tue, 5 May 2015 19:06:57 +0000 (15:06 -0400)] 
Merge remote-tracking branch 'public/bug15821_025'

10 years agoFix out-of-bounds read in INTRODUCE2 client auth
John Brooks [Sun, 26 Apr 2015 04:52:35 +0000 (22:52 -0600)] 
Fix out-of-bounds read in INTRODUCE2 client auth

The length of auth_data from an INTRODUCE2 cell is checked when the
auth_type is recognized (1 or 2), but not for any other non-zero
auth_type. Later, auth_data is assumed to have at least
REND_DESC_COOKIE_LEN bytes, leading to a client-triggered out of bounds
read.

Fixed by checking auth_len before comparing the descriptor cookie
against known clients.

Fixes #15823; bugfix on 0.2.1.6-alpha.

10 years agoRe-sort and flow the changelog. Add new entry
Nick Mathewson [Tue, 5 May 2015 15:26:11 +0000 (11:26 -0400)] 
Re-sort and flow the changelog. Add new entry

10 years agoAdd collation/splitting support to sortChanges script
Nick Mathewson [Tue, 5 May 2015 15:24:01 +0000 (11:24 -0400)] 
Add collation/splitting support to sortChanges script

10 years agoFix a few more memory leaks; not in any released Tor
Nick Mathewson [Tue, 5 May 2015 15:08:05 +0000 (11:08 -0400)] 
Fix a few more memory leaks; not in any released Tor

10 years agoFix a harmless memory leak in tor-gencert
Nick Mathewson [Tue, 5 May 2015 15:05:01 +0000 (11:05 -0400)] 
Fix a harmless memory leak in tor-gencert

10 years agoMerge branch 'feature3523_027'
Nick Mathewson [Mon, 4 May 2015 15:41:50 +0000 (11:41 -0400)] 
Merge branch 'feature3523_027'

10 years agoAdd "+HSPOST" and related "HS_DESC" event flags to the controller.
Donncha O'Cearbhaill [Sun, 22 Mar 2015 13:31:53 +0000 (13:31 +0000)] 
Add "+HSPOST" and related "HS_DESC" event flags to the controller.

"+HSPOST" and the related event changes allow the uploading of HS
descriptors via the control port, and more comprehensive event
monitoring of HS descriptor upload status.

10 years agoMake `GETINFO hs/client/desc/id/<identifier>` actually work (#14845).
Yawning Angel [Sat, 2 May 2015 11:45:46 +0000 (11:45 +0000)] 
Make `GETINFO hs/client/desc/id/<identifier>` actually work (#14845).

Not in any released version of tor.

10 years agoreformat 0.2.7.1-alpha changelog
Nick Mathewson [Thu, 30 Apr 2015 19:30:20 +0000 (15:30 -0400)] 
reformat 0.2.7.1-alpha changelog

10 years agoMove changes entries into changelog for 0.2.7.1-alpha
Nick Mathewson [Thu, 30 Apr 2015 19:29:56 +0000 (15:29 -0400)] 
Move changes entries into changelog for 0.2.7.1-alpha

10 years agoMake lintChanges happy
Nick Mathewson [Thu, 30 Apr 2015 19:11:19 +0000 (15:11 -0400)] 
Make lintChanges happy

10 years agoremove changes files for already-moved things
Nick Mathewson [Thu, 30 Apr 2015 19:04:41 +0000 (15:04 -0400)] 
remove changes files for already-moved things

10 years agowhitespace fixes
Nick Mathewson [Thu, 30 Apr 2015 17:38:39 +0000 (13:38 -0400)] 
whitespace fixes

10 years agocompilation fix: signed/unsigned comparison
Nick Mathewson [Thu, 30 Apr 2015 17:36:45 +0000 (13:36 -0400)] 
compilation fix: signed/unsigned comparison

10 years agoMerge branch 'bug15814_027_04'
Nick Mathewson [Thu, 30 Apr 2015 17:32:52 +0000 (13:32 -0400)] 
Merge branch 'bug15814_027_04'

10 years agoUpdate descriptor ID when it changes in rend_data
David Goulet [Tue, 28 Apr 2015 14:22:14 +0000 (10:22 -0400)] 
Update descriptor ID when it changes in rend_data

When we have a new descriptor ID for an onion address request, change it in
the rend_data_t object and purge the old one from the last hid serv request
cache.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoUse descriptor ID when purging last hid fetch cache
David Goulet [Mon, 27 Apr 2015 20:21:47 +0000 (16:21 -0400)] 
Use descriptor ID when purging last hid fetch cache

Stop using an onion address since it's not indexed with that anymore in the
last hid serv request cache. Instead use a base32 encoded descriptor ID
contained in the rend_data_t object.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoUse rend_data_client/service_create() in code
David Goulet [Mon, 27 Apr 2015 19:08:31 +0000 (15:08 -0400)] 
Use rend_data_client/service_create() in code

Every callsite that use to allocate a rend_data_t object now use the
rend_data_client/service_create() function.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoAdd a create function for rend_data_t object
David Goulet [Tue, 28 Apr 2015 15:01:58 +0000 (11:01 -0400)] 
Add a create function for rend_data_t object

Ground works for fixing #15816. This adds the rend_data_create() function in
order to have a single place where we initialize that data structure.

Furthermore, an array of descriptor IDs is added (one per replica) so we can
keep a copy of the current id in the object. It will be used to purge the
last hid serv request cache using those descriptor IDs. When they change,
they will be replaced and the old ones will be purged from the cache.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoAdd missing newline in memwipe test.
cypherpunks [Fri, 24 Apr 2015 08:19:22 +0000 (10:19 +0200)] 
Add missing newline in memwipe test.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Tue, 28 Apr 2015 18:46:53 +0000 (14:46 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.6'

10 years agoRevert "Remove obsolete workaround in dirserv_thinks_router_is_hs_dir()"
David Goulet [Tue, 28 Apr 2015 18:22:49 +0000 (14:22 -0400)] 
Revert "Remove obsolete workaround in dirserv_thinks_router_is_hs_dir()"

Fixes #15850, part of #15801. Change file is added by this commit. The
original comment in the reverted commit is removed because right now we
*need* a DirPort until #15849 is implemented so no doubt nor confusion there
anymore.

This reverts commit 80bed1ac96a3035f8c55ddced5528f0d7d16d386.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
10 years agoFix another test failure
Nick Mathewson [Tue, 28 Apr 2015 14:47:37 +0000 (10:47 -0400)] 
Fix another test failure

We need the test scripts to become +x *after* they are created.

10 years agoMerge branch 'feature6411_v4'
Nick Mathewson [Tue, 28 Apr 2015 14:19:16 +0000 (10:19 -0400)] 
Merge branch 'feature6411_v4'

10 years agoAdd "ADD_ONION"/"DEL_ONION" and "GETINFO onions/*" to the controller.
Yawning Angel [Sat, 25 Apr 2015 08:23:15 +0000 (08:23 +0000)] 
Add "ADD_ONION"/"DEL_ONION" and "GETINFO onions/*" to the controller.

These commands allow for the creation and management of ephemeral
Onion ("Hidden") services that are either bound to the lifetime of
the originating control connection, or optionally the lifetime of
the tor instance.

Implements #6411.

10 years agoMerge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Mon, 27 Apr 2015 18:18:31 +0000 (14:18 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.6'

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 27 Apr 2015 18:18:16 +0000 (14:18 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 27 Apr 2015 18:16:55 +0000 (14:16 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5

10 years agoMerge remote-tracking branch 'karsten/geoip6-apr2015' into maint-0.2.4
Nick Mathewson [Mon, 27 Apr 2015 18:15:58 +0000 (14:15 -0400)] 
Merge remote-tracking branch 'karsten/geoip6-apr2015' into maint-0.2.4

10 years agoMerge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Mon, 27 Apr 2015 18:15:44 +0000 (14:15 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4

10 years agoMark set-test-permissions as .PHONY; use u+x only
Nick Mathewson [Fri, 24 Apr 2015 20:10:34 +0000 (16:10 -0400)] 
Mark set-test-permissions as .PHONY; use u+x only

10 years agoRevert "Add +x to these .in files; see if it helps"
Nick Mathewson [Fri, 24 Apr 2015 20:05:41 +0000 (16:05 -0400)] 
Revert "Add +x to these .in files; see if it helps"

This reverts commit ecf98313d673f010b52f8d29c352cd9b8f145734.

It didn't help.

10 years agoUpdate geoip6 to the April 8 2015 database.
Karsten Loesing [Fri, 24 Apr 2015 15:51:36 +0000 (17:51 +0200)] 
Update geoip6 to the April 8 2015 database.

10 years agoUpdate geoip to the April 8 2015 database.
Karsten Loesing [Fri, 24 Apr 2015 15:49:45 +0000 (17:49 +0200)] 
Update geoip to the April 8 2015 database.

10 years agoKludge include.am to work with automake <1.12
Nick Mathewson [Fri, 24 Apr 2015 12:41:53 +0000 (08:41 -0400)] 
Kludge include.am to work with automake <1.12

The SH_LOG_COMPILER feature doesn't work with older automakes, and
those are still in use in many environments we want to support
development on, like Debian Stable.

Instead, use autoconf substitution to fill out the shebang lines on
the shell scripts, and an intermediate make target to make them
executable.

This is a bugfix on the patches for #15344.  Bug not in any released
tor.

10 years agoAdd +x to these .in files; see if it helps
Nick Mathewson [Thu, 23 Apr 2015 20:15:21 +0000 (16:15 -0400)] 
Add +x to these .in files; see if it helps

10 years agoMake a return value explicitly ignored.
Nick Mathewson [Thu, 23 Apr 2015 17:04:37 +0000 (13:04 -0400)] 
Make a return value explicitly ignored.

This might make coverity happy

10 years agochanges for 14847
Nick Mathewson [Thu, 23 Apr 2015 16:27:27 +0000 (12:27 -0400)] 
changes for 14847

10 years agoMerge remote-tracking branch 'dgoulet/bug14847_027_06'
Nick Mathewson [Thu, 23 Apr 2015 16:24:35 +0000 (12:24 -0400)] 
Merge remote-tracking branch 'dgoulet/bug14847_027_06'

10 years agoFix some RNG function issues
Nick Mathewson [Thu, 23 Apr 2015 15:13:51 +0000 (11:13 -0400)] 
Fix some RNG function issues

10 years agoMerge remote-tracking branch 'teor/longest-policy-comment'
Nick Mathewson [Thu, 23 Apr 2015 15:05:24 +0000 (11:05 -0400)] 
Merge remote-tracking branch 'teor/longest-policy-comment'

10 years agoMerge remote-tracking branch 'public/remove_old_libevent_autoconf_stuff'
Nick Mathewson [Thu, 23 Apr 2015 14:27:01 +0000 (10:27 -0400)] 
Merge remote-tracking branch 'public/remove_old_libevent_autoconf_stuff'

10 years agoFix crash-test for assertion failure
Nick Mathewson [Thu, 23 Apr 2015 14:25:16 +0000 (10:25 -0400)] 
Fix crash-test for assertion failure

When we made assertions not get compiled in for the coverage case, we
missed one case where, for our tests, we really DO want to have an
assertion fail: the backtrace test.

Bugfix on 1228dd293b60a8eaab03472fa29428c5e2752c44; bug not in any
released tor

10 years agoAdd changes file for 15344.
cypherpunks [Wed, 18 Mar 2015 15:45:48 +0000 (16:45 +0100)] 
Add changes file for 15344.

10 years agoCorrect "longest possible policy" comment in router policy
teor [Thu, 23 Apr 2015 13:51:59 +0000 (23:51 +1000)] 
Correct "longest possible policy" comment in router policy

The "longest possible policy" comment in
router_parse_addr_policy_item_from_string() used an example policy
that was actually shorter than the maximum length.

This comment was amended, and expanded to count the maximum number of
characters.

Comment change only.

10 years agoIntegrate backtrace test into the automake test suite.
cypherpunks [Thu, 5 Mar 2015 10:05:17 +0000 (11:05 +0100)] 
Integrate backtrace test into the automake test suite.

For this to work bt_test.py now returns an exit code indicating success or
failure. Additionally, check-local and its specific dependencies are now
obsolete so they are removed.

10 years agoIntegrate ntor test into the automake test suite.
cypherpunks [Thu, 5 Mar 2015 09:43:12 +0000 (10:43 +0100)] 
Integrate ntor test into the automake test suite.

10 years agoIntegrate zero_length_keys test into the automake test suite.
cypherpunks [Thu, 5 Mar 2015 08:03:06 +0000 (09:03 +0100)] 
Integrate zero_length_keys test into the automake test suite.

The zero length keys test now requires the path to the Tor binary as the first
parameter to ensure the correct Tor binary is used without hard coding a path.

The wrapper script calls the zero length keys test for each test separately to
ensure the correct shell is used (as configured by autoconf). Another solution
would have been to place the tests into separate functions so multiple tests
could be run internally. This would have made a diff of considerable size and
frankly it is outside the scope of this fix.

10 years agoMerge remote-tracking branch 'public/bug15546'
Nick Mathewson [Thu, 23 Apr 2015 13:50:29 +0000 (09:50 -0400)] 
Merge remote-tracking branch 'public/bug15546'