]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Thu, 23 Apr 2015 13:16:42 +0000 (09:16 -0400)]
Fix some conversion problems
Nick Mathewson [Thu, 23 Apr 2015 13:10:35 +0000 (09:10 -0400)]
Merge remote-tracking branch 'public/bug15745_027_03'
Nick Mathewson [Thu, 23 Apr 2015 13:09:33 +0000 (09:09 -0400)]
Merge branch 'feature15652_squashed'
Nick Mathewson [Thu, 23 Apr 2015 13:09:20 +0000 (09:09 -0400)]
Fix some implicit conversion warnings
Yawning Angel [Fri, 10 Apr 2015 11:25:08 +0000 (11:25 +0000)]
Use a custom Base64 encoder with more control over the output format.
Nick Mathewson [Thu, 23 Apr 2015 13:04:53 +0000 (09:04 -0400)]
Merge remote-tracking branch 'teor/bug-15771-reachability'
Nick Mathewson [Thu, 23 Apr 2015 13:02:55 +0000 (09:02 -0400)]
Merge remote-tracking branch 'yawning/bug15759'
teor [Wed, 22 Apr 2015 13:54:21 +0000 (23:54 +1000)]
Reachability should check ExtendAllowPrivateAddresses not TestingTorNetwork
When self-testing reachability, use ExtendAllowPrivateAddresses
to determine if local/private addresses imply reachability.
The previous fix used TestingTorNetwork, which implies
ExtendAllowPrivateAddresses, but this excluded rare configs where
ExtendAllowPrivateAddresses is set but TestingTorNetwork is not.
Fixes bug 15771; bugfix on 0.2.6.1-alpha, bug #13924.
Patch by "teor", issue discovered by CJ Ess.
Nick Mathewson [Wed, 22 Apr 2015 13:49:23 +0000 (09:49 -0400)]
New email for Lukas Fleischer
Yawning Angel [Tue, 21 Apr 2015 16:42:07 +0000 (16:42 +0000)]
Use correct severity in the get_if_addrs tests.
Nick Mathewson [Tue, 21 Apr 2015 15:41:31 +0000 (11:41 -0400)]
Add test for random-int-in-range
Nick Mathewson [Tue, 21 Apr 2015 15:30:21 +0000 (11:30 -0400)]
Make the crypto_rand_int_range return value right-exclusive.
David Goulet [Tue, 21 Apr 2015 14:17:12 +0000 (10:17 -0400)]
Add crypto_rand_int_range() and use it
Incidently, this fixes a bug where the maximum value was never used when
only using crypto_rand_int(). For instance this example below in
rendservice.c never gets to INTRO_POINT_LIFETIME_MAX_SECONDS.
int intro_point_lifetime_seconds =
INTRO_POINT_LIFETIME_MIN_SECONDS +
crypto_rand_int(INTRO_POINT_LIFETIME_MAX_SECONDS -
INTRO_POINT_LIFETIME_MIN_SECONDS);
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
David Goulet [Mon, 20 Apr 2015 19:51:06 +0000 (15:51 -0400)]
Use a random count of INTRODUCE2 for IP rotation
An introduction point is currently rotated when the amount of INTRODUCE2
cells reached a fixed value of 16384. This makes it pretty easy for an
attacker to inflate that number and observe when the IP rotates which leaks
the popularity of the HS (amount of client that passed through the IP).
This commit makes it a random count between the current value of 16384 and
two times that.
Fixes #15745
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Thu, 16 Apr 2015 15:17:16 +0000 (11:17 -0400)]
code style fixes
Nick Mathewson [Thu, 16 Apr 2015 15:16:20 +0000 (11:16 -0400)]
Fix missing-initializer warning
Nick Mathewson [Thu, 16 Apr 2015 15:15:29 +0000 (11:15 -0400)]
Merge remote-tracking branch 'arma/ticket8766'
Nick Mathewson [Wed, 15 Apr 2015 15:05:09 +0000 (11:05 -0400)]
Fix indentation on a block
Nick Mathewson [Wed, 15 Apr 2015 15:04:17 +0000 (11:04 -0400)]
Remove spurious warn
Nick Mathewson [Wed, 15 Apr 2015 15:10:37 +0000 (11:10 -0400)]
Merge remote-tracking branch 'sebastian/bug14784'
Nick Mathewson [Wed, 15 Apr 2015 14:38:12 +0000 (10:38 -0400)]
Fix another space issue
Nick Mathewson [Wed, 15 Apr 2015 14:37:55 +0000 (10:37 -0400)]
Merge remote-tracking branch 'teor/fix-spaces-
20150415 '
Nick Mathewson [Wed, 15 Apr 2015 14:34:19 +0000 (10:34 -0400)]
changes file for 14391
Nick Mathewson [Wed, 15 Apr 2015 14:33:04 +0000 (10:33 -0400)]
Merge remote-tracking branch 'dgoulet/bug14391_026_v2'
Nick Mathewson [Wed, 15 Apr 2015 13:40:27 +0000 (09:40 -0400)]
chagnes file for 15542
cypherpunks [Fri, 10 Apr 2015 14:10:44 +0000 (16:10 +0200)]
Make --hash-password imply --hush to prevent unnecessary noise.
teor [Wed, 15 Apr 2015 09:42:41 +0000 (19:42 +1000)]
Fix spaces in crypto.h and test-memwipe.c
Yawning Angel [Fri, 10 Apr 2015 18:13:34 +0000 (18:13 +0000)]
Disable the udp_socket_trick_blackbox tests that fail due to #12377
Till someone writes get_interface_address6 interface enumeration that is
routing table aware, these tests will continue to fail on certain
systems because the get_interface_address6() code is broken.
Yawning Angel [Fri, 10 Apr 2015 09:12:47 +0000 (09:12 +0000)]
Remove `USE_OPENSSL_BASE64` and the associated code.
The alternative has been available since 2007, there's no way to
actually enable the ifdef, and it breaks on well formed but not OpenSSL
style inputs.
Nick Mathewson [Thu, 9 Apr 2015 15:57:55 +0000 (11:57 -0400)]
Collect badness values in ntor_ref.py; don't just clobber.
Fixes bug 15591; patch from joelanders
Roger Dingledine [Wed, 8 Apr 2015 17:44:56 +0000 (13:44 -0400)]
update url in HACKING file
Nick Mathewson [Tue, 7 Apr 2015 19:15:54 +0000 (15:15 -0400)]
Merge branch 'bug15604_squashed'
rl1987 [Mon, 6 Apr 2015 17:09:34 +0000 (20:09 +0300)]
Set ConnDirectionStatistics back to 0 if not running as relay.
Nick Mathewson [Tue, 7 Apr 2015 18:09:55 +0000 (14:09 -0400)]
Merge branch 'bug15541_squashed'
rl1987 [Mon, 6 Apr 2015 19:05:27 +0000 (22:05 +0300)]
Update other entries in CMDLINE_ONLY_OPTIONS to use values from takes_argument_t.
rl1987 [Mon, 6 Apr 2015 18:36:55 +0000 (21:36 +0300)]
Print the error message for --dump-config even if no arguments are given.
Nick Mathewson [Tue, 7 Apr 2015 18:05:52 +0000 (14:05 -0400)]
Merge branch 'doc15550_squashed'
rl1987 [Mon, 6 Apr 2015 16:18:35 +0000 (19:18 +0300)]
Improve descriptions of statistics-related torrc options.
Nick Mathewson [Tue, 7 Apr 2015 11:40:46 +0000 (07:40 -0400)]
Add lukas to doc/HACKING pakager list
rl1987 [Mon, 6 Apr 2015 18:01:43 +0000 (21:01 +0300)]
Fix error message in do_dump_config().
Yawning Angel [Mon, 6 Apr 2015 17:53:01 +0000 (17:53 +0000)]
Fix the memory leak in `warn_if_option_path_is_relative()`.
Fixes coverity defect CID
1293337 , not in any released version of tor.
Nick Mathewson [Mon, 6 Apr 2015 14:03:51 +0000 (10:03 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Mon, 6 Apr 2015 14:01:16 +0000 (10:01 -0400)]
bump version to 0.2.6.7-dev
Nick Mathewson [Mon, 6 Apr 2015 14:01:44 +0000 (10:01 -0400)]
Forward-port today's changelogs and release notes
Nick Mathewson [Mon, 6 Apr 2015 14:00:30 +0000 (10:00 -0400)]
bump version to 0.2.6.7
Nick Mathewson [Mon, 6 Apr 2015 13:59:06 +0000 (09:59 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 6 Apr 2015 13:56:37 +0000 (09:56 -0400)]
bump 0.2.5 version to 0.2.5.12
Nick Mathewson [Mon, 6 Apr 2015 13:55:44 +0000 (09:55 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 6 Apr 2015 13:48:53 +0000 (09:48 -0400)]
Bump 0.2.4 version more places
Nick Mathewson [Mon, 6 Apr 2015 13:41:59 +0000 (09:41 -0400)]
Bump 0.2.4 version
Nick Mathewson [Mon, 6 Apr 2015 13:26:28 +0000 (09:26 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Mon, 6 Apr 2015 13:26:16 +0000 (09:26 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 6 Apr 2015 13:25:37 +0000 (09:25 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 6 Apr 2015 13:24:16 +0000 (09:24 -0400)]
Changes file for bug15601
Yawning Angel [Thu, 2 Apr 2015 12:42:06 +0000 (12:42 +0000)]
Handle empty/zero length encoded intro points more gracefully.
In theory these should never the triggered as the only caller now
validates the parameters before this routine gets called.
Yawning Angel [Thu, 2 Apr 2015 12:36:19 +0000 (12:36 +0000)]
Treat empty introduction points sections as missing.
Found by DonnchaC.
Yawning Angel [Mon, 30 Mar 2015 21:53:39 +0000 (21:53 +0000)]
Validate the RSA key size received when parsing INTRODUCE2 cells.
Fixes bug 15600; reported by skruffy
Nick Mathewson [Fri, 3 Apr 2015 13:47:57 +0000 (09:47 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6'
George Kadianakis [Thu, 2 Apr 2015 14:58:33 +0000 (15:58 +0100)]
Decrease the amount of rend circ relaunches for hidden services.
George Kadianakis [Thu, 2 Apr 2015 12:38:52 +0000 (13:38 +0100)]
... and if we do get multiple INTRODUCE1s on a circuit, kill the circuit
(Sending a nak would be pointless.)
See ticket 15515 for discussion.
Nick Mathewson [Fri, 3 Apr 2015 13:40:16 +0000 (09:40 -0400)]
Nick Mathewson [Fri, 3 Apr 2015 13:39:19 +0000 (09:39 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 3 Apr 2015 13:38:54 +0000 (09:38 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Fri, 3 Apr 2015 13:36:59 +0000 (09:36 -0400)]
Merge branch 'bug15515_024' into maint-0.2.4
George Kadianakis [Thu, 2 Apr 2015 12:38:52 +0000 (13:38 +0100)]
... and if we do get multiple INTRODUCE1s on a circuit, kill the circuit
(Sending a nak would be pointless.)
See ticket 15515 for discussion.
George Kadianakis [Wed, 1 Apr 2015 13:33:09 +0000 (14:33 +0100)]
Block multiple introductions on the same intro circuit.
Yawning Angel [Thu, 2 Apr 2015 03:25:51 +0000 (03:25 +0000)]
Fix the windows test failure caused by the #15435 changes.
Sebastian Hahn [Wed, 1 Apr 2015 19:08:24 +0000 (21:08 +0200)]
Update entrynodes unit test for dirs
We no longer base our opinion on whether someone is a directory solely
on the routerstatus we might have for that relay, but also on a
routerinfo. Remove logic in test checking that. This broke unit tests in
05f7336624d6a47b3cf0f .
Reported by toralf on #tor-dev, thanks!
Sebastian Hahn [Wed, 1 Apr 2015 19:07:46 +0000 (21:07 +0200)]
Bridges are always dirs
This check was accidentally deleted in
05f7336624d6a47b3cf0fe82 .
Nick Mathewson [Wed, 1 Apr 2015 18:20:01 +0000 (14:20 -0400)]
mark dirinfo_type as unused in populate_live_entry_guards
Nick Mathewson [Wed, 1 Apr 2015 18:02:02 +0000 (14:02 -0400)]
Merge remote-tracking branch 'public/remove_old_version_checks'
Nick Mathewson [Wed, 1 Apr 2015 17:53:03 +0000 (13:53 -0400)]
Merge branch 'remove_digests'
Nick Mathewson [Wed, 1 Apr 2015 17:46:50 +0000 (13:46 -0400)]
Merge branch 'bug13736'
Nick Mathewson [Wed, 1 Apr 2015 17:44:35 +0000 (13:44 -0400)]
Remove now-needless AC_PATH_PROG checks from configure.ac
Nick Mathewson [Wed, 1 Apr 2015 17:41:15 +0000 (13:41 -0400)]
Remove dynamicdhgroups from the manpage
Nick Mathewson [Wed, 1 Apr 2015 17:40:37 +0000 (13:40 -0400)]
Unindent a block in crypto_set_tls_dh_prime
Nick Mathewson [Wed, 1 Apr 2015 17:37:44 +0000 (13:37 -0400)]
Remove needless call to crypto_set_tls_dh_prime()
Nick Mathewson [Wed, 1 Apr 2015 17:34:14 +0000 (13:34 -0400)]
Merge remote-tracking branch 'yawning/feature15435'
Nick Mathewson [Wed, 1 Apr 2015 16:59:19 +0000 (12:59 -0400)]
Merge remote-tracking branch 'public/bug15515_025'
George Kadianakis [Wed, 1 Apr 2015 13:33:09 +0000 (14:33 +0100)]
Block multiple introductions on the same intro circuit.
Nick Mathewson [Wed, 1 Apr 2015 16:52:00 +0000 (12:52 -0400)]
add changes file for 15296.
Nick Mathewson [Wed, 1 Apr 2015 16:50:36 +0000 (12:50 -0400)]
Merge remote-tracking branch 'dgoulet/bug15296_027_01'
Nick Mathewson [Wed, 1 Apr 2015 16:47:16 +0000 (12:47 -0400)]
Merge remote-tracking branch 'yawning/feature15471'
Nick Mathewson [Wed, 1 Apr 2015 13:54:20 +0000 (09:54 -0400)]
Drop support for --digests
This is a fair amount of maintainance burden, and doesn't help much
more than the git microversion.
Closes ticket 14742.
rl1987 [Tue, 31 Mar 2015 18:19:26 +0000 (21:19 +0300)]
Fix ReleaseNotes so that entries about docs are in Documentation section.
Nick Mathewson [Tue, 31 Mar 2015 19:56:52 +0000 (15:56 -0400)]
work around lack of AF_CCITT
Nick Mathewson [Tue, 31 Mar 2015 18:57:04 +0000 (14:57 -0400)]
Merge remote-tracking branch 'teor/ticket15431-event-mask-tests'
Nick Mathewson [Tue, 31 Mar 2015 18:42:01 +0000 (14:42 -0400)]
fix some compilation warnings
Nick Mathewson [Tue, 31 Mar 2015 18:37:09 +0000 (14:37 -0400)]
Merge branch 'ticket14710_squashed'
rl1987 [Sun, 22 Mar 2015 14:04:46 +0000 (16:04 +0200)]
Changes file for 14710.
rl1987 [Sun, 22 Mar 2015 13:22:02 +0000 (15:22 +0200)]
Use tor_inet_pton() (not inet_pton()) in testcases.
rl1987 [Tue, 17 Mar 2015 19:23:12 +0000 (21:23 +0200)]
Remove unused function.
rl1987 [Sun, 15 Mar 2015 13:32:16 +0000 (15:32 +0200)]
IPv6 case for whitebox test.
rl1987 [Sat, 14 Mar 2015 18:20:50 +0000 (20:20 +0200)]
Whitebox test for get_interface_address6_via_udp_socket_hack().
Also, fix some whitespace mishaps.
rl1987 [Tue, 24 Feb 2015 19:17:37 +0000 (21:17 +0200)]
Skipping the AF_INET6 case because bug #12377 makes it fail.
rl1987 [Sun, 22 Feb 2015 15:34:00 +0000 (17:34 +0200)]
Bugfix: we don't want loopback/multicastaddress from _hack().
rl1987 [Sun, 22 Feb 2015 15:04:22 +0000 (17:04 +0200)]
Rework the black box test, like Yawning and nickm suggested.
rl1987 [Sun, 25 Jan 2015 11:58:21 +0000 (13:58 +0200)]
Black box test for get_interface_address6_via_udp_socket_hack().
rl1987 [Mon, 5 Jan 2015 20:12:46 +0000 (22:12 +0200)]
Moving the hacky part of get_interface_address6() into separate function.
Yawning Angel [Thu, 26 Mar 2015 14:56:14 +0000 (14:56 +0000)]
Use prctl() to have the kernel SIGTERM background processes on exit.
This uses a Linux-ism to attempt to always clean up background processes
if possible. Note that it is not a catch-all, in that executables with
suid/sgid or elevated capabilities will have the prctl() attribute
stripped as part of the execve().
Resolves ticket 15471.