Karsten Loesing
8c29b7920a
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.
2009-08-21 23:02:36 +02:00
Karsten Loesing
75c59d1a92
Some final (?) cleanups of proposal 166 implementation.
2009-08-19 23:36:27 +02:00
Karsten Loesing
93fd0d3755
Fix a couple of bugs that showed up at runtime.
2009-08-19 19:16:00 +02:00
Karsten Loesing
6592cbe3e1
Don't write extra-info document to debug logs.
2009-08-19 17:15:51 +02:00
Karsten Loesing
52b17b6ad7
Update ChangeLog with changes from proposal 166.
2009-08-19 17:14:35 +02:00
Karsten Loesing
42229d1d84
Move all *-stats file to subdirectory stats/.
2009-08-19 17:10:40 +02:00
Karsten Loesing
a5508583ee
Include only the last 24 hours of stats in extra-info documents.
2009-08-19 16:30:00 +02:00
Karsten Loesing
4e29f33427
Write all statistics to disk exactly every 24 hours.
2009-08-19 15:41:12 +02:00
Karsten Loesing
10fbc998e1
Update dir-spec.txt and man page.
2009-08-18 16:14:22 +02:00
Karsten Loesing
dccadb30cd
Clean up proposal 166 and its implementation.
2009-08-18 15:53:08 +02:00
Karsten Loesing
799af41157
Use memory pool for insertion times.
2009-08-17 13:30:11 +02:00
Karsten Loesing
f37af0180d
Implement queue with O(1) operations, and correct some math.
2009-08-17 13:30:11 +02:00
Karsten Loesing
858a8f809d
Reduce cell statistics accuracy from 1 ms to 10 ms.
2009-08-17 13:30:11 +02:00
Karsten Loesing
20c95a3d21
Fix trivial bug when uploading extra-info documents.
2009-08-17 13:30:10 +02:00
Karsten Loesing
9179bcb923
Include contents of *-stats files in descriptor.
2009-08-17 13:30:10 +02:00
Karsten Loesing
d97e95cb62
Remove ./configure option for cell statistics.
2009-08-17 13:30:09 +02:00
Karsten Loesing
ab7729f472
Remove ./configure option for entry and dir request statistics.
2009-08-17 13:29:50 +02:00
Karsten Loesing
9d16a59fcc
Remove ./configure option for exit port statistics.
2009-08-14 14:56:38 +02:00
Nick Mathewson
e0dc2e907e
Merge commit 'origin/maint-0.2.1'
2009-08-12 22:02:07 -04:00
Karsten Loesing
a98643c1b5
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.
2009-08-11 17:33:58 +02:00
Roger Dingledine
afc9da7287
Merge branch 'maint-0.2.1'
2009-08-10 04:17:32 -04:00
Roger Dingledine
e50b7768b9
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.
2009-08-10 04:13:18 -04:00
Roger Dingledine
2e1ac18ed1
Merge branch 'maint-0.2.1'
2009-08-10 03:09:20 -04:00
Roger Dingledine
e53ee805a9
directory-archive scripts now fetch from urras too
2009-08-10 03:06:56 -04:00
Roger Dingledine
5f0fb9a109
Merge branch 'maint-0.2.1' into tmp_merge
2009-08-10 01:37:29 -04:00
Roger Dingledine
8abe3bac7e
Set up urras as the seventh v3 directory authority.
2009-08-10 01:32:51 -04:00
Nick Mathewson
492416be0c
Merge commit 'ioerror/LetsKillNoConnect'
2009-08-09 18:55:32 -07:00
Nick Mathewson
4311b9a6d1
Merge commit 'arma/dotexit'
2009-08-09 18:48:08 -07:00
Nick Mathewson
8f8877c624
Merge commit 'origin/maint-0.2.1'
2009-08-09 18:14:35 -07:00
Nick Mathewson
c497d21ee1
Merge commit 'karsten/hsauth-manpage-maint-0.2.1' into maint-0.2.1
2009-08-09 18:12:01 -07:00
Nick Mathewson
6423091f07
Merge commit 'mikeperry/bandwidth-proposals-final'
2009-08-09 13:10:06 -07:00
Jacob Appelbaum
33762b5296
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.
2009-08-08 19:15:22 -07:00
Roger Dingledine
07d95440ef
oops, fix typo
2009-08-07 19:29:19 -04:00
Roger Dingledine
3e4379c2e7
Disable .exit notation unless AllowDotExit is 1.
2009-08-07 19:26:41 -04:00
Roger Dingledine
8196130f24
fix typo in control-spec
2009-08-07 17:55:17 -04:00
Mike Perry
3a1b9526f8
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.
2009-08-06 14:38:54 -07:00
Mike Perry
011b732436
Update 161 to reflect current implementation.
...
Also mention rounding step.
2009-08-06 14:38:36 -07:00
Nick Mathewson
9da7b22355
Merge commit 'origin/maint-0.2.1'
2009-08-03 12:42:48 -04:00
Andrew Lewman
431202fb63
add geoip file to uninstall
2009-08-03 12:42:29 -04:00
Nick Mathewson
6935c88823
Merge commit 'phobos/osx-uinstaller-maint-0.2.1'
2009-08-03 12:25:35 -04:00
Andrew Lewman
0d12f12cf5
add receipts to be wiped.
2009-08-01 22:41:29 -04:00
Karsten Loesing
fe36f69ce8
Make configuration of hidden services with authorization somewhat clearer.
2009-08-01 11:36:51 +02:00
Nick Mathewson
df354a002c
Merge commit 'origin/maint-0.2.1'
...
Resolved onflicts in:
ChangeLog
src/or/config.c
src/or/or.h
2009-07-30 10:16:04 -04:00
Nick Mathewson
4577bda766
Cleaner fix for get_effective_bw(rate|burst), with comment on why it is ok.
2009-07-30 10:14:12 -04:00
Nick Mathewson
efe966944d
Fix signed/unsigned comparison warnings in get_effective_bw(rate|burst)
2009-07-30 09:15:07 -04:00
Roger Dingledine
6bb10a28fb
Patch from atagar to fix control-spec
...
Specifically, admit that the "newconsensus" event exists, and
status/reachability has secretly been status/reachability-succeeded
all along, but nobody used it so we didn't notice.
2009-07-30 03:41:02 -04:00
Nick Mathewson
0f944e496a
Merge commit 'debian-tor-0.2.1.19-1' into maint-0.2.1
2009-07-29 18:35:50 -04:00
Peter Palfrader
58ccdfccef
Mention that this closes #538960 in the changelog
2009-07-29 12:49:52 +02:00
Peter Palfrader
cd8d488d83
Merge branch 'debian-merge' into debian
...
* debian-merge:
New upstream version
bump to 0.2.1.19
document my new relay-early behavior
Changing MaxAdvertisedBW may not need a republish
Write fingerprint to file and log without spaces
Don't leak memory if we get too many create cells
three hacks to workaround bug 1038
2009-07-29 12:18:37 +02:00
Peter Palfrader
3d99723411
New upstream version
2009-07-29 12:18:25 +02:00