]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
13 years agoAvoid segfault when reading state file from ancient tor
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.

13 years agoUpdate the minimum bandwidth for a public relay
Roger Dingledine [Wed, 5 Sep 2012 20:40:57 +0000 (16:40 -0400)] 
Update the minimum bandwidth for a public relay

The current cutoff is 30KB, but in reality a useful cutoff is probably
more like 50KB or 100KB.

13 years agoAvoid segfault if EntryGuardPathBias precedes EntryGuard
Nick Mathewson [Wed, 5 Sep 2012 17:27:54 +0000 (13:27 -0400)] 
Avoid segfault if EntryGuardPathBias precedes EntryGuard

Fix for bug 6774; bugfix on 0.2.3.17-beta.

13 years agoMerge remote-tracking branch 'arma/bug6743' into maint-0.2.3
Nick Mathewson [Tue, 4 Sep 2012 22:33:56 +0000 (18:33 -0400)] 
Merge remote-tracking branch 'arma/bug6743' into maint-0.2.3

13 years agofix whitespace and trivial typo
Roger Dingledine [Mon, 3 Sep 2012 06:09:39 +0000 (02:09 -0400)] 
fix whitespace and trivial typo

13 years agoMake begindir_cutoff the same as general_cutoff
Roger Dingledine [Sat, 1 Sep 2012 05:25:17 +0000 (01:25 -0400)] 
Make begindir_cutoff the same as general_cutoff

Allow one-hop directory fetching circuits the full "circuit build timeout"
period, rather than just half of it, before failing them and marking
the relay down. This fix should help reduce cases where clients declare
relays (or worse, bridges) unreachable because the TLS handshake takes
a few seconds to complete.

Fixes bug 6743 (one piece of bug 3443); bugfix on 0.2.2.2-alpha, where
we changed the timeout from a static 30 seconds.

13 years agoMerge branch 'bug6732' into maint-0.2.3
Nick Mathewson [Fri, 31 Aug 2012 22:39:11 +0000 (18:39 -0400)] 
Merge branch 'bug6732' into maint-0.2.3

13 years agoDocument consensus and microdesc files
Nick Mathewson [Fri, 31 Aug 2012 15:35:47 +0000 (11:35 -0400)] 
Document consensus and microdesc files

Bugfix for #6732.

13 years agoQuiet "Set buildtimeout to low val" warnings: make them info
Nick Mathewson [Mon, 27 Aug 2012 20:37:09 +0000 (16:37 -0400)] 
Quiet "Set buildtimeout to low val" warnings: make them info

Fix for #6251

13 years agoMerge branch 'disable_pathbias_warnings_v2' into maint-0.2.3
Nick Mathewson [Mon, 27 Aug 2012 20:19:52 +0000 (16:19 -0400)] 
Merge branch 'disable_pathbias_warnings_v2' into maint-0.2.3

13 years agoDowngrade path-bias warning messages to INFO for now.
Nick Mathewson [Mon, 27 Aug 2012 14:46:17 +0000 (10:46 -0400)] 
Downgrade path-bias warning messages to INFO for now.

We've had over two months to fix them, and didn't.  Now we need
0.2.3.x stable.  Yes, it would be cool to get this working in
0.2.3.x, but not at the expense of delaying every other feature that
_does_ work in 0.2.3.x.  We can do a real fix in 0.2.4.

