]>
git.ipfire.org Git - thirdparty/tor.git/log
Roger Dingledine [Mon, 16 Aug 2010 04:04:49 +0000 (00:04 -0400)]
161b2750 didn't really retry the stream. this does.
Nick Mathewson [Mon, 16 Aug 2010 03:46:09 +0000 (23:46 -0400)]
Make Sebastian's bug1831 branch build with --enable-gcc-warnings
Nick Mathewson [Mon, 16 Aug 2010 03:43:36 +0000 (23:43 -0400)]
Merge commit 'sebastian/bug1831'
Nick Mathewson [Mon, 16 Aug 2010 01:32:06 +0000 (21:32 -0400)]
Make Sebastian's misc-reasons branch compile; frob the changes file
Nick Mathewson [Mon, 16 Aug 2010 01:27:32 +0000 (21:27 -0400)]
Merge commit 'sebastian/misc-reason'
Nick Mathewson [Mon, 16 Aug 2010 01:20:19 +0000 (21:20 -0400)]
Make unit tests work when tests get run in subprocesses.
Apparently the way we handled cleaning up temporary directories with
atexit() meant that when the child process exited, it would remove the
temporary directory, thus making other tests in the main process fail.
Nick Mathewson [Mon, 16 Aug 2010 00:55:24 +0000 (20:55 -0400)]
Rename rep_hist_exit_stats_history in test.c too
Nick Mathewson [Mon, 16 Aug 2010 00:54:57 +0000 (20:54 -0400)]
Add a changes file for Karsten's stats-tests branch
Nick Mathewson [Mon, 16 Aug 2010 00:49:37 +0000 (20:49 -0400)]
Merge commit 'karsten/stats-tests'
Nick Mathewson [Mon, 16 Aug 2010 00:23:50 +0000 (20:23 -0400)]
Merge commit 'karsten/stats-manpage'
Sebastian Hahn [Sun, 15 Aug 2010 22:29:27 +0000 (00:29 +0200)]
Fix misplaced labels
Sebastian Hahn [Sun, 15 Aug 2010 22:28:39 +0000 (00:28 +0200)]
Add a rule to detect misplaced labels during check-spaces
Sebastian Hahn [Sun, 15 Aug 2010 19:02:01 +0000 (21:02 +0200)]
Fix a memory leak in dirvote_compute_consensuses()
Sebastian Hahn [Sun, 15 Aug 2010 16:24:23 +0000 (18:24 +0200)]
Fix a memory leak
It happened in dirvote_add_signatures_to_pending_consesus().
Sebastian Hahn [Sun, 15 Aug 2010 12:22:32 +0000 (14:22 +0200)]
Refactor circuit_build_times_parse_state
Remove the msg parameter to pass an error message out. This
wasn't needed and made it harder to detect a memory leak.
Sebastian Hahn [Sun, 15 Aug 2010 12:22:32 +0000 (14:22 +0200)]
Fix a memory leak in circuit_build_times_parse_state
Thanks weasel for noticing.
Karsten Loesing [Sun, 15 Aug 2010 13:51:31 +0000 (15:51 +0200)]
Update man page, now that *Statistics can be changed while Tor is running.
Karsten Loesing [Sun, 15 Aug 2010 12:30:37 +0000 (14:30 +0200)]
Run test_stats in a subprocess.
Karsten Loesing [Sun, 15 Aug 2010 12:15:58 +0000 (14:15 +0200)]
Give rep_hist_exit_stats_history() a better name.
Karsten Loesing [Sun, 15 Aug 2010 11:34:57 +0000 (13:34 +0200)]
Fix memory leak spotted by Nick.
Roger Dingledine [Sun, 15 Aug 2010 08:01:42 +0000 (04:01 -0400)]
reinit per-conn token buckets on config or consensus change
Roger Dingledine [Sun, 15 Aug 2010 06:27:07 +0000 (02:27 -0400)]
factor out rate/burst setting. no actual changes.
Roger Dingledine [Sat, 14 Aug 2010 08:22:08 +0000 (04:22 -0400)]
fix another piece of 1741
Roger Dingledine [Sat, 14 Aug 2010 00:50:51 +0000 (20:50 -0400)]
changes entry for bug 1741
Mike Perry [Tue, 27 Jul 2010 15:45:23 +0000 (08:45 -0700)]
Add check for CIRCUIT_PURPOSE_S_REND_JOINED.
These circuits stick around much longer than others on the server side for
performance reasons. Their lifetime is controlled by the client.
Roger Dingledine [Fri, 13 Aug 2010 21:30:50 +0000 (17:30 -0400)]
fix a memory leak introduced by
df1ef2f0f0856af
Roger Dingledine [Fri, 13 Aug 2010 21:19:04 +0000 (17:19 -0400)]
fold in the makefile.am changes entry
Roger Dingledine [Fri, 13 Aug 2010 21:18:45 +0000 (17:18 -0400)]
minor formatting / comment fixes
Sebastian Hahn [Thu, 12 Aug 2010 00:40:19 +0000 (02:40 +0200)]
Fix url in rend-spec
Fixes bug 1822
Chris Ball [Sat, 31 Jul 2010 23:07:00 +0000 (19:07 -0400)]
doc/HACKING: Explain how to find when a given change was introduced
Sebastian Hahn [Tue, 27 Jul 2010 06:35:25 +0000 (08:35 +0200)]
Fix a typo in control-spec
Karsten Loesing [Wed, 11 Aug 2010 12:13:08 +0000 (14:13 +0200)]
Refactor exit port statistics code and add unit tests.
Nick Mathewson [Wed, 11 Aug 2010 13:42:05 +0000 (09:42 -0400)]
Merge branch 'build-wo-asciidoc-on-bsd'
Linus Nordberg [Wed, 11 Aug 2010 08:33:09 +0000 (10:33 +0200)]
Fix changes/ file for bug #1773.
Linus Nordberg [Mon, 9 Aug 2010 19:44:21 +0000 (21:44 +0200)]
Bug #1773: Revert bad fix (
4ef609b8 ) and do it properly.
* doc/Makefile.am: Move $(VAR:MOD) expansions inside "if USE_ASCIIDOC".
* doc/Makefile.am: Use proper variable name for text input files.
* doc/Makefile.am: Initialize vars to empty when !USE_ASCIIDOC.
Roger Dingledine [Wed, 11 Aug 2010 06:11:05 +0000 (02:11 -0400)]
changelog entry for
f060b18e6c4
Roger Dingledine [Wed, 11 Aug 2010 05:51:41 +0000 (01:51 -0400)]
fold in most of the changes/foo files
Roger Dingledine [Wed, 11 Aug 2010 05:48:29 +0000 (01:48 -0400)]
tiny change i found in my other sandbox
Roger Dingledine [Mon, 9 Aug 2010 22:50:49 +0000 (18:50 -0400)]
tiny changes i found in my sandbox
Nick Mathewson [Sat, 7 Aug 2010 18:31:58 +0000 (14:31 -0400)]
Fix a rare bug in rend_fn tests when the randomly generated port is 0
Since the rend code doesn't like the port to be 0, we shouldn't generate
the port by declaring crypto_rand_int(65536); instead we should
say crypto_rand_int(65535)+1.
Diagnosed by Matt Edman; fixes bug 1808.
Nick Mathewson [Fri, 6 Aug 2010 14:46:59 +0000 (10:46 -0400)]
Merge commit 'karsten/stats_v4_rebased'
Karsten Loesing [Wed, 4 Aug 2010 05:32:10 +0000 (07:32 +0200)]
Move exit-stats code to the end of rephist.c.
Sebastian Hahn [Thu, 8 Jul 2010 12:29:04 +0000 (14:29 +0200)]
Only delay counting bridge users if we were a relay before
Karsten Loesing [Mon, 21 Jun 2010 16:52:46 +0000 (18:52 +0200)]
Allow enabling or disabling *Statistics while Tor is running.
With this patch we stop scheduling when we should write statistics using a
single timestamp in run_scheduled_events(). Instead, we remember when a
statistics interval starts separately for each statistic type in geoip.c
and rephist.c. Every time run_scheduled_events() tries to write stats to
disk, it learns when it should schedule the next such attempt.
This patch also enables all statistics to be stopped and restarted at a
later time.
This patch comes with a few refactorings, some of which were not easily
doable without the patch.
Nick Mathewson [Wed, 4 Aug 2010 16:37:30 +0000 (12:37 -0400)]
Merge commit 'origin/maint-0.2.1'
Conflicts:
debian/changelog
debian/control
debian/patches/03_tor_manpage_in_section_8.dpatch
debian/patches/06_add_compile_time_defaults.dpatch
debian/rules
Nick Mathewson [Wed, 4 Aug 2010 16:21:48 +0000 (12:21 -0400)]
Remove the debian directory from the main git repository
Once upon a time it made sense to keep all the Debian files in the
main Tor distribution, since repeatedly merging them back in was hard.
Now that we're on git, that's no longer so.
Peter's debian repository at debian/tor.git on our git server has the
most recent version of the tor-on-debian packaging stuff, and the versions
in our own repository have gotten out of date.
Resolves bug #1735.
Sebastian Hahn [Tue, 3 Aug 2010 22:51:39 +0000 (00:51 +0200)]
Retry streams that ended with NOROUTE error
Also add the NOROUTE reason to control-spec.
Nick Mathewson [Tue, 3 Aug 2010 18:25:07 +0000 (14:25 -0400)]
Clarify that implementation is for discussion of implementation
Nick Mathewson [Tue, 3 Aug 2010 18:23:43 +0000 (14:23 -0400)]
Add proposal 174 from Ian Goldberg: Optimistic Data for Tor: Server Side
Nick Mathewson [Tue, 3 Aug 2010 17:22:34 +0000 (13:22 -0400)]
Bless two proposals from Damian Johnson as 172 and 173.
(Leaving a gap for the proposal Jake blessed as 171.)
Nick Mathewson [Tue, 3 Aug 2010 14:50:18 +0000 (10:50 -0400)]
Merge commit 'sebastian/mlockall'
Nick Mathewson [Tue, 3 Aug 2010 14:48:30 +0000 (10:48 -0400)]
Merge commit 'erinn/rpm-devel'
Sebastian Hahn [Tue, 3 Aug 2010 14:46:28 +0000 (16:46 +0200)]
Introduce END_STREAM_REASON_NOROUTE
Nick Mathewson [Tue, 3 Aug 2010 14:07:57 +0000 (10:07 -0400)]
Merge commit 'sebastian/distcheck'
Nick Mathewson [Tue, 3 Aug 2010 13:16:24 +0000 (09:16 -0400)]
Merge commit 'sebastian/rend-spec'
Nick Mathewson [Tue, 3 Aug 2010 13:14:38 +0000 (09:14 -0400)]
Merge commit 'karsten/dir-spec-fix'
Nick Mathewson [Tue, 3 Aug 2010 13:13:17 +0000 (09:13 -0400)]
Merge commit 'origin/maint-0.2.1'
Sebastian Hahn [Tue, 3 Aug 2010 12:48:17 +0000 (14:48 +0200)]
Clarify that rend cookies shouldn't be reused
Sebastian Hahn [Tue, 3 Aug 2010 11:57:13 +0000 (13:57 +0200)]
Handle EHOSTUNREACH in errno_to_stream_end_reason()
We used to not recognize it and returned END_STREAM_REASON_MISC.
Instead, return END_STREAM_REASON_INTERNAL.
Karsten Loesing [Thu, 17 Jun 2010 10:57:46 +0000 (12:57 +0200)]
Fix copy-and-paste fail in dir-spec.txt.
Karsten Loesing [Tue, 3 Aug 2010 11:04:09 +0000 (13:04 +0200)]
Update to the August 1 2010 Maxmind GeoLite Country database.
Sebastian Hahn [Mon, 2 Aug 2010 22:48:59 +0000 (00:48 +0200)]
Fix 'make distcheck'
We were leaving doc/config.log and src/or/micro-revision.i in
place during a make clean. Fix that.
Nick Mathewson [Mon, 2 Aug 2010 16:53:52 +0000 (12:53 -0400)]
Merge branch 'bug1384'
Sebastian Hahn [Mon, 2 Aug 2010 16:44:00 +0000 (18:44 +0200)]
Fix a compile warning on OS X 10.6
Also update the changes file to contain a note on which bug was
fixed by this.
Chris Ball [Sun, 1 Aug 2010 02:35:20 +0000 (22:35 -0400)]
Bug #919: Don't rebind ports if we receive SIGHUP while hibernating.
Chris Ball [Sat, 31 Jul 2010 23:42:29 +0000 (19:42 -0400)]
Bug #928: Disallow BridgeRelay 1 and ORPort 0 configuration
Chris Ball [Sat, 31 Jul 2010 22:06:40 +0000 (18:06 -0400)]
Bug #1107: Complain if PublishServerDescriptor receives 0 or 1 in a list
0 or 1 should only be passed as the sole argument. Warn for now, reject
in 0.2.3.x.
Nick Mathewson [Mon, 2 Aug 2010 15:32:49 +0000 (11:32 -0400)]
Merge commit 'sebastian/bug1776_v2'
Nick Mathewson [Mon, 2 Aug 2010 15:11:02 +0000 (11:11 -0400)]
Merge branch 'bug1094_v2'
Chris Ball [Sat, 31 Jul 2010 20:20:21 +0000 (16:20 -0400)]
Bug #1222: Clarify new circuit after sleep notice
("Application request when we're believed to be offline." ->
"Application request when we haven't used client functionality lately.")
Nick Mathewson [Sat, 31 Jul 2010 19:20:28 +0000 (15:20 -0400)]
Fix up geoip unit tests to know about ??
Nick Mathewson [Sat, 31 Jul 2010 19:14:48 +0000 (15:14 -0400)]
Set up the geoip country table right even if not called normally
Nick Mathewson [Sat, 31 Jul 2010 19:06:55 +0000 (15:06 -0400)]
Move the "nowhereland" logic into geoip.c
Nick Mathewson [Tue, 15 Sep 2009 17:41:36 +0000 (13:41 -0400)]
Make "Nowhere" explicitly listable in torrc.
We already had the country code ?? indicating an unknown country, so all we
needed to do to make unknown countries excludable was to make the ?? code
discoverable.
Nick Mathewson [Sat, 31 Jul 2010 17:23:41 +0000 (13:23 -0400)]
Clarify that cmd-line options override torrc options
Nick Mathewson [Sat, 31 Jul 2010 17:16:48 +0000 (13:16 -0400)]
Warn when encounter the same (non-list) option twice in the same place
It's okay to get (say) a SocksPort line in the torrc, and then a
SocksPort on the command line to override it, and then a SocksPort via
a controller to override *that*. But if there are two occurrences of
SocksPort in the torrc, or on the command line, or in a single SETCONF
command, then the user is likely confused. Our old code would not
help unconfuse the user, but would instead silently ignore all but
the last occurrence.
This patch changes the behavior so that if the some option is passed
more than once to any torrc, command line, or SETCONF (each of which
coincidentally corresponds to a call to config_assign()), and the
option is not a type that allows multiple occurrences (LINELIST or
LINELIST_X), then we can warn the user.
This closes trac entry 1384.
Sebastian Hahn [Fri, 30 Jul 2010 19:39:08 +0000 (21:39 +0200)]
Allow using regular relays as bridges
Nick Mathewson [Fri, 30 Jul 2010 22:00:43 +0000 (18:00 -0400)]
Document 20KB requirement in BandwidthRate documentation
This fixes the last suggestion of bug #1195.
Nick Mathewson [Fri, 30 Jul 2010 15:45:22 +0000 (11:45 -0400)]
Merge commit 'karsten/rendspec-master'
Nick Mathewson [Fri, 30 Jul 2010 15:37:42 +0000 (11:37 -0400)]
Add a changes file for Linus's makefile-var-exp branch.
Linus Nordberg [Fri, 30 Jul 2010 11:54:38 +0000 (13:54 +0200)]
Fix compilation issue in doc/Makefile.am on NetBSD
* doc/Makefile.am: Change $(VAR:MOD) to ${VAR:MOD} -- make(1) on
NetBSD substitutes '$(:x)' to 'x' rather than the empty string. This
bites us in doc/ when configured with `--disable-asciidoc'. Curly
braces should work in all implementations of make(1) but this patch
changes only the places where we use the VAR:MOD expansion.
Karsten Loesing [Thu, 29 Jul 2010 14:07:00 +0000 (16:07 +0200)]
Add two authoritzation protocols to rend-spec.txt.
Karsten Loesing [Thu, 29 Jul 2010 13:30:57 +0000 (15:30 +0200)]
Clean up Section 1 of rend-spec.txt.
Karsten Loesing [Thu, 29 Jul 2010 11:33:16 +0000 (13:33 +0200)]
Interchange sections 1.2 and 1.3.
Karsten Loesing [Thu, 29 Jul 2010 08:57:51 +0000 (10:57 +0200)]
Rename all RELAY_* cell types to RELAY_COMMAND_*.
Nick Mathewson [Fri, 30 Jul 2010 01:54:46 +0000 (21:54 -0400)]
Merge commit 'linus/headers'
Nick Mathewson [Thu, 29 Jul 2010 14:45:59 +0000 (10:45 -0400)]
Merge commit 'origin/maint-0.2.1'
Linus Nordberg [Wed, 28 Jul 2010 15:42:33 +0000 (17:42 +0200)]
Fix typos, make all \brief's conformant, end sentences with a period.
Sebastian Hahn [Mon, 26 Jul 2010 09:37:13 +0000 (11:37 +0200)]
Move the header for bandwidth_weight_rule_to_string into reasons.h
Sebastian Hahn [Mon, 26 Jul 2010 09:01:45 +0000 (11:01 +0200)]
Don't include crypto, compat and util.h in or.h
Sebastian Hahn [Mon, 26 Jul 2010 03:51:15 +0000 (05:51 +0200)]
Simplify expression to list files for check-spaces
The tinytest* files went into src/test/.
Sebastian Hahn [Mon, 26 Jul 2010 03:28:27 +0000 (05:28 +0200)]
Add the new header files to noinst_HEADERS
Also add a changes/ file.
Sebastian Hahn [Fri, 23 Jul 2010 21:23:43 +0000 (23:23 +0200)]
Create routerparse.h
Sebastian Hahn [Fri, 23 Jul 2010 20:57:20 +0000 (22:57 +0200)]
Create rephist.h
Sebastian Hahn [Fri, 23 Jul 2010 20:03:33 +0000 (22:03 +0200)]
Create rendmid.h
Sebastian Hahn [Fri, 23 Jul 2010 19:53:11 +0000 (21:53 +0200)]
Create relay.h
Sebastian Hahn [Fri, 23 Jul 2010 19:08:30 +0000 (21:08 +0200)]
Create reasons.h
Sebastian Hahn [Fri, 23 Jul 2010 18:51:25 +0000 (20:51 +0200)]
Create policies.h
Sebastian Hahn [Fri, 23 Jul 2010 18:38:25 +0000 (20:38 +0200)]
Create onion.h
Sebastian Hahn [Fri, 23 Jul 2010 18:21:24 +0000 (20:21 +0200)]
Create ntmain.h