]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
16 years agominor fixes in some comments
Roger Dingledine [Mon, 7 Sep 2009 00:09:08 +0000 (20:09 -0400)] 
minor fixes in some comments

16 years agoi couldn't break nick's tor_parse_double()
Roger Dingledine [Wed, 2 Sep 2009 05:10:10 +0000 (01:10 -0400)] 
i couldn't break nick's tor_parse_double()

i guess that means i should call them unit tests and check them in.

16 years agospelling, indenting, punctuating
Roger Dingledine [Wed, 2 Sep 2009 03:14:54 +0000 (23:14 -0400)] 
spelling, indenting, punctuating

16 years agomove the packaging change list to 0.2.2.1-alpha
Roger Dingledine [Wed, 2 Sep 2009 02:51:46 +0000 (22:51 -0400)] 
move the packaging change list to 0.2.2.1-alpha

16 years agoMerge branch 'maint-0.2.1'
Roger Dingledine [Wed, 2 Sep 2009 02:49:37 +0000 (22:49 -0400)] 
Merge branch 'maint-0.2.1'

16 years agoturns out the packaging changes aren't in 0.2.1.20
Roger Dingledine [Wed, 2 Sep 2009 02:46:41 +0000 (22:46 -0400)] 
turns out the packaging changes aren't in 0.2.1.20

16 years agoFix compile warnings on Snow Leopard
Sebastian Hahn [Tue, 1 Sep 2009 03:23:47 +0000 (05:23 +0200)] 
Fix compile warnings on Snow Leopard

Big thanks to nickm and arma for helping me with this!

16 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Tue, 1 Sep 2009 20:07:40 +0000 (16:07 -0400)] 
Merge commit 'origin/maint-0.2.1'

16 years agoupdate changelog with bundle details
Andrew Lewman [Tue, 1 Sep 2009 19:28:03 +0000 (15:28 -0400)] 
update changelog with bundle details

16 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Tue, 1 Sep 2009 19:59:40 +0000 (15:59 -0400)] 
Merge commit 'origin/maint-0.2.1'

16 years agoRemove a debug printf
Sebastian Hahn [Tue, 1 Sep 2009 12:54:14 +0000 (14:54 +0200)] 
Remove a debug printf

16 years agotypo
Sebastian Hahn [Sat, 29 Aug 2009 16:34:28 +0000 (18:34 +0200)] 
typo

16 years agoUse an _actual_ fix for the byte-reverse warning.
Nick Mathewson [Tue, 1 Sep 2009 19:51:09 +0000 (15:51 -0400)] 
Use an _actual_ fix for the byte-reverse warning.

(Given that we're pretty much assuming that int is 32 bits, and given that
hex values are always unsigned, taking out the "ul" from 0xff000000 should
be fine.)

16 years agoUse a simpler fix for the byte-reversing warning
Nick Mathewson [Tue, 1 Sep 2009 19:41:38 +0000 (15:41 -0400)] 
Use a simpler fix for the byte-reversing warning

16 years agoFix compile warnings on Snow Leopard
Sebastian Hahn [Tue, 1 Sep 2009 03:23:47 +0000 (05:23 +0200)] 
Fix compile warnings on Snow Leopard

Big thanks to nickm and arma for helping me with this!

16 years agoMerge commit 'public/bug1076'
Nick Mathewson [Tue, 1 Sep 2009 06:01:49 +0000 (02:01 -0400)] 
Merge commit 'public/bug1076'

16 years agoAdd getinfo accepted-server-descriptor. Clean spec.
Roger Dingledine [Mon, 31 Aug 2009 22:37:25 +0000 (18:37 -0400)] 
Add getinfo accepted-server-descriptor. Clean spec.

Add a "getinfo status/accepted-server-descriptor" controller
command, which is the recommended way for controllers to learn
whether our server descriptor has been successfully received by at
least on directory authority. Un-recommend good-server-descriptor
getinfo and status events until we have a better design for them.

16 years agoMerge branch 'maint-0.2.1'
Roger Dingledine [Mon, 31 Aug 2009 20:26:01 +0000 (16:26 -0400)] 
Merge branch 'maint-0.2.1'

16 years agoOnly send reachability status events on overall success/failure
Roger Dingledine [Mon, 31 Aug 2009 20:14:41 +0000 (16:14 -0400)] 
Only send reachability status events on overall success/failure

