]>
git.ipfire.org Git - thirdparty/tor.git/log
Mike Perry [Tue, 26 Mar 2013 21:15:58 +0000 (14:15 -0700)]
Bug 8419: Apply the badexit fix from #2203 to validatio too
This was causing dirauths to emit flag weight validation warns if there
was a sufficiently large amount of badexit bandwidth to make a difference in
flag weight results.
Mike Perry [Tue, 26 Mar 2013 18:43:40 +0000 (11:43 -0700)]
Bug 8477: Don't warn if fromerly GENERAL circuits still have streams.
This can happen in various cases of network failure.
Mike Perry [Tue, 26 Mar 2013 18:39:13 +0000 (11:39 -0700)]
Bug 8230: Mark circuits as opened before reachability testing.
Should silence two path bias Bug messages seen on relays at startup.
Nick Mathewson [Fri, 29 Mar 2013 16:17:35 +0000 (12:17 -0400)]
Merge branch 'bug7799_rebased' into maint-0.2.4
Mike Perry [Thu, 28 Mar 2013 00:43:27 +0000 (17:43 -0700)]
Don't relax the timeout for already opened 1-hop circuits.
Mike Perry [Thu, 28 Mar 2013 00:43:05 +0000 (17:43 -0700)]
Update the changes file for bug7799.
Still not sure it's actually fixed yet...
Mike Perry [Wed, 27 Mar 2013 22:34:54 +0000 (15:34 -0700)]
Add detail to log messages related to bug 7799.
Note this does not solve bug 7799, it is only to help us diagnose it.
Mike Perry [Wed, 27 Mar 2013 22:33:58 +0000 (15:33 -0700)]
Add changes file for bug 7799's log message changes.
Note this does not close bug 7799.
Nick Mathewson [Thu, 28 Mar 2013 13:33:24 +0000 (09:33 -0400)]
Add a changes file for #8599
Karsten Loesing [Thu, 28 Mar 2013 08:42:49 +0000 (09:42 +0100)]
Make PathsNeededToBuildCircuits option work.
Nick Mathewson [Thu, 28 Mar 2013 01:58:07 +0000 (21:58 -0400)]
Tighten prose in 8590 manpage fix
Patrick R McDonald [Mon, 25 Mar 2013 22:31:16 +0000 (17:31 -0500)]
First try on ticket 8590
Nick Mathewson [Thu, 28 Mar 2013 01:04:08 +0000 (21:04 -0400)]
Add some missing case values to please clang
It seems that some versions of clang that would prefer the
-Wswitch-enum compiler flag to warn about switch statements with
missing enum values, even if those switch statements have a
default.
Fixes bug 8598; bugfix on 0.2.4.10-alpha.
Mike Perry [Wed, 27 Mar 2013 23:22:43 +0000 (16:22 -0700)]
Clarify liveness log message and lower it to notice.
It could just be due to small clock jumps, after all.
Mike Perry [Wed, 27 Mar 2013 03:29:41 +0000 (20:29 -0700)]
Changes file for bug6572.
Mike Perry [Wed, 27 Mar 2013 03:28:19 +0000 (20:28 -0700)]
Bug 6572: Use timestamp_created for liveness sanity checks.
This should eliminate potential regressions caused by #7341.
Nick Mathewson [Wed, 27 Mar 2013 02:20:08 +0000 (22:20 -0400)]
Merge branch 'bug7065_v2' into maint-0.2.4
Mike Perry [Wed, 27 Mar 2013 01:55:12 +0000 (18:55 -0700)]
Changes file for #7065
(revised by nickm)
Mike Perry [Wed, 27 Mar 2013 01:49:41 +0000 (18:49 -0700)]
Bug 7065: Use $ for idhex instead of =
Nick Mathewson [Sat, 23 Mar 2013 22:50:21 +0000 (18:50 -0400)]
Avoid clang warnings from implicit off_t->size_t cast
Nick Mathewson [Fri, 22 Mar 2013 16:38:55 +0000 (12:38 -0400)]
Fix an uninitialized-var warning in unit tests
Found by formorer; fix on
42fb61d172b172 , not in any released Tor.
Nick Mathewson [Thu, 21 Mar 2013 11:52:36 +0000 (07:52 -0400)]
Fix a small memory leak in the unit tests
Found by coverity; this is CID 992692.
Nick Mathewson [Thu, 21 Mar 2013 11:22:59 +0000 (07:22 -0400)]
The *default* guard lifetime is two months; the *min* is one
This caused an assertion failure when pruning guards.
Fixes bug #8553; bug not in any released Tor.
Nick Mathewson [Wed, 20 Mar 2013 18:47:13 +0000 (14:47 -0400)]
Merge remote-tracking branch 'public/bug8475_023' into maint-0.2.4
Andrea Shepard [Wed, 20 Mar 2013 18:16:41 +0000 (11:16 -0700)]
Set default minimum bandwidth for exit flag to zero for TestingTorNetwork
Andrea Shepard [Wed, 20 Mar 2013 18:03:18 +0000 (11:03 -0700)]
Fix an EOL@EOF in circuituse.c
Nick Mathewson [Wed, 20 Mar 2013 17:34:57 +0000 (13:34 -0400)]
Let testing networks override ABSOLUTE_MIN_VALUE_FOR_FAST_FLAG
This adds a new option to fix bug 8508 which broke chutney
networks. The bug was introduced by
317d16de .
Nick Mathewson [Wed, 20 Mar 2013 14:52:26 +0000 (10:52 -0400)]
Merge commit '
2f98bf5c9fac4dfd1bb07564ce08b13d1e330252 ' into maint-0.2.4
(This is the part of the Bug 8042 patch that warns about unsigned time_t)
Nick Mathewson [Wed, 20 Mar 2013 14:31:28 +0000 (10:31 -0400)]
Merge remote-tracking branch 'public/bug6304_v3' into maint-0.2.4
Conflicts:
src/or/circuitbuild.c
src/or/config.c
Nick Mathewson [Tue, 19 Mar 2013 20:43:00 +0000 (16:43 -0400)]
Merge branch 'bug7350_redux' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 20:35:40 +0000 (16:35 -0400)]
Don't assert when writing a cell to a CLOSING connection.
Instead, drop the cell.
Fixes another case of bug 7350; bugfix on 0.2.4.4-alpha
Nick Mathewson [Tue, 19 Mar 2013 20:16:48 +0000 (16:16 -0400)]
Merge remote-tracking branch 'public/bug7164_diagnostic' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 20:15:27 +0000 (16:15 -0400)]
Merge branch 'bug8240_v2_squashed' into maint-0.2.4
Conflicts:
doc/tor.1.txt
src/or/circuitbuild.c
src/or/config.c
src/or/or.h
Nick Mathewson [Tue, 12 Mar 2013 02:16:25 +0000 (22:16 -0400)]
Drop the minimum guard lifetime back down to one month
Mike believes that raising the default to 2 months with no way to lower
it may create horrible load-balancing issues.
Nick Mathewson [Tue, 12 Mar 2013 01:35:50 +0000 (21:35 -0400)]
Add support for days of the week to intervals
Nick Mathewson [Tue, 12 Mar 2013 01:25:37 +0000 (21:25 -0400)]
Document the GuardLifetime option
Nick Mathewson [Fri, 15 Feb 2013 22:24:13 +0000 (17:24 -0500)]
Make the guard lifetime configurable and adjustable via the consensus
Fixes 8240.
(Don't actually increase the default guard lifetime. It seems likely to
break too many things if done precipitiously.)
Nick Mathewson [Tue, 19 Mar 2013 19:32:17 +0000 (15:32 -0400)]
Merge remote-tracking branch 'public/bug7950' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 19:11:47 +0000 (15:11 -0400)]
Merge remote-tracking branch 'public/bug7768' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 19:11:34 +0000 (15:11 -0400)]
Use --test-commandline name in tor-fw-helper manpage
David Fifield [Wed, 13 Mar 2013 07:43:21 +0000 (00:43 -0700)]
Use option name --test-commandline in tor-fw-helper.
It was previously --Test in the help output and --test-commandline in
the getopt call. The man page already had --test.
(Originally by David, who resolved the tie in favor of "--test"; I
chose --test-commandline" instead so that nothing that depended
on it could break. -Nick)
Nick Mathewson [Tue, 19 Mar 2013 18:26:45 +0000 (14:26 -0400)]
Merge remote-tracking branch 'public/bug8002' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 18:18:07 +0000 (14:18 -0400)]
Merge remote-tracking branch 'public/bug8031' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 16:29:29 +0000 (12:29 -0400)]
Merge branch 'bug7582_v2' into maint-0.2.4
Nick Mathewson [Tue, 19 Mar 2013 16:29:08 +0000 (12:29 -0400)]
Free prepend_policy values in origin circuits
Nick Mathewson [Mon, 18 Mar 2013 20:36:25 +0000 (16:36 -0400)]
Merge remote-tracking branch 'public/bug6174' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 20:33:47 +0000 (16:33 -0400)]
Merge remote-tracking branch 'public/bug8062' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:56:55 +0000 (15:56 -0400)]
Merge branch 'bug7947' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:55:55 +0000 (15:55 -0400)]
Handle TRUNCATE correctly if our next channel isn't done yet.
Patch from 'cypherpunks'. Fixes bug #7947. Bugfix on 0.0.7.1.
Nick Mathewson [Mon, 18 Mar 2013 19:45:49 +0000 (15:45 -0400)]
Merge remote-tracking branch 'public/bug6164' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:44:23 +0000 (15:44 -0400)]
Fix another case of bug 8206; patch from flupzor
Nick Mathewson [Mon, 18 Mar 2013 19:40:50 +0000 (15:40 -0400)]
Merge remote-tracking branch 'public/bug6673' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:39:11 +0000 (15:39 -0400)]
Fix some wide lines
Nick Mathewson [Mon, 18 Mar 2013 19:28:39 +0000 (15:28 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Conflicts:
src/test/test_addr.c
Nick Mathewson [Mon, 18 Mar 2013 19:27:50 +0000 (15:27 -0400)]
Merge remote-tracking branch 'public/bug8377' into maint-0.2.3
Nick Mathewson [Mon, 18 Mar 2013 19:17:11 +0000 (15:17 -0400)]
Merge remote-tracking branch 'andrea/bug8435' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 19:13:59 +0000 (15:13 -0400)]
Make stream events for RESOLVE lookups more consistent
Fixes 8203; patch by Desoxy
Nick Mathewson [Mon, 18 Mar 2013 19:07:02 +0000 (15:07 -0400)]
Merge remote-tracking branch 'public/bug8290' into maint-0.2.4
Andrea Shepard [Mon, 18 Mar 2013 19:04:41 +0000 (12:04 -0700)]
Improve comment for routers_with_measured_bw static var in dirserv.c
Andrea Shepard [Mon, 18 Mar 2013 18:58:30 +0000 (11:58 -0700)]
Improve comment on router_counts_toward_thresholds()
Andrea Shepard [Mon, 18 Mar 2013 18:56:42 +0000 (11:56 -0700)]
Add dirserv_has_measured_bw() predicate wrapper for dirserv_query_measured_bw_cache()
Nick Mathewson [Mon, 18 Mar 2013 18:50:01 +0000 (14:50 -0400)]
Merge remote-tracking branch 'public/no_dup_guards' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 18:31:50 +0000 (14:31 -0400)]
Merge remote-tracking branch 'public/bug8059' into maint-0.2.4
Nick Mathewson [Mon, 18 Mar 2013 18:30:11 +0000 (14:30 -0400)]
Remove an unused local variable.
Nick Mathewson [Mon, 18 Mar 2013 18:29:12 +0000 (14:29 -0400)]
Merge branch 'bug8206_squashed' into maint-0.2.4
Nick Mathewson [Tue, 12 Mar 2013 00:58:28 +0000 (20:58 -0400)]
Check return values from fcntl and setsockopt
(Based on a patch from flupzor; bug #8206)
Nick Mathewson [Wed, 13 Mar 2013 16:47:48 +0000 (12:47 -0400)]
Check for 0.2.4.8, not 0.2.4.7, to determine EXTEND2 support
Fixes bug 8464; bugfix on
b2863739 in 0.2.4.8-alpha
Andrea Shepard [Mon, 18 Mar 2013 18:15:21 +0000 (11:15 -0700)]
Ignore advertised bandwidths if we have enough measured bandwidths available
Nick Mathewson [Fri, 15 Mar 2013 16:38:11 +0000 (12:38 -0400)]
Merge remote-tracking branch 'public/bug8180_023_v2' into maint-0.2.4
Nick Mathewson [Fri, 15 Mar 2013 14:42:17 +0000 (10:42 -0400)]
Upgrade the warn for EntryNodes without UseEntryGuards to an error
fixes bug 8180
Nick Mathewson [Fri, 15 Mar 2013 16:17:23 +0000 (12:17 -0400)]
Merge remote-tracking branch 'public/unused_stuff' into maint-0.2.4
Nick Mathewson [Fri, 15 Mar 2013 16:11:38 +0000 (12:11 -0400)]
Fix some basic socket issues with tor-fw-helper-natpmp on windows
This isn't going to be the last of these issues, but we might as
well take the fixes as we find them.
Patch from Gisle Vanem, fixes bug 7280.
Nick Mathewson [Fri, 15 Mar 2013 15:25:45 +0000 (11:25 -0400)]
Remove incentives.txt from tor git; putting it into torspec.
David Fifield [Thu, 20 Dec 2012 20:40:50 +0000 (12:40 -0800)]
Fix brackets in tor-fw-helper help output.
Change nesting from [(]) to [()]. Formerly it made it look to me at
first glance that "internal port" was optional.
[Trivial change; fixes #7767 --nickm]
Nick Mathewson [Fri, 15 Mar 2013 15:17:08 +0000 (11:17 -0400)]
Improve asciidoc-helper's suggestion of what to install
Fixes bug #7766.
Patch by David Fifield, revised by Peter Palfrader.
Nick Mathewson [Fri, 15 Mar 2013 14:48:33 +0000 (10:48 -0400)]
Be explicit that we want not only nacl but nacl-with-a-fast-curve25519
Resolves the user experience part of #8014.
Nick Mathewson [Thu, 14 Mar 2013 16:06:03 +0000 (12:06 -0400)]
Make circuit_purpose_to_string handle CIRCUIT_PURPOSE_PATH_BIAS_TESTING
Nick Mathewson [Thu, 14 Mar 2013 15:19:08 +0000 (11:19 -0400)]
Apply ClientDNSRejectInternalAddresses to IPv6 in RESOLVED cells
Fixes bug 8475; bugfix on 0.2.0.7-alpha.
Nick Mathewson [Wed, 13 Mar 2013 14:42:58 +0000 (10:42 -0400)]
Log fname:lineno in log messages for #7164
This should help us track down #7164 at last.
Nick Mathewson [Wed, 13 Mar 2013 13:17:43 +0000 (09:17 -0400)]
Fix the warning about LearnCircuitBuildTimeout && !CircuitBuildTimeout
This is for bug 6304.
Add a changes file too
Nick Mathewson [Wed, 13 Mar 2013 13:11:31 +0000 (09:11 -0400)]
Simplify the logic of circuit_build_times_get_initial_timeout.
Nick Mathewson [Tue, 12 Mar 2013 03:37:47 +0000 (23:37 -0400)]
On END_REASON_EXITPOLICY, mark circuit as unusable for that address.
Also, don't call the exit node 'reject *' unless our decision to pick
that node was based on a non-summarized version of that node's exit
policy.
rransom and arma came up with the ideas for this fix.
Fix for 7582; the summary-related part is a bugfix on 0.2.3.2-alpha.
Nick Mathewson [Mon, 11 Mar 2013 21:57:27 +0000 (17:57 -0400)]
Fix option names in tor-fw-helper manpage
fix for bug 7768
Nick Mathewson [Mon, 11 Mar 2013 20:29:06 +0000 (16:29 -0400)]
Look at the right variable when warning about signed size_t.
In
81d69f4c2d8a451 (0.2.21-alpha) we added a compile-time check for
a (totally broken) signed size_t. In
0e597471af (not yet released)
I switched to a better configure-time check, which stored its output
in a different variable. I didn't change the code which looked at
the output, however.
This bug is not in any released version of Tor, and would not affect
anybody with a working Tor.
Nick Mathewson [Mon, 11 Mar 2013 19:33:44 +0000 (15:33 -0400)]
Warn at configure time when time_t is unsigned
Inspired by #8042.
As far as I know, OpenVMS is the only place you're likely to hit an
unsigned time_t these days, and Tor's VMS support
is... lacking. Still worth letting people know about it, though.
Nick Mathewson [Mon, 11 Mar 2013 18:52:56 +0000 (14:52 -0400)]
Another possible diagnostic for 8031.
This time, I'm checking whether our calculated offset matches our
real offset, in each case, as we go along. I don't think this is
the bug, but it can't hurt to check.
Nick Mathewson [Mon, 11 Mar 2013 18:50:41 +0000 (14:50 -0400)]
Check more error codes when writing microdescriptors.
Possible partial fix, or diagnosis tool, for bug 8031.
Nick Mathewson [Mon, 11 Mar 2013 18:37:44 +0000 (14:37 -0400)]
Use fds, not stdio, to manage microdescriptor files
This is part of an attempt to mitigate 8031.
Nick Mathewson [Mon, 11 Mar 2013 17:32:16 +0000 (13:32 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Mon, 11 Mar 2013 17:32:01 +0000 (13:32 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Nick Mathewson [Mon, 11 Mar 2013 17:23:10 +0000 (13:23 -0400)]
Give an #error when we want threads and OpenSSL has disabled threads
Fixes ticket 6673.
Nick Mathewson [Mon, 11 Mar 2013 16:34:14 +0000 (12:34 -0400)]
Increase link_proto field to 2 bytes
This should have been 2 bytes all along, since version numbers can
be 16 bits long. This isn't a live bug, since the call to
is_or_protocol_version_known in channel_tls_process_versions_cell
will reject any version number not in the range 1..4. Still, let's
fix this before we accidentally start supporting version 256.
Reported pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha --
specifically, on commit
6fcda529 , where during development I
increased the width of a version to 16 bits without changing the
type of link_proto.
Nick Mathewson [Mon, 11 Mar 2013 16:29:28 +0000 (12:29 -0400)]
Fix a framing bug when reading versions from a versions cell.
Our ++ should have been += 2. This means that we'd accept version
numbers even when they started at an odd position.
This bug should be harmless in practice for so long as every version
number we allow begins with a 0 byte, but if we ever have a version
number starting with 1, 2, 3, or 4, there will be trouble here.
Fix for bug 8059, reported pseudonymously. Bugfix on 0.2.0.10-alpha
-- specifically, commit
6fcda529 , where during development I
increased the width of a version to 16 bits without changing the
loop step.
Roger Dingledine [Sun, 10 Mar 2013 20:28:28 +0000 (16:28 -0400)]
start part-way through the ssl cert lifetime
also, snap the start time and end time to a day boundary, since most
certs in the wild seem to do this.
Roger Dingledine [Sat, 9 Mar 2013 22:16:11 +0000 (17:16 -0500)]
randomize SSLKeyLifetime by default
resolves ticket 8443.
Roger Dingledine [Sat, 9 Mar 2013 21:42:35 +0000 (16:42 -0500)]
parameterize SSLKeyLifetime
no actual changes in behavior yet
Nick Mathewson [Mon, 11 Mar 2013 03:01:58 +0000 (23:01 -0400)]
Merge remote-tracking branch 'arma/bug6783_big_hammer' into maint-0.2.4
Benjamin Kerensa [Mon, 11 Mar 2013 01:45:23 +0000 (18:45 -0700)]
Fix typos in a few log messages
Roger Dingledine [Mon, 11 Mar 2013 00:40:15 +0000 (20:40 -0400)]
set DisableV2DirectoryInfo_ off by default
since it's only enableable by authorities, nobody else would be able
to start their tor
Nick Mathewson [Wed, 6 Mar 2013 20:19:04 +0000 (15:19 -0500)]
Tweak bug6783 patch.