]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
15 years agoDocument 20KB requirement in BandwidthRate documentation
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.

15 years agoMerge commit 'karsten/rendspec-master'
Nick Mathewson [Fri, 30 Jul 2010 15:45:22 +0000 (11:45 -0400)] 
Merge commit 'karsten/rendspec-master'

15 years agoAdd a changes file for Linus's makefile-var-exp branch.
Nick Mathewson [Fri, 30 Jul 2010 15:37:42 +0000 (11:37 -0400)] 
Add a changes file for Linus's makefile-var-exp branch.

15 years agoFix compilation issue in doc/Makefile.am on NetBSD
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.

15 years agoAdd two authoritzation protocols to rend-spec.txt.
Karsten Loesing [Thu, 29 Jul 2010 14:07:00 +0000 (16:07 +0200)] 
Add two authoritzation protocols to rend-spec.txt.

15 years agoClean up Section 1 of rend-spec.txt.
Karsten Loesing [Thu, 29 Jul 2010 13:30:57 +0000 (15:30 +0200)] 
Clean up Section 1 of rend-spec.txt.

15 years agoInterchange sections 1.2 and 1.3.
Karsten Loesing [Thu, 29 Jul 2010 11:33:16 +0000 (13:33 +0200)] 
Interchange sections 1.2 and 1.3.

15 years agoRename all RELAY_* cell types to RELAY_COMMAND_*.
Karsten Loesing [Thu, 29 Jul 2010 08:57:51 +0000 (10:57 +0200)] 
Rename all RELAY_* cell types to RELAY_COMMAND_*.

15 years agoMerge commit 'linus/headers'
Nick Mathewson [Fri, 30 Jul 2010 01:54:46 +0000 (21:54 -0400)] 
Merge commit 'linus/headers'

15 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Thu, 29 Jul 2010 14:45:59 +0000 (10:45 -0400)] 
Merge commit 'origin/maint-0.2.1'

15 years agoFix typos, make all \brief's conformant, end sentences with a period.
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.

15 years agoMove the header for bandwidth_weight_rule_to_string into reasons.h
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

15 years agoDon't include crypto, compat and util.h in or.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

15 years agoSimplify expression to list files for check-spaces
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/.

15 years agoAdd the new header files to noinst_HEADERS
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.

15 years agoCreate routerparse.h
Sebastian Hahn [Fri, 23 Jul 2010 21:23:43 +0000 (23:23 +0200)] 
Create routerparse.h

15 years agoCreate rephist.h
Sebastian Hahn [Fri, 23 Jul 2010 20:57:20 +0000 (22:57 +0200)] 
Create rephist.h

15 years agoCreate rendmid.h
Sebastian Hahn [Fri, 23 Jul 2010 20:03:33 +0000 (22:03 +0200)] 
Create rendmid.h

15 years agoCreate relay.h
Sebastian Hahn [Fri, 23 Jul 2010 19:53:11 +0000 (21:53 +0200)] 
Create relay.h

15 years agoCreate reasons.h
Sebastian Hahn [Fri, 23 Jul 2010 19:08:30 +0000 (21:08 +0200)] 
Create reasons.h

15 years agoCreate policies.h
Sebastian Hahn [Fri, 23 Jul 2010 18:51:25 +0000 (20:51 +0200)] 
Create policies.h

15 years agoCreate onion.h
Sebastian Hahn [Fri, 23 Jul 2010 18:38:25 +0000 (20:38 +0200)] 
Create onion.h

15 years agoCreate ntmain.h
Sebastian Hahn [Fri, 23 Jul 2010 18:21:24 +0000 (20:21 +0200)] 
Create ntmain.h

15 years agoCreate networkstatus.h
Sebastian Hahn [Fri, 23 Jul 2010 18:18:55 +0000 (20:18 +0200)] 
Create networkstatus.h

15 years agoCreate microdesc.h
Sebastian Hahn [Fri, 23 Jul 2010 18:04:12 +0000 (20:04 +0200)] 
Create microdesc.h

15 years agoCreate main.h
Sebastian Hahn [Fri, 23 Jul 2010 17:58:06 +0000 (19:58 +0200)] 
Create main.h

15 years agoCreate hibernate.h
Sebastian Hahn [Thu, 22 Jul 2010 10:30:46 +0000 (12:30 +0200)] 
Create hibernate.h

