]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
15 years agosimplify a path in networkstatus
Roger Dingledine [Thu, 15 Apr 2010 14:13:35 +0000 (10:13 -0400)] 
simplify a path in networkstatus

15 years agoAdd --enable-static-zlib option
Sebastian Hahn [Wed, 14 Apr 2010 14:48:05 +0000 (16:48 +0200)] 
Add --enable-static-zlib option

Works like the --enable-static-openssl/libevent options. Requires
--with-zlib-dir to be set. Note that other dependencies might still
pull in a dynamicly linked zlib, if you don't link them in statically
too.

15 years agoMerge branch 'correct_halflife'
Nick Mathewson [Tue, 13 Apr 2010 17:37:33 +0000 (13:37 -0400)] 
Merge branch 'correct_halflife'

15 years agoRename CircPriorityHalflifeMsec to CircuitPriorityHalflifeMsec
Nick Mathewson [Tue, 13 Apr 2010 17:29:30 +0000 (13:29 -0400)] 
Rename CircPriorityHalflifeMsec to CircuitPriorityHalflifeMsec

Everything that accepted the 'Circ' name handled it wrong, so even now
that we fixed the handling of the parameter, we wouldn't be able to
set it without making all the 0.2.2.7..0.2.2.10 relays act wonky.
This patch makes Tors accept the 'Circuit' name instead, so we can
turn on circuit priorities without confusing the versions that treated
the 'Circ' name as occasion to act weird.

15 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Mon, 12 Apr 2010 22:22:06 +0000 (18:22 -0400)] 
Merge commit 'origin/maint-0.2.1'

Conflicts:
src/or/test.c

15 years agotestsuite: Prevent the main thread from starving the worker threads
Peter Palfrader [Mon, 12 Apr 2010 22:10:56 +0000 (00:10 +0200)] 
testsuite: Prevent the main thread from starving the worker threads

15 years agotestsuite: Only free the main mutex when and if all the worker threads are done
Peter Palfrader [Mon, 12 Apr 2010 20:49:58 +0000 (22:49 +0200)] 
testsuite: Only free the main mutex when and if all the worker threads are done

15 years agoLog bandwidth_weight_rule_t as a string, not an integer.
Nick Mathewson [Mon, 12 Apr 2010 22:12:49 +0000 (18:12 -0400)] 
Log bandwidth_weight_rule_t as a string, not an integer.

I'm adding this because I can never remember what stuff like 'rule 3'
means.  That's the one where if somebody goes limp or taps out, the
fight is over, right?

15 years agoFix a bug in reading CircPriorityHalflife from consensus
Nick Mathewson [Mon, 12 Apr 2010 19:38:54 +0000 (15:38 -0400)] 
Fix a bug in reading CircPriorityHalflife from consensus

When you mean (a=b(c,d)) >= 0, you had better not say (a=b(c,d)>=0).
We did the latter, and so whenever CircPriorityHalflife was in the
consensus, it was treated as having a value of 1 msec (that is,
boolean true).

15 years agoMerge branch 'maint-0.2.1'
Roger Dingledine [Sun, 4 Apr 2010 02:05:02 +0000 (22:05 -0400)] 
Merge branch 'maint-0.2.1'

Conflicts:

ChangeLog
configure.in
contrib/tor-mingw.nsi.in
src/win32/orconfig.h

15 years agofetch relay descriptors from v3 authorities
Roger Dingledine [Sun, 4 Apr 2010 01:53:29 +0000 (21:53 -0400)] 
fetch relay descriptors from v3 authorities

15 years agoMerge commit 'sebastian/libxml'
Nick Mathewson [Sat, 3 Apr 2010 14:34:04 +0000 (10:34 -0400)] 
Merge commit 'sebastian/libxml'

15 years agoFix a segfault when a client is hup'd.
Sebastian Hahn [Sat, 3 Apr 2010 10:13:25 +0000 (12:13 +0200)] 
Fix a segfault when a client is hup'd.

We need to make sure we have an event_base in dns.c before we call
anything that wants one. Make sure we always have one in dns_reset()
when we're a client. Fixes bug 1341.