We were telling the controller about CHECKING_REACHABILITY and
REACHABILITY_FAILED status events whenever we launch a testing
circuit or notice that one has failed. Instead, only tell the
controller when we want to inform the user of overall success or
overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
by SwissTorExit.

16 years agoRevise parsing of time and memory units to handle spaces.
Nick Mathewson [Mon, 31 Aug 2009 04:18:55 +0000 (00:18 -0400)] 
Revise parsing of time and memory units to handle spaces.

When we added support for fractional units (like 1.5 MB) I broke
support for giving units with no space (like 2MB).  This patch should
fix that.  It also adds a propoer tor_parse_double().

Fix for bug 1076.  Bugfix on 0.2.2.1-alpha.

16 years agoMerge branch 'maint-0.2.1'
Roger Dingledine [Fri, 28 Aug 2009 07:47:18 +0000 (03:47 -0400)] 
Merge branch 'maint-0.2.1'

16 years agoOnly send netinfo clock_skew to controller if an authority told us so
Roger Dingledine [Fri, 28 Aug 2009 07:42:09 +0000 (03:42 -0400)] 
Only send netinfo clock_skew to controller if an authority told us so

We were triggering a CLOCK_SKEW controller status event whenever
we connect via the v2 connection protocol to any relay that has
a wrong clock. Instead, we should only inform the controller when
it's a trusted authority that claims our clock is wrong. Bugfix
on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.

16 years agobump to 0.2.2.1-alpha-dev
Roger Dingledine [Fri, 28 Aug 2009 02:27:31 +0000 (22:27 -0400)] 
bump to 0.2.2.1-alpha-dev

16 years agostart changelog for 0.2.2.2-alpha
Roger Dingledine [Fri, 28 Aug 2009 02:27:25 +0000 (22:27 -0400)] 
start changelog for 0.2.2.2-alpha

16 years agoMerge branch 'maint-0.2.1'
Roger Dingledine [Fri, 28 Aug 2009 01:56:10 +0000 (21:56 -0400)] 
Merge branch 'maint-0.2.1'

16 years agoextremely infinite? who talks like that?
Roger Dingledine [Fri, 28 Aug 2009 01:54:41 +0000 (21:54 -0400)] 
extremely infinite? who talks like that?

16 years agoMerge branch 'maint-0.2.1'
Roger Dingledine [Fri, 28 Aug 2009 01:42:58 +0000 (21:42 -0400)] 
Merge branch 'maint-0.2.1'

16 years agoHiddenServiceVersion must be set to 2 currently. tor-0.2.2.1-alpha
Sebastian Hahn [Thu, 27 Aug 2009 03:10:48 +0000 (05:10 +0200)] 
HiddenServiceVersion must be set to 2 currently.

0d68da2381780e2f8010b52a9e062947554699d5 removed support for Version 0,
but didn't fix the manpage.

16 years agoput karsten's changelog in the right place
Roger Dingledine [Thu, 27 Aug 2009 00:20:09 +0000 (20:20 -0400)] 
put karsten's changelog in the right place

16 years agoWhen Tor fails to parse a descriptor of any kind, dump it to disk.
Karsten Loesing [Thu, 20 Aug 2009 16:45:03 +0000 (18:45 +0200)] 
When Tor fails to parse a descriptor of any kind, dump it to disk.

16 years agoupdate fetch-all with dir auth
Andrew Lewman [Fri, 14 Aug 2009 01:13:09 +0000 (21:13 -0400)] 
update fetch-all with dir auth

16 years agochangelog and spec changes for the .exit fix
Roger Dingledine [Wed, 26 Aug 2009 19:43:18 +0000 (15:43 -0400)] 
changelog and spec changes for the .exit fix

16 years agobump to 0.2.2.1-alpha
Roger Dingledine [Wed, 26 Aug 2009 19:01:43 +0000 (15:01 -0400)] 
bump to 0.2.2.1-alpha

16 years agotypos in dir-spec
Roger Dingledine [Wed, 26 Aug 2009 18:48:13 +0000 (14:48 -0400)] 
typos in dir-spec

16 years agomark off a done proposal
Roger Dingledine [Wed, 26 Aug 2009 18:47:29 +0000 (14:47 -0400)] 
mark off a done proposal

