]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
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 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

15 years agoMerge commit 'sjmurdoch/xxx-using-spdy'
Nick Mathewson [Fri, 11 Jun 2010 17:25:38 +0000 (13:25 -0400)] 
Merge commit 'sjmurdoch/xxx-using-spdy'

15 years agoMerge commit 'sebastian/hostnamewarn'
Nick Mathewson [Fri, 11 Jun 2010 17:21:31 +0000 (13:21 -0400)] 
Merge commit 'sebastian/hostnamewarn'

15 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Fri, 11 Jun 2010 17:20:20 +0000 (13:20 -0400)] 
Merge commit 'origin/maint-0.2.1'

15 years agoAdd maatuska as eighth v3 directory authority.
Karsten Loesing [Thu, 10 Jun 2010 14:56:08 +0000 (16:56 +0200)] 
Add maatuska as eighth v3 directory authority.

15 years agoDon't put a ControlPort without auth in sample bridge torrc
Sebastian Hahn [Thu, 10 Jun 2010 15:44:36 +0000 (17:44 +0200)] 
Don't put a ControlPort without auth in sample bridge torrc

Thanks Roger for noticing

15 years agochange Bytes to B to fix ticket 1195.
Andrew Lewman [Thu, 10 Jun 2010 01:04:28 +0000 (21:04 -0400)] 
change Bytes to B to fix ticket 1195.

15 years agoDon't crash when reading cached*consensus files on startup
Sebastian Hahn [Thu, 10 Jun 2010 14:18:26 +0000 (16:18 +0200)] 
Don't crash when reading cached*consensus files on startup

Fixes bug 1352

15 years agoUpdate changelog.
Mike Perry [Tue, 8 Jun 2010 08:18:18 +0000 (01:18 -0700)] 
Update changelog.

15 years agoKeep circuits open until the greater of 95th CDF percentile or 60s.
Mike Perry [Tue, 8 Jun 2010 08:01:47 +0000 (01:01 -0700)] 
Keep circuits open until the greater of 95th CDF percentile or 60s.

This is done to provide better data to our right-censored Pareto model.

We do this by simply marking them with a new purpose.

15 years agoUpdate spec with new right-censored pareto estimators.
Mike Perry [Tue, 8 Jun 2010 03:02:12 +0000 (20:02 -0700)] 
Update spec with new right-censored pareto estimators.

15 years agoMake the Xm mode selection a consensus parameter.
Mike Perry [Tue, 8 Jun 2010 04:17:12 +0000 (21:17 -0700)] 
Make the Xm mode selection a consensus parameter.

15 years agoAddress some issues with unit tests.
Mike Perry [Tue, 8 Jun 2010 02:06:06 +0000 (19:06 -0700)] 
Address some issues with unit tests.

Histogram conversion causes accuracy loss, and there are some
boundary conditions when we hit 1000 circuits that cause
false negative test results.

15 years agoAdd timeout count state variable.
Mike Perry [Mon, 7 Jun 2010 09:36:43 +0000 (02:36 -0700)] 
Add timeout count state variable.

15 years agoRemove synthetic timeout code in favor of better Pareto model.
Mike Perry [Thu, 3 Jun 2010 09:36:43 +0000 (02:36 -0700)] 
Remove synthetic timeout code in favor of better Pareto model.

15 years agoArma hates (\d+). Remove mine and some others.
Mike Perry [Wed, 2 Jun 2010 05:10:22 +0000 (22:10 -0700)] 
Arma hates (\d+). Remove mine and some others.

15 years agoImprove log message about large timeouts and fix some typos.
Mike Perry [Wed, 2 Jun 2010 05:07:54 +0000 (22:07 -0700)] 
Improve log message about large timeouts and fix some typos.

15 years agoMerge remote branch 'origin/maint-0.2.1'
Nick Mathewson [Mon, 7 Jun 2010 19:10:48 +0000 (15:10 -0400)] 
Merge remote branch 'origin/maint-0.2.1'

15 years agoadd changes file for geoip db update
Nick Mathewson [Mon, 7 Jun 2010 19:09:48 +0000 (15:09 -0400)] 
add changes file for geoip db update

15 years agoUpdate to June 1 2010 Maxmind GeoLite Country database.
Karsten Loesing [Wed, 2 Jun 2010 17:53:19 +0000 (19:53 +0200)] 
Update to June 1 2010 Maxmind GeoLite Country database.

15 years agoIn asciidoc-helper.sh, be more verbose when a2x fails.
Nick Mathewson [Mon, 7 Jun 2010 15:38:58 +0000 (11:38 -0400)] 
In asciidoc-helper.sh, be more verbose when a2x fails.

Previously, we said (more or less), "a2x is broken and here's how you could
try to fix it".  Instead, we now say "We need a2x to build manpages; a2x
didn't work; here is a fix that might work for you; alternatively you
could just skip manpage building."

Addresses bug 1524.

Also, give the message as a here-document rather than a bunch of echos.

15 years agoMerge branch 'bug1522'
Nick Mathewson [Mon, 7 Jun 2010 15:22:16 +0000 (11:22 -0400)] 
Merge branch 'bug1522'

15 years agoReinstate warning when HOME isn't set.
Nick Mathewson [Mon, 7 Jun 2010 15:20:39 +0000 (11:20 -0400)] 
Reinstate warning when HOME isn't set.

Having ~/.tor expand into /.tor is, after all, almost certainly not
what the user wanted, and it deserves a warning message.

Also, convert a guess-and-malloc-and-sprintf triple into an asprintf.