15 years agofold in the recent changelog entries
Roger Dingledine [Fri, 2 Apr 2010 19:33:38 +0000 (15:33 -0400)] 
fold in the recent changelog entries

15 years agoMerge branch 'asprintf'
Nick Mathewson [Fri, 2 Apr 2010 16:30:46 +0000 (12:30 -0400)] 
Merge branch 'asprintf'

15 years agoMention libxml2-utils in our asciidoc dependencies
Sebastian Hahn [Tue, 30 Mar 2010 12:53:30 +0000 (14:53 +0200)] 
Mention libxml2-utils in our asciidoc dependencies

Zax from #tor noticed that while we list docbook-xsl and docbook-xml
in our helpful error text when making the docs fails, we forgot to
also list libxml2-utils. Let's add that.

15 years agoSegfault less during consensus generation without params
Sebastian Hahn [Sun, 21 Mar 2010 05:03:13 +0000 (06:03 +0100)] 
Segfault less during consensus generation without params

If no authority votes on any params, Tor authorities segfault when
trying to make a new consensus from the votes. Let's change that.

15 years agoAdd a missing NL to dir-spec.
Nick Mathewson [Sun, 21 Mar 2010 16:45:01 +0000 (12:45 -0400)] 
Add a missing NL to dir-spec.

Found by Oğuz

15 years agoIn the glorious future, all relays cache dir info.
Roger Dingledine [Tue, 16 Mar 2010 08:02:18 +0000 (04:02 -0400)] 
In the glorious future, all relays cache dir info.

Now if you're a published relay and you set RefuseUnknownExits, even
if your dirport is off, you'll fetch dir info from the authorities,
fetch it early, and cache it.

In the future, RefuseUnknownExits (or something like it) will be on
by default.

15 years agogive us a blurb; add stanza to the releasenotes tor-0.2.1.25
Roger Dingledine [Tue, 16 Mar 2010 04:44:30 +0000 (00:44 -0400)] 
give us a blurb; add stanza to the releasenotes

15 years agobump to 0.2.1.25
Roger Dingledine [Mon, 15 Mar 2010 22:08:29 +0000 (18:08 -0400)] 
bump to 0.2.1.25

it's perfect, let's ship it

15 years agofix some dangling refs in dirspec
Nick Mathewson [Mon, 15 Mar 2010 19:41:59 +0000 (15:41 -0400)] 
fix some dangling refs in dirspec

15 years agoClarify title of section 3.3
Nick Mathewson [Sat, 13 Mar 2010 19:54:05 +0000 (14:54 -0500)] 
Clarify title of section 3.3

15 years agolet people test the RefuseUnknownExits idea
Roger Dingledine [Thu, 11 Mar 2010 03:43:23 +0000 (22:43 -0500)] 
let people test the RefuseUnknownExits idea

15 years agoDocument possibility of "unknown" version state.
Nick Mathewson [Tue, 9 Mar 2010 05:08:38 +0000 (00:08 -0500)] 
Document possibility of "unknown" version state.

reported by atagar; fixes bug 1289.

15 years agoblurbs for recent alphas
Roger Dingledine [Tue, 9 Mar 2010 04:09:49 +0000 (23:09 -0500)] 
blurbs for recent alphas

15 years agoDon't require asciidoc when building Tor from a tarball
Sebastian Hahn [Mon, 8 Mar 2010 20:01:52 +0000 (21:01 +0100)] 
Don't require asciidoc when building Tor from a tarball

If asciidoc is required, the user receives an error message telling
them about the --disable-asciidoc configure switch and the build
breaks.

15 years agofix the tor-exit-notice.html file (bug 1295)
Roger Dingledine [Tue, 9 Mar 2010 01:40:21 +0000 (20:40 -0500)] 
fix the tor-exit-notice.html file (bug 1295)

15 years agobump to 0.2.2.10-alpha-dev
Roger Dingledine [Mon, 8 Mar 2010 05:40:00 +0000 (00:40 -0500)] 
bump to 0.2.2.10-alpha-dev