16 years agonobody forward-ported the 0.2.0.35 changelog
Roger Dingledine [Wed, 26 Aug 2009 18:11:53 +0000 (14:11 -0400)] 
nobody forward-ported the 0.2.0.35 changelog

16 years agoclean up the changelog for 0.2.2.1-alpha
Roger Dingledine [Wed, 26 Aug 2009 17:58:19 +0000 (13:58 -0400)] 
clean up the changelog for 0.2.2.1-alpha

16 years agoMerge commit 'karsten/proposal-166-impl-master'
Nick Mathewson [Wed, 26 Aug 2009 15:36:40 +0000 (11:36 -0400)] 
Merge commit 'karsten/proposal-166-impl-master'

16 years agoA changelog entry and a bit more documentation for socks-client
Nick Mathewson [Wed, 26 Aug 2009 15:34:45 +0000 (11:34 -0400)] 
A changelog entry and a bit more documentation for socks-client

16 years agoMerge commit 'public/socks-client'
Nick Mathewson [Wed, 26 Aug 2009 15:27:19 +0000 (11:27 -0400)] 
Merge commit 'public/socks-client'

Resolved conflict in:
src/or/or.h

16 years agoMerge commit 'phobos/vidalia-bundle-updates-maint-0.2.1' into maint-0.2.1
Nick Mathewson [Tue, 25 Aug 2009 20:36:39 +0000 (16:36 -0400)] 
Merge commit 'phobos/vidalia-bundle-updates-maint-0.2.1' into maint-0.2.1

16 years agoupdate osx-dmg creation directions for the new methods
phobos [Tue, 25 Aug 2009 19:58:25 +0000 (15:58 -0400)] 
update osx-dmg creation directions for the new methods

16 years agoClean up a couple of style issues in the socks-client branch.
Nick Mathewson [Tue, 25 Aug 2009 14:30:54 +0000 (10:30 -0400)] 
Clean up a couple of style issues in the socks-client branch.

16 years agonew proposals: params in consensus, and lower circwindow
Roger Dingledine [Tue, 25 Aug 2009 04:34:29 +0000 (00:34 -0400)] 
new proposals: params in consensus, and lower circwindow

16 years agoAdd some fixes after discussion with Nick.
Karsten Loesing [Fri, 21 Aug 2009 21:02:36 +0000 (23:02 +0200)] 
Add some fixes after discussion with Nick.

- Refactor geoip.c by moving duplicate code into rotate_request_period().
- Don't leak memory when cleaning up cell queues.
- Make sure that exit_(streams|bytes_(read|written)) are initialized in all
  places accessing these arrays.
- Read only the last block from *stats files and ensure that its timestamp
  is not more than 25 hours in the past and not more than 1 hour in the
  future.
- Stop truncating the last character when reading *stats files.

The only thing that's left now is to avoid reading whole *stats files into
memory.

16 years agoRefactor geoip_get_dirreq_history() some more.
Nick Mathewson [Fri, 21 Aug 2009 17:35:47 +0000 (13:35 -0400)] 
Refactor geoip_get_dirreq_history() some more.

This patch avoids a bunch of allocations, and avoids using unallocated
memory.

16 years agoFix a memory leak in summarizing directory request timing.
Nick Mathewson [Fri, 21 Aug 2009 17:17:50 +0000 (13:17 -0400)] 
Fix a memory leak in summarizing directory request timing.

Spotted by Coverity Scan.

16 years agoAdd the first 8 bytes of the git commit digest to our versions.
Nick Mathewson [Fri, 12 Jun 2009 17:38:37 +0000 (13:38 -0400)] 
Add the first 8 bytes of the git commit digest to our versions.

Note that unlike subversion revision numbers, it isn't meaningful to
compare these for anything but equality.  We define a sort-order anyway,
in case one of these accidentally slips into a recommended-versions
list.

16 years agoautoconf 2.59 appears not to support AC_PROG_SED
Roger Dingledine [Fri, 21 Aug 2009 03:02:57 +0000 (23:02 -0400)] 
autoconf 2.59 appears not to support AC_PROG_SED

16 years agoSurvive unparseable cached cert file
Roger Dingledine [Thu, 20 Aug 2009 20:56:21 +0000 (16:56 -0400)] 
Survive unparseable cached cert file

16 years agoNotice v3 cert parsing failures
Roger Dingledine [Thu, 20 Aug 2009 20:50:51 +0000 (16:50 -0400)] 
Notice v3 cert parsing failures

