]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Mon, 2 Feb 2015 21:31:32 +0000 (16:31 -0500)]
Merge remote-tracking branch 'public/bug9635_warnings_025'
Conflicts:
src/test/test.c
Nick Mathewson [Mon, 2 Feb 2015 19:37:02 +0000 (14:37 -0500)]
tweak based on comments from dgoulet
Nick Mathewson [Mon, 2 Feb 2015 19:38:47 +0000 (14:38 -0500)]
Merge branch 'feature13865_test'
rl1987 [Mon, 2 Feb 2015 19:11:23 +0000 (21:11 +0200)]
Test for 13865.
Nick Mathewson [Mon, 2 Feb 2015 19:14:35 +0000 (14:14 -0500)]
Add more parenthesis to the definition of ARRAY_LENGTH
Nick Mathewson [Mon, 2 Feb 2015 18:35:44 +0000 (13:35 -0500)]
Fix an unused-variable warning.
Nick Mathewson [Mon, 2 Feb 2015 18:32:53 +0000 (13:32 -0500)]
Merge branch 'feature13864_squashed'
rl1987 [Mon, 26 Jan 2015 19:33:19 +0000 (21:33 +0200)]
Updating manpage for 13865.
rl1987 [Mon, 26 Jan 2015 19:23:42 +0000 (21:23 +0200)]
Changes file for 13865.
rl1987 [Sun, 25 Jan 2015 14:42:42 +0000 (16:42 +0200)]
Allow reading torrc from stdin.
Nick Mathewson [Mon, 2 Feb 2015 15:25:25 +0000 (10:25 -0500)]
Merge remote-tracking branch 'public/bug13319'
Nick Mathewson [Mon, 2 Feb 2015 15:23:52 +0000 (10:23 -0500)]
Merge remote-tracking branch 'sysrqb/bug14216_bad_since'
Nick Mathewson [Mon, 2 Feb 2015 15:16:48 +0000 (10:16 -0500)]
Merge remote-tracking branch 'dgoulet/bug14202_026_v1'
Nick Mathewson [Mon, 2 Feb 2015 15:15:26 +0000 (10:15 -0500)]
Merge remote-tracking branch 'public/14188_part1'
rl1987 [Sun, 1 Feb 2015 17:52:54 +0000 (19:52 +0200)]
Updating OpenBSD section of doc/TUNING.
Matthew Finkel [Sat, 31 Jan 2015 09:34:24 +0000 (09:34 +0000)]
Only retry connecting to configured bridges
After connectivity problems, only try connecting to bridges which
are currently configured; don't mark bridges which we previously
used but are no longer configured. Fixes 14216. Reported by
and fix provided by arma.
Nick Mathewson [Fri, 30 Jan 2015 20:29:59 +0000 (15:29 -0500)]
Merge remote-tracking branch 'dgoulet/bug14554_026_v1'
David Goulet [Fri, 30 Jan 2015 20:18:40 +0000 (15:18 -0500)]
Fix: check r < 0 before checking errno
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
David Goulet [Fri, 30 Jan 2015 19:59:48 +0000 (14:59 -0500)]
Fix possible infinite loop on pipe/sock_drain()
If the returned value of read/recv is 0 (meaning EOF), we'll end up in an
infinite loop (active wait) until something is written on the pipe which is
not really what we want here especially because those functions are called
from the main thread.
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Fri, 30 Jan 2015 19:47:56 +0000 (14:47 -0500)]
Fix some unused-argument warnings
Nick Mathewson [Fri, 30 Jan 2015 19:46:18 +0000 (14:46 -0500)]
Fix an uninitialized-variable warning.
David Goulet [Fri, 30 Jan 2015 19:12:30 +0000 (14:12 -0500)]
Fix: test -ENOENT after config_parse_unix_port()
Check for -ENOENT instead of ENOENT after the HS port is parsed.
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Fri, 30 Jan 2015 12:36:55 +0000 (07:36 -0500)]
Merge remote-tracking branch 'public/prop227_v2'
Conflicts:
src/test/test_dir.c
Nick Mathewson [Fri, 30 Jan 2015 12:29:23 +0000 (07:29 -0500)]
Correctly handle OutboundBindAddress again.
ca5ba2956bcd4b5ee1e526ccf5914f52fe6e6d51 broke this; bug not in any
released Tor.
Also fix a typo.
Fixes 14541 and 14527. Reported by qbi.
Nick Mathewson [Thu, 29 Jan 2015 20:16:15 +0000 (15:16 -0500)]
Merge branch 'bug14451_026_v1'
Nick Mathewson [Thu, 29 Jan 2015 20:12:14 +0000 (15:12 -0500)]
changes file for 14451
Nick Mathewson [Thu, 29 Jan 2015 20:10:19 +0000 (15:10 -0500)]
Use HT_BUCKET_NUM_ in more places
(patch from sysrqb)
Nick Mathewson [Thu, 29 Jan 2015 20:09:55 +0000 (15:09 -0500)]
Merge remote-tracking branch 'public/ticket11737'
Nick Mathewson [Thu, 29 Jan 2015 19:56:45 +0000 (14:56 -0500)]
Document unix: addresses
Nick Mathewson [Thu, 29 Jan 2015 19:51:59 +0000 (14:51 -0500)]
Restrict unix: addresses to control and socks for now
Nick Mathewson [Thu, 29 Jan 2015 19:45:21 +0000 (14:45 -0500)]
Remove SocksSocket; it's now spelled differently thanks to 14451
Also, revise bug12585 changes file to mention new syntax
Nick Mathewson [Thu, 29 Jan 2015 19:14:59 +0000 (14:14 -0500)]
When there are no package lines, make consensus/packages say "".
Also, give a better error message when there is no consensus.
Nick Mathewson [Thu, 29 Jan 2015 19:04:57 +0000 (14:04 -0500)]
Correctly reject packages lines with empty entries
Nick Mathewson [Thu, 29 Jan 2015 19:04:21 +0000 (14:04 -0500)]
Define 'digesttype' correctly
David Goulet [Thu, 29 Jan 2015 17:52:18 +0000 (12:52 -0500)]
Remove obsolete workaround in dirserv_thinks_router_is_hs_dir()
Fixes #14202
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
David Goulet [Wed, 28 Jan 2015 23:01:53 +0000 (18:01 -0500)]
Make hidden service use the config unix prefix
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
David Goulet [Wed, 28 Jan 2015 22:55:38 +0000 (17:55 -0500)]
Support unix: prefix in port configuration
It's now possible to use SocksPort or any other kind of port that can use a
Unix socket like so:
SocksPort unix:/foo/bar/unix.sock
Fixes #14451
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Wed, 28 Jan 2015 19:32:19 +0000 (14:32 -0500)]
Merge branch 'bug11485_026_v2_squashed'
David Goulet [Wed, 28 Jan 2015 18:11:21 +0000 (13:11 -0500)]
fixup! Refactor the use of ifdef HAVE_SYS_UN_H
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Andrea Shepard [Tue, 27 Jan 2015 13:18:22 +0000 (13:18 +0000)]
Changes file for ticket #11485
Andrea Shepard [Tue, 27 Jan 2015 13:12:40 +0000 (13:12 +0000)]
Actually make connections to HSes on AF_UNIX sockets
Andrea Shepard [Sat, 24 Jan 2015 17:31:12 +0000 (17:31 +0000)]
Support connection_exit_connect() to AF_UNIX sockets
Andrea Shepard [Fri, 23 Jan 2015 14:45:12 +0000 (14:45 +0000)]
Handle config options for AF_UNIX hidden services rendservice.c
Nick Mathewson [Wed, 28 Jan 2015 17:06:28 +0000 (12:06 -0500)]
changes file for 8405
Arthur Edelstein [Wed, 16 Jul 2014 04:27:59 +0000 (21:27 -0700)]
Bug #8405: Report SOCKS username/password in CIRC status events
Introduces two new circuit status name-value parameters: SOCKS_USERNAME
and SOCKS_PASSWORD. Values are enclosing in quotes and unusual characters
are escaped.
Example:
650 CIRC 5 EXTENDED [...] SOCKS_USERNAME="my_username" SOCKS_PASSWORD="my_password"
Nick Mathewson [Wed, 28 Jan 2015 16:28:21 +0000 (11:28 -0500)]
Add GETINFO consensus/{valid-{after,until},fresh-until}
Nick Mathewson [Wed, 28 Jan 2015 16:25:37 +0000 (11:25 -0500)]
more typo fixes from mcs and gk
Nick Mathewson [Wed, 28 Jan 2015 15:11:08 +0000 (10:11 -0500)]
Tweak tor-resolve docs and logs
Resolves 14325
Nick Mathewson [Wed, 28 Jan 2015 15:00:58 +0000 (10:00 -0500)]
Try to work around changes in openssl 1.1.0
Prefer not to use a couple of deprecated functions; include more
headers in tortls.c
This is part of ticket 14188.
Nick Mathewson [Wed, 28 Jan 2015 14:42:28 +0000 (09:42 -0500)]
Bump a client authorization message from debug to info.
A user wants this for 14015, and it seems fairly reasonable.
Nick Mathewson [Tue, 27 Jan 2015 21:40:32 +0000 (16:40 -0500)]
New GETINFO consensus/packages to expose package information from consensus
Nick Mathewson [Tue, 27 Jan 2015 21:31:48 +0000 (16:31 -0500)]
Fixes on prop227 comments, based on comments by mcs on #10395
Nick Mathewson [Tue, 27 Jan 2015 17:42:12 +0000 (12:42 -0500)]
Merge branch 'doc13702_squashed'
rl1987 [Fri, 14 Nov 2014 21:07:35 +0000 (23:07 +0200)]
Adding section on OpenBSD to doc/TUNING
Andrea Shepard [Thu, 22 Jan 2015 02:22:33 +0000 (02:22 +0000)]
Groundwork for AF_UNIX hidden services in rendservice.c
Nick Mathewson [Mon, 26 Jan 2015 15:19:07 +0000 (10:19 -0500)]
Bail early in cpuworker_onion_handshake_replyfn if the circuit is marked
Nick Mathewson [Mon, 26 Jan 2015 15:06:36 +0000 (10:06 -0500)]
changes file for bug14350
Anthony G. Basile [Sun, 25 Jan 2015 00:10:46 +0000 (19:10 -0500)]
configure.ac: fix disabling systemd notification support
If --disable-systemd is given, $enable_systemd is set to "no", not "false".
As a result, if libsystemd is found, we still turn on systemd support even
if we explicitly disable it with --disable-system.
Nick Mathewson [Fri, 23 Jan 2015 16:35:05 +0000 (11:35 -0500)]
Try to fix some more memory leaks in the unit tests
Nick Mathewson [Fri, 23 Jan 2015 16:26:40 +0000 (11:26 -0500)]
Fix some memory leaks in new address tests
Nick Mathewson [Fri, 23 Jan 2015 16:18:28 +0000 (11:18 -0500)]
whitespace fixes
Nick Mathewson [Fri, 23 Jan 2015 16:15:53 +0000 (11:15 -0500)]
Split the slow unit tests into their own binary
This can run in parallel with the faster ones and the other tests.
Nick Mathewson [Fri, 23 Jan 2015 15:13:37 +0000 (10:13 -0500)]
Merge branch 'if_addr_refactoring_squashed'
Conflicts:
src/test/include.am
src/test/test.c
rl1987 [Sat, 24 May 2014 12:03:14 +0000 (15:03 +0300)]
Refactor code that looks up addresses from interfaces
Now the code has separate implementation and examination functions,
uses smartlists sanely, and has relatively decent test coverage.
Nick Mathewson [Fri, 23 Jan 2015 15:02:49 +0000 (10:02 -0500)]
changes file for 9969
Nick Mathewson [Fri, 23 Jan 2015 14:37:08 +0000 (09:37 -0500)]
Tweak the 9969 fix a little
If we have busy nodes and excluded nodes, then don't retry with the
excluded ones enabled. Instead, wait for the busy ones to be nonbusy.
Nick Mathewson [Fri, 23 Jan 2015 14:36:00 +0000 (09:36 -0500)]
Merge remote-tracking branch 'public/ticket9969'
Conflicts:
src/or/directory.c
src/or/routerlist.c
src/or/routerlist.h
src/test/include.am
src/test/test.c
Nick Mathewson [Fri, 23 Jan 2015 14:09:00 +0000 (09:09 -0500)]
fix warnings from lintChanges
Nick Mathewson [Fri, 23 Jan 2015 13:55:31 +0000 (08:55 -0500)]
Merge remote-tracking branch 'public/ticket13762'
Nick Mathewson [Fri, 23 Jan 2015 13:53:21 +0000 (08:53 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.5'
Nick Mathewson [Fri, 23 Jan 2015 13:52:55 +0000 (08:52 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Nick Mathewson [Fri, 23 Jan 2015 13:52:35 +0000 (08:52 -0500)]
Merge remote-tracking branch 'karsten/geoip6-jan2015' into maint-0.2.4
Nick Mathewson [Fri, 23 Jan 2015 13:52:20 +0000 (08:52 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Thu, 22 Jan 2015 19:22:39 +0000 (14:22 -0500)]
fix some warnings in compat_threads.c
Nick Mathewson [Thu, 22 Jan 2015 19:18:10 +0000 (14:18 -0500)]
Move a redundant _GNU_SOURCE to where it is not redundant
Karsten Loesing [Thu, 22 Jan 2015 08:58:29 +0000 (09:58 +0100)]
Update geoip6 to the January 7 2015 database.
Karsten Loesing [Thu, 22 Jan 2015 08:56:54 +0000 (09:56 +0100)]
Update geoip to the January 7 2015 database.
Nick Mathewson [Wed, 21 Jan 2015 19:54:38 +0000 (14:54 -0500)]
use the correct free fn. spotted by dgoulet
Nick Mathewson [Wed, 21 Jan 2015 19:47:16 +0000 (14:47 -0500)]
Merge branch 'better_workqueue_v3_squashed'
David Goulet [Wed, 21 Jan 2015 19:29:03 +0000 (14:29 -0500)]
Fix: remove whitespace and update a comment in cpuworker.c
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
David Goulet [Wed, 21 Jan 2015 18:58:18 +0000 (13:58 -0500)]
Fix: change copyright year in workqueue and thread tests
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
David Goulet [Wed, 21 Jan 2015 18:18:56 +0000 (13:18 -0500)]
Support monotonic time for pthread_cond_timedwait
This is to avoid that the pthread_cond_timedwait() is not affected by time
adjustment which could make the waiting period very long or very short which
is not what we want in any cases.
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Wed, 21 Jan 2015 18:00:26 +0000 (13:00 -0500)]
Merge branch 'bug9819'
Nick Mathewson [Wed, 21 Jan 2015 18:00:14 +0000 (13:00 -0500)]
fix a comment
Nick Mathewson [Wed, 21 Jan 2015 17:22:41 +0000 (12:22 -0500)]
Fix up some workqueue/threading issues spotted by dgoulet.
Nick Mathewson [Wed, 21 Jan 2015 17:18:11 +0000 (12:18 -0500)]
handle EINTR in compat_*threads.c
Nick Mathewson [Tue, 20 Jan 2015 19:07:37 +0000 (14:07 -0500)]
Merge branch 'bug14084'
Nick Mathewson [Tue, 20 Jan 2015 19:07:22 +0000 (14:07 -0500)]
Expand manpage for HiddenServiceAllowUnknownPorts based on suggestions from qwerty1 and dgoulet
Nick Mathewson [Tue, 20 Jan 2015 19:02:07 +0000 (14:02 -0500)]
Merge remote-tracking branch 'dgoulet/bug14224_025_v1'
Nick Mathewson [Tue, 20 Jan 2015 18:46:56 +0000 (13:46 -0500)]
Merge branch 'ticket14254_squashed'
Nick Mathewson [Fri, 16 Jan 2015 16:37:11 +0000 (11:37 -0500)]
Fix SocksSocket 0. That was easy!
Nick Mathewson [Mon, 19 Jan 2015 16:58:40 +0000 (11:58 -0500)]
Some days I just can't C.
Nick Mathewson [Mon, 19 Jan 2015 16:56:03 +0000 (11:56 -0500)]
Make check-spaces happier.
Nick Mathewson [Mon, 19 Jan 2015 16:55:52 +0000 (11:55 -0500)]
Remove a now-needless testing workaround.
Nick Mathewson [Mon, 19 Jan 2015 16:51:08 +0000 (11:51 -0500)]
Replace a 4 with a 6; fix a bug that nobody noticed :/
Fixes 14280 bugfix on
1053af0b9c4127873034a935ce33 in 0.2.4.7-alpha.
Nick Mathewson [Mon, 19 Jan 2015 16:43:41 +0000 (11:43 -0500)]
Merge branch 'bug7555_v2_squashed'
Conflicts:
src/or/connection_edge.c
Nick Mathewson [Sun, 18 Jan 2015 20:10:35 +0000 (15:10 -0500)]
Add a bunch of new comments to explain connection_ap_rewrite{,_and_attach}
Also, do a little light refactoring to move some variable declarations
around and make a few things const
Also fix an obnoxious bug on checking for the DONE stream end reason.
It's not a flag; it's a possible value or a variable that needs to be
masked.
David Goulet [Mon, 19 Jan 2015 15:23:58 +0000 (10:23 -0500)]
Fix: close intro circuit if no more intro points are usable
Once a NACK is received on the intro circuit, tor tries an other usable one
by extending the current circuit to it. If no more intro points are usable,
now close the circuit. Also, it's reason is changed before closing it so we
don't report again an intro point failure and trigger an extra HS fetch.
Fixes #14224
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
David Goulet [Fri, 16 Jan 2015 22:43:33 +0000 (17:43 -0500)]
Fix: close intro circuit if no more intro points are usable
Once a NACK is received on the intro circuit, tor tries an other usable one
by extending the current circuit to it. If no more intro points are usable,
now close the circuit.
Fixes #14224
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Sun, 18 Jan 2015 21:07:08 +0000 (16:07 -0500)]
Merge remote-tracking branch 'public/ticket13037'
Conflicts:
src/or/config.c