now's your chance to destabilize it

15 years agoprepare 0.2.2.10-alpha for release tor-0.2.2.10-alpha
Roger Dingledine [Sun, 7 Mar 2010 05:13:12 +0000 (00:13 -0500)] 
prepare 0.2.2.10-alpha for release

15 years agoMerge branch 'maint-0.2.1'
Roger Dingledine [Sun, 7 Mar 2010 03:46:39 +0000 (22:46 -0500)] 
Merge branch 'maint-0.2.1'

Conflicts:

ChangeLog
configure.in
contrib/tor-mingw.nsi.in
src/win32/orconfig.h

15 years agoclean up the 0.2.1.25 changelog
Roger Dingledine [Sun, 7 Mar 2010 03:39:34 +0000 (22:39 -0500)] 
clean up the 0.2.1.25 changelog

15 years agoClarify that CRLF means "A CR then an LF". Explain what those are.
Nick Mathewson [Fri, 5 Mar 2010 22:00:13 +0000 (17:00 -0500)] 
Clarify that CRLF means "A CR then an LF".  Explain what those are.

Apparently this is not as obvious as I thought.

15 years agocommit my annotations while i was hunting down the host order bug
Roger Dingledine [Fri, 5 Mar 2010 21:04:01 +0000 (16:04 -0500)] 
commit my annotations while i was hunting down the host order bug

15 years agoMerge branch 'master' of ssh://git@git-rw.torproject.org/tor
Roger Dingledine [Fri, 5 Mar 2010 19:25:08 +0000 (14:25 -0500)] 
Merge branch 'master' of ssh://git@git-rw.torproject.org/tor

15 years agoMerge commit 'sebastian/manpage'
Nick Mathewson [Fri, 5 Mar 2010 04:30:53 +0000 (23:30 -0500)] 
Merge commit 'sebastian/manpage'

15 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Thu, 4 Mar 2010 23:44:31 +0000 (18:44 -0500)] 
Merge commit 'origin/maint-0.2.1'

Conflicts:
src/or/config.c
src/or/test.c

15 years agoApply Roger's bug 1269 fix.
Nick Mathewson [Thu, 4 Mar 2010 23:37:40 +0000 (18:37 -0500)] 
Apply Roger's bug 1269 fix.

From http://archives.seul.org/tor/relays/Mar-2010/msg00006.html :

   As I understand it, the bug should show up on relays that don't set
   Address to an IP address (so they need to resolve their Address
   line or their hostname to guess their IP address), and their
   hostname or Address line fails to resolve -- at that point they'll
   pick a random 4 bytes out of memory and call that their address. At
   the same time, relays that *do* successfully resolve their address
   will ignore the result, and only come up with a useful address if
   their interface address happens to be a public IP address.

15 years agoMerge remote branch 'mikeperry/bwweight-smartlistfix'
Nick Mathewson [Thu, 4 Mar 2010 05:13:23 +0000 (00:13 -0500)] 
Merge remote branch 'mikeperry/bwweight-smartlistfix'

15 years agoWoops, forgot the second warn.
Mike Perry [Thu, 4 Mar 2010 05:02:01 +0000 (21:02 -0800)] 
Woops, forgot the second warn.

Also, differentiate the two log messages.

15 years agoAdd proposal 170 "Configuration options regarding circuit building"
Sebastian Hahn [Thu, 4 Mar 2010 04:56:23 +0000 (23:56 -0500)] 
Add proposal 170 "Configuration options regarding circuit building"

15 years agoMerge commit 'mikeperry/bwweight-smartlistfix'
Roger Dingledine [Thu, 4 Mar 2010 03:36:47 +0000 (22:36 -0500)] 
Merge commit 'mikeperry/bwweight-smartlistfix'

15 years agoDemote warn to info, since it can happen.
Mike Perry [Thu, 4 Mar 2010 01:35:06 +0000 (17:35 -0800)] 
Demote warn to info, since it can happen.

I still feel like we should investigate this case. It seems odd.