If any the v3 certs we download are unparseable, we should actually
notice the failure so we don't retry indefinitely. Bugfix on 0.2.0.x;
reported by "rotator".

16 years agoMake crypto_digest_get_digest nondestructive again.
Nick Mathewson [Thu, 20 Aug 2009 16:03:32 +0000 (12:03 -0400)] 
Make crypto_digest_get_digest nondestructive again.

Fixes bug in f57883a39.

16 years agoFix a rare infinite-recursion bug when shutting down.
Nick Mathewson [Thu, 20 Aug 2009 15:51:34 +0000 (11:51 -0400)] 
Fix a rare infinite-recursion bug when shutting down.

Once we had called log_free_all(), anything that tried to log a
message (like a failed tor_assert()) would fail like this:

   1. The logging call eventually invokes the _log() function.
   2. _log() calls tor_mutex_lock(log_mutex).
   3. tor_mutex_lock(m) calls tor_assert(m).
   4. Since we freed the log_mutex, tor_assert() fails, and tries to
      log its failure.
   5. GOTO 1.

Now we allocate the mutex statically, and never destroy it on
shutdown.

Bugfix on 0.2.0.16-alpha, which introduced the log mutex.

This bug was found by Matt Edman.

16 years agoMake consensus_method_is_supported() be the canonical source for its info.
Nick Mathewson [Thu, 20 Aug 2009 02:07:32 +0000 (22:07 -0400)] 
Make consensus_method_is_supported() be the canonical source for its info.

Add a new function to derive the declared method list from
consensus_method_is_supported().

16 years agoAdd a SHA256 implementation for platforms that lack it.
Nick Mathewson [Thu, 20 Aug 2009 05:47:13 +0000 (01:47 -0400)] 
Add a SHA256 implementation for platforms that lack it.

(This would be everywhere running OpenSSL 0.9.7x and earlier, including
all current Macintosh users.)

The code is based on Tom St Denis's LibTomCrypt implementation,
modified to be way less general and use Tor's existing facilities.  I
picked this one because it was pretty fast and pretty free, and
because Python uses it too.

16 years agoAdd basic support for SHA256.
Nick Mathewson [Wed, 19 Aug 2009 23:21:29 +0000 (19:21 -0400)] 
Add basic support for SHA256.

This adds an openssl 0.9.8 dependency.  Let's see if anybody cares.

16 years agoSome final (?) cleanups of proposal 166 implementation.
Karsten Loesing [Wed, 19 Aug 2009 21:36:27 +0000 (23:36 +0200)] 
Some final (?) cleanups of proposal 166 implementation.

16 years agoFix a couple of bugs that showed up at runtime.
Karsten Loesing [Wed, 19 Aug 2009 17:16:00 +0000 (19:16 +0200)] 
Fix a couple of bugs that showed up at runtime.

16 years agoDon't write extra-info document to debug logs.
Karsten Loesing [Wed, 19 Aug 2009 15:15:51 +0000 (17:15 +0200)] 
Don't write extra-info document to debug logs.

16 years agoUpdate ChangeLog with changes from proposal 166.
Karsten Loesing [Wed, 19 Aug 2009 15:14:35 +0000 (17:14 +0200)] 
Update ChangeLog with changes from proposal 166.

16 years agoMove all *-stats file to subdirectory stats/.
Karsten Loesing [Wed, 19 Aug 2009 15:10:40 +0000 (17:10 +0200)] 
Move all *-stats file to subdirectory stats/.

16 years agoInclude only the last 24 hours of stats in extra-info documents.
Karsten Loesing [Wed, 19 Aug 2009 14:30:00 +0000 (16:30 +0200)] 
Include only the last 24 hours of stats in extra-info documents.

16 years agoWrite all statistics to disk exactly every 24 hours.
Karsten Loesing [Wed, 19 Aug 2009 13:41:12 +0000 (15:41 +0200)] 
Write all statistics to disk exactly every 24 hours.

16 years agoUpdate dir-spec.txt and man page.
Karsten Loesing [Tue, 18 Aug 2009 14:14:22 +0000 (16:14 +0200)] 
Update dir-spec.txt and man page.

16 years agoClean up proposal 166 and its implementation.
Karsten Loesing [Tue, 18 Aug 2009 13:53:08 +0000 (15:53 +0200)] 
Clean up proposal 166 and its implementation.