15 years agoCreate dns.h
Sebastian Hahn [Thu, 22 Jul 2010 10:24:25 +0000 (12:24 +0200)] 
Create dns.h

15 years agoCreate dirvote.h
Sebastian Hahn [Thu, 22 Jul 2010 10:19:28 +0000 (12:19 +0200)] 
Create dirvote.h

15 years agoCreate dirserv.h
Sebastian Hahn [Thu, 22 Jul 2010 10:09:49 +0000 (12:09 +0200)] 
Create dirserv.h

15 years agoCreate directory.h
Sebastian Hahn [Thu, 22 Jul 2010 09:54:50 +0000 (11:54 +0200)] 
Create directory.h

15 years agoCreate cpuworker.h
Sebastian Hahn [Thu, 22 Jul 2010 09:40:39 +0000 (11:40 +0200)] 
Create cpuworker.h

15 years agoCreate control.h
Sebastian Hahn [Thu, 22 Jul 2010 09:35:09 +0000 (11:35 +0200)] 
Create control.h

15 years agoCreate connection_or.h
Sebastian Hahn [Thu, 22 Jul 2010 08:50:34 +0000 (10:50 +0200)] 
Create connection_or.h

15 years agoCreate connection_edge.h
Sebastian Hahn [Thu, 22 Jul 2010 08:43:02 +0000 (10:43 +0200)] 
Create connection_edge.h

15 years agoCreate connection.h
Sebastian Hahn [Thu, 22 Jul 2010 08:32:52 +0000 (10:32 +0200)] 
Create connection.h

15 years agoCreate config.h
Sebastian Hahn [Thu, 22 Jul 2010 08:22:51 +0000 (10:22 +0200)] 
Create config.h

15 years agoCreate command.h
Sebastian Hahn [Thu, 22 Jul 2010 08:08:32 +0000 (10:08 +0200)] 
Create command.h

15 years agoCreate circuituse.h
Sebastian Hahn [Thu, 22 Jul 2010 08:03:40 +0000 (10:03 +0200)] 
Create circuituse.h

15 years agoCreate circuitlist.h
Sebastian Hahn [Thu, 22 Jul 2010 07:46:23 +0000 (09:46 +0200)] 
Create circuitlist.h

15 years agoCreate circuitbuild.h
Sebastian Hahn [Wed, 21 Jul 2010 23:21:00 +0000 (01:21 +0200)] 
Create circuitbuild.h

15 years agoCreate buffers.h
Sebastian Hahn [Wed, 21 Jul 2010 22:46:18 +0000 (00:46 +0200)] 
Create buffers.h

15 years agoCreate rendservice.h
Sebastian Hahn [Wed, 21 Jul 2010 22:30:17 +0000 (00:30 +0200)] 
Create rendservice.h

15 years agoCreate rendclient.h
Sebastian Hahn [Wed, 21 Jul 2010 22:13:51 +0000 (00:13 +0200)] 
Create rendclient.h

15 years agoCreate rendcommon.h
Sebastian Hahn [Wed, 21 Jul 2010 15:52:54 +0000 (17:52 +0200)] 
Create rendcommon.h

15 years agoCreate routerlist.h
Sebastian Hahn [Wed, 21 Jul 2010 15:08:11 +0000 (17:08 +0200)] 
Create routerlist.h

15 years agoCreate router.h
Sebastian Hahn [Wed, 21 Jul 2010 14:17:10 +0000 (16:17 +0200)] 
Create router.h

15 years agoCreate geoip.h
Sebastian Hahn [Wed, 21 Jul 2010 12:38:52 +0000 (14:38 +0200)] 
Create geoip.h

15 years agoSplit headers for dnsserv.c functions out of or.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).

15 years agowhitespace fix
Sebastian Hahn [Sun, 25 Jul 2010 11:24:31 +0000 (13:24 +0200)] 
whitespace fix

15 years agoFix compilation with mingw and OpenSSL 0.9.8m+
mingw-san [Mon, 26 Jul 2010 19:05:11 +0000 (15:05 -0400)] 
Fix compilation with mingw and OpenSSL 0.9.8m+

15 years agoMake sure we don't warn for libevent versions like 1.4.14b-stable
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

15 years agomike needs DEFAULT_ROUTE_LEN in other files
Roger Dingledine [Wed, 21 Jul 2010 13:30:26 +0000 (09:30 -0400)] 
mike needs DEFAULT_ROUTE_LEN in other files

