]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
10 years agoFix some conversion problems
Nick Mathewson [Thu, 23 Apr 2015 13:16:42 +0000 (09:16 -0400)] 
Fix some conversion problems

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

10 years agoMerge branch 'feature15652_squashed'
Nick Mathewson [Thu, 23 Apr 2015 13:09:33 +0000 (09:09 -0400)] 
Merge branch 'feature15652_squashed'

10 years agoFix some implicit conversion warnings
Nick Mathewson [Thu, 23 Apr 2015 13:09:20 +0000 (09:09 -0400)] 
Fix some implicit conversion warnings

10 years agoUse a custom Base64 encoder with more control over the output format.
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.

10 years agoMerge remote-tracking branch 'teor/bug-15771-reachability'
Nick Mathewson [Thu, 23 Apr 2015 13:04:53 +0000 (09:04 -0400)] 
Merge remote-tracking branch 'teor/bug-15771-reachability'

10 years agoMerge remote-tracking branch 'yawning/bug15759'
Nick Mathewson [Thu, 23 Apr 2015 13:02:55 +0000 (09:02 -0400)] 
Merge remote-tracking branch 'yawning/bug15759'

10 years agoReachability should check ExtendAllowPrivateAddresses not TestingTorNetwork
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.

10 years agoNew email for Lukas Fleischer
Nick Mathewson [Wed, 22 Apr 2015 13:49:23 +0000 (09:49 -0400)] 
New email for Lukas Fleischer

10 years agoUse correct severity in the get_if_addrs tests.
Yawning Angel [Tue, 21 Apr 2015 16:42:07 +0000 (16:42 +0000)] 
Use correct severity in the get_if_addrs tests.

10 years agoAdd test for random-int-in-range
Nick Mathewson [Tue, 21 Apr 2015 15:41:31 +0000 (11:41 -0400)] 
Add test for random-int-in-range

10 years agoMake the crypto_rand_int_range return value right-exclusive.
Nick Mathewson [Tue, 21 Apr 2015 15:30:21 +0000 (11:30 -0400)] 
Make the crypto_rand_int_range return value right-exclusive.

10 years agoAdd crypto_rand_int_range() and use it
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>
10 years agoUse a random count of INTRODUCE2 for IP rotation
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>
10 years agocode style fixes
Nick Mathewson [Thu, 16 Apr 2015 15:17:16 +0000 (11:17 -0400)] 
code style fixes

10 years agoFix missing-initializer warning
Nick Mathewson [Thu, 16 Apr 2015 15:16:20 +0000 (11:16 -0400)] 
Fix missing-initializer warning

10 years agoMerge remote-tracking branch 'arma/ticket8766'
Nick Mathewson [Thu, 16 Apr 2015 15:15:29 +0000 (11:15 -0400)] 
Merge remote-tracking branch 'arma/ticket8766'

10 years agoFix indentation on a block
Nick Mathewson [Wed, 15 Apr 2015 15:05:09 +0000 (11:05 -0400)] 
Fix indentation on a block

10 years agoRemove spurious warn
Nick Mathewson [Wed, 15 Apr 2015 15:04:17 +0000 (11:04 -0400)] 
Remove spurious warn

10 years agoMerge remote-tracking branch 'sebastian/bug14784'
Nick Mathewson [Wed, 15 Apr 2015 15:10:37 +0000 (11:10 -0400)] 
Merge remote-tracking branch 'sebastian/bug14784'

10 years agoFix another space issue
Nick Mathewson [Wed, 15 Apr 2015 14:38:12 +0000 (10:38 -0400)] 
Fix another space issue

10 years agoMerge remote-tracking branch 'teor/fix-spaces-20150415'
Nick Mathewson [Wed, 15 Apr 2015 14:37:55 +0000 (10:37 -0400)] 
Merge remote-tracking branch 'teor/fix-spaces-20150415'

10 years agochanges file for 14391
Nick Mathewson [Wed, 15 Apr 2015 14:34:19 +0000 (10:34 -0400)] 
changes file for 14391

10 years agoMerge remote-tracking branch 'dgoulet/bug14391_026_v2'
Nick Mathewson [Wed, 15 Apr 2015 14:33:04 +0000 (10:33 -0400)] 
Merge remote-tracking branch 'dgoulet/bug14391_026_v2'

