Commit Graph

11167 Commits

Author SHA1 Message Date
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
Mike Perry
9e1fe29beb Switch over to tor_strtok_r instead of strtok_r. 2009-08-09 18:42:29 -07:00
Mike Perry
cb477f9cc0 Merge commit 'nickm/strtok' into mp-voting-final 2009-08-09 18:23:53 -07:00
Mike Perry
1060b4d824 Fix issues found by Nick in code review. 2009-08-09 18:21:15 -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
3886467f38 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.
2009-08-09 17:30:15 -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
ca676c3924 Display consensus bandwidth to the control port.
Also div vote and other bandwidth by 1000, not 1024.
2009-08-06 14:47:08 -07:00
Mike Perry
b074e61ad3 Throw the switch on consensus method 6. 2009-08-06 14:47:04 -07: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
Mike Perry
db297fb944 Update dir-spec.txt to describe w line.
"Measured=" is present in votes regardless of consensus method.
2009-08-06 11:48:03 -07:00
Roger Dingledine
da88e05edc try loading the bandwidth measurement file on startup too,
in case it's broken.
2009-08-06 11:48:03 -07:00
Mike Perry
6fbdf635fa Implement measured bw parsing + unit tests. 2009-08-06 11:48:03 -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
Peter Palfrader
5962431a36 Merge commit 'tor-0.2.1.19' into debian-merge
* commit 'tor-0.2.1.19':
  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:06 +02:00
Roger Dingledine
6a960d515f credit optimist for the bug 1038 diagnosis
also bring the release notes up to date
2009-07-28 20:44:51 -04:00
Roger Dingledine
6249b0fd77 Fix a signed/unsigned compile warning in 0.2.1.19 2009-07-28 18:34:35 -04:00
Roger Dingledine
e8e88922a7 Merge branch 'maint-0.2.1' into master 2009-07-28 18:19:57 -04:00
Roger Dingledine
69706f99e8 bump to 0.2.1.19 2009-07-28 17:39:51 -04:00
Roger Dingledine
146eae318f document my new relay-early behavior 2009-07-28 17:39:12 -04:00
Sebastian Hahn
3e45445104 Changing MaxAdvertisedBW may not need a republish
Relays no longer publish a new server descriptor if they change
their MaxAdvertisedBandwidth config option but it doesn't end up
changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc;
fixes bug 1026. Patch from Sebastian.
2009-07-27 23:53:06 -04:00
Roger Dingledine
a73acdd46f Write fingerprint to file and log without spaces
Now it will look like the fingerprints in our bridges documentation,
and confuse fewer users.
2009-07-27 22:51:20 -04:00
Roger Dingledine
0a4e2397c0 Don't leak memory if we get too many create cells
Specifically, every time we get a create cell but we have so many already
queued that we refuse it.

Bugfix on 0.2.0.19-alpha; fixes bug 1034. Reported by BarkerJr.
2009-07-27 22:38:09 -04:00
Roger Dingledine
2b63fa40e8 three hacks to workaround bug 1038
The problem is that clients and hidden services are receiving
relay_early cells, and they tear down the circuit.

Hack #1 is for rendezvous points to rewrite relay_early cells to
relay cells. That way there are never any incoming relay_early cells.

Hack #2 is for clients and hidden services to never send a relay_early
cell on an established rendezvous circuit. That works around rendezvous
points that haven't upgraded yet.

Hack #3 is for clients and hidden services to not tear down the circuit
when they receive an inbound relay_early cell. We already refuse extend
cells at clients.
2009-07-27 21:58:32 -04:00
Karsten Loesing
7b716878cb Fix dirreq and cell stats on 32-bit architectures.
When determining how long directory requests take or how long cells spend
in queues, we were comparing timestamps on microsecond detail only to
convert results to second or millisecond detail later on. But on 32-bit
architectures this means that 2^31 microseconds only cover time
differences of up to 36 minutes. Instead, compare timestamps on
millisecond detail.
2009-07-27 16:23:53 +02:00
Peter Palfrader
f39cee3754 Merge branch 'debian-merge' into debian
* debian-merge:
  New upstream version
  bump to 0.2.1.18
  put in the full 0.2.1 release notes
  add a changelog entry for the upcoming 0.2.1.18
  make phobos's lines start with tabs again
  added LIBS=-lrt to Makefile.am for static libevent in the tor rpms.
  forward-port the 0.2.0.35 release notes
  add blurbs for recent release candidates
  Bump version to 0.2.1.17-rc-dev
2009-07-25 11:15:42 +02:00
Peter Palfrader
805b19e4f1 New upstream version 2009-07-25 11:15:34 +02:00
Peter Palfrader
d7ffd0ed8a Merge commit 'tor-0.2.1.18' into debian-merge
* commit 'tor-0.2.1.18':
  bump to 0.2.1.18
  put in the full 0.2.1 release notes
  add a changelog entry for the upcoming 0.2.1.18
  make phobos's lines start with tabs again
  added LIBS=-lrt to Makefile.am for static libevent in the tor rpms.
  forward-port the 0.2.0.35 release notes
  add blurbs for recent release candidates
  Bump version to 0.2.1.17-rc-dev
2009-07-25 11:10:36 +02:00