]>
git.ipfire.org Git - thirdparty/tor.git/log
Linus Nordberg [Thu, 20 Sep 2012 15:09:25 +0000 (17:09 +0200)]
Make option OutboundBindAddress accept IPv6 addresses too.
Implements ticket 6786.
Nick Mathewson [Wed, 19 Sep 2012 15:47:59 +0000 (11:47 -0400)]
Make ./configure -q really silent
Our updateVersions script was being verbose, which might have made
sense back when I wrote it, but doesn't any more.
Final fix for bug 6599
Nick Mathewson [Wed, 19 Sep 2012 13:01:15 +0000 (09:01 -0400)]
Merge branch 'bug6843'
Nick Mathewson [Wed, 19 Sep 2012 12:26:07 +0000 (08:26 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Wed, 19 Sep 2012 12:18:19 +0000 (08:18 -0400)]
Clarify that hidden services are TCP only
Also remove some trailing whitespace.
Patch from maker; fixes bug 6024.
Robert Ransom [Tue, 18 Sep 2012 20:38:01 +0000 (16:38 -0400)]
Correct comment explaining why tor2web mode should disable entry guards
Nick Mathewson [Tue, 18 Sep 2012 20:22:12 +0000 (16:22 -0400)]
Note a bug number for 6888
Mike Perry [Tue, 18 Sep 2012 01:45:10 +0000 (18:45 -0700)]
Disable Guard usage for Tor2webMode.
Tor2webMode is fingerprintable by hidden services through repeated
usage of the same three guard nodes for its rend and intro points.
Nick Mathewson [Tue, 18 Sep 2012 20:21:24 +0000 (16:21 -0400)]
Bump bug 6866 log messages back up to notice for 0.2.4
Nick Mathewson [Tue, 18 Sep 2012 20:20:01 +0000 (16:20 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Tue, 18 Sep 2012 20:16:17 +0000 (16:16 -0400)]
Whitespace fixes
Nick Mathewson [Tue, 18 Sep 2012 19:54:36 +0000 (15:54 -0400)]
specify a version for the bug6884 changes file
Linus Nordberg [Tue, 18 Sep 2012 12:41:14 +0000 (14:41 +0200)]
Print the correct address family in log printout.
Look at the address family of the preferred OR port rather than the
node.ipv6_preferred flag since the logic has changed with new
ClientUseIPv6 config option.
Fixes ticket 6884.
Mike Perry [Tue, 18 Sep 2012 01:25:28 +0000 (18:25 -0700)]
Bug 6866: Convert pathbias asserts into log messages.
Asserts were hit by Tor2Web mode.
Nick Mathewson [Mon, 17 Sep 2012 20:05:09 +0000 (16:05 -0400)]
Merge remote-tracking branch 'linus/bug6880'
Linus Nordberg [Mon, 17 Sep 2012 18:21:22 +0000 (20:21 +0200)]
Don't do reachability testing over IPv6 unless AuthDirPublishIPv6 is set.
This affects both directory authorities and bridge authoritites.
Robert Ransom [Mon, 17 Sep 2012 15:13:09 +0000 (11:13 -0400)]
Fix comment typo in tor_memeq
Nick Mathewson [Mon, 17 Sep 2012 14:34:08 +0000 (10:34 -0400)]
Add unit test for crypto_pk_cmp_keys and NULL
Robert Ransom [Mon, 17 Sep 2012 14:23:23 +0000 (10:23 -0400)]
Fix documentation for crypto_pk_cmp_keys
Now that crypto_pk_cmp_keys might return the result of tor_memcmp, there
is no guarantee that it will only return -1, 0, or 1. (It currently does
only return -1, 0, or 1, but that's a lucky accident due to details of the
current implementation of tor_memcmp and the particular input given to it.)
Fortunately, none of crypto_pk_cmp_keys's callers rely on this behaviour,
so changing its documentation is sufficient.
Robert Ransom [Sat, 15 Sep 2012 10:52:13 +0000 (03:52 -0700)]
Implement and use crypto_pk_eq_keys
Robert Ransom [Sat, 15 Sep 2012 09:47:14 +0000 (02:47 -0700)]
Make crypto_pk_cmp_keys do something sane for NULL keys
Fixes bug 4283; bugfix on r76
(Git commit
01aadefbfc7dbd99ddaff922b897996b768cf2f9 ).
Nick Mathewson [Mon, 17 Sep 2012 14:50:48 +0000 (10:50 -0400)]
Merge remote-tracking branch 'public/bug6853'
Nick Mathewson [Mon, 17 Sep 2012 14:28:35 +0000 (10:28 -0400)]
Merge branch 'bug6861_typofix'
Nick Mathewson [Mon, 17 Sep 2012 13:52:43 +0000 (09:52 -0400)]
Avoid sign-extending when computing rend auth type.
Right-shifting negative values has implementation-defined behavior.
On all the platforms we work on right now, the behavior is to
sign-extend the input. That isn't what we wanted in
auth_type_val = (descriptor_cookie_tmp[16] >> 4) + 1;
Fix for 6861; bugfix on 0.2.1.5-alpha; reported pseudonymously.
The broken behavior didn't actually hurt anything, I think, since the
only way to get sign-extension to happen would be to have the top bit
of descriptor_cookie_tmp[16] set, which would make the value of
descriptor_cookie_tmp[16] >> 4 somewhere between
0b11111111 and
0b11111000 (that is, between -1 and -8). So auth_type_val would be
between -7 and 0. And the immediate next line does:
if (auth_type_val < 1 || auth_type_val > 2) {
So the incorrectly computed auth_type_val would be rejected as
invalid, just as a correctly computed auth_type_val would be.
Still, this stuff shouldn't sit around the codebase.
Nick Mathewson [Mon, 17 Sep 2012 14:24:52 +0000 (10:24 -0400)]
Parse votes with >31 flags correctly
We were doing (1<<p) to generate a flag at position p, but we should
have been doing (U64_LITERAL(1)<<p).
Fixes bug 6861; bugfix on 0.2.0.3-alpha; reported pseudonymously.
Nick Mathewson [Mon, 17 Sep 2012 14:03:11 +0000 (10:03 -0400)]
Merge branch '6044_nm_squashed'
Nick Mathewson [Fri, 14 Sep 2012 18:10:08 +0000 (14:10 -0400)]
changes file for 6044
Nick Mathewson [Fri, 14 Sep 2012 16:23:31 +0000 (12:23 -0400)]
Turn the read_file_until_eof tests into a single implementation
meejah [Wed, 12 Sep 2012 19:26:34 +0000 (13:26 -0600)]
Handle FIFOs in read_file_to_str
add read_file_to_str_until_eof which is used by read_file_to_str
if the file happens to be a FIFO.
change file_status() to return FN_FILE if st_mode matches S_IFIFO
(on not-windows) so that init_key_from_file() will read from a FIFO.
Nick Mathewson [Mon, 17 Sep 2012 13:38:48 +0000 (09:38 -0400)]
Note which compiler caused bug 6842
Roger Dingledine [Sat, 15 Sep 2012 20:38:47 +0000 (16:38 -0400)]
fold in changes files so far
Nick Mathewson [Fri, 14 Sep 2012 16:40:23 +0000 (12:40 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 14 Sep 2012 16:37:17 +0000 (12:37 -0400)]
Use file-size-fixup code on cygwin too.
We already had code on windows to fix our file sizes when we're
reading a file in text mode and its size doesn't match the size from
fstat. But that code was only enabled when _WIN32 was defined, and
Cygwin defines __CYGWIN__ instead.
Fixes bug 6844; bugfix on 0.1.2.7-alpha.
Nick Mathewson [Fri, 14 Sep 2012 14:36:42 +0000 (10:36 -0400)]
Fix dependency checking on manpage builds
Fixes bug 6843; bugfix on 0.2.4.1-alpha.
Nick Mathewson [Fri, 14 Sep 2012 14:20:16 +0000 (10:20 -0400)]
Merge branch 'split_routerlist.c_rebased'
Nick Mathewson [Thu, 13 Sep 2012 17:16:37 +0000 (13:16 -0400)]
Move functions for seeing if we know enough nodes into nodelist
Nick Mathewson [Thu, 13 Sep 2012 17:03:45 +0000 (13:03 -0400)]
Remove router_get_by_{nickname,hexdigest} entirely
Nick Mathewson [Thu, 13 Sep 2012 16:58:55 +0000 (12:58 -0400)]
Remove the old disabled router_get_by_nickname implementation
Nick Mathewson [Thu, 13 Sep 2012 16:57:46 +0000 (12:57 -0400)]
Move many of the node_ functions from routerlist to nodelist
Nick Mathewson [Thu, 13 Sep 2012 16:46:39 +0000 (12:46 -0400)]
Split the routerset code out of routerlist.c
Nick Mathewson [Fri, 14 Sep 2012 14:10:23 +0000 (10:10 -0400)]
Merge branch 'bug6833'
Nick Mathewson [Fri, 14 Sep 2012 14:10:16 +0000 (10:10 -0400)]
document why we only allow 64 flags in votes
Nick Mathewson [Fri, 14 Sep 2012 14:06:00 +0000 (10:06 -0400)]
Fix compilation with older gccs
They don't like to have #preprocessor directives inside macro arguments.
Fixes #6842; fix on 0.2.4.2-alpha.
Found by grarpamp.
Nick Mathewson [Fri, 14 Sep 2012 14:00:47 +0000 (10:00 -0400)]
Remove a duplicate test in test_util_pow2
Nick Mathewson [Fri, 14 Sep 2012 13:54:08 +0000 (09:54 -0400)]
Merge branch 'bug6831_v2'
Nick Mathewson [Thu, 13 Sep 2012 14:34:49 +0000 (10:34 -0400)]
Don't compute ((uint64_t)1)<<64 in round_to_power_of_2
This would be undefined behavior if it happened. (It can't actually
happen as we're using round_to_power_of_2, since we would have to
be trying to allocate exabytes of data.)
While we're at it, fix the behavior of round_to_power_of_2(0),
and document the function better.
Fix for bug 6831.
Roger Dingledine [Fri, 14 Sep 2012 06:41:13 +0000 (02:41 -0400)]
Merge branch 'maint-0.2.3'
Robert Ransom [Fri, 14 Sep 2012 06:25:03 +0000 (23:25 -0700)]
Fix man page typo
Nick Mathewson [Thu, 13 Sep 2012 16:25:45 +0000 (12:25 -0400)]
Merge branch 'confparse_refactor_squashed'
Nick Mathewson [Wed, 12 Sep 2012 21:58:33 +0000 (17:58 -0400)]
Split the or_state_t portions of config.c into their own file
Nick Mathewson [Wed, 12 Sep 2012 21:39:56 +0000 (17:39 -0400)]
Remove all remaining spurious or_options_t invocations in confparse.c
Nick Mathewson [Wed, 12 Sep 2012 21:34:50 +0000 (17:34 -0400)]
Split the generic config_fmt_t code into a new confparse.c file
This helps us split up one of our larger files, and sets the stage
for refactoring the configuration backend a little
Nick Mathewson [Thu, 13 Sep 2012 15:45:05 +0000 (11:45 -0400)]
Reject votes (not consensuses) with >64 known-flags
Our flag voting code needs to handle unrecognized flags, so it stores
them in a 64-bit bitfield. But we never actually checked for too many
flags, so we were potentially doing stuff like U64_LITERAL(1)<<flagnum
with flagnum >= 64. That's undefined behavior.
Fix for bug 6833; bugfix on 0.2.0.1-alpha.
Nick Mathewson [Thu, 13 Sep 2012 14:08:51 +0000 (10:08 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Thu, 13 Sep 2012 14:07:06 +0000 (10:07 -0400)]
mention the bug number in the 6827 changes file
Robert Ransom [Thu, 13 Sep 2012 11:39:39 +0000 (07:39 -0400)]
Avoid undefined behaviour when parsing HS protocol versions
Fixes bug 6827; bugfix on
c58675ca728f12b42f65e5b8964ae695c2e0ec2d
(when the v2 HS desc parser was implemented).
Found by asn.
Nick Mathewson [Wed, 12 Sep 2012 20:28:59 +0000 (16:28 -0400)]
Merge branch 'bug6815'
Nick Mathewson [Wed, 12 Sep 2012 20:28:46 +0000 (16:28 -0400)]
Fix a wide line
Nick Mathewson [Wed, 12 Sep 2012 19:38:33 +0000 (15:38 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3'
Use the "ours" strategy so that we retain
4aff97cfc796 , which maint-0.2.3
just reverted.
Nick Mathewson [Wed, 12 Sep 2012 19:37:47 +0000 (15:37 -0400)]
Revert "6819: typo in torrc.sample.in"
This reverts commit
4aff97cfc7965414ad8506ce28a296da1bc4a161 .
We don't actually want to be changing the torrc.sample on stable or
near-stable stuff, since doing so makes pointless busywork for debian
users.
Nick Mathewson [Wed, 12 Sep 2012 15:11:16 +0000 (11:11 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Wed, 12 Sep 2012 15:10:59 +0000 (11:10 -0400)]
Merge remote-tracking branch 'public/bug6341_a_v2' into maint-0.2.3
Nick Mathewson [Wed, 12 Sep 2012 15:09:10 +0000 (11:09 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Wed, 12 Sep 2012 15:08:30 +0000 (11:08 -0400)]
6819: typo in torrc.sample.in
Nick Mathewson [Wed, 12 Sep 2012 14:15:58 +0000 (10:15 -0400)]
Fix directory self-testing logic
When I removed version_supports_begindir, I accidentally removed the
mechanism we had been using to make a directory cache self-test its
directory port. This caused bug 6815, which caused 6814 (both in
0.2.4.2-alpha).
To fix this bug, I'm replacing the "anonymized_connection" argument to
directory_initiate_command_* with an enumeration to say how indirectly
to connect to a directory server. (I don't want to reinstate the
"version_supports_begindir" argument as "begindir_ok" or anything --
these functions already take too many arguments.)
For safety, I made sure that passing 0 and 1 for 'indirection' gives
the same result as you would have gotten before -- just in case I
missed any 0s or 1s.
Roger Dingledine [Wed, 12 Sep 2012 06:51:33 +0000 (02:51 -0400)]
hot: we fixed incancations to be intancations.
Nick Mathewson [Tue, 11 Sep 2012 21:51:36 +0000 (17:51 -0400)]
Merge remote-tracking branch 'public/bug6538'
Conflicts:
configure.ac
Roger Dingledine [Tue, 11 Sep 2012 18:36:54 +0000 (14:36 -0400)]
put all the changelogs into master
Nick Mathewson [Tue, 11 Sep 2012 17:21:20 +0000 (13:21 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Tue, 11 Sep 2012 17:20:15 +0000 (13:20 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Conflicts:
src/test/test_util.c
Nick Mathewson [Tue, 11 Sep 2012 17:14:43 +0000 (13:14 -0400)]
Merge branch 'timegm_assert_v3_squashed' into maint-0.2.2
Nick Mathewson [Tue, 11 Sep 2012 14:41:59 +0000 (10:41 -0400)]
Fix assertion failure in tor_timegm.
Fixes bug 6811.
Nick Mathewson [Mon, 10 Sep 2012 23:49:20 +0000 (19:49 -0400)]
Bump version to 0.2.4.2-alpha-dev
Roger Dingledine [Mon, 10 Sep 2012 22:28:41 +0000 (18:28 -0400)]
fold in another
Roger Dingledine [Mon, 10 Sep 2012 22:25:57 +0000 (18:25 -0400)]
Merge branch 'maint-0.2.3'
Roger Dingledine [Mon, 10 Sep 2012 22:04:23 +0000 (18:04 -0400)]
give 0.2.4.2-alpha a blurb
Roger Dingledine [Mon, 10 Sep 2012 21:38:50 +0000 (17:38 -0400)]
bump to 0.2.4.2-alpha
Roger Dingledine [Mon, 10 Sep 2012 21:36:36 +0000 (17:36 -0400)]
fold in recent changes files
Nick Mathewson [Mon, 10 Sep 2012 19:37:13 +0000 (15:37 -0400)]
Merge branch 'remove_old_ver_checks'
Nick Mathewson [Mon, 10 Sep 2012 19:31:04 +0000 (15:31 -0400)]
Merge remote-tracking branch 'public/ticket6789'
Nick Mathewson [Mon, 10 Sep 2012 14:38:22 +0000 (10:38 -0400)]
Downgrade "EVP ctr128 is ok" message to info
Part of 6736 effort to try to make startup quieter.
Nick Mathewson [Mon, 10 Sep 2012 14:35:18 +0000 (10:35 -0400)]
Avoid segfault when reading state file from ancient tor
If s_values is null in rep_hist_load_bwhist_state_section, we would
call smartlist_len() on it, and die.
Fixes bug 6801.
Nick Mathewson [Mon, 10 Sep 2012 14:22:40 +0000 (10:22 -0400)]
Fix tab introduced in
f43946829ce037
Nick Mathewson [Mon, 10 Sep 2012 14:21:46 +0000 (10:21 -0400)]
Be more clear in changes file for 6797.
Nick Mathewson [Mon, 10 Sep 2012 14:19:57 +0000 (10:19 -0400)]
Merge remote-tracking branch 'linus/bug6797'
Nick Mathewson [Mon, 10 Sep 2012 14:09:29 +0000 (10:09 -0400)]
Merge branch 'bug3155'
Nick Mathewson [Mon, 10 Sep 2012 14:09:19 +0000 (10:09 -0400)]
Rename _UseFilteringSSLBufferevents to lose its _. Bug 3155
Nick Mathewson [Mon, 10 Sep 2012 14:04:30 +0000 (10:04 -0400)]
bug3155 changes file
meejah [Mon, 19 Mar 2012 06:00:10 +0000 (00:00 -0600)]
Hide options beginning with "___" from GETINFO config/names
meejah [Mon, 19 Mar 2012 05:59:13 +0000 (23:59 -0600)]
rename _UsingTestNetworkDefaults to start with triple-underscore
Roger Dingledine [Mon, 10 Sep 2012 07:03:06 +0000 (03:03 -0400)]
raise bandwidthrate/bandwidthburst to a new "infinite"
addresses bug 6605.
Linus Nordberg [Wed, 5 Sep 2012 12:00:55 +0000 (14:00 +0200)]
Don't follow the NULL pointer.
If dirvote_create_microdescriptor() returns NULL, don't use md.
Found by "f. tp.".
Fixes bug 6797.
Roger Dingledine [Sun, 9 Sep 2012 20:51:34 +0000 (16:51 -0400)]
finish backing out
5492de76
Roger Dingledine [Sun, 9 Sep 2012 19:54:59 +0000 (15:54 -0400)]
minor logging improvement
Roger Dingledine [Sun, 9 Sep 2012 03:45:31 +0000 (23:45 -0400)]
retroactively list a ticket number for patch 3946.
Nick Mathewson [Sat, 8 Sep 2012 03:23:49 +0000 (23:23 -0400)]
Remove one more check for an insanely old version
Nick Mathewson [Sat, 8 Sep 2012 03:21:18 +0000 (23:21 -0400)]
Remove version_supports checks for versions before 0.2.2.
Nick Mathewson [Fri, 7 Sep 2012 18:46:03 +0000 (14:46 -0400)]
Fix whitespace in Makefile.am
Ondrej Mikle [Fri, 7 Sep 2012 16:44:37 +0000 (16:44 +0000)]
Removed dependency on tor.spec. Removed tor.spec.in.
Nick Mathewson [Fri, 7 Sep 2012 15:15:23 +0000 (11:15 -0400)]
Dirservers no longer accept tors released before December 2011.
Implements ticket 6789.