10 years agochagnes file for 15542
Nick Mathewson [Wed, 15 Apr 2015 13:40:27 +0000 (09:40 -0400)] 
chagnes file for 15542

10 years agoMake --hash-password imply --hush to prevent unnecessary noise.
cypherpunks [Fri, 10 Apr 2015 14:10:44 +0000 (16:10 +0200)] 
Make --hash-password imply --hush to prevent unnecessary noise.

10 years agoFix spaces in crypto.h and test-memwipe.c
teor [Wed, 15 Apr 2015 09:42:41 +0000 (19:42 +1000)] 
Fix spaces in crypto.h and test-memwipe.c

10 years agoDisable the udp_socket_trick_blackbox tests that fail due to #12377
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.

10 years agoRemove `USE_OPENSSL_BASE64` and the associated code.
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.

10 years agoCollect badness values in ntor_ref.py; don't just clobber.
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

10 years agoupdate url in HACKING file
Roger Dingledine [Wed, 8 Apr 2015 17:44:56 +0000 (13:44 -0400)] 
update url in HACKING file

10 years agoMerge branch 'bug15604_squashed'
Nick Mathewson [Tue, 7 Apr 2015 19:15:54 +0000 (15:15 -0400)] 
Merge branch 'bug15604_squashed'

10 years agoSet ConnDirectionStatistics back to 0 if not running as relay.
rl1987 [Mon, 6 Apr 2015 17:09:34 +0000 (20:09 +0300)] 
Set ConnDirectionStatistics back to 0 if not running as relay.

10 years agoMerge branch 'bug15541_squashed'
Nick Mathewson [Tue, 7 Apr 2015 18:09:55 +0000 (14:09 -0400)] 
Merge branch 'bug15541_squashed'

10 years agoUpdate other entries in CMDLINE_ONLY_OPTIONS to use values from takes_argument_t.
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.

10 years agoPrint the error message for --dump-config even if no arguments are given.
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.

10 years agoMerge branch 'doc15550_squashed'
Nick Mathewson [Tue, 7 Apr 2015 18:05:52 +0000 (14:05 -0400)] 
Merge branch 'doc15550_squashed'

10 years agoImprove descriptions of statistics-related torrc options.
rl1987 [Mon, 6 Apr 2015 16:18:35 +0000 (19:18 +0300)] 
Improve descriptions of statistics-related torrc options.

10 years agoAdd lukas to doc/HACKING pakager list
Nick Mathewson [Tue, 7 Apr 2015 11:40:46 +0000 (07:40 -0400)] 
Add lukas to doc/HACKING pakager list

10 years agoFix error message in do_dump_config().
rl1987 [Mon, 6 Apr 2015 18:01:43 +0000 (21:01 +0300)] 
Fix error message in do_dump_config().

10 years agoFix the memory leak in `warn_if_option_path_is_relative()`.
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.

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

10 years agobump version to 0.2.6.7-dev
Nick Mathewson [Mon, 6 Apr 2015 14:01:16 +0000 (10:01 -0400)] 
bump version to 0.2.6.7-dev

10 years agoForward-port today's changelogs and release notes
Nick Mathewson [Mon, 6 Apr 2015 14:01:44 +0000 (10:01 -0400)] 
Forward-port today's changelogs and release notes

10 years agobump version to 0.2.6.7
Nick Mathewson [Mon, 6 Apr 2015 14:00:30 +0000 (10:00 -0400)] 
bump version to 0.2.6.7

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
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

10 years agobump 0.2.5 version to 0.2.5.12
Nick Mathewson [Mon, 6 Apr 2015 13:56:37 +0000 (09:56 -0400)] 
bump 0.2.5 version to 0.2.5.12

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
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

10 years agoBump 0.2.4 version more places
Nick Mathewson [Mon, 6 Apr 2015 13:48:53 +0000 (09:48 -0400)] 
Bump 0.2.4 version more places

10 years agoBump 0.2.4 version
Nick Mathewson [Mon, 6 Apr 2015 13:41:59 +0000 (09:41 -0400)] 
Bump 0.2.4 version