15 years agoNote an exception to when we use OutboundBindAddress
Peter Palfrader [Tue, 2 Mar 2010 17:58:28 +0000 (18:58 +0100)] 
Note an exception to when we use OutboundBindAddress

15 years agoBackport fix for time-goes-forward test. Fix bug 1267
Nick Mathewson [Tue, 2 Mar 2010 15:40:21 +0000 (10:40 -0500)] 
Backport fix for time-goes-forward test.  Fix bug 1267

15 years agoAdd configure switch to disable use of asciidoc
Sebastian Hahn [Mon, 1 Mar 2010 02:17:48 +0000 (03:17 +0100)] 
Add configure switch to disable use of asciidoc

Also break the build if that switch isn't used and asciidoc isn't
available.

15 years agoSimplify asciidoc-helper
Sebastian Hahn [Sat, 27 Feb 2010 16:06:06 +0000 (17:06 +0100)] 
Simplify asciidoc-helper

We don't need sed for our string manipulation, so let's get rid of
it. Suggested by weasel.

15 years agoShip the asciidoc-helper file in our tarballs
Sebastian Hahn [Sat, 27 Feb 2010 15:27:44 +0000 (16:27 +0100)] 
Ship the asciidoc-helper file in our tarballs

Otherwise, the build process breaks when one of the .1.txt gets
a new mtime. Suggested by weasel.

15 years agoTweak users of snprintf to use asprintf where appropriate
Nick Mathewson [Mon, 1 Mar 2010 02:46:50 +0000 (21:46 -0500)] 
Tweak users of snprintf to use asprintf where appropriate

15 years agobetter handle the case where *strp is in asprintf args
Nick Mathewson [Mon, 1 Mar 2010 02:46:46 +0000 (21:46 -0500)] 
better handle the case where *strp is in asprintf args

15 years agoMerge branch 'fix_routerparse_bug'
Nick Mathewson [Sun, 28 Feb 2010 18:48:05 +0000 (13:48 -0500)] 
Merge branch 'fix_routerparse_bug'

15 years agoUpdate copyright dates for files not in maint-0.2.1
Nick Mathewson [Sat, 27 Feb 2010 22:17:43 +0000 (17:17 -0500)] 
Update copyright dates for files not in maint-0.2.1

15 years agoMerge remote branch 'origin/maint-0.2.1'
Nick Mathewson [Sat, 27 Feb 2010 22:16:31 +0000 (17:16 -0500)] 
Merge remote branch 'origin/maint-0.2.1'

Conflicts:
src/common/test.h
src/or/test.c

15 years agoUpdate Tor Project copyright years
Nick Mathewson [Sat, 27 Feb 2010 22:13:37 +0000 (17:13 -0500)] 
Update Tor Project copyright years

15 years agoFix a consensus-extension bug found by outofwords
Nick Mathewson [Sat, 27 Feb 2010 21:33:46 +0000 (16:33 -0500)] 
Fix a consensus-extension bug found by outofwords

When the bandwidth-weights branch added the "directory-footer"
token, and began parsing the directory footer at the first
occurrence of "directory-footer", it made it possible to fool the
parsing algorithm into accepting unsigned data at the end of a
consensus or vote.  This patch fixes that bug by treating the footer
as starting with the first "directory-footer" or the first
"directory-signature", whichever comes first.

15 years agofix some wide lines in routerparse.c
Nick Mathewson [Sat, 27 Feb 2010 21:33:22 +0000 (16:33 -0500)] 
fix some wide lines in routerparse.c

15 years agoMerge remote branch 'origin/maint-0.2.1'
Nick Mathewson [Sat, 27 Feb 2010 20:34:02 +0000 (15:34 -0500)] 
Merge remote branch 'origin/maint-0.2.1'

Conflicts:
ChangeLog
src/or/routerparse.c

15 years agoProperly handle non-terminated strings
Sebastian Hahn [Thu, 25 Feb 2010 09:31:36 +0000 (10:31 +0100)] 
Properly handle non-terminated strings

Treat strings returned from signed_descriptor_get_body_impl() as not
NUL-terminated. Since the length of the strings is available, this is
not a big problem.