15 years agopartial changelog for 0.2.2.15-alpha
Roger Dingledine [Wed, 21 Jul 2010 13:28:34 +0000 (09:28 -0400)] 
partial changelog for 0.2.2.15-alpha

15 years agowhitespace fix
Roger Dingledine [Wed, 21 Jul 2010 13:24:14 +0000 (09:24 -0400)] 
whitespace fix

15 years agoAdd missing changes file for d461799f0
Nick Mathewson [Mon, 19 Jul 2010 22:34:05 +0000 (00:34 +0200)] 
Add missing changes file for d461799f0

15 years agonaked constants are bad
Roger Dingledine [Tue, 20 Jul 2010 12:07:44 +0000 (08:07 -0400)] 
naked constants are bad

15 years agoMerge branch 'bug1699'
Nick Mathewson [Mon, 19 Jul 2010 09:13:53 +0000 (11:13 +0200)] 
Merge branch 'bug1699'

15 years agoFix getinfo_helper_networkstatus to return 0 on question-not-known
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."

15 years agoMake the controller act more usefully when GETINFO fails
Nick Mathewson [Sun, 18 Jul 2010 15:05:58 +0000 (17:05 +0200)] 
Make the controller act more usefully when GETINFO fails

Right now it says "552 internal error" because there's no way for
getinfo_helper_*() countries to specify an error message.  This
patch changes the getinfo_helper_*() interface, and makes most of the
getinfo helpers give useful error messages in response to failures.