13 years agoMerge branch 'bug6710_023' into maint-0.2.3
Nick Mathewson [Mon, 27 Aug 2012 20:15:01 +0000 (16:15 -0400)] 
Merge branch 'bug6710_023' into maint-0.2.3

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Nick Mathewson [Mon, 27 Aug 2012 20:07:04 +0000 (16:07 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3

Conflicts:
src/or/policies.c

13 years agoMerge branch 'bug6690_022' into maint-0.2.2
Nick Mathewson [Mon, 27 Aug 2012 20:03:48 +0000 (16:03 -0400)] 
Merge branch 'bug6690_022' into maint-0.2.2

13 years agoFix changes file for 6710: before 0.0.8pre1, you couldn't extend to
Nick Mathewson [Mon, 27 Aug 2012 16:29:04 +0000 (12:29 -0400)] 
Fix changes file for 6710: before 0.0.8pre1, you couldn't extend to
a router that another router wasn't already connected to.

13 years agoDo not assert when comparing a null address/port against a policy
Nick Mathewson [Mon, 27 Aug 2012 15:52:51 +0000 (11:52 -0400)] 
Do not assert when comparing a null address/port against a policy

This can create a remote crash opportunity for/against directory
authorities.

13 years agoDisable extending to private/internal addresses by default
Nick Mathewson [Mon, 27 Aug 2012 15:16:44 +0000 (11:16 -0400)] 
Disable extending to private/internal addresses by default

This is important, since otherwise an attacker can use timing info
to probe the internal network.

Also, add an option (ExtendAllowPrivateAddresses) so that
TestingTorNetwork won't break.

Fix for bug 6710; bugfix on all released versions of Tor.

13 years agoMerge remote-tracking branch 'public/bug6472' into maint-0.2.3
Nick Mathewson [Fri, 24 Aug 2012 16:51:02 +0000 (12:51 -0400)] 
Merge remote-tracking branch 'public/bug6472' into maint-0.2.3

13 years agoMerge remote-tracking branch 'public/bug6404' into maint-0.2.3
Nick Mathewson [Tue, 21 Aug 2012 14:35:40 +0000 (10:35 -0400)] 
Merge remote-tracking branch 'public/bug6404' into maint-0.2.3

13 years agowhitespace fix
Nick Mathewson [Fri, 17 Aug 2012 21:10:03 +0000 (17:10 -0400)] 
whitespace fix

13 years agoWhen iterating over connections pending DNS, skip marked ones
Nick Mathewson [Fri, 17 Aug 2012 20:46:11 +0000 (16:46 -0400)] 
When iterating over connections pending DNS, skip marked ones

Failure to do this would lead to double-free cases and similar,
especially when the exit's DNS was broken. See bug 6472 for full
details; this is a fix for 6472.

Anonymous patch from "cypherpunks" on trac.

13 years agoConsider IPv6 OR ports when deciding whether a routerinfo change is cosmetic.
Linus Nordberg [Thu, 19 Jul 2012 18:41:23 +0000 (20:41 +0200)] 
Consider IPv6 OR ports when deciding whether a routerinfo change is cosmetic.

Closes #6423.

13 years agoMerge branch 'bug6379' into maint-0.2.3
Nick Mathewson [Fri, 17 Aug 2012 17:57:07 +0000 (13:57 -0400)] 
Merge branch 'bug6379' into maint-0.2.3

13 years agoFix more warnings from openbsd_malloc
Nick Mathewson [Fri, 17 Aug 2012 17:49:52 +0000 (13:49 -0400)] 
Fix more warnings from openbsd_malloc

Apparently, (void)writev is not enough to suppress the "you are
ignoring the return value!" warnings on Linux.  Instead, remove the
whole warning/error logic when compiling openbsd_malloc for Tor: we
can't use it.

13 years agoMerge remote-tracking branch 'public/bug6244_part_c' into maint-0.2.3
Nick Mathewson [Fri, 17 Aug 2012 16:37:49 +0000 (12:37 -0400)] 
Merge remote-tracking branch 'public/bug6244_part_c' into maint-0.2.3

13 years agoMerge remote-tracking branch 'public/bug6507' into maint-0.2.3
Nick Mathewson [Fri, 17 Aug 2012 16:33:17 +0000 (12:33 -0400)] 
Merge remote-tracking branch 'public/bug6507' into maint-0.2.3

13 years agoWhitespace and build fixes on 6475 patch
Nick Mathewson [Fri, 17 Aug 2012 16:10:31 +0000 (12:10 -0400)] 
Whitespace and build fixes on 6475 patch

13 years agoMerge remote-tracking branch 'mikeperry/bug6475' into maint-0.2.3
Nick Mathewson [Fri, 17 Aug 2012 16:08:42 +0000 (12:08 -0400)] 
Merge remote-tracking branch 'mikeperry/bug6475' into maint-0.2.3

13 years agoMerge remote-tracking branch 'public/bug6514' into maint-0.2.3
Nick Mathewson [Fri, 17 Aug 2012 15:53:06 +0000 (11:53 -0400)] 
Merge remote-tracking branch 'public/bug6514' into maint-0.2.3

13 years agoAddress Nick's comments from code review.
Mike Perry [Thu, 16 Aug 2012 23:29:19 +0000 (16:29 -0700)] 
Address Nick's comments from code review.

Also promote log messages to notice and rate-limit them.

13 years agoBug 6475: Explicitly track our path bias state.
Mike Perry [Thu, 16 Aug 2012 02:59:55 +0000 (19:59 -0700)] 
Bug 6475: Explicitly track our path bias state.

This is done to avoid spurious warns. Additional log lines are also
added to try to track down the codepaths where we are somehow overcounting
success counts.

13 years agoFix warnings and 64-bit problems in openbsd-malloc code
Nick Mathewson [Wed, 15 Aug 2012 23:26:53 +0000 (19:26 -0400)] 
Fix warnings and 64-bit problems in openbsd-malloc code

The warning fixes are:
  - Only define issetugid if it's missing.
  - Explicitly ignore the return value of writev.
  - Explicitly cast the retval of readlink() to int.

The 64-bit problems are related to just storing a size_t in an int. Not cool!  Use a size_t instead.

Fix for bug 6379. Bugfix on 0.2.0.20-rc, which introduced openbsd-malloc.

13 years agoFix wildcarded address mappings from the control port
Nick Mathewson [Wed, 15 Aug 2012 21:59:30 +0000 (17:59 -0400)] 
Fix wildcarded address mappings from the control port

Apparently, we weren't actually detecting wildcardedness when parsing
them: whoops!

bug 6244.  Bugfix on 0.2.3.9-alpha

13 years agoRaise the part of torrc mapaddress handling that knows wildcards
Nick Mathewson [Wed, 15 Aug 2012 21:49:18 +0000 (17:49 -0400)] 
Raise the part of torrc mapaddress handling that knows wildcards

This patch extracts the inner part of config_register_addressmaps --
the part that knows about detecting wildcard addresses addresses --
and makes it into a new function.  The new function is deliberately
not moved or reindented, so that the diff is smaller.

I need this to fix bug 6244.

13 years agoUpdate description of what we did to upper limit on md size
Nick Mathewson [Tue, 14 Aug 2012 07:10:14 +0000 (03:10 -0400)] 
Update description of what we did to upper limit on md size

Spotted by asn

13 years agoFix memory leak in dirvote_create_microdescriptor
Nick Mathewson [Tue, 14 Aug 2012 07:06:47 +0000 (03:06 -0400)] 
Fix memory leak in dirvote_create_microdescriptor

Found by George, who gets a cookie.

13 years agoReject attempts to say FooPort and FooPort 0 in the same cfg domain
Nick Mathewson [Thu, 9 Aug 2012 20:13:03 +0000 (16:13 -0400)] 
Reject attempts to say FooPort and FooPort 0 in the same cfg domain

13 years agoFix spaces from last patch
Nick Mathewson [Thu, 9 Aug 2012 20:02:57 +0000 (16:02 -0400)] 
Fix spaces from last patch

13 years agoDon't infer we have a FooPort from the presence of a FooPort line
Nick Mathewson [Thu, 9 Aug 2012 19:48:43 +0000 (15:48 -0400)] 
Don't infer we have a FooPort from the presence of a FooPort line

Thanks to the changes we started making with SocksPort and friends
in 0.2.3.3-alpha, any of our code that did "if (options->Sockport)"
became wrong, since "SocksPort 0" would make that test true whereas
using the default SocksPort value would make it false.  (We didn't
actually do "if (options->SockPort)" but we did have tests for
TransPort.  When we moved DirPort, ORPort, and ControlPort over to
the same system in 0.2.3.9-alpha, the problem got worse, since our
code is littered with checks for DirPort and ORPort as booleans.

This code renames the current linelist-based FooPort options to
FooPort_lines, and adds new FooPort_set options which get set at
parse-and-validate time on the or_options_t.  FooPort_set is true
iff we will actually try to open a listener of the given type. (I
renamed the FooPort options rather than leave them alone so that
every previous user of a FooPort would need to get inspected, and so
that any new code that forgetfully uses FooPort will need fail to
compile.)

Fix for bug 6507.

13 years agoMerge remote-tracking branch 'public/bug6252_again' into maint-0.2.3
Nick Mathewson [Thu, 9 Aug 2012 14:50:11 +0000 (10:50 -0400)] 
Merge remote-tracking branch 'public/bug6252_again' into maint-0.2.3

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Nick Mathewson [Fri, 3 Aug 2012 16:04:11 +0000 (12:04 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3

Conflicts:
src/or/routerlist.c

13 years agoTry to clarify impact of bug 6537
Nick Mathewson [Fri, 3 Aug 2012 15:54:11 +0000 (11:54 -0400)] 
Try to clarify impact of bug 6537

I don't personally agree that this is likely to be easy to exploit,
and some initial experimention I've done suggests that cache-miss
times are just plain too fast to get useful info out of when they're
mixed up with the rest of Tor's timing noise.  Nevertheless, I'm
leaving Robert's initial changelog entry in the git history so that he
can be the voice of reason if I'm wrong. :)

13 years agoMitigate a side-channel leak of which relays Tor chooses for a circuit
Robert Ransom [Thu, 14 Jun 2012 17:15:54 +0000 (17:15 +0000)] 
Mitigate a side-channel leak of which relays Tor chooses for a circuit

Tor's and OpenSSL's current design guarantee that there are other leaks,
but this one is likely to be more easily exploitable, and is easy to fix.

13 years agoRemove bogus comment claiming that an assertion is triggerable by consensus
Robert Ransom [Thu, 14 Jun 2012 15:41:11 +0000 (15:41 +0000)] 
Remove bogus comment claiming that an assertion is triggerable by consensus

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Nick Mathewson [Fri, 3 Aug 2012 15:18:40 +0000 (11:18 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3

13 years agoClarify security impact of bug 6530
Nick Mathewson [Fri, 3 Aug 2012 15:16:13 +0000 (11:16 -0400)] 
Clarify security impact of bug 6530

13 years agoAvoid possible segfault when handling networkstatus vote with bad flavor
Nick Mathewson [Fri, 3 Aug 2012 14:53:00 +0000 (10:53 -0400)] 
Avoid possible segfault when handling networkstatus vote with bad flavor

Fix for 6530; fix on 0.2.2.6-alpha.

13 years agoDefensive programming: clear rs_out between iterations.
Nick Mathewson [Wed, 1 Aug 2012 21:25:34 +0000 (17:25 -0400)] 
Defensive programming: clear rs_out between iterations.

I can't currently find a bug here, but there are a couple of
near-misses.  Addresses ticket 6514; reported pseudonymously on
IRC.

13 years agoMerge branch 'bug6480_squashed' into maint-0.2.3
Nick Mathewson [Tue, 31 Jul 2012 21:19:47 +0000 (17:19 -0400)] 
Merge branch 'bug6480_squashed' into maint-0.2.3

13 years agoAvoid hard (impossible?)-to-trigger double-free in dns_resolve()
Nick Mathewson [Tue, 31 Jul 2012 16:58:19 +0000 (12:58 -0400)] 
Avoid hard (impossible?)-to-trigger double-free in dns_resolve()

Fixes 6480; fix on 0.2.0.1-alpha; based on pseudonymous patch.

13 years agoRemove the upper limit on the size of MD we can generate.
Nick Mathewson [Tue, 31 Jul 2012 17:12:07 +0000 (13:12 -0400)] 
Remove the upper limit on the size of MD we can generate.

13 years agochangelog for bug6043
Nick Mathewson [Tue, 31 Jul 2012 15:49:20 +0000 (11:49 -0400)] 
changelog for bug6043

13 years agoFixes/beautification of RPM spec. Tiny improvements in RPM build docs.
Ondrej Mikle [Thu, 21 Jun 2012 16:26:05 +0000 (18:26 +0200)] 
Fixes/beautification of RPM spec. Tiny improvements in RPM build docs.

13 years agoFixed creating _tor user in RPM-based installs.
Ondrej Mikle [Sat, 16 Jun 2012 20:41:59 +0000 (22:41 +0200)] 
Fixed creating _tor user in RPM-based installs.

13 years agoWorkaround for building EL5 RPMs by specifying rpmbuild-md5. Updated old note about...
Ondrej Mikle [Sat, 16 Jun 2012 16:38:14 +0000 (18:38 +0200)] 
Workaround for building EL5 RPMs by specifying rpmbuild-md5. Updated old note about using static libevent when building RPMs.

13 years agoCleanup of RPM build process - no more .git in tarball, use automake's dist-gzip...
Ondrej Mikle [Fri, 15 Jun 2012 21:59:35 +0000 (23:59 +0200)] 
Cleanup of RPM build process - no more .git in tarball, use automake's dist-gzip to create the tarball.

Signed-off-by: Ondrej Mikle <ondrej.mikle@gmail.com>
13 years agoDependencies for RPM building with mock should work now
Ondrej Mikle [Fri, 8 Jun 2012 13:41:53 +0000 (15:41 +0200)] 
Dependencies for RPM building with mock should work now

13 years agoWarn at parse time for routerstatus entry missing a microdesc consensus
Nick Mathewson [Tue, 31 Jul 2012 15:00:18 +0000 (11:00 -0400)] 
Warn at parse time for routerstatus entry missing a microdesc consensus

In 0.2.3.18-rc, we started warning on this case while building a
list of missing microdescriptor digests.  That turned out to spam
the logs; instead let's warn at parse time.

Partial fix for bug 6404.

13 years agoDon't include a router in an md consensus if we can't find a md for it.
Nick Mathewson [Tue, 31 Jul 2012 14:54:14 +0000 (10:54 -0400)] 
Don't include a router in an md consensus if we can't find a md for it.

The spec requires that every router in a microdesc consensus have an
m line; we weren't obeying that spec.

This creates a new consensus method (13) to allow voting to continue
to work right. Partial fix for bug 6404; fix on 0.2.2.6-alpha.

13 years agoAllow microdescs to be up to 2k. Partial fix for 6404.
Nick Mathewson [Tue, 31 Jul 2012 14:48:35 +0000 (10:48 -0400)] 
Allow microdescs to be up to 2k. Partial fix for 6404.

13 years agoMerge branch 'bug6490_v2' into maint-0.2.3
Nick Mathewson [Tue, 31 Jul 2012 14:28:43 +0000 (10:28 -0400)] 
Merge branch 'bug6490_v2' into maint-0.2.3

13 years agoWarn when accounting is used in a way likely to link hidden services
Nick Mathewson [Mon, 30 Jul 2012 15:58:55 +0000 (11:58 -0400)] 
Warn when accounting is used in a way likely to link hidden services

Fix for 6490.

13 years agoFix some manpage typos
Nick Mathewson [Tue, 31 Jul 2012 14:16:03 +0000 (10:16 -0400)] 
Fix some manpage typos

This is based on a pair of patches from A. Costa. I couldn't apply
those directly, since they changed the generated *roff files, not
the asciidoc source.

Fixes Tor bug 6500 and Debian bug 683359.

13 years agotrivial grammar fix
Roger Dingledine [Tue, 31 Jul 2012 09:10:05 +0000 (05:10 -0400)] 
trivial grammar fix

13 years agoMerge remote-tracking branch 'asn/bug6274_take3' into maint-0.2.3
Nick Mathewson [Mon, 23 Jul 2012 16:35:23 +0000 (12:35 -0400)] 
Merge remote-tracking branch 'asn/bug6274_take3' into maint-0.2.3

13 years agochanges file for bug 6436.
Nick Mathewson [Fri, 20 Jul 2012 13:50:19 +0000 (09:50 -0400)] 
changes file for bug 6436.

13 years agoClarify how to build asciidoc files using homebrew on Mac OS X
Steven Murdoch [Fri, 20 Jul 2012 13:29:20 +0000 (14:29 +0100)] 
Clarify how to build asciidoc files using homebrew on Mac OS X

13 years agoBetter handling of server managed proxies when Tor is not a relay.
George Kadianakis [Wed, 18 Jul 2012 18:01:02 +0000 (20:01 +0200)] 
Better handling of server managed proxies when Tor is not a relay.

13 years agoHave the bug6252 commit message reflect its on-again/off-again status
Nick Mathewson [Wed, 18 Jul 2012 14:24:17 +0000 (10:24 -0400)] 
Have the bug6252 commit message reflect its on-again/off-again status

13 years agoDetect bug 6252 (unexpected sendme cell)
Roger Dingledine [Thu, 28 Jun 2012 18:00:01 +0000 (14:00 -0400)] 
Detect bug 6252 (unexpected sendme cell)

I only check on circuits, not streams, since bloating your stream
window past the initial circuit window can't help you much.

Also, I compare to CIRCWINDOW_START_MAX so we don't have surprising
races if we lower CIRCWINDOW_START for an experiment.

13 years agoMerge branch 'smartlist_shorten' into maint-0.2.3
Nick Mathewson [Wed, 18 Jul 2012 14:14:14 +0000 (10:14 -0400)] 
Merge branch 'smartlist_shorten' into maint-0.2.3

13 years agoTweaks to 6400 changes file and docs as suggested by arma
Nick Mathewson [Wed, 18 Jul 2012 14:12:19 +0000 (10:12 -0400)] 
Tweaks to 6400 changes file and docs as suggested by arma

13 years agoImprove message on spurious SOCKSListenAddress
Nick Mathewson [Tue, 17 Jul 2012 16:02:55 +0000 (12:02 -0400)] 
Improve message on spurious SOCKSListenAddress

13 years agoFix the remaining instances of nexted SMARTLIST_FOREACH
Nick Mathewson [Tue, 17 Jul 2012 14:41:24 +0000 (10:41 -0400)] 
Fix the remaining instances of nexted SMARTLIST_FOREACH

13 years agoChange all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END
Nick Mathewson [Tue, 17 Jul 2012 13:33:38 +0000 (09:33 -0400)] 
Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END

The SMARTLIST_FOREACH macro is more convenient than BEGIN/END when
you have a nice short loop body, but using it for long bodies makes
your preprocessor tell the compiler that all the code is on the same
line.  That causes grief, since compiler warnings and debugger lines
will all refer to that one line.

So, here's a new style rule: SMARTLIST_FOREACH blocks need to be
short.

13 years agoAllow TestingTorNetwork when alternate dir and bridge authorities are set.
Linus Nordberg [Wed, 11 Jul 2012 09:53:07 +0000 (11:53 +0200)] 
Allow TestingTorNetwork when alternate dir and bridge authorities are set.

Allow TestingTorNetwork when AlternateDirAuthority and
AlternateBridgeAuthority is set even if DirServer is not.

13 years agoRefer to the correct variable in a loop when parsing entry guard state
Nick Mathewson [Mon, 16 Jul 2012 15:49:45 +0000 (11:49 -0400)] 
Refer to the correct variable in a loop when parsing entry guard state

Fixes bug 6397 and coverity issue 709599. Bugfix on 0.2.3.17-beta.

13 years agoCoverity 709056: Check return value on fputs in tor-gencert
Nick Mathewson [Mon, 16 Jul 2012 15:38:39 +0000 (11:38 -0400)] 
Coverity 709056: Check return value on fputs in tor-gencert

13 years agoImprove Alternate*Authority docs. Bug 6387.
Nick Mathewson [Mon, 16 Jul 2012 15:21:20 +0000 (11:21 -0400)] 
Improve Alternate*Authority docs. Bug 6387.

13 years agoMerge branch 'maint-0.2.2' into maint-0.2.3
Roger Dingledine [Fri, 6 Jul 2012 20:31:40 +0000 (16:31 -0400)] 
Merge branch 'maint-0.2.2' into maint-0.2.3

13 years agoRevert to the May 2012 geoip db
Roger Dingledine [Fri, 6 Jul 2012 20:29:51 +0000 (16:29 -0400)] 
Revert to the May 2012 geoip db

The June 2012 db marks too many relays as country "A1".
Addresses bug 6334.

13 years agoMerge remote-tracking branch 'nickm/bug6271_part_a' into maint-0.2.3
Roger Dingledine [Fri, 6 Jul 2012 12:57:29 +0000 (08:57 -0400)] 
Merge remote-tracking branch 'nickm/bug6271_part_a' into maint-0.2.3

13 years agoFix port range in parse_port_range().
George Kadianakis [Fri, 22 Jun 2012 15:24:06 +0000 (18:24 +0300)] 
Fix port range in parse_port_range().

13 years agoFix a bug handling SENDME cells on nonexistent streams.
Nick Mathewson [Fri, 6 Jul 2012 11:29:54 +0000 (07:29 -0400)] 
Fix a bug handling SENDME cells on nonexistent streams.

This could result in bizarre window values. Report and patch
contributed pseudymously.  Fixes part of bug 6271. This bug was
introduced before the first Tor release, in svn commit r152.

(bug 6271, part a.)

13 years agoOn windows, ENOBUFS starts with WSA. #6296. Fix on 0.2.18-rc
Nick Mathewson [Thu, 5 Jul 2012 09:01:00 +0000 (05:01 -0400)] 
On windows, ENOBUFS starts with WSA. #6296. Fix on 0.2.18-rc

13 years agoRevert "Detect bug 6252 (unexpected sendme cell)"
Roger Dingledine [Sun, 1 Jul 2012 21:36:35 +0000 (17:36 -0400)] 
Revert "Detect bug 6252 (unexpected sendme cell)"

This reverts commit c32ec9c425e9539bcc8ede95612e2d331c2cc2dd.

It turns out the two sides of the circuit don't actually stay in sync,
so it is perfectly normal for the circuit window on the exit relay to
grow to 2000+. We should fix that bug and then reconsider this patch.

13 years agoDetect bug 6252 (unexpected sendme cell)
Roger Dingledine [Thu, 28 Jun 2012 18:00:01 +0000 (14:00 -0400)] 
Detect bug 6252 (unexpected sendme cell)

I only check on circuits, not streams, since bloating your stream
window past the initial circuit window can't help you much.

Also, I compare to CIRCWINDOW_START_MAX so we don't have surprising
races if we lower CIRCWINDOW_START for an experiment.

13 years agobump version to 0.2.3.18-rc-dev
Nick Mathewson [Thu, 28 Jun 2012 20:01:55 +0000 (16:01 -0400)] 
bump version to 0.2.3.18-rc-dev

13 years agobump to 0.2.3.18-rc tor-0.2.3.18-rc
Roger Dingledine [Thu, 28 Jun 2012 19:34:33 +0000 (15:34 -0400)] 
bump to 0.2.3.18-rc

13 years agoadd a blurb for 0.2.3.18-rc, other minor cleanups
Roger Dingledine [Thu, 28 Jun 2012 19:32:36 +0000 (15:32 -0400)] 
add a blurb for 0.2.3.18-rc, other minor cleanups

13 years agofix grammar in comment
Roger Dingledine [Thu, 28 Jun 2012 17:43:01 +0000 (13:43 -0400)] 
fix grammar in comment

13 years agofold in more changes entries
Roger Dingledine [Thu, 28 Jun 2012 17:42:30 +0000 (13:42 -0400)] 
fold in more changes entries

13 years agoClean up check-spaces block; make it cover the right files
Nick Mathewson [Thu, 28 Jun 2012 15:04:52 +0000 (11:04 -0400)] 
Clean up check-spaces block; make it cover the right files

13 years agoMerge remote-tracking branch 'public/bug6244_part2' into maint-0.2.3
Nick Mathewson [Thu, 28 Jun 2012 14:49:32 +0000 (10:49 -0400)] 
Merge remote-tracking branch 'public/bug6244_part2' into maint-0.2.3

13 years agoAdd version and bug number to 5238 changes file
Nick Mathewson [Thu, 28 Jun 2012 14:45:56 +0000 (10:45 -0400)] 
Add version and bug number to 5238 changes file

13 years agoDowngrade 'Got a certificate, but we already have it' log message from warning to...
Andrea Shepard [Thu, 28 Jun 2012 07:21:06 +0000 (00:21 -0700)] 
Downgrade 'Got a certificate, but we already have it' log message from warning to info, except when we're a dirauth (fixes bug 5238)

13 years agoFix GETINFO address-mappings/... with wildcarded addresses.
Nick Mathewson [Thu, 28 Jun 2012 03:55:01 +0000 (23:55 -0400)] 
Fix GETINFO address-mappings/... with wildcarded addresses.

13 years agoAllow wildcarded mapaddress targets in controller MAPADDRESS command
Nick Mathewson [Thu, 28 Jun 2012 03:38:04 +0000 (23:38 -0400)] 
Allow wildcarded mapaddress targets in controller MAPADDRESS command

13 years agomerge changes files into upcoming changelog
Roger Dingledine [Thu, 28 Jun 2012 01:32:17 +0000 (21:32 -0400)] 
merge changes files into upcoming changelog

13 years agoMerge remote-tracking branch 'public/bug6227' into maint-0.2.3
Nick Mathewson [Tue, 26 Jun 2012 15:03:56 +0000 (11:03 -0400)] 
Merge remote-tracking branch 'public/bug6227' into maint-0.2.3