Discovered by rieo.

15 years agoCheck for empty smartlists and no bandwidth during node selection.
Mike Perry [Sat, 27 Feb 2010 00:17:09 +0000 (16:17 -0800)] 
Check for empty smartlists and no bandwidth during node selection.

15 years agoDon't segfault when checking the consensus
Sebastian Hahn [Fri, 26 Feb 2010 07:00:56 +0000 (08:00 +0100)] 
Don't segfault when checking the consensus

15 years agoDon't believe unauthenticated info in a consensus.
Nick Mathewson [Fri, 26 Feb 2010 06:02:20 +0000 (01:02 -0500)] 
Don't believe unauthenticated info in a consensus.

Don't allow anything but directory-signature tokens in a consensus after
the first directory-signature token.  Fixes bug in bandwidth-weights branch.
Found by "outofwords."

15 years agoProper NULL checking in circuit_list_path_impl()
Sebastian Hahn [Wed, 24 Feb 2010 08:36:15 +0000 (09:36 +0100)] 
Proper NULL checking in circuit_list_path_impl()

Another dereference-then-NULL-check sequence. No reports of this bug
triggered in the wild. Fixes bugreport 1256.

Thanks to ekir for discovering and reporting this bug.

15 years agoProper NULL checking for hsdesc publication
Sebastian Hahn [Tue, 23 Feb 2010 16:09:02 +0000 (17:09 +0100)] 
Proper NULL checking for hsdesc publication

Fix a dereference-then-NULL-check sequence. This bug wasn't triggered
in the wild, but we should fix it anyways in case it ever happens.
Also make sure users get a note about this being a bug when they
see it in their log.

Thanks to ekir for discovering and reporting this bug.

15 years agoZero a cipher completely before freeing it
Sebastian Hahn [Mon, 22 Feb 2010 10:39:29 +0000 (11:39 +0100)] 
Zero a cipher completely before freeing it

We used to only zero the first ptrsize bytes of the cipher. Since
cipher is large enough, we didn't zero too many bytes. Discovered
and fixed by ekir. Fixes bug 1254.

15 years agoadd .exe files to gitignore
Nick Mathewson [Thu, 25 Feb 2010 22:02:02 +0000 (17:02 -0500)] 
add .exe files to gitignore

15 years agoFor integers, if !(E<G), then we can infer that E>=G.
Nick Mathewson [Thu, 25 Feb 2010 22:00:14 +0000 (17:00 -0500)] 
For integers, if !(E<G), then we can infer that E>=G.

This means that "if (E<G) {abc} else if (E>=G) {def}" can be replaced with
"if (E<G) {abc} else {def}"

Doing the second test explicitly made my mingw gcc nervous that we might
never be initializing casename.

15 years agoAdd the MIN and MAX macros for platforms that lack them
Nick Mathewson [Thu, 25 Feb 2010 21:48:26 +0000 (16:48 -0500)] 
Add the MIN and MAX macros for platforms that lack them

15 years agoFix 64-bit printf issues in consensus-bw-weights5-merge.
Nick Mathewson [Thu, 25 Feb 2010 21:22:40 +0000 (16:22 -0500)] 
Fix 64-bit printf issues in consensus-bw-weights5-merge.

For my 64-bit Linux system running with GCC 4.4.3-fc12-whatever, you
can't do 'printf("%lld", (int64_t)x);' Instead you need to tell the
compiler 'printf("%lld", (long long int)x);' or else it doesn't
believe the types match.  This is why we added U64_PRINTF_ARG; it
looks like we needed an I64_PRINTF_ARG too.

15 years agoMerge remote branch 'mikeperry/consensus-bw-weights5-merge'
Nick Mathewson [Thu, 25 Feb 2010 21:22:29 +0000 (16:22 -0500)] 
Merge remote branch 'mikeperry/consensus-bw-weights5-merge'

Conflicts:
ChangeLog

15 years agoAdd a tor_asprintf() function, and use it in a couple of places.
Nick Mathewson [Thu, 25 Feb 2010 20:58:55 +0000 (15:58 -0500)] 
Add a tor_asprintf() function, and use it in a couple of places.

