]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
14 years agoExplain bug2346 fix better based on suggestions from arma
Nick Mathewson [Wed, 12 Jan 2011 17:37:42 +0000 (12:37 -0500)] 
Explain bug2346 fix better based on suggestions from arma

14 years agoWait 60 minutes before retrying failed state save; bug2346
Nick Mathewson [Mon, 10 Jan 2011 21:44:42 +0000 (16:44 -0500)] 
Wait 60 minutes before retrying failed state save; bug2346

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Mon, 10 Jan 2011 19:12:33 +0000 (14:12 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoUpdate to the January 1 2011 Maxmind GeoLite Country database.
Karsten Loesing [Mon, 10 Jan 2011 09:37:54 +0000 (10:37 +0100)] 
Update to the January 1 2011 Maxmind GeoLite Country database.

14 years agoDescribe tor-resolve defaults. Bug 2364.
Nick Mathewson [Sun, 9 Jan 2011 20:40:40 +0000 (15:40 -0500)] 
Describe tor-resolve defaults. Bug 2364.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Sat, 8 Jan 2011 03:04:40 +0000 (22:04 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoRemove a loud info log message
Nick Mathewson [Sat, 8 Jan 2011 03:03:22 +0000 (22:03 -0500)] 
Remove a loud info log message

14 years agoCorrectly detect and exclude addresses outside of our virtual address range
Nick Mathewson [Fri, 7 Jan 2011 17:18:37 +0000 (12:18 -0500)] 
Correctly detect and exclude addresses outside of our virtual address range

Found by cypherpunks; fixes more of 2328.  Bug was introduced in 3623a122;
first appeared in 0.2.0.5-alpha.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Thu, 6 Jan 2011 18:37:39 +0000 (13:37 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoMerge branch 'bug2328_021' into maint-0.2.1
Nick Mathewson [Thu, 6 Jan 2011 18:36:29 +0000 (13:36 -0500)] 
Merge branch 'bug2328_021' into maint-0.2.1

14 years agoNotice a little faster if we're running out of virtual addresses
Nick Mathewson [Thu, 6 Jan 2011 18:29:36 +0000 (13:29 -0500)] 
Notice a little faster if we're running out of virtual addresses

We were not decrementing "available" every time we did
++next_virtual_addr in addressmap_get_virtual_address: we left out the
--available when we skipped .00 and .255 addresses.

This didn't actually cause a bug in most cases, since the failure mode
was to keep looping around the virtual addresses until we found one,
or until available hit zero.  It could have given you an infinite loop
rather than a useful message, however, if you said "VirtualAddrNetwork
127.0.0.255/32" or something broken like that.

Spotted by cypherpunks

14 years agoHandle a NULL return from addressmap_get_virtual_address
Nick Mathewson [Wed, 5 Jan 2011 21:36:48 +0000 (16:36 -0500)] 
Handle a NULL return from addressmap_get_virtual_address

Fix for bug 2328; bugfix on 0.1.2.1-alpha; bug found by doorss.

14 years agoFix a double-counting bug in addrmap_get_virtual_address
Nick Mathewson [Wed, 5 Jan 2011 21:02:43 +0000 (16:02 -0500)] 
Fix a double-counting bug in addrmap_get_virtual_address

We were decrementing "available" twice for each in-use address we ran
across.  This would make us declare that we ran out of virtual
addresses when the address space was only half full.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Mon, 3 Jan 2011 22:24:32 +0000 (17:24 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoNote that Tor requires Automake 1.7. Fixes bug 2305
Nick Mathewson [Mon, 3 Jan 2011 22:19:05 +0000 (17:19 -0500)] 
Note that Tor requires Automake 1.7. Fixes bug 2305

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Mon, 3 Jan 2011 20:31:19 +0000 (15:31 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoAvoid assertion on read_file_to_str() with size==SIZE_T_CEILING-1
Nick Mathewson [Mon, 3 Jan 2011 20:30:11 +0000 (15:30 -0500)] 
Avoid assertion on read_file_to_str() with size==SIZE_T_CEILING-1

Spotted by doors, fixes bug 2326.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Mon, 3 Jan 2011 20:15:54 +0000 (15:15 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoCheck size against SIZE_T_CEILING in realloc too.
Nick Mathewson [Mon, 3 Jan 2011 20:15:27 +0000 (15:15 -0500)] 
Check size against SIZE_T_CEILING in realloc too.

Fixes bug 2324.

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Mon, 3 Jan 2011 18:18:33 +0000 (13:18 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoMerge remote branch 'sebastian/bug2314' into maint-0.2.2
Nick Mathewson [Mon, 3 Jan 2011 17:47:14 +0000 (12:47 -0500)] 
Merge remote branch 'sebastian/bug2314' into maint-0.2.2

14 years agoNever include pthread.h when building for Windows.
Nick Mathewson [Mon, 3 Jan 2011 17:42:19 +0000 (12:42 -0500)] 
Never include pthread.h when building for Windows.

On Windows, we never use pthreads, since it doesn't usually exist,
and when it does it tends to be a little weirdly-behaved.  But some
mingw installations have a pthreads installed, so autoconf detects
pthread.h and tells us about it.  This would make us include
pthread.h, which could make for trouble when the iffy pthread.h
tried to include config.h.

This patch changes compat.h so that we never include pthread.h on
Windows.  Fixes bug 2313; bugfix on 0.1.0.1-rc.

14 years agoFix a function formatting warning in rephist.c
Nick Mathewson [Mon, 3 Jan 2011 16:59:47 +0000 (11:59 -0500)] 
Fix a function formatting warning in rephist.c

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Mon, 3 Jan 2011 16:58:59 +0000 (11:58 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

Conflicts:
src/or/routerparse.c

14 years agofix whitespace issues
Nick Mathewson [Mon, 3 Jan 2011 16:57:42 +0000 (11:57 -0500)] 
fix whitespace issues

14 years agoBump copyright statements to 2011 (0.2.2)
Nick Mathewson [Mon, 3 Jan 2011 16:52:09 +0000 (11:52 -0500)] 
Bump copyright statements to 2011 (0.2.2)

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Mon, 3 Jan 2011 16:51:17 +0000 (11:51 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

Conflicts:
src/common/test.h
src/or/test.c

14 years agoBump copyright statements to 2011
Nick Mathewson [Mon, 3 Jan 2011 16:50:39 +0000 (11:50 -0500)] 
Bump copyright statements to 2011

14 years agoFix compile wanrings revealed by gcc 4.5 on mingw
Sebastian Hahn [Sun, 26 Dec 2010 11:13:47 +0000 (12:13 +0100)] 
Fix compile wanrings revealed by gcc 4.5 on mingw

14 years agoMerge remote branch 'public/bug2060' into maint-0.2.2
Nick Mathewson [Tue, 21 Dec 2010 20:53:03 +0000 (15:53 -0500)] 
Merge remote branch 'public/bug2060' into maint-0.2.2

14 years agoMerge remote branch 'rransom/bug2190_the_hard_way' into maint-0.2.2
Nick Mathewson [Tue, 21 Dec 2010 20:48:14 +0000 (15:48 -0500)] 
Merge remote branch 'rransom/bug2190_the_hard_way' into maint-0.2.2

14 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Tue, 21 Dec 2010 20:48:06 +0000 (15:48 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

14 years agoMerge remote branch 'public/bug2190_021' into maint-0.2.1
Nick Mathewson [Tue, 21 Dec 2010 20:44:50 +0000 (15:44 -0500)] 
Merge remote branch 'public/bug2190_021' into maint-0.2.1

15 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Fri, 17 Dec 2010 00:23:21 +0000 (19:23 -0500)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

15 years agoput 0.2.1.28 release notes in place too
Roger Dingledine [Fri, 17 Dec 2010 00:20:18 +0000 (19:20 -0500)] 
put 0.2.1.28 release notes in place too

15 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Thu, 16 Dec 2010 22:24:21 +0000 (17:24 -0500)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

15 years agoMerge commit 'nickm/fix_security_bug_022' into maint-0.2.2
Roger Dingledine [Thu, 16 Dec 2010 22:24:11 +0000 (17:24 -0500)] 
Merge commit 'nickm/fix_security_bug_022' into maint-0.2.2

15 years agoMerge commit 'nickm/fix_security_bug_021' into maint-0.2.1
Roger Dingledine [Thu, 16 Dec 2010 21:59:12 +0000 (16:59 -0500)] 
Merge commit 'nickm/fix_security_bug_021' into maint-0.2.1

15 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Thu, 16 Dec 2010 15:05:07 +0000 (10:05 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

15 years agoChange gabelmoo's IP address and ports.
Karsten Loesing [Thu, 16 Dec 2010 12:10:19 +0000 (13:10 +0100)] 
Change gabelmoo's IP address and ports.

15 years agoMerge remote branch fix_security_bug_021 into fix_security_bug_022
Nick Mathewson [Thu, 16 Dec 2010 03:47:28 +0000 (22:47 -0500)] 
Merge remote branch fix_security_bug_021 into fix_security_bug_022

Conflicts:
src/common/memarea.c
src/or/or.h
src/or/rendclient.c

15 years agoAdd a changelog entry
Nick Mathewson [Thu, 16 Dec 2010 03:35:07 +0000 (22:35 -0500)] 
Add a changelog entry

15 years agoMake payloads into uint8_t.
Nick Mathewson [Tue, 14 Dec 2010 00:34:01 +0000 (19:34 -0500)] 
Make payloads into uint8_t.

This will avoid some signed/unsigned assignment-related bugs.

15 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Tue, 14 Dec 2010 19:13:24 +0000 (14:13 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

Conflicts:
src/config/geoip

15 years agoHave all of our allocation functions and a few others check for underflow
Nick Mathewson [Mon, 13 Dec 2010 23:40:21 +0000 (18:40 -0500)] 
Have all of our allocation functions and a few others check for underflow

It's all too easy in C to convert an unsigned value to a signed one,
which will (on all modern computers) give you a huge signed value.  If
you have a size_t value of size greater than SSIZE_T_MAX, that is way
likelier to be an underflow than it is to be an actual request for
more than 2gb of memory in one go.  (There's nothing in Tor that
should be trying to allocate >2gb chunks.)

15 years agoBase SIZE_T_CEILING on SSIZE_T_MAX.
Nick Mathewson [Mon, 13 Dec 2010 23:40:15 +0000 (18:40 -0500)] 
Base SIZE_T_CEILING on SSIZE_T_MAX.

15 years agoOnly add each log message to pending_cb_messages once.
Robert Ransom [Sat, 11 Dec 2010 13:26:36 +0000 (05:26 -0800)] 
Only add each log message to pending_cb_messages once.

15 years agoDon't call flush_pending_log_callbacks while logging LD_NOCB messages.
Robert Ransom [Sat, 11 Dec 2010 12:41:35 +0000 (04:41 -0800)] 
Don't call flush_pending_log_callbacks while logging LD_NOCB messages.

Found by boboper.

15 years agoUpdate to the December 1 2010 Maxmind GeoLite Country database.
Karsten Loesing [Wed, 8 Dec 2010 16:59:40 +0000 (17:59 +0100)] 
Update to the December 1 2010 Maxmind GeoLite Country database.

15 years agoMerge branch 'bug2081_followup_022' into maint-0.2.2
Nick Mathewson [Tue, 7 Dec 2010 16:35:49 +0000 (11:35 -0500)] 
Merge branch 'bug2081_followup_022' into maint-0.2.2

15 years agoReject relay versions older than 0.2.0.26-rc
Nick Mathewson [Tue, 7 Dec 2010 16:35:32 +0000 (11:35 -0500)] 
Reject relay versions older than 0.2.0.26-rc

This was the first version to cache the correct directory information.

Fixes bug 2156.

15 years agorevise bug2081_followup changelog
Nick Mathewson [Tue, 7 Dec 2010 16:27:51 +0000 (11:27 -0500)] 
revise bug2081_followup changelog

15 years agoFix a bug in calculating wakeup time on 64-bit machines.
Nick Mathewson [Mon, 6 Dec 2010 17:01:32 +0000 (12:01 -0500)] 
Fix a bug in calculating wakeup time on 64-bit machines.

If you had TIME_MAX > INT_MAX, and your "time_to_exhaust_bw =
accountingmax/expected_bandwidth_usage * 60" calculation managed to
overflow INT_MAX, then your time_to_consider value could underflow and
wind up being rediculously low or high.  "Low" was no problem;
negative values got caught by the (time_to_consider <= 0) check.
"High", however, would get you a wakeup time somewhere in the distant
future.

The fix is to check for time_to_exhaust_bw overflowing INT_MAX, not
TIME_MAX: We don't allow any accounting interval longer than a month,
so if time_to_exhaust_bw is significantly larger than 31*24*60*60, we
can just clip it.

This is a bugfix on 0.0.9pre6, when accounting was first introduced.
It fixes bug 2146, unless there are other causes there too.  The fix
is from boboper.  (I tweaked it slightly by removing an assignment
that boboper marked as dead, and lowering a variable that no longer
needed to be function-scoped.)

15 years agoAdd a missing ! to directory_fetches_from_authorities
Nick Mathewson [Mon, 6 Dec 2010 16:36:01 +0000 (11:36 -0500)] 
Add a missing ! to directory_fetches_from_authorities

The old logic would have us fetch from authorities if we were refusing
unknown exits and our exit policy was reject*.  Instead, we want to
fetch from authorities if we're refusing unknown exits and our exit
policy is _NOT_ reject*.

Fixed by boboper.  Fixes more of 2097.  Bugfix on 0.2.2.16-alpha.

15 years agoDon't crash when accountingmax is set in non-server Tors
Nick Mathewson [Fri, 3 Dec 2010 18:37:13 +0000 (13:37 -0500)] 
Don't crash when accountingmax is set in non-server Tors

We use a hash of the identity key to seed a prng to tell when an
accounting period should end.  But thanks to the bug998 changes,
clients no longer have server-identity keys to use as a long-term seed
in accounting calculations.  In any case, their identity keys (as used
in TLS) were never never fixed.  So we can just set the wakeup time
from a random seed instead there.  Still open is whether everybody
should be random.

This patch fixes bug 2235, which was introduced in 0.2.2.18-alpha.

Diagnosed with help from boboper on irc.

15 years agoFix a harmless off-by-one error in counting controller argument lengths
Nick Mathewson [Thu, 2 Dec 2010 18:19:21 +0000 (13:19 -0500)] 
Fix a harmless off-by-one error in counting controller argument lengths

Bugfix on 0.1.1.1-alpha; found by boboper.

15 years agoSpecified grammars for orconn-status and entry-guards for Tor versions 0.1.2.2-alpha...
Poet (Tim Sally) [Wed, 1 Dec 2010 17:19:26 +0000 (11:19 -0600)] 
Specified grammars for orconn-status and entry-guards for Tor versions 0.1.2.2-alpha through 0.2.2.1-alpha with feature VERBOSE_NAMES turned off.

15 years agoCorrect information about support for guards being called helper nodes.
Poet (Tim Sally) [Wed, 1 Dec 2010 11:26:05 +0000 (05:26 -0600)] 
Correct information about support for guards being called helper nodes.

The spec stated that support for the helper-nodes command would be removed
in 0.1.3.x, however support for this command is still in Tor. Updated the spec
to reflect this and added a node that the command is deprecated.

15 years agoCorrect grammars to reflect that VERBOSE_NAMES is part of the protocol.
Poet (Tim Sally) [Wed, 1 Dec 2010 11:25:17 +0000 (05:25 -0600)] 
Correct grammars to reflect that VERBOSE_NAMES is part of the protocol.

Several updates to grammars for events and GETINFO results.  All relate
to the fact that LongName has replaced ServerID since 0.2.2.1-alpha. See
documentation of VERBOSE_NAMES for more information. The following
grammars were changed:
  * orconn-status GETINFO result
  * entry-guards GETINFO result
  * Path general token
  * OR Connection status changed event
  * New descriptors available event
In all cases a note was added about when the old grammar applies.

15 years agoSeveral changes to the way tokens describing servers are documented.
Poet (Tim Sally) [Wed, 1 Dec 2010 11:24:33 +0000 (05:24 -0600)] 
Several changes to the way tokens describing servers are documented.

(1) Made the wording of the comments consistant with token names.
Digest/Fingerprint and Name/Nickname were being used interchangeably.
Better to just use Fingerprint and Nickname becuase they are the names
of the tokens.

(2) Places the tokens currently in use before the tokens used in older
versions.  ServerSpec should be documented before ServerID.

(3) Added a note to the comments about ServerID that cross reference
the VERBOSE_FEATURE, allowing users to see when and why ServerID was
replaced with LongName.

15 years agoClarify description of FEATURES in control-spec.
Poet (Tim Sally) [Wed, 1 Dec 2010 11:21:34 +0000 (05:21 -0600)] 
Clarify description of FEATURES in control-spec.

(1) On by default is a bad way to describe features. Rather, they
are always on and should be viewed as a part of the control
protocol. Updated the wording in USEFEATURE to reflect this.

(2) Made descriptions of Tor versions consistant across all
features. There is the version in which a feature was introduced and
the version in which it became part of the protocol.

(3) Reworded the description of the VERBOSE_NAMES feature. The
previous wording describes the way things used to be first. Better to
lead with the current state of things and then describe how it differs
from old versions.

15 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Wed, 1 Dec 2010 05:11:27 +0000 (00:11 -0500)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

Conflicts:

doc/Makefile.am

15 years agoadd 0.2.1.27 blurb and changelog to release notes
Roger Dingledine [Wed, 1 Dec 2010 05:07:03 +0000 (00:07 -0500)] 
add 0.2.1.27 blurb and changelog to release notes

15 years agofix changes file for 2210
Nick Mathewson [Wed, 1 Dec 2010 00:19:36 +0000 (19:19 -0500)] 
fix changes file for 2210

15 years agoRevise comment on 2210 a little; clean up n_streams/num_streams confusion
Nick Mathewson [Mon, 29 Nov 2010 20:59:59 +0000 (15:59 -0500)] 
Revise comment on 2210 a little; clean up n_streams/num_streams confusion

Also add a changes file

15 years agoAdd wrappers function for libc random()
Nick Mathewson [Mon, 29 Nov 2010 20:53:33 +0000 (15:53 -0500)] 
Add wrappers function for libc random()

On windows, it's called something different.

15 years agoFix whitespace in patch for 2210 and backport to 0.2.2
Nick Mathewson [Mon, 29 Nov 2010 20:53:12 +0000 (15:53 -0500)] 
Fix whitespace in patch for 2210 and backport to 0.2.2

15 years agoImprove fairness when activating streams in circuit_resume_edge_reading_helper
Mashael AlSabah [Mon, 29 Nov 2010 20:34:21 +0000 (15:34 -0500)] 
Improve fairness when activating streams in circuit_resume_edge_reading_helper

 The reason the "streams problem" occurs is due to the complicated
interaction between Tor's congestion control and libevent. At some point
during the experiment, the circuit window is exhausted, which blocks all
edge streams. When a circuit level sendme is received at Exit, it
resumes edge reading by looping over linked list of edge streams, and
calling connection_start_reading() to inform libevent to resume reading.
When the streams are activated again, Tor gets the chance to service the
first three streams activated before the circuit window is exhausted
again, which causes all streams to be blocked again. As an experiment,
we reversed the order in which the streams are activated, and indeed the
first three streams, rather than the last three, got service, while the
others starved.

 Our solution is to change the order in which streams are activated. We
choose a random edge connection from the linked list, and then we
activate streams starting from that chosen stream. When we reach the end
of the list, then we continue from the head of the list until our chosen
stream (treating the linked list as a circular linked list). It would
probably be better to actually remember which streams have received
service recently, but this way is simple and effective.

15 years agoMerge branch 'exitstats' into maint-0.2.2
Nick Mathewson [Mon, 29 Nov 2010 20:28:22 +0000 (15:28 -0500)] 
Merge branch 'exitstats' into maint-0.2.2

15 years agocomment karsten's bug2196 patch a little
Nick Mathewson [Mon, 29 Nov 2010 20:27:54 +0000 (15:27 -0500)] 
comment karsten's bug2196 patch a little

15 years agoMerge remote branch 'rransom/fix2195-fix' into maint-0.2.2
Nick Mathewson [Wed, 24 Nov 2010 22:02:22 +0000 (17:02 -0500)] 
Merge remote branch 'rransom/fix2195-fix' into maint-0.2.2

15 years agoAvoid dereferencing NULL if a bridge fails to build an ei descriptor.
Robert Ransom [Wed, 24 Nov 2010 15:50:29 +0000 (07:50 -0800)] 
Avoid dereferencing NULL if a bridge fails to build an ei descriptor.

Reported by an anonymous commenter on Trac.

15 years agoReport only the top 10 ports in exit-port stats.
Karsten Loesing [Tue, 23 Nov 2010 20:09:12 +0000 (21:09 +0100)] 
Report only the top 10 ports in exit-port stats.

15 years agoFix compilation with mingw and OpenSSL 0.9.8m+
mingw-san [Mon, 26 Jul 2010 19:05:11 +0000 (15:05 -0400)] 
Fix compilation with mingw and OpenSSL 0.9.8m+

15 years agoUse S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2...
Nick Mathewson [Tue, 23 Nov 2010 17:46:41 +0000 (12:46 -0500)] 
Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2.1 compilation on windows

15 years agostop shipping doc/img and doc/website in the tarball
Roger Dingledine [Tue, 23 Nov 2010 05:03:50 +0000 (00:03 -0500)] 
stop shipping doc/img and doc/website in the tarball

15 years agopick a more accurate release date tor-0.2.2.19-alpha
Roger Dingledine [Tue, 23 Nov 2010 03:44:20 +0000 (22:44 -0500)] 
pick a more accurate release date

15 years agoDisable DirPort when BridgeRelay is set
Nick Mathewson [Mon, 22 Nov 2010 18:12:48 +0000 (13:12 -0500)] 
Disable DirPort when BridgeRelay is set

15 years agoHave authorities reject routers running verions susceptible to bug 1038.
Nick Mathewson [Mon, 22 Nov 2010 16:16:36 +0000 (11:16 -0500)] 
Have authorities reject routers running verions susceptible to bug 1038.

15 years agobump to 0.2.2.19-alpha
Roger Dingledine [Sun, 21 Nov 2010 23:00:12 +0000 (18:00 -0500)] 
bump to 0.2.2.19-alpha

15 years agoprepare for our emergency openssl fix release
Roger Dingledine [Sun, 21 Nov 2010 21:59:42 +0000 (16:59 -0500)] 
prepare for our emergency openssl fix release

15 years agoMerge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Sun, 21 Nov 2010 19:33:11 +0000 (14:33 -0500)] 
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2

15 years agoMerge branch 'fix2204' into maint-0.2.1
Nick Mathewson [Sun, 21 Nov 2010 19:28:38 +0000 (14:28 -0500)] 
Merge branch 'fix2204' into maint-0.2.1

15 years agoDo not set the hostname TLS extension server-side; only client-side
Nick Mathewson [Sun, 21 Nov 2010 03:21:50 +0000 (22:21 -0500)] 
Do not set the hostname TLS extension server-side; only client-side

This may fix bug 2204, and resolve the incompatibility with openssl
0.9.8p/1.0.0b.

15 years agoBetter fix for 2190: defer libevent->controller messages instead of dropping
Nick Mathewson [Sat, 20 Nov 2010 03:52:32 +0000 (22:52 -0500)] 
Better fix for 2190: defer libevent->controller messages instead of dropping

15 years agoDo not send Libevent log messages to a controller (0.2.1 backport)
Nick Mathewson [Sat, 20 Nov 2010 03:22:43 +0000 (22:22 -0500)] 
Do not send Libevent log messages to a controller (0.2.1 backport)

Doing so could make Libevent call Libevent from inside a Libevent
logging call, which is a recipe for reentrant confusion and
hard-to-debug crashes.  This would especially hurt if Libevent
debug-level logging is enabled AND the user has a controller
watching for low-severity log messages.

Fix bug 2190; fix on 0.1.0.2-rc.

15 years agoDo not send Libevent log messages to a controller.
Nick Mathewson [Sat, 20 Nov 2010 03:22:43 +0000 (22:22 -0500)] 
Do not send Libevent log messages to a controller.

Doing so could make Libevent call Libevent from inside a Libevent
logging call, which is a recipe for reentrant confusion and
hard-to-debug crashes.  This would especially hurt if Libevent
debug-level logging is enabled AND the user has a controller
watching for low-severity log messages.

Fix bug 2190; fix on 0.1.0.2-rc.

15 years agoFix a unit test broken by fix for 2195
Nick Mathewson [Fri, 19 Nov 2010 21:50:14 +0000 (16:50 -0500)] 
Fix a unit test broken by fix for 2195

15 years agoMerge branch 'fix2183', remote branch 'rransom/fix2195-v2' into maint-0.2.2
Nick Mathewson [Fri, 19 Nov 2010 21:48:13 +0000 (16:48 -0500)] 
Merge branch 'fix2183', remote branch 'rransom/fix2195-v2' into maint-0.2.2

15 years agoAdd changes file for bug2195.
Robert Ransom [Fri, 19 Nov 2010 21:46:09 +0000 (13:46 -0800)] 
Add changes file for bug2195.

15 years agoFix logic error in router_dump_router_to_string.
Robert Ransom [Fri, 19 Nov 2010 21:23:45 +0000 (13:23 -0800)] 
Fix logic error in router_dump_router_to_string.

Spotted by Nick Mathewson.

15 years agoAdd comments to some of the bug2183 fix code
Nick Mathewson [Fri, 19 Nov 2010 21:13:11 +0000 (16:13 -0500)] 
Add comments to some of the bug2183 fix code

15 years agoGenerate a router descriptor even if generating an extra-info descriptor fails.
Robert Ransom [Mon, 15 Nov 2010 09:36:08 +0000 (01:36 -0800)] 
Generate a router descriptor even if generating an extra-info descriptor fails.

Fixes bug #2195.

15 years agoDo not emit an extra-info-digest descriptor line if the digest is zero.
Robert Ransom [Mon, 15 Nov 2010 06:17:32 +0000 (22:17 -0800)] 
Do not emit an extra-info-digest descriptor line if the digest is zero.

15 years agoTweak the bugfix for 2183 a bit more.
Karsten Loesing [Wed, 17 Nov 2010 09:26:34 +0000 (10:26 +0100)] 
Tweak the bugfix for 2183 a bit more.

15 years agonew development version
Roger Dingledine [Tue, 16 Nov 2010 19:45:40 +0000 (14:45 -0500)] 
new development version

15 years agofinal touchups tor-0.2.2.18-alpha
Roger Dingledine [Tue, 16 Nov 2010 06:12:32 +0000 (01:12 -0500)] 
final touchups

15 years agobump to 0.2.2.18-alpha
Roger Dingledine [Tue, 16 Nov 2010 05:20:49 +0000 (00:20 -0500)] 
bump to 0.2.2.18-alpha

15 years agowarn more about AllowSingleHopExits
Roger Dingledine [Tue, 16 Nov 2010 05:13:25 +0000 (00:13 -0500)] 
warn more about AllowSingleHopExits

15 years agomerge in more changelog entries
Roger Dingledine [Tue, 16 Nov 2010 04:54:20 +0000 (23:54 -0500)] 
merge in more changelog entries