]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
9 years agoMerge branch 'check_log_mutex_uncherrypicked'
Nick Mathewson [Thu, 11 Feb 2016 18:41:31 +0000 (13:41 -0500)] 
Merge branch 'check_log_mutex_uncherrypicked'

9 years agoInitialise logging before trying to use it in unit tests
teor (Tim Wilson-Brown) [Fri, 5 Feb 2016 03:28:53 +0000 (14:28 +1100)] 
Initialise logging before trying to use it in unit tests

9 years agoAdd another admonishment to WritingTests.md
Nick Mathewson [Thu, 11 Feb 2016 18:17:21 +0000 (13:17 -0500)] 
Add another admonishment to WritingTests.md

9 years agoMerge branch 'maint-0.2.7'
Nick Mathewson [Thu, 11 Feb 2016 18:04:43 +0000 (13:04 -0500)] 
Merge branch 'maint-0.2.7'

9 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Thu, 11 Feb 2016 18:01:46 +0000 (13:01 -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 [Thu, 11 Feb 2016 17:57:28 +0000 (12:57 -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 [Thu, 11 Feb 2016 17:55:40 +0000 (12:55 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

9 years agoMerge branch 'bug18162_024' into maint-0.2.4
Nick Mathewson [Thu, 11 Feb 2016 17:55:25 +0000 (12:55 -0500)] 
Merge branch 'bug18162_024' into maint-0.2.4

9 years agoMake ensure_capacity a bit more pedantically correct
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

9 years agomake check-spaces
Nick Mathewson [Thu, 11 Feb 2016 17:50:55 +0000 (12:50 -0500)] 
make check-spaces

9 years agoMerge branch 'feature17840-v11-tests_truncated'
Nick Mathewson [Thu, 11 Feb 2016 17:45:51 +0000 (12:45 -0500)] 
Merge branch 'feature17840-v11-tests_truncated'

9 years agoMerge remote-tracking branch 'teor/feature17840-v11-merged-v2'
Nick Mathewson [Thu, 11 Feb 2016 17:20:20 +0000 (12:20 -0500)] 
Merge remote-tracking branch 'teor/feature17840-v11-merged-v2'

9 years agoRename circuit_about_to_free_{terminal -> atexit}
Nick Mathewson [Thu, 11 Feb 2016 17:15:12 +0000 (12:15 -0500)] 
Rename circuit_about_to_free_{terminal -> atexit}

9 years agoSplit a long line
Nick Mathewson [Thu, 11 Feb 2016 17:13:02 +0000 (12:13 -0500)] 
Split a long line

9 years agoMerge remote-tracking branch 'weasel/bug18261'
Nick Mathewson [Thu, 11 Feb 2016 17:12:02 +0000 (12:12 -0500)] 
Merge remote-tracking branch 'weasel/bug18261'

9 years agoMerge remote-tracking branch 'teor/bug18208'
Nick Mathewson [Wed, 10 Feb 2016 21:32:05 +0000 (16:32 -0500)] 
Merge remote-tracking branch 'teor/bug18208'

9 years agoMerge branch 'bug17682_squashed'
Nick Mathewson [Wed, 10 Feb 2016 20:50:28 +0000 (15:50 -0500)] 
Merge branch 'bug17682_squashed'

9 years agoBulletproof the safe_timer_diff function
Nick Mathewson [Fri, 29 Jan 2016 03:04:24 +0000 (22:04 -0500)] 
Bulletproof the safe_timer_diff function

Originally it can overflow in some weird cases.  Now it should no longer
be able to do so.

Additionally, limit main's timers to 30 days rather than to 38 years;
we don't actually want any 38-year timers.

Closes bug 17682.

9 years agoQuotes added on configure script's string comparison.
zerosion [Thu, 4 Feb 2016 01:28:38 +0000 (02:28 +0100)] 
Quotes added on configure script's string comparison.

Solves #17744

The syntax has been generalized too, so there are only double quotes.

Signed-off-by: zerosion <zerosion@protonmail.ch>
9 years agoMerge remote-tracking branch 'andrea/bug18116'
Nick Mathewson [Wed, 10 Feb 2016 20:42:11 +0000 (15:42 -0500)] 
Merge remote-tracking branch 'andrea/bug18116'

9 years agoMerge remote-tracking branch 'sebastian/bug18242'
Nick Mathewson [Wed, 10 Feb 2016 20:38:52 +0000 (15:38 -0500)] 
Merge remote-tracking branch 'sebastian/bug18242'

9 years agoMerge remote-tracking branch 'public/bug18184'
Nick Mathewson [Wed, 10 Feb 2016 20:36:48 +0000 (15:36 -0500)] 
Merge remote-tracking branch 'public/bug18184'

9 years agoMake the callgraph module-aware
Nick Mathewson [Wed, 10 Feb 2016 20:08:50 +0000 (15:08 -0500)] 
Make the callgraph module-aware

9 years agoProperly detach circuits from cmuxes when calling circuit_free_all() on shutdown...
Andrea Shepard [Wed, 10 Feb 2016 05:35:03 +0000 (05:35 +0000)] 
Properly detach circuits from cmuxes when calling circuit_free_all() on shutdown again

9 years agoAppease make check-spaces
Andrea Shepard [Wed, 10 Feb 2016 02:20:59 +0000 (02:20 +0000)] 
Appease make check-spaces

9 years agochanges file for bug18051
Nick Mathewson [Mon, 8 Feb 2016 13:35:43 +0000 (08:35 -0500)] 
changes file for bug18051

9 years agoAdd missing consts; my fault.
Nick Mathewson [Mon, 8 Feb 2016 13:34:18 +0000 (08:34 -0500)] 
Add missing consts; my fault.

9 years agoMerge branch 'decorated_ipv6_directory_send_command_squashed'
Nick Mathewson [Mon, 8 Feb 2016 13:33:28 +0000 (08:33 -0500)] 
Merge branch 'decorated_ipv6_directory_send_command_squashed'

9 years agodecorated ipv6 address for directory send command
Malek [Sat, 6 Feb 2016 21:30:49 +0000 (16:30 -0500)] 
decorated ipv6 address for directory send command

9 years agofix wide lines, use more locals.
Nick Mathewson [Mon, 8 Feb 2016 13:31:31 +0000 (08:31 -0500)] 
fix wide lines, use more locals.

9 years agoUsing router_get_my_routerinfo()
Harini Kannan [Sun, 7 Feb 2016 21:07:35 +0000 (16:07 -0500)] 
Using router_get_my_routerinfo()

9 years agoFix a segfault during startup
Peter Palfrader [Sat, 6 Feb 2016 21:17:02 +0000 (22:17 +0100)] 
Fix a segfault during startup

If unix socket was configured as listener (such as a ControlSocket or a
SocksPort unix socket), and tor was started as root but not configured
to switch to another user, tor would segfault while trying to string
compare a NULL value.  Fixes bug 18261; bugfix on 0.2.8.1-alpha. Patch
by weasel.

9 years agoDocument port_out argument to tor_addr_from_sockaddr
Nick Mathewson [Sat, 6 Feb 2016 20:34:47 +0000 (15:34 -0500)] 
Document port_out argument to tor_addr_from_sockaddr

9 years agoMerge remote-tracking branch 'yawning/bug18221'
Nick Mathewson [Sat, 6 Feb 2016 20:30:22 +0000 (15:30 -0500)] 
Merge remote-tracking branch 'yawning/bug18221'

9 years agoMerge remote-tracking branch 'alec/dead_code_removal'
Nick Mathewson [Sat, 6 Feb 2016 20:08:49 +0000 (15:08 -0500)] 
Merge remote-tracking branch 'alec/dead_code_removal'

9 years agoRemoved dead code in main.c
Alec Heifetz [Sat, 6 Feb 2016 19:41:31 +0000 (14:41 -0500)] 
Removed dead code in main.c

9 years agoCredit the patch
Nick Mathewson [Sat, 6 Feb 2016 19:12:48 +0000 (14:12 -0500)] 
Credit the patch

9 years agoFix spaces.
Nick Mathewson [Sat, 6 Feb 2016 19:00:24 +0000 (14:00 -0500)] 
Fix spaces.

9 years agoMerge branch 'cleaned_aes_crypt'
Nick Mathewson [Sat, 6 Feb 2016 18:54:09 +0000 (13:54 -0500)] 
Merge branch 'cleaned_aes_crypt'

9 years agochanges file for bug 18258.
Nick Mathewson [Sat, 6 Feb 2016 18:51:46 +0000 (13:51 -0500)] 
changes file for bug 18258.

9 years agoRemoved aes_crypt, left only aes_crypt_inplace. Removed should_use_openssl_CTR, was...
Malek [Sat, 6 Feb 2016 17:05:32 +0000 (12:05 -0500)] 
Removed aes_crypt, left only aes_crypt_inplace. Removed should_use_openssl_CTR, was used for openssl 1.0.0 bug.

9 years agoadd a changes file
Nick Mathewson [Sat, 6 Feb 2016 17:37:56 +0000 (12:37 -0500)] 
add a changes file

9 years agochanging output of crypto_cipher_crypt_inplace from int to void
Hassan Alsibyani [Sat, 6 Feb 2016 17:14:39 +0000 (12:14 -0500)] 
changing output of crypto_cipher_crypt_inplace from int to void

9 years agoFix the --disable-asserts-in-tests configure option
Sebastian Hahn [Fri, 5 Feb 2016 13:40:07 +0000 (14:40 +0100)] 
Fix the --disable-asserts-in-tests configure option

9 years agoMerge branch 'maint-0.2.7'
Nick Mathewson [Fri, 5 Feb 2016 13:13:47 +0000 (08:13 -0500)] 
Merge branch 'maint-0.2.7'

9 years agoMerge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Fri, 5 Feb 2016 13:13:35 +0000 (08:13 -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 [Fri, 5 Feb 2016 13:13:24 +0000 (08:13 -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 [Fri, 5 Feb 2016 13:13:13 +0000 (08:13 -0500)] 
Merge branch 'maint-0.2.4' into maint-0.2.5

9 years agoAvoid calling log functions in logv when SMARTLIST_DEBUG is defined
teor (Tim Wilson-Brown) [Fri, 5 Feb 2016 03:14:17 +0000 (14:14 +1100)] 
Avoid calling log functions in logv when SMARTLIST_DEBUG is defined

9 years agoCheck that the log mutex is initialised before trying to lock or unlock it
teor (Tim Wilson-Brown) [Fri, 5 Feb 2016 03:08:58 +0000 (14:08 +1100)] 
Check that the log mutex is initialised before trying to lock or unlock it

9 years agoBump to 0.2.8.1-alpha-dev
Nick Mathewson [Thu, 4 Feb 2016 23:24:20 +0000 (18:24 -0500)] 
Bump to 0.2.8.1-alpha-dev

9 years agowhoops, needs a release date.
Nick Mathewson [Thu, 4 Feb 2016 23:23:01 +0000 (18:23 -0500)] 
whoops, needs a release date.

9 years agoCall them relays in the changelog, not servers. tor-0.2.8.1-alpha
Nick Mathewson [Thu, 4 Feb 2016 18:39:38 +0000 (13:39 -0500)] 
Call them relays in the changelog, not servers.

9 years agoReflow a paragraph in the changelog
Nick Mathewson [Thu, 4 Feb 2016 18:35:40 +0000 (13:35 -0500)] 
Reflow a paragraph in the changelog

9 years agodgoulet found some typos in the changelog
Nick Mathewson [Thu, 4 Feb 2016 18:25:20 +0000 (13:25 -0500)] 
dgoulet found some typos in the changelog

9 years agoMerge branch 'always_init_base'
Nick Mathewson [Thu, 4 Feb 2016 18:20:21 +0000 (13:20 -0500)] 
Merge branch 'always_init_base'

9 years agoReflow the changelog again.
Nick Mathewson [Thu, 4 Feb 2016 18:19:07 +0000 (13:19 -0500)] 
Reflow the changelog again.

9 years agoupdate the changelog more
Nick Mathewson [Thu, 4 Feb 2016 18:18:49 +0000 (13:18 -0500)] 
update the changelog more

9 years agowhoops, add a changes file for 18242.
Nick Mathewson [Thu, 4 Feb 2016 17:54:54 +0000 (12:54 -0500)] 
whoops, add a changes file for 18242.

9 years agoMake the no-assertions-during-coverage check into a configure option
Nick Mathewson [Thu, 4 Feb 2016 17:51:52 +0000 (12:51 -0500)] 
Make the no-assertions-during-coverage check into a configure option

Closes ticket 18242.

The rationale here is that I like having coverage on by default in my
own working directory, but I always want assertions turned on unless
I'm doing branch coverage specifically.

9 years agoAdd an assertion to tor_libevent_get_base()
Nick Mathewson [Thu, 4 Feb 2016 17:37:00 +0000 (12:37 -0500)] 
Add an assertion to tor_libevent_get_base()

Closes ticket 18241.

9 years agoFix two problems in the 0.2.8.x unit tests
Nick Mathewson [Thu, 4 Feb 2016 17:30:48 +0000 (12:30 -0500)] 
Fix two problems in the 0.2.8.x unit tests

1. We were sometimes using libevent uninitialized, which is Not Allowed.

2. The malformed-PTR dns test was supposed to get a -1 output... but
   the test was wrong, since it forgot that in-addr.arpa addresses
   are in reverse order.

Bugs not in any released tor.

9 years agoBump version. (This is not yet the release.)
Nick Mathewson [Thu, 4 Feb 2016 15:07:06 +0000 (10:07 -0500)] 
Bump version. (This is not yet the release.)

9 years agoUpdate geoip and geoip6 to the February 2 2016 database.
Karsten Loesing [Thu, 4 Feb 2016 07:53:24 +0000 (08:53 +0100)] 
Update geoip and geoip6 to the February 2 2016 database.

9 years agoRevise some more changelog entries
Nick Mathewson [Thu, 4 Feb 2016 01:24:00 +0000 (20:24 -0500)] 
Revise some more changelog entries

9 years agoMerge branch 'openssl_compat'
Nick Mathewson [Wed, 3 Feb 2016 19:46:33 +0000 (14:46 -0500)] 
Merge branch 'openssl_compat'

9 years agoMake tortls unit tests pass with LibreSSL.
Nick Mathewson [Wed, 3 Feb 2016 16:31:57 +0000 (11:31 -0500)] 
Make tortls unit tests pass with LibreSSL.

Part of the fix for 17921.

9 years agoMake crypto/rng_engine test pass on libressl. Bug not in any released tor.
Nick Mathewson [Wed, 3 Feb 2016 16:18:16 +0000 (11:18 -0500)] 
Make crypto/rng_engine test pass on libressl. Bug not in any released tor.

9 years agoMake Tor build happily with OpenSSL master and libressl.
Nick Mathewson [Wed, 3 Feb 2016 16:13:12 +0000 (11:13 -0500)] 
Make Tor build happily with OpenSSL master and libressl.

Also tested with 1.0.0t and 1.0.2f.

Closes ticket 19784.

Closes most of 17921. (Still need to make some tests pass.)

9 years agoStart editing on the changelog entries
Nick Mathewson [Wed, 3 Feb 2016 14:19:05 +0000 (09:19 -0500)] 
Start editing on the changelog entries

9 years agoMake bridge clients prefer the configured bridge address
teor (Tim Wilson-Brown) [Wed, 3 Feb 2016 12:52:39 +0000 (23:52 +1100)] 
Make bridge clients prefer the configured bridge address

When ClientPreferIPv6ORPort is auto, bridges prefer the configured
bridge ORPort address. Otherwise, they use the value of the option.
Other clients prefer IPv4 ORPorts if ClientPreferIPv6ORPort is auto.

When ClientPreferIPv6DirPort is auto, all clients prefer IPv4 DirPorts.

9 years agoMake bridge clients prefer the configured bridge address
teor (Tim Wilson-Brown) [Wed, 3 Feb 2016 12:52:39 +0000 (23:52 +1100)] 
Make bridge clients prefer the configured bridge address

When ClientPreferIPv6ORPort is auto, bridges prefer the configured
bridge ORPort address. Otherwise, they use the value of the option.
Other clients prefer IPv4 ORPorts if ClientPreferIPv6ORPort is auto.

When ClientPreferIPv6DirPort is auto, all clients prefer IPv4 DirPorts.

9 years agoValidate the DH parameters for correctness.
Yawning Angel [Tue, 2 Feb 2016 22:03:48 +0000 (22:03 +0000)] 
Validate the DH parameters for correctness.

We use sensible parameters taken from common sources, and no longer
have dynamic DH groups as an option, but it feels prudent to have
OpenSSL validate p and g at initialization time.

9 years agodraft a blurb, mostly stolen from 0.2.7.1-alpha
Nick Mathewson [Tue, 2 Feb 2016 18:57:55 +0000 (13:57 -0500)] 
draft a blurb, mostly stolen from 0.2.7.1-alpha

9 years agoSort changelog more.
Nick Mathewson [Tue, 2 Feb 2016 17:46:57 +0000 (12:46 -0500)] 
Sort changelog more.

9 years agoRe-run formatChangelog.py
Nick Mathewson [Tue, 2 Feb 2016 04:55:16 +0000 (23:55 -0500)] 
Re-run formatChangelog.py

9 years agoCombine a bunch of items/sections in the 0.2.8.1-alpha changelog
Nick Mathewson [Tue, 2 Feb 2016 04:54:38 +0000 (23:54 -0500)] 
Combine a bunch of items/sections in the 0.2.8.1-alpha changelog

9 years agoRewrap the changelog for 0281alpha
Nick Mathewson [Tue, 2 Feb 2016 04:29:06 +0000 (23:29 -0500)] 
Rewrap the changelog for 0281alpha

9 years agoRevise changelog sections likely to be mangled by formatter script
Nick Mathewson [Tue, 2 Feb 2016 04:28:39 +0000 (23:28 -0500)] 
Revise changelog sections likely to be mangled by formatter script

9 years agoUpdate ExitPolicy when interface addresses change
teor (Tim Wilson-Brown) [Tue, 2 Feb 2016 04:05:59 +0000 (15:05 +1100)] 
Update ExitPolicy when interface addresses change

Tor exit relays reject local interface addresses in their exit policy.

Make sure those policies are updated when interface addresses change.

9 years agouse sortChanges to fold changes files into changelog. No additional editing or format...
Nick Mathewson [Mon, 1 Feb 2016 21:56:20 +0000 (16:56 -0500)] 
use sortChanges to fold changes files into changelog. No additional editing or formatting yet.

9 years agoWe can't do subbullets in changes files
Nick Mathewson [Mon, 1 Feb 2016 21:49:06 +0000 (16:49 -0500)] 
We can't do subbullets in changes files

9 years agomention lintChanges.py in the coding standards
Nick Mathewson [Mon, 1 Feb 2016 21:47:47 +0000 (16:47 -0500)] 
mention lintChanges.py in the coding standards

9 years agoFix all the warnings from lintChanges.py
Nick Mathewson [Mon, 1 Feb 2016 21:46:29 +0000 (16:46 -0500)] 
Fix all the warnings from lintChanges.py

9 years agoWe don't include fixes for non-released bugs in the changelog
Nick Mathewson [Mon, 1 Feb 2016 21:06:55 +0000 (16:06 -0500)] 
We don't include fixes for non-released bugs in the changelog

9 years agoMerge branch 'maint-0.2.7'
Nick Mathewson [Mon, 1 Feb 2016 20:53:54 +0000 (15:53 -0500)] 
Merge branch 'maint-0.2.7'

9 years agoMake "lintchanges.py" pass on maint-0.2.7
Nick Mathewson [Mon, 1 Feb 2016 20:53:44 +0000 (15:53 -0500)] 
Make "lintchanges.py" pass on maint-0.2.7

9 years agoBitwise negate is ~, not !.
Nick Mathewson [Mon, 1 Feb 2016 18:12:58 +0000 (13:12 -0500)] 
Bitwise negate is ~, not !.

Spotted by coverity; bug in tests only, not in any released Tor.

This is CID 1351128

9 years agoFix warnings from check-spaces
Nick Mathewson [Mon, 1 Feb 2016 15:24:13 +0000 (10:24 -0500)] 
Fix warnings from check-spaces

9 years agoRedux: don't expect unix sockets to be accepted on windows
Nick Mathewson [Mon, 1 Feb 2016 15:21:11 +0000 (10:21 -0500)] 
Redux: don't expect unix sockets to be accepted on windows

9 years agoDon't expect unix sockets to be accepted on Windows
Nick Mathewson [Mon, 1 Feb 2016 14:57:54 +0000 (09:57 -0500)] 
Don't expect unix sockets to be accepted on Windows

Fixes failures in test_config.c; bug not in any released tor.

9 years agoMerge branch 'options_validate_second_round_cleaned'
Nick Mathewson [Mon, 1 Feb 2016 14:52:11 +0000 (09:52 -0500)] 
Merge branch 'options_validate_second_round_cleaned'

9 years agoReplace incorrect use of snprintf in unit tests with tor_snprintf
teor (Tim Wilson-Brown) [Sun, 31 Jan 2016 23:07:19 +0000 (10:07 +1100)] 
Replace incorrect use of snprintf in unit tests with tor_snprintf

This avoids a potential out of bounds write.

9 years agoMake all unit tests independent of log message order and count
teor (Tim Wilson-Brown) [Sun, 31 Jan 2016 23:02:04 +0000 (10:02 +1100)] 
Make all unit tests independent of log message order and count

9 years agoReport malformed options in options_validate unit tests
teor (Tim Wilson-Brown) [Thu, 28 Jan 2016 21:15:14 +0000 (08:15 +1100)] 
Report malformed options in options_validate unit tests

9 years agoAdd a helper to search for strings in the log, and change option tests to use this...
Ola Bini [Fri, 29 Jan 2016 16:38:54 +0000 (11:38 -0500)] 
Add a helper to search for strings in the log, and change option tests to use this helper instead of looking at specific indices in the log list

9 years agoMerge branch 'maint-0.2.7'
Nick Mathewson [Mon, 1 Feb 2016 14:41:45 +0000 (09:41 -0500)] 
Merge branch 'maint-0.2.7'

(We already had a fix for the address test freebsd issues)

9 years agoTry to fix address tests on FreeBSD
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.

9 years agoAdd unit tests for ClientUseIPv[4,6] and ClientPreferIPv6[OR,Dir]Port
teor (Tim Wilson-Brown) [Thu, 28 Jan 2016 22:12:07 +0000 (09:12 +1100)] 
Add unit tests for ClientUseIPv[4,6] and ClientPreferIPv6[OR,Dir]Port

9 years agoReport malformed options in options_validate unit tests
teor (Tim Wilson-Brown) [Thu, 28 Jan 2016 21:15:14 +0000 (08:15 +1100)] 
Report malformed options in options_validate unit tests