16 years agoUse memory pool for insertion times.
Karsten Loesing [Mon, 17 Aug 2009 11:27:09 +0000 (13:27 +0200)] 
Use memory pool for insertion times.

16 years agoImplement queue with O(1) operations, and correct some math.
Karsten Loesing [Mon, 17 Aug 2009 11:07:56 +0000 (13:07 +0200)] 
Implement queue with O(1) operations, and correct some math.

16 years agoReduce cell statistics accuracy from 1 ms to 10 ms.
Karsten Loesing [Sun, 16 Aug 2009 21:42:46 +0000 (23:42 +0200)] 
Reduce cell statistics accuracy from 1 ms to 10 ms.

16 years agoFix trivial bug when uploading extra-info documents.
Karsten Loesing [Fri, 14 Aug 2009 14:24:11 +0000 (16:24 +0200)] 
Fix trivial bug when uploading extra-info documents.

16 years agoInclude contents of *-stats files in descriptor.
Karsten Loesing [Fri, 14 Aug 2009 13:30:24 +0000 (15:30 +0200)] 
Include contents of *-stats files in descriptor.

16 years agoRemove ./configure option for cell statistics.
Karsten Loesing [Fri, 14 Aug 2009 12:52:39 +0000 (14:52 +0200)] 
Remove ./configure option for cell statistics.

16 years agoRemove ./configure option for entry and dir request statistics.
Karsten Loesing [Fri, 14 Aug 2009 12:45:53 +0000 (14:45 +0200)] 
Remove ./configure option for entry and dir request statistics.

16 years agoMerge commit 'mikeperry/bandwidth-voting-final'
Nick Mathewson [Fri, 14 Aug 2009 21:12:05 +0000 (17:12 -0400)] 
Merge commit 'mikeperry/bandwidth-voting-final'

16 years agoRemove ./configure option for exit port statistics.
Karsten Loesing [Fri, 14 Aug 2009 12:33:29 +0000 (14:33 +0200)] 
Remove ./configure option for exit port statistics.

16 years agoupdate fetch-all with dir auth
Andrew Lewman [Fri, 14 Aug 2009 01:13:09 +0000 (21:13 -0400)] 
update fetch-all with dir auth

16 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Thu, 13 Aug 2009 02:02:07 +0000 (22:02 -0400)] 
Merge commit 'origin/maint-0.2.1'

16 years agoFix possible segmentation fault on directory authorities.
Karsten Loesing [Tue, 11 Aug 2009 15:33:58 +0000 (17:33 +0200)] 
Fix possible segmentation fault on directory authorities.

The more verbose logs that were added in ee58153 also include a string
that might not have been initialized. This can lead to segfaults, e.g.,
when setting up private Tor networks. Initialize this string with NULL.

16 years agoMerge branch 'maint-0.2.1'
Roger Dingledine [Mon, 10 Aug 2009 08:17:32 +0000 (04:17 -0400)] 
Merge branch 'maint-0.2.1'

16 years agoSend sendmes when we're down 100 cells, not 101.
Roger Dingledine [Mon, 10 Aug 2009 08:13:18 +0000 (04:13 -0400)] 
Send sendmes when we're down 100 cells, not 101.

Send circuit or stream sendme cells when our window has decreased
by 100 cells, not when it has decreased by 101 cells. Bug uncovered
by Karsten when testing the "reduce circuit window" performance
patch. Bugfix on the 54th commit on Tor -- from July 2002,
before the release of Tor 0.0.0. This is the new winner of the
oldest-bug prize.

16 years agoMerge branch 'maint-0.2.1'
Roger Dingledine [Mon, 10 Aug 2009 07:09:20 +0000 (03:09 -0400)] 
Merge branch 'maint-0.2.1'

16 years agodirectory-archive scripts now fetch from urras too
Roger Dingledine [Mon, 10 Aug 2009 07:06:56 +0000 (03:06 -0400)] 
directory-archive scripts now fetch from urras too

16 years agoMerge branch 'maint-0.2.1' into tmp_merge
Roger Dingledine [Mon, 10 Aug 2009 05:37:29 +0000 (01:37 -0400)] 
Merge branch 'maint-0.2.1' into tmp_merge