asprintf() is a GNU extension that some BSDs have picked up: it does a printf
into a newly allocated chunk of RAM.

Our tor_asprintf() differs from standard asprintf() in that:
  - Like our other malloc functions, it asserts on OOM.
  - It works on windows.
  - It always sets its return-field.

15 years agoCheck snprintf return values in format_networkstatus_vote.
Mike Perry [Thu, 25 Feb 2010 19:59:35 +0000 (11:59 -0800)] 
Check snprintf return values in format_networkstatus_vote.

Maybe this is what parakeep was complaining about? Really wish he
would stick around more. Playing these guessing games is not fun :(

15 years agoCast our weights down to ints from int64.
Mike Perry [Thu, 25 Feb 2010 19:42:45 +0000 (11:42 -0800)] 
Cast our weights down to ints from int64.

They are capped to be between 0 and weight_scale (10000) by the code
just before the snprintf.

15 years agoUpdate dir-spec.txt with begin_dir weights.
Mike Perry [Thu, 25 Feb 2010 19:42:24 +0000 (11:42 -0800)] 
Update dir-spec.txt with begin_dir weights.

15 years agoMerge remote branch 'sebastian/manpage'
Nick Mathewson [Thu, 25 Feb 2010 19:32:22 +0000 (14:32 -0500)] 
Merge remote branch 'sebastian/manpage'

15 years agoMerge remote branch 'sebastian/polipo'
Nick Mathewson [Thu, 25 Feb 2010 19:31:53 +0000 (14:31 -0500)] 
Merge remote branch 'sebastian/polipo'

15 years agoRestrict PerConnBWRate|Burst to INT32_MAX, update manpage
Sebastian Hahn [Thu, 25 Feb 2010 11:25:57 +0000 (12:25 +0100)] 
Restrict PerConnBWRate|Burst to INT32_MAX, update manpage

All other bandwidthrate settings are restricted to INT32_MAX, but
this check was forgotten for PerConnBWRate and PerConnBWBurst. Also
update the manpage to reflect the fact that specifying a bandwidth
in terabytes does not make sense, because that value will be too
large.

15 years agoMake unit tests work.
Mike Perry [Wed, 24 Feb 2010 19:17:31 +0000 (11:17 -0800)] 
Make unit tests work.

Still not sure why they generate an empty consensus document..
Too much frobbing going on there.

15 years agoUpdate a section of the exit notice file, give it a changelog.
Sebastian Hahn [Tue, 23 Feb 2010 18:59:34 +0000 (19:59 +0100)] 
Update a section of the exit notice file, give it a changelog.

15 years agoFix some urls in the exit notice
Sebastian Hahn [Mon, 22 Feb 2010 14:18:44 +0000 (15:18 +0100)] 
Fix some urls in the exit notice

Patch by Christian Kujau to fix some links in the exit notice file
(the file you'd use for your DirPortFrontPage), as well as making
the file xhtml compatible. Thanks!

15 years agoUpdate polipo build instructions for OS X 10.6
Sebastian Hahn [Tue, 16 Feb 2010 04:47:24 +0000 (05:47 +0100)] 
Update polipo build instructions for OS X 10.6

15 years agoProper NULL checking for hsdesc publication
Sebastian Hahn [Tue, 23 Feb 2010 16:09:02 +0000 (17:09 +0100)] 
Proper NULL checking for hsdesc publication

Fix a dereference-then-NULL-check sequence. This bug wasn't triggered
in the wild, but we should fix it anyways in case it ever happens.
Also make sure users get a note about this being a bug when they
see it in their log.

Thanks to ekir for discovering and reporting this bug.

15 years agoFix another coverity-spotted memleak
Sebastian Hahn [Tue, 23 Feb 2010 14:02:34 +0000 (15:02 +0100)] 
Fix another coverity-spotted memleak

15 years agoUpdate consensus methods in spec.
Mike Perry [Tue, 23 Feb 2010 02:43:44 +0000 (18:43 -0800)] 
Update consensus methods in spec.

15 years agoAdd consensus method #defines.
Mike Perry [Tue, 23 Feb 2010 02:43:13 +0000 (18:43 -0800)] 
Add consensus method #defines.

15 years agobump to 0.2.2.9-alpha-dev
Roger Dingledine [Tue, 23 Feb 2010 02:23:06 +0000 (21:23 -0500)] 
bump to 0.2.2.9-alpha-dev

15 years agoMark 160 and 161 as Finished. tor-0.2.2.9-alpha
Nick Mathewson [Tue, 23 Feb 2010 01:52:19 +0000 (20:52 -0500)] 
Mark 160 and 161 as Finished.

15 years agoAdd a changelog entry for the bandwidth weightings.
Mike Perry [Tue, 23 Feb 2010 01:04:35 +0000 (17:04 -0800)] 
Add a changelog entry for the bandwidth weightings.

15 years agoRemove misc unnecessary newlines found by new check.
Mike Perry [Sat, 20 Feb 2010 21:46:43 +0000 (13:46 -0800)] 
Remove misc unnecessary newlines found by new check.

15 years agoPatch from karsten to detect unnecessary \n's.
Mike Perry [Sat, 20 Feb 2010 21:44:15 +0000 (13:44 -0800)] 
Patch from karsten to detect unnecessary \n's.

Also fix a spacing issue.

15 years agoAlways weight routers by bandwidth.
Mike Perry [Sun, 14 Feb 2010 22:45:45 +0000 (14:45 -0800)] 
Always weight routers by bandwidth.

Also always predict that we need a high capacity circuit or internal
circuit.

15 years agoUpdate specs for weight computation and use.
Mike Perry [Mon, 15 Feb 2010 02:16:06 +0000 (18:16 -0800)] 
Update specs for weight computation and use.

15 years agoClearly mark directory footer so we parse the new weight line.
Mike Perry [Mon, 15 Feb 2010 01:49:08 +0000 (17:49 -0800)] 
Clearly mark directory footer so we parse the new weight line.

15 years agoImplement bw weighting selection algorithm.
Mike Perry [Wed, 27 Jan 2010 23:01:51 +0000 (15:01 -0800)] 
Implement bw weighting selection algorithm.

15 years agoAdd parsing+verification for bw weight values.
Mike Perry [Fri, 29 Jan 2010 23:40:40 +0000 (15:40 -0800)] 
Add parsing+verification for bw weight values.

15 years agoPerform calculation of consensus bandwidth weights.
Mike Perry [Sat, 30 Jan 2010 01:10:50 +0000 (17:10 -0800)] 
Perform calculation of consensus bandwidth weights.

Also add bwweightscale consensus param. Use it as our
fixed-point calculation width.

15 years agoAdd %lld compat defines.
Mike Perry [Mon, 15 Feb 2010 00:26:41 +0000 (16:26 -0800)] 
Add %lld compat defines.

15 years agoelevate a changelog entry, and get my mailto out of the man page
Roger Dingledine [Mon, 22 Feb 2010 21:19:35 +0000 (16:19 -0500)] 
elevate a changelog entry, and get my mailto out of the man page

15 years agoMerge remote branch 'sebastian/coverity'
Nick Mathewson [Mon, 22 Feb 2010 17:46:43 +0000 (12:46 -0500)] 
Merge remote branch 'sebastian/coverity'

15 years agoMerge remote branch 'sebastian/bug1254'
Nick Mathewson [Mon, 22 Feb 2010 17:45:01 +0000 (12:45 -0500)] 
Merge remote branch 'sebastian/bug1254'

15 years agoMake expand_filename into a tor_strdup() alias on windows.
Nick Mathewson [Mon, 22 Feb 2010 17:42:31 +0000 (12:42 -0500)] 
Make expand_filename into a tor_strdup() alias on windows.

On Windows, we don't have a notion of ~ meaning "our homedir", so we
were deliberately using an #ifdef to avoid calling expand_filename()
in multiple places.  This is silly: The right place to turn a function
into a no-op on a single platform is in the function itself, not in
every single call-site.