]>
git.ipfire.org Git - thirdparty/tor.git/log
teor (Tim Wilson-Brown) [Sat, 20 Feb 2016 09:04:01 +0000 (20:04 +1100)]
If both IPv4 and IPv6 addresses could be used, choose one correctly
If there is a node, use node_ipv6_or/dir_preferred().
If there is no node, use fascist_firewall_prefer_ipv6_or/dirport().
teor (Tim Wilson-Brown) [Sat, 20 Feb 2016 09:12:17 +0000 (20:12 +1100)]
Refactor IPV6_OR_LOOKUP into fascist_firewall_choose_address_rs
It's only used once now, so having it as a macro is unhelpful.
teor (Tim Wilson-Brown) [Sat, 20 Feb 2016 09:09:07 +0000 (20:09 +1100)]
Make some fascist_firewall_choose_address* functions static
teor (Tim Wilson-Brown) [Sat, 20 Feb 2016 08:32:33 +0000 (19:32 +1100)]
Refactor fascist_firewall_allows_address without changing behaviour
teor (Tim Wilson-Brown) [Sat, 20 Feb 2016 08:28:51 +0000 (19:28 +1100)]
Ensure relays must use IPv4, and can use IPv6
A mistake in previous refactoring had relays using IPv4 and IPv6.
Nick Mathewson [Tue, 16 Feb 2016 17:58:02 +0000 (12:58 -0500)]
Set or_ap/dir_ap.port on the invalid addr case. Bug in no released Tor. CID
1353178 and
1353179 .
Nick Mathewson [Tue, 16 Feb 2016 17:55:41 +0000 (12:55 -0500)]
Fix a NULL dereference on unit test failure. CID
1353177 .
Nick Mathewson [Tue, 16 Feb 2016 16:34:06 +0000 (11:34 -0500)]
Merge branch 'bug17852_revised'
Nick Mathewson [Tue, 16 Feb 2016 16:33:21 +0000 (11:33 -0500)]
changes file for bug17852
Jeremy [Tue, 8 Dec 2015 18:25:15 +0000 (13:25 -0500)]
Harden check_private_dir() to remove any potential race.
Remove any potential race between stat() and chmod().
Replace stat() with fstat().
Replace chmod() with fchmod()
Jeremy [Tue, 1 Dec 2015 20:41:03 +0000 (15:41 -0500)]
src/common/util.c:expand_filename() - Perhaps use GetFullPathName() as a form of input validation on the filename argument.
Nick Mathewson [Fri, 12 Feb 2016 03:06:44 +0000 (22:06 -0500)]
Fix all doxygen warnings other than "X is not documented"
Nick Mathewson [Thu, 11 Feb 2016 18:41:31 +0000 (13:41 -0500)]
Merge branch 'check_log_mutex_uncherrypicked'
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
Nick Mathewson [Thu, 11 Feb 2016 18:17:21 +0000 (13:17 -0500)]
Add another admonishment to WritingTests.md
Nick Mathewson [Thu, 11 Feb 2016 18:04:43 +0000 (13:04 -0500)]
Merge branch '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
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 [Thu, 11 Feb 2016 17:50:55 +0000 (12:50 -0500)]
make check-spaces
Nick Mathewson [Thu, 11 Feb 2016 17:45:51 +0000 (12:45 -0500)]
Merge branch 'feature17840-v11-tests_truncated'
Nick Mathewson [Thu, 11 Feb 2016 17:20:20 +0000 (12:20 -0500)]
Merge remote-tracking branch 'teor/feature17840-v11-merged-v2'
Nick Mathewson [Thu, 11 Feb 2016 17:15:12 +0000 (12:15 -0500)]
Rename circuit_about_to_free_{terminal -> atexit}
Nick Mathewson [Thu, 11 Feb 2016 17:13:02 +0000 (12:13 -0500)]
Split a long line
Nick Mathewson [Thu, 11 Feb 2016 17:12:02 +0000 (12:12 -0500)]
Merge remote-tracking branch 'weasel/bug18261'
Nick Mathewson [Wed, 10 Feb 2016 21:32:05 +0000 (16:32 -0500)]
Merge remote-tracking branch 'teor/bug18208'
Nick Mathewson [Wed, 10 Feb 2016 20:50:28 +0000 (15:50 -0500)]
Merge branch 'bug17682_squashed'
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.
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>
Nick Mathewson [Wed, 10 Feb 2016 20:42:11 +0000 (15:42 -0500)]
Merge remote-tracking branch 'andrea/bug18116'
Nick Mathewson [Wed, 10 Feb 2016 20:38:52 +0000 (15:38 -0500)]
Merge remote-tracking branch 'sebastian/bug18242'
Nick Mathewson [Wed, 10 Feb 2016 20:36:48 +0000 (15:36 -0500)]
Merge remote-tracking branch 'public/bug18184'
Nick Mathewson [Wed, 10 Feb 2016 20:08:50 +0000 (15:08 -0500)]
Make the callgraph module-aware
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
Andrea Shepard [Wed, 10 Feb 2016 02:20:59 +0000 (02:20 +0000)]
Appease make check-spaces
Nick Mathewson [Mon, 8 Feb 2016 13:35:43 +0000 (08:35 -0500)]
changes file for bug18051
Nick Mathewson [Mon, 8 Feb 2016 13:34:18 +0000 (08:34 -0500)]
Add missing consts; my fault.
Nick Mathewson [Mon, 8 Feb 2016 13:33:28 +0000 (08:33 -0500)]
Merge branch 'decorated_ipv6_directory_send_command_squashed'
Malek [Sat, 6 Feb 2016 21:30:49 +0000 (16:30 -0500)]
decorated ipv6 address for directory send command
Nick Mathewson [Mon, 8 Feb 2016 13:31:31 +0000 (08:31 -0500)]
fix wide lines, use more locals.
Harini Kannan [Sun, 7 Feb 2016 21:07:35 +0000 (16:07 -0500)]
Using router_get_my_routerinfo()
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.
Nick Mathewson [Sat, 6 Feb 2016 20:34:47 +0000 (15:34 -0500)]
Document port_out argument to tor_addr_from_sockaddr
Nick Mathewson [Sat, 6 Feb 2016 20:30:22 +0000 (15:30 -0500)]
Merge remote-tracking branch 'yawning/bug18221'
Nick Mathewson [Sat, 6 Feb 2016 20:08:49 +0000 (15:08 -0500)]
Merge remote-tracking branch 'alec/dead_code_removal'
Alec Heifetz [Sat, 6 Feb 2016 19:41:31 +0000 (14:41 -0500)]
Removed dead code in main.c
Nick Mathewson [Sat, 6 Feb 2016 19:12:48 +0000 (14:12 -0500)]
Credit the patch
Nick Mathewson [Sat, 6 Feb 2016 19:00:24 +0000 (14:00 -0500)]
Fix spaces.
Nick Mathewson [Sat, 6 Feb 2016 18:54:09 +0000 (13:54 -0500)]
Merge branch 'cleaned_aes_crypt'
Nick Mathewson [Sat, 6 Feb 2016 18:51:46 +0000 (13:51 -0500)]
changes file for bug 18258.
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.
Nick Mathewson [Sat, 6 Feb 2016 17:37:56 +0000 (12:37 -0500)]
add a changes file
Hassan Alsibyani [Sat, 6 Feb 2016 17:14:39 +0000 (12:14 -0500)]
changing output of crypto_cipher_crypt_inplace from int to void
Sebastian Hahn [Fri, 5 Feb 2016 13:40:07 +0000 (14:40 +0100)]
Fix the --disable-asserts-in-tests configure option
Nick Mathewson [Fri, 5 Feb 2016 13:13:47 +0000 (08:13 -0500)]
Merge branch '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
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
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
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
Nick Mathewson [Thu, 4 Feb 2016 23:24:20 +0000 (18:24 -0500)]
Bump to 0.2.8.1-alpha-dev
Nick Mathewson [Thu, 4 Feb 2016 23:23:01 +0000 (18:23 -0500)]
whoops, needs a release date.
Nick Mathewson [Thu, 4 Feb 2016 18:39:38 +0000 (13:39 -0500)]
Call them relays in the changelog, not servers.
Nick Mathewson [Thu, 4 Feb 2016 18:35:40 +0000 (13:35 -0500)]
Reflow a paragraph in the changelog
Nick Mathewson [Thu, 4 Feb 2016 18:25:20 +0000 (13:25 -0500)]
dgoulet found some typos in the changelog
Nick Mathewson [Thu, 4 Feb 2016 18:20:21 +0000 (13:20 -0500)]
Merge branch 'always_init_base'
Nick Mathewson [Thu, 4 Feb 2016 18:19:07 +0000 (13:19 -0500)]
Reflow the changelog again.
Nick Mathewson [Thu, 4 Feb 2016 18:18:49 +0000 (13:18 -0500)]
update the changelog more
Nick Mathewson [Thu, 4 Feb 2016 17:54:54 +0000 (12:54 -0500)]
whoops, add a changes file for 18242.
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.
Nick Mathewson [Thu, 4 Feb 2016 17:37:00 +0000 (12:37 -0500)]
Add an assertion to tor_libevent_get_base()
Closes ticket 18241.
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.
Nick Mathewson [Thu, 4 Feb 2016 15:07:06 +0000 (10:07 -0500)]
Bump version. (This is not yet the release.)
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 [Thu, 4 Feb 2016 01:24:00 +0000 (20:24 -0500)]
Revise some more changelog entries
Nick Mathewson [Wed, 3 Feb 2016 19:46:33 +0000 (14:46 -0500)]
Merge branch 'openssl_compat'
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.
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.
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.)
Nick Mathewson [Wed, 3 Feb 2016 14:19:05 +0000 (09:19 -0500)]
Start editing on the changelog entries
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.
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.
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.
Nick Mathewson [Tue, 2 Feb 2016 18:57:55 +0000 (13:57 -0500)]
draft a blurb, mostly stolen from 0.2.7.1-alpha
Nick Mathewson [Tue, 2 Feb 2016 17:46:57 +0000 (12:46 -0500)]
Sort changelog more.
Nick Mathewson [Tue, 2 Feb 2016 04:55:16 +0000 (23:55 -0500)]
Re-run formatChangelog.py
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
Nick Mathewson [Tue, 2 Feb 2016 04:29:06 +0000 (23:29 -0500)]
Rewrap the changelog for 0281alpha
Nick Mathewson [Tue, 2 Feb 2016 04:28:39 +0000 (23:28 -0500)]
Revise changelog sections likely to be mangled by formatter script
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.
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.
Nick Mathewson [Mon, 1 Feb 2016 21:49:06 +0000 (16:49 -0500)]
We can't do subbullets in changes files
Nick Mathewson [Mon, 1 Feb 2016 21:47:47 +0000 (16:47 -0500)]
mention lintChanges.py in the coding standards
Nick Mathewson [Mon, 1 Feb 2016 21:46:29 +0000 (16:46 -0500)]
Fix all the warnings from lintChanges.py
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
Nick Mathewson [Mon, 1 Feb 2016 20:53:54 +0000 (15:53 -0500)]
Merge branch '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
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