10 years agoMerge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Mon, 6 Apr 2015 13:26:28 +0000 (09:26 -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, 6 Apr 2015 13:26:16 +0000 (09:26 -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, 6 Apr 2015 13:25:37 +0000 (09:25 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5

10 years agoChanges file for bug15601
Nick Mathewson [Mon, 6 Apr 2015 13:24:16 +0000 (09:24 -0400)] 
Changes file for bug15601

10 years agoHandle empty/zero length encoded intro points more gracefully.
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.

10 years agoTreat empty introduction points sections as missing.
Yawning Angel [Thu, 2 Apr 2015 12:36:19 +0000 (12:36 +0000)] 
Treat empty introduction points sections as missing.

Found by DonnchaC.

10 years agoValidate the RSA key size received when parsing INTRODUCE2 cells.
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

10 years agoMerge remote-tracking branch 'origin/maint-0.2.6'
Nick Mathewson [Fri, 3 Apr 2015 13:47:57 +0000 (09:47 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.6'

10 years agoDecrease the amount of rend circ relaunches for hidden services.
George Kadianakis [Thu, 2 Apr 2015 14:58:33 +0000 (15:58 +0100)] 
Decrease the amount of rend circ relaunches for hidden services.

10 years ago... and if we do get multiple INTRODUCE1s on a circuit, kill the circuit
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.

10 years agoMerge commit 'c1b36488e9c318fc414220e8549624b423560ad2'
Nick Mathewson [Fri, 3 Apr 2015 13:40:16 +0000 (09:40 -0400)] 
Merge commit 'c1b36488e9c318fc414220e8549624b423560ad2'

10 years agoMerge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
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

10 years agoMerge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
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

10 years agoMerge branch 'bug15515_024' into maint-0.2.4
Nick Mathewson [Fri, 3 Apr 2015 13:36:59 +0000 (09:36 -0400)] 
Merge branch 'bug15515_024' into maint-0.2.4

10 years ago... and if we do get multiple INTRODUCE1s on a circuit, kill the circuit
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.

10 years agoBlock multiple introductions on the same intro circuit.
George Kadianakis [Wed, 1 Apr 2015 13:33:09 +0000 (14:33 +0100)] 
Block multiple introductions on the same intro circuit.

10 years agoFix the windows test failure caused by the #15435 changes.
Yawning Angel [Thu, 2 Apr 2015 03:25:51 +0000 (03:25 +0000)] 
Fix the windows test failure caused by the #15435 changes.

10 years agoUpdate entrynodes unit test for dirs
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!

10 years agoBridges are always dirs
Sebastian Hahn [Wed, 1 Apr 2015 19:07:46 +0000 (21:07 +0200)] 
Bridges are always dirs

This check was accidentally deleted in 05f7336624d6a47b3cf0fe82.

10 years agomark dirinfo_type as unused in populate_live_entry_guards
Nick Mathewson [Wed, 1 Apr 2015 18:20:01 +0000 (14:20 -0400)] 
mark dirinfo_type as unused in populate_live_entry_guards

10 years agoMerge remote-tracking branch 'public/remove_old_version_checks'
Nick Mathewson [Wed, 1 Apr 2015 18:02:02 +0000 (14:02 -0400)] 
Merge remote-tracking branch 'public/remove_old_version_checks'

10 years agoMerge branch 'remove_digests'
Nick Mathewson [Wed, 1 Apr 2015 17:53:03 +0000 (13:53 -0400)] 
Merge branch 'remove_digests'

10 years agoMerge branch 'bug13736'
Nick Mathewson [Wed, 1 Apr 2015 17:46:50 +0000 (13:46 -0400)] 
Merge branch 'bug13736'

10 years agoRemove now-needless AC_PATH_PROG checks from configure.ac
Nick Mathewson [Wed, 1 Apr 2015 17:44:35 +0000 (13:44 -0400)] 
Remove now-needless AC_PATH_PROG checks from configure.ac

10 years agoRemove dynamicdhgroups from the manpage
Nick Mathewson [Wed, 1 Apr 2015 17:41:15 +0000 (13:41 -0400)] 
Remove dynamicdhgroups from the manpage

10 years agoUnindent a block in crypto_set_tls_dh_prime
Nick Mathewson [Wed, 1 Apr 2015 17:40:37 +0000 (13:40 -0400)] 
Unindent a block in crypto_set_tls_dh_prime

10 years agoRemove needless call to 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()

10 years agoMerge remote-tracking branch 'yawning/feature15435'
Nick Mathewson [Wed, 1 Apr 2015 17:34:14 +0000 (13:34 -0400)] 
Merge remote-tracking branch 'yawning/feature15435'

10 years agoMerge remote-tracking branch 'public/bug15515_025'
Nick Mathewson [Wed, 1 Apr 2015 16:59:19 +0000 (12:59 -0400)] 
Merge remote-tracking branch 'public/bug15515_025'

10 years agoBlock multiple introductions on the same intro circuit.
George Kadianakis [Wed, 1 Apr 2015 13:33:09 +0000 (14:33 +0100)] 
Block multiple introductions on the same intro circuit.

10 years agoadd changes file for 15296.
Nick Mathewson [Wed, 1 Apr 2015 16:52:00 +0000 (12:52 -0400)] 
add changes file for 15296.

10 years agoMerge remote-tracking branch 'dgoulet/bug15296_027_01'
Nick Mathewson [Wed, 1 Apr 2015 16:50:36 +0000 (12:50 -0400)] 
Merge remote-tracking branch 'dgoulet/bug15296_027_01'

10 years agoMerge remote-tracking branch 'yawning/feature15471'
Nick Mathewson [Wed, 1 Apr 2015 16:47:16 +0000 (12:47 -0400)] 
Merge remote-tracking branch 'yawning/feature15471'

10 years agoDrop support for --digests
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.

10 years agoFix ReleaseNotes so that entries about docs are in Documentation section.
rl1987 [Tue, 31 Mar 2015 18:19:26 +0000 (21:19 +0300)] 
Fix ReleaseNotes so that entries about docs are in Documentation section.

10 years agowork around lack of AF_CCITT
Nick Mathewson [Tue, 31 Mar 2015 19:56:52 +0000 (15:56 -0400)] 
work around lack of AF_CCITT

10 years agoMerge remote-tracking branch 'teor/ticket15431-event-mask-tests'
Nick Mathewson [Tue, 31 Mar 2015 18:57:04 +0000 (14:57 -0400)] 
Merge remote-tracking branch 'teor/ticket15431-event-mask-tests'

10 years agofix some compilation warnings
Nick Mathewson [Tue, 31 Mar 2015 18:42:01 +0000 (14:42 -0400)] 
fix some compilation warnings

10 years agoMerge branch 'ticket14710_squashed'
Nick Mathewson [Tue, 31 Mar 2015 18:37:09 +0000 (14:37 -0400)] 
Merge branch 'ticket14710_squashed'

10 years agoChanges file for 14710.
rl1987 [Sun, 22 Mar 2015 14:04:46 +0000 (16:04 +0200)] 
Changes file for 14710.

10 years agoUse tor_inet_pton() (not inet_pton()) in testcases.
rl1987 [Sun, 22 Mar 2015 13:22:02 +0000 (15:22 +0200)] 
Use tor_inet_pton() (not inet_pton()) in testcases.

10 years agoRemove unused function.
rl1987 [Tue, 17 Mar 2015 19:23:12 +0000 (21:23 +0200)] 
Remove unused function.

10 years agoIPv6 case for whitebox test.
rl1987 [Sun, 15 Mar 2015 13:32:16 +0000 (15:32 +0200)] 
IPv6 case for whitebox test.

10 years agoWhitebox test for get_interface_address6_via_udp_socket_hack().
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.

10 years agoSkipping the AF_INET6 case because bug #12377 makes it fail.
rl1987 [Tue, 24 Feb 2015 19:17:37 +0000 (21:17 +0200)] 
Skipping the AF_INET6 case because bug #12377 makes it fail.

10 years agoBugfix: we don't want loopback/multicastaddress from _hack().
rl1987 [Sun, 22 Feb 2015 15:34:00 +0000 (17:34 +0200)] 
Bugfix: we don't want loopback/multicastaddress from _hack().

10 years agoRework the black box test, like Yawning and nickm suggested.
rl1987 [Sun, 22 Feb 2015 15:04:22 +0000 (17:04 +0200)] 
Rework the black box test, like Yawning and nickm suggested.

10 years agoBlack box test for get_interface_address6_via_udp_socket_hack().
rl1987 [Sun, 25 Jan 2015 11:58:21 +0000 (13:58 +0200)] 
Black box test for get_interface_address6_via_udp_socket_hack().

10 years agoMoving the hacky part of get_interface_address6() into separate function.
rl1987 [Mon, 5 Jan 2015 20:12:46 +0000 (22:12 +0200)] 
Moving the hacky part of get_interface_address6() into separate function.

10 years agoUse prctl() to have the kernel SIGTERM background processes on exit.
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.