16 years agoSet up urras as the seventh v3 directory authority.
Roger Dingledine [Mon, 10 Aug 2009 05:32:51 +0000 (01:32 -0400)] 
Set up urras as the seventh v3 directory authority.

16 years agoMerge commit 'ioerror/LetsKillNoConnect'
Nick Mathewson [Mon, 10 Aug 2009 01:55:32 +0000 (18:55 -0700)] 
Merge commit 'ioerror/LetsKillNoConnect'

16 years agoMerge commit 'arma/dotexit'
Nick Mathewson [Mon, 10 Aug 2009 01:48:08 +0000 (18:48 -0700)] 
Merge commit 'arma/dotexit'

16 years agoSwitch over to tor_strtok_r instead of strtok_r.
Mike Perry [Mon, 10 Aug 2009 01:42:29 +0000 (18:42 -0700)] 
Switch over to tor_strtok_r instead of strtok_r.

16 years agoMerge commit 'nickm/strtok' into mp-voting-final
Mike Perry [Mon, 10 Aug 2009 01:23:53 +0000 (18:23 -0700)] 
Merge commit 'nickm/strtok' into mp-voting-final

16 years agoFix issues found by Nick in code review.
Mike Perry [Mon, 10 Aug 2009 01:21:15 +0000 (18:21 -0700)] 
Fix issues found by Nick in code review.

16 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Mon, 10 Aug 2009 01:14:35 +0000 (18:14 -0700)] 
Merge commit 'origin/maint-0.2.1'

16 years agoMerge commit 'karsten/hsauth-manpage-maint-0.2.1' into maint-0.2.1
Nick Mathewson [Mon, 10 Aug 2009 01:12:01 +0000 (18:12 -0700)] 
Merge commit 'karsten/hsauth-manpage-maint-0.2.1' into maint-0.2.1

16 years agoAdd a new tor_strtok_r for platforms that don't have one, plus tests.
Nick Mathewson [Mon, 10 Aug 2009 00:27:35 +0000 (17:27 -0700)] 
Add a new tor_strtok_r for platforms that don't have one, plus tests.

I don't think we actually use (or plan to use) strtok_r in a reentrant
way anywhere in our code, but would be nice not to have to think about
whether we're doing it.

16 years agoMerge commit 'mikeperry/bandwidth-proposals-final'
Nick Mathewson [Sun, 9 Aug 2009 20:10:06 +0000 (13:10 -0700)] 
Merge commit 'mikeperry/bandwidth-proposals-final'

16 years agoLetsKillNoConnect removes support for .noconnect
Jacob Appelbaum [Sun, 9 Aug 2009 02:15:22 +0000 (19:15 -0700)] 
LetsKillNoConnect removes support for .noconnect
This is a patch to remove support for .noconnect.
We are removing .noconnect because of a talk at Defcon 17 by Gregory Fleischer.

16 years agooops, fix typo
Roger Dingledine [Fri, 7 Aug 2009 23:29:19 +0000 (19:29 -0400)] 
oops, fix typo

16 years agoDisable .exit notation unless AllowDotExit is 1.
Roger Dingledine [Fri, 7 Aug 2009 23:26:41 +0000 (19:26 -0400)] 
Disable .exit notation unless AllowDotExit is 1.

16 years agofix typo in control-spec
Roger Dingledine [Fri, 7 Aug 2009 21:55:17 +0000 (17:55 -0400)] 
fix typo in control-spec

16 years agoDisplay consensus bandwidth to the control port.
Mike Perry [Sat, 27 Jun 2009 07:08:18 +0000 (03:08 -0400)] 
Display consensus bandwidth to the control port.

Also div vote and other bandwidth by 1000, not 1024.

16 years agoThrow the switch on consensus method 6.
Mike Perry [Tue, 14 Jul 2009 02:21:00 +0000 (19:21 -0700)] 
Throw the switch on consensus method 6.

16 years agoUpdate the ratio calculation to prefer faster measurements.
Mike Perry [Wed, 15 Jul 2009 03:47:51 +0000 (20:47 -0700)] 
Update the ratio calculation to prefer faster measurements.

Also: simplify complicated filtering steps, always take the
most recent measurement, and use slightly smaller file sizes
based on measurements.

16 years agoUpdate 161 to reflect current implementation.
Mike Perry [Fri, 26 Jun 2009 00:03:39 +0000 (17:03 -0700)] 
Update 161 to reflect current implementation.

Also mention rounding step.