This should prevent recurrences of bug 1699, where a missing GeoIPFile
line in the torrc made GETINFO ip-to-county/* fail in a "not obvious
how to fix" way.

15 years agoAlter how guard flags are chosen.
Mike Perry [Mon, 12 Jul 2010 00:51:44 +0000 (17:51 -0700)] 
Alter how guard flags are chosen.

V3 authorities no longer decide not to vote on Guard+Exit. The bandwidth
weights should take care of this now.

Also, lower the max threshold for WFU to 0.98, to allow more nodes to become
guards.

15 years agoprint right controller purpose string for measure-timeout circs
Roger Dingledine [Thu, 15 Jul 2010 01:06:49 +0000 (21:06 -0400)] 
print right controller purpose string for measure-timeout circs

15 years agofetching a directory on sighup is years out of date
Roger Dingledine [Wed, 14 Jul 2010 17:48:09 +0000 (13:48 -0400)] 
fetching a directory on sighup is years out of date

15 years agoNo dirport should mean no hsdir flag (bug 1693)
Roger Dingledine [Wed, 14 Jul 2010 17:20:57 +0000 (13:20 -0400)] 
No dirport should mean no hsdir flag (bug 1693)

15 years ago0.2.2.14-alpha blurb
Roger Dingledine [Tue, 13 Jul 2010 19:50:24 +0000 (15:50 -0400)] 
0.2.2.14-alpha blurb

15 years agobump to 0.2.2.14-alpha-dev
Roger Dingledine [Tue, 13 Jul 2010 19:48:03 +0000 (15:48 -0400)] 
bump to 0.2.2.14-alpha-dev

15 years agobump to 0.2.2.14-alpha tor-0.2.2.14-alpha
Roger Dingledine [Tue, 13 Jul 2010 01:39:59 +0000 (21:39 -0400)] 
bump to 0.2.2.14-alpha

15 years agoguh. 'git commit' did not do what i expect.
Roger Dingledine [Mon, 12 Jul 2010 20:46:28 +0000 (16:46 -0400)] 
guh. 'git commit' did not do what i expect.

15 years agoi'm going to tag 0.2.2.14-alpha tonight
Roger Dingledine [Mon, 12 Jul 2010 20:43:46 +0000 (16:43 -0400)] 
i'm going to tag 0.2.2.14-alpha tonight

15 years agoRename log.h to torlog.h
Nick Mathewson [Sat, 10 Jul 2010 01:52:20 +0000 (21:52 -0400)] 
Rename log.h to torlog.h

This should make us conflict less with system files named "log.h".
Yes, we shouldn't have been conflicting with those anyway, but some
people's compilers act very oddly.

The actual change was done with one "git mv", by editing
Makefile.am, and running
   find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }'

15 years agofold in the latest changes
Roger Dingledine [Fri, 9 Jul 2010 18:07:54 +0000 (14:07 -0400)] 
fold in the latest changes

15 years agoRemove TODO items that are either done or moved to the tracker
Nick Mathewson [Tue, 6 Jul 2010 22:10:53 +0000 (18:10 -0400)] 
Remove TODO items that are either done or moved to the tracker

15 years agoMore gracefully handle corrupt state files.
Mike Perry [Tue, 6 Jul 2010 19:08:13 +0000 (12:08 -0700)] 
More gracefully handle corrupt state files.

Save a backup if we get odd circuitbuildtimes and other state info.

In the case of circuit build times, we no longer assert, and reset our state.

15 years agoFix unittest failure in bug 1660.
Mike Perry [Tue, 6 Jul 2010 15:49:50 +0000 (08:49 -0700)] 
Fix unittest failure in bug 1660.

We now record large times as abandoned, to prevent a filter step from
happening and skewing our results.

Also, issue a warn for a rare case that can happen for funky values of Xm or
too many abandoned circuits. Can happen (very rarely) during unit tests, but
should not be possble during live operation, due to network liveness filters
and discard logic.

15 years agoMake directory mirrors report non-zero dirreq-v[23]-shares again.
Karsten Loesing [Mon, 21 Jun 2010 08:13:17 +0000 (10:13 +0200)] 
Make directory mirrors report non-zero dirreq-v[23]-shares again.

15 years agoFix bugs with assuming time_t can be implicitly cast to long
Nick Mathewson [Tue, 29 Jun 2010 23:55:10 +0000 (19:55 -0400)] 
Fix bugs with assuming time_t can be implicitly cast to long

Many friendly operating systems have 64-bit times, and it's not nice
to pass them to an %ld format.

It's also extremely not-nice to write a time to the log as an
integer.  Most people think it's 2010 June 29 23:57 UTC+epsilon, not
1277855805+epsilon.

15 years agoMerge remote branch 'public/rand_double2'
Nick Mathewson [Tue, 29 Jun 2010 22:57:59 +0000 (18:57 -0400)] 
Merge remote branch 'public/rand_double2'

15 years agoMerge remote branch 'mikeperry/cbt-bugfixes3'
Nick Mathewson [Tue, 29 Jun 2010 22:57:50 +0000 (18:57 -0400)] 
Merge remote branch 'mikeperry/cbt-bugfixes3'

15 years agostart an 0.2.2.14-alpha changelog
Roger Dingledine [Tue, 29 Jun 2010 22:40:08 +0000 (18:40 -0400)] 
start an 0.2.2.14-alpha changelog

15 years agoGroup in torrc is obsolete, so stop checking it
Roger Dingledine [Sun, 27 Jun 2010 06:31:00 +0000 (02:31 -0400)] 
Group in torrc is obsolete, so stop checking it

15 years agoMake cbt_generate_sample use crypto_rand_double()
Nick Mathewson [Wed, 23 Jun 2010 01:31:31 +0000 (21:31 -0400)] 
Make cbt_generate_sample use crypto_rand_double()

Possible workaround for bug 1139, if anybody cares.

15 years agoMerge branch 'bug1526-v2'
Nick Mathewson [Fri, 25 Jun 2010 22:56:15 +0000 (18:56 -0400)] 
Merge branch 'bug1526-v2'

15 years agoFix a compile error when building with Libevent before 1.4.5-stable
Nick Mathewson [Fri, 25 Jun 2010 20:14:21 +0000 (16:14 -0400)] 
Fix a compile error when building with Libevent before 1.4.5-stable

Older versions of Libevent forgot to declare enough function arguments
constant.

15 years agoUse Libevent 2.0's periodic timers where available.
Nick Mathewson [Fri, 25 Jun 2010 19:31:46 +0000 (15:31 -0400)] 
Use Libevent 2.0's periodic timers where available.

These timers behave better with non-monotonic clocks than our old
ones, and also try harder to make once-per-second events get called
one second apart, rather than one-plus-epsilon seconds apart.

This fixes bug 943 for everybody using Libevent 2.0 or later.

15 years agoMake spec docs reference RFC2119
Nick Mathewson [Fri, 25 Jun 2010 18:58:25 +0000 (14:58 -0400)] 
Make spec docs reference RFC2119

Now people will have no excuse for not knowing what "MUST" and "MAY"
mean.  Fixes bug 1310.

15 years agoFix typo in tinytest_demo
Steven Murdoch [Fri, 25 Jun 2010 16:09:06 +0000 (17:09 +0100)] 
Fix typo in tinytest_demo

15 years agoFix zlib macro brokenness on osx with zlib 1.2.4 and higher.
Nick Mathewson [Tue, 8 Jun 2010 22:10:20 +0000 (18:10 -0400)] 
Fix zlib macro brokenness on osx with zlib 1.2.4 and higher.

From the code:
   zlib 1.2.4 and 1.2.5 do some "clever" things with macros.  Instead of
   saying "(defined(FOO) ? FOO : 0)" they like to say "FOO-0", on the theory
   that nobody will care if the compile outputs a no-such-identifier warning.

   Sorry, but we like -Werror over here, so I guess we need to define these.
   I hope that zlib 1.2.6 doesn't break these too.

Possible fix for bug 1526.

15 years agoLog an error if openssl fails to copy a key for us
Nick Mathewson [Wed, 23 Jun 2010 02:20:52 +0000 (22:20 -0400)] 
Log an error if openssl fails to copy a key for us

This should never happen unless openssl is buggy or some of our
assumptions are deeply wrong, but one of those might have been the
cause of the not-yet-reproducible bug 1209.  If it ever happens again,
let's get some info we can use.

15 years agoAdd a function to return a double in range [0,1).
Nick Mathewson [Wed, 23 Jun 2010 01:30:26 +0000 (21:30 -0400)] 
Add a function to return a double in range [0,1).

15 years agoRemove the extra space that is sent in certain STREAM messages from the controller...
Kat Magic [Tue, 22 Jun 2010 23:04:56 +0000 (19:04 -0400)] 
Remove the extra space that is sent in certain STREAM messages from the controller. (closes #1583)

15 years agoMention the purpose field for leaked circuits.
Mike Perry [Thu, 17 Jun 2010 01:13:27 +0000 (18:13 -0700)] 
Mention the purpose field for leaked circuits.

15 years agoAdd CLOSE_MS and CLOSE_RATE keywords to buildtimeout event.
Mike Perry [Wed, 16 Jun 2010 01:02:19 +0000 (18:02 -0700)] 
Add CLOSE_MS and CLOSE_RATE keywords to buildtimeout event.

15 years agoBe more proactive about closing unused circuits.
Mike Perry [Tue, 15 Jun 2010 21:46:01 +0000 (14:46 -0700)] 
Be more proactive about closing unused circuits.

We need to ensure that we close timeout measurement circuits. While
we're at it, we should close really old circuits of certain types that
aren't in use, and log really old circuits of other types.

15 years agoSplit the circuit timeout and close codepaths.
Mike Perry [Tue, 15 Jun 2010 08:13:49 +0000 (01:13 -0700)] 
Split the circuit timeout and close codepaths.

We need to record different statistics at point of timeout, vs the point
of forcible closing.

Also, give some better names to constants and state file variables
to indicate they are not dealing with timeouts, but abandoned circuits.

15 years agoFix initialization and reset issues with close_ms.
Mike Perry [Tue, 15 Jun 2010 05:47:45 +0000 (22:47 -0700)] 
Fix initialization and reset issues with close_ms.

Also clean up some log messages.

15 years agoAnswer question from Roger.
Nick Mathewson [Mon, 14 Jun 2010 22:32:44 +0000 (18:32 -0400)] 
Answer question from Roger.

15 years agoa line that's been sitting in my sandbox for months
Roger Dingledine [Mon, 14 Jun 2010 22:25:37 +0000 (18:25 -0400)] 
a line that's been sitting in my sandbox for months

15 years agoSave a couple characters' allocation in esc_for_log
Florian Zumbiehl [Mon, 14 Jun 2010 18:05:03 +0000 (14:05 -0400)] 
Save a couple characters' allocation in esc_for_log

15 years agoremove old changes that were folded into 0.2.1.26
Roger Dingledine [Sun, 13 Jun 2010 20:04:32 +0000 (16:04 -0400)] 
remove old changes that were folded into 0.2.1.26

15 years agoCopy the release notes from 0.2.1.26 into the master ChangeLog
Nick Mathewson [Fri, 11 Jun 2010 20:31:03 +0000 (16:31 -0400)] 
Copy the release notes from 0.2.1.26 into the master ChangeLog