]>
git.ipfire.org Git - thirdparty/tor.git/log
Karsten Loesing [Sun, 15 Aug 2010 11:34:57 +0000 (13:34 +0200)]
Fix memory leak spotted by Nick.
Karsten Loesing [Wed, 11 Aug 2010 12:13:08 +0000 (14:13 +0200)]
Refactor exit port statistics code and add unit tests.
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.
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'
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
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
Sebastian Hahn [Fri, 23 Jul 2010 18:18:55 +0000 (20:18 +0200)]
Create networkstatus.h
Sebastian Hahn [Fri, 23 Jul 2010 18:04:12 +0000 (20:04 +0200)]
Create microdesc.h
Sebastian Hahn [Fri, 23 Jul 2010 17:58:06 +0000 (19:58 +0200)]
Create main.h
Sebastian Hahn [Thu, 22 Jul 2010 10:30:46 +0000 (12:30 +0200)]
Create hibernate.h
Sebastian Hahn [Thu, 22 Jul 2010 10:24:25 +0000 (12:24 +0200)]
Create dns.h
Sebastian Hahn [Thu, 22 Jul 2010 10:19:28 +0000 (12:19 +0200)]
Create dirvote.h
Sebastian Hahn [Thu, 22 Jul 2010 10:09:49 +0000 (12:09 +0200)]
Create dirserv.h
Sebastian Hahn [Thu, 22 Jul 2010 09:54:50 +0000 (11:54 +0200)]
Create directory.h
Sebastian Hahn [Thu, 22 Jul 2010 09:40:39 +0000 (11:40 +0200)]
Create cpuworker.h
Sebastian Hahn [Thu, 22 Jul 2010 09:35:09 +0000 (11:35 +0200)]
Create control.h
Sebastian Hahn [Thu, 22 Jul 2010 08:50:34 +0000 (10:50 +0200)]
Create connection_or.h
Sebastian Hahn [Thu, 22 Jul 2010 08:43:02 +0000 (10:43 +0200)]
Create connection_edge.h
Sebastian Hahn [Thu, 22 Jul 2010 08:32:52 +0000 (10:32 +0200)]
Create connection.h
Sebastian Hahn [Thu, 22 Jul 2010 08:22:51 +0000 (10:22 +0200)]
Create config.h
Sebastian Hahn [Thu, 22 Jul 2010 08:08:32 +0000 (10:08 +0200)]
Create command.h
Sebastian Hahn [Thu, 22 Jul 2010 08:03:40 +0000 (10:03 +0200)]
Create circuituse.h
Sebastian Hahn [Thu, 22 Jul 2010 07:46:23 +0000 (09:46 +0200)]
Create circuitlist.h
Sebastian Hahn [Wed, 21 Jul 2010 23:21:00 +0000 (01:21 +0200)]
Create circuitbuild.h
Sebastian Hahn [Wed, 21 Jul 2010 22:46:18 +0000 (00:46 +0200)]
Create buffers.h
Sebastian Hahn [Wed, 21 Jul 2010 22:30:17 +0000 (00:30 +0200)]
Create rendservice.h
Sebastian Hahn [Wed, 21 Jul 2010 22:13:51 +0000 (00:13 +0200)]
Create rendclient.h
Sebastian Hahn [Wed, 21 Jul 2010 15:52:54 +0000 (17:52 +0200)]
Create rendcommon.h
Sebastian Hahn [Wed, 21 Jul 2010 15:08:11 +0000 (17:08 +0200)]
Create routerlist.h
Sebastian Hahn [Wed, 21 Jul 2010 14:17:10 +0000 (16:17 +0200)]
Create router.h
Sebastian Hahn [Wed, 21 Jul 2010 12:38:52 +0000 (14:38 +0200)]
Create geoip.h
Sebastian Hahn [Wed, 21 Jul 2010 10:26:18 +0000 (12:26 +0200)]
Split headers for dnsserv.c functions out of or.h
The next series of commits begins addressing the issue that we're
currently including the complete or.h file in all of our source files.
To change that, we're splitting function definitions into new header
files (one header file per source file).
Sebastian Hahn [Sun, 25 Jul 2010 11:24:31 +0000 (13:24 +0200)]
whitespace fix
mingw-san [Mon, 26 Jul 2010 19:05:11 +0000 (15:05 -0400)]
Fix compilation with mingw and OpenSSL 0.9.8m+
Sebastian Hahn [Mon, 26 Jul 2010 04:40:44 +0000 (06:40 +0200)]
Make sure we don't warn for libevent versions like 1.4.14b-stable
Roger Dingledine [Wed, 21 Jul 2010 13:30:26 +0000 (09:30 -0400)]
mike needs DEFAULT_ROUTE_LEN in other files
Roger Dingledine [Wed, 21 Jul 2010 13:28:34 +0000 (09:28 -0400)]
partial changelog for 0.2.2.15-alpha
Roger Dingledine [Wed, 21 Jul 2010 13:24:14 +0000 (09:24 -0400)]
whitespace fix
Nick Mathewson [Mon, 19 Jul 2010 22:34:05 +0000 (00:34 +0200)]
Add missing changes file for
d461799f0
Roger Dingledine [Tue, 20 Jul 2010 12:07:44 +0000 (08:07 -0400)]
naked constants are bad
Nick Mathewson [Mon, 19 Jul 2010 09:13:53 +0000 (11:13 +0200)]
Merge branch 'bug1699'
Nick Mathewson [Sun, 18 Jul 2010 15:13:25 +0000 (17:13 +0200)]
Fix getinfo_helper_networkstatus to return 0 on question-not-known
It erroneously returned -1 instead, which made it say "Internal error"
rather than "Unrecognized key."