]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
13 years agoDetect openssl header version doesn't match runtime version
Nick Mathewson [Tue, 4 Sep 2012 16:41:37 +0000 (12:41 -0400)] 
Detect openssl header version doesn't match runtime version

We already do this for libevent; let's do it for openssl too.

For now, I'm making it always a warn, since this has caused some
problems in the past.  Later, we can see about making it less severe.

13 years agoDon't log about Libevent/OpenSSL initialization when all's well
Nick Mathewson [Tue, 4 Sep 2012 16:32:38 +0000 (12:32 -0400)] 
Don't log about Libevent/OpenSSL initialization when all's well

OTOH, log the Libevent and OpenSSL versions on the first line when
we're starting Tor.

13 years agoRename configure.in to configure.ac
Nick Mathewson [Tue, 4 Sep 2012 15:12:00 +0000 (11:12 -0400)] 
Rename configure.in to configure.ac

This is the preferred filename to use with Autoconf 2.50 and later.

13 years agoMerge remote-tracking branch 'arma/bug6759'
Nick Mathewson [Tue, 4 Sep 2012 14:18:51 +0000 (10:18 -0400)] 
Merge remote-tracking branch 'arma/bug6759'

13 years agoMerge remote-tracking branch 'arma/feature6758'
Nick Mathewson [Tue, 4 Sep 2012 14:16:15 +0000 (10:16 -0400)] 
Merge remote-tracking branch 'arma/feature6758'

13 years agoMerge remote-tracking branch 'arma/feature6760'
Nick Mathewson [Tue, 4 Sep 2012 14:14:55 +0000 (10:14 -0400)] 
Merge remote-tracking branch 'arma/feature6760'

13 years agoresolve an XXX by agreeing with nickm
Roger Dingledine [Tue, 4 Sep 2012 02:15:04 +0000 (22:15 -0400)] 
resolve an XXX by agreeing with nickm

13 years agomake "Launching %d requests for %d routers" message more useful
Roger Dingledine [Tue, 4 Sep 2012 02:10:49 +0000 (22:10 -0400)] 
make "Launching %d requests for %d routers" message more useful

specifically, specify what sort of routers we're fetching.

13 years agoquiet "I learned some more directory information" on startup
Roger Dingledine [Mon, 3 Sep 2012 23:49:44 +0000 (19:49 -0400)] 
quiet "I learned some more directory information" on startup

Reserve it for when new directory information arrives in response to
a fetch.

Resolves ticket 6760.

13 years agoDon't log about reloading the microdescriptor cache at startup
Roger Dingledine [Mon, 3 Sep 2012 22:50:27 +0000 (18:50 -0400)] 
Don't log about reloading the microdescriptor cache at startup

Addresses bug 6759.

13 years agoomit the first heartbeat message (resolves ticket 6758)
Roger Dingledine [Mon, 3 Sep 2012 22:13:35 +0000 (18:13 -0400)] 
omit the first heartbeat message (resolves ticket 6758)

13 years agofix whitespace and trivial typo
Roger Dingledine [Mon, 3 Sep 2012 06:09:39 +0000 (02:09 -0400)] 
fix whitespace and trivial typo

13 years agoretroactively fix version typo in changelog
Roger Dingledine [Sat, 1 Sep 2012 05:03:51 +0000 (01:03 -0400)] 
retroactively fix version typo in changelog

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 31 Aug 2012 22:39:27 +0000 (18:39 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoMerge branch 'bug6732' into maint-0.2.3
Nick Mathewson [Fri, 31 Aug 2012 22:39:11 +0000 (18:39 -0400)] 
Merge branch 'bug6732' into maint-0.2.3

13 years agoRemove changes files which have been removed in release-0.2.3
Nick Mathewson [Fri, 31 Aug 2012 22:37:56 +0000 (18:37 -0400)] 
Remove changes files which have been removed in release-0.2.3

13 years agoDocument the --branch argument to contrib/findMergedChanges.pl
Nick Mathewson [Fri, 31 Aug 2012 22:34:42 +0000 (18:34 -0400)] 
Document the --branch argument to contrib/findMergedChanges.pl

13 years agoDocument consensus and microdesc files
Nick Mathewson [Fri, 31 Aug 2012 15:35:47 +0000 (11:35 -0400)] 
Document consensus and microdesc files

Bugfix for #6732.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Mon, 27 Aug 2012 20:39:30 +0000 (16:39 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoQuiet "Set buildtimeout to low val" warnings: make them info
Nick Mathewson [Mon, 27 Aug 2012 20:37:09 +0000 (16:37 -0400)] 
Quiet "Set buildtimeout to low val" warnings: make them info

Fix for #6251

13 years agoMerge remote-tracking branch 'mikeperry/bug6647'
Nick Mathewson [Mon, 27 Aug 2012 20:23:19 +0000 (16:23 -0400)] 
Merge remote-tracking branch 'mikeperry/bug6647'

13 years agoMerge (with -s ours) remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Mon, 27 Aug 2012 20:21:10 +0000 (16:21 -0400)] 
Merge (with -s ours) remote-tracking branch 'origin/maint-0.2.3'

We are doing this merge to avoid taking the patch from
"nickm/disable_pathbias_warnings_v2" into 0.2.4 -- we're going to try
to fix the pathbias code for real here.

13 years agoMerge branch 'disable_pathbias_warnings_v2' into maint-0.2.3
Nick Mathewson [Mon, 27 Aug 2012 20:19:52 +0000 (16:19 -0400)] 
Merge branch 'disable_pathbias_warnings_v2' into maint-0.2.3

13 years agoDowngrade path-bias warning messages to INFO for now.
Nick Mathewson [Mon, 27 Aug 2012 14:46:17 +0000 (10:46 -0400)] 
Downgrade path-bias warning messages to INFO for now.

We've had over two months to fix them, and didn't.  Now we need
0.2.3.x stable.  Yes, it would be cool to get this working in
0.2.3.x, but not at the expense of delaying every other feature that
_does_ work in 0.2.3.x.  We can do a real fix in 0.2.4.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Mon, 27 Aug 2012 20:16:27 +0000 (16:16 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoMerge branch 'bug6710_023' into maint-0.2.3
Nick Mathewson [Mon, 27 Aug 2012 20:15:01 +0000 (16:15 -0400)] 
Merge branch 'bug6710_023' into maint-0.2.3

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Mon, 27 Aug 2012 20:09:29 +0000 (16:09 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Nick Mathewson [Mon, 27 Aug 2012 20:07:04 +0000 (16:07 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3

Conflicts:
src/or/policies.c

13 years agoMerge branch 'bug6690_022' into maint-0.2.2
Nick Mathewson [Mon, 27 Aug 2012 20:03:48 +0000 (16:03 -0400)] 
Merge branch 'bug6690_022' into maint-0.2.2

13 years agoand fix them here too
Roger Dingledine [Mon, 27 Aug 2012 18:28:00 +0000 (14:28 -0400)] 
and fix them here too

13 years agoBug 6647: Add changes file
Mike Perry [Mon, 27 Aug 2012 18:15:35 +0000 (11:15 -0700)] 
Bug 6647: Add changes file

13 years agoFix changes file for 6710: before 0.0.8pre1, you couldn't extend to
Nick Mathewson [Mon, 27 Aug 2012 16:29:04 +0000 (12:29 -0400)] 
Fix changes file for 6710: before 0.0.8pre1, you couldn't extend to
a router that another router wasn't already connected to.

13 years agoDo not assert when comparing a null address/port against a policy
Nick Mathewson [Mon, 27 Aug 2012 15:52:51 +0000 (11:52 -0400)] 
Do not assert when comparing a null address/port against a policy

This can create a remote crash opportunity for/against directory
authorities.

13 years agoDisable extending to private/internal addresses by default
Nick Mathewson [Mon, 27 Aug 2012 15:16:44 +0000 (11:16 -0400)] 
Disable extending to private/internal addresses by default

This is important, since otherwise an attacker can use timing info
to probe the internal network.

Also, add an option (ExtendAllowPrivateAddresses) so that
TestingTorNetwork won't break.

Fix for bug 6710; bugfix on all released versions of Tor.

13 years agoFix whitespace
Nick Mathewson [Mon, 27 Aug 2012 14:53:40 +0000 (10:53 -0400)] 
Fix whitespace

13 years agoMerge branch 'bug6524_nm'
Nick Mathewson [Mon, 27 Aug 2012 14:33:24 +0000 (10:33 -0400)] 
Merge branch 'bug6524_nm'

13 years agoChanges file for nonrecursive make branch
Nick Mathewson [Mon, 27 Aug 2012 14:28:45 +0000 (10:28 -0400)] 
Changes file for nonrecursive make branch

13 years agoUpdate .gitignore with new autotools droppings from nonrecursive make
Nick Mathewson [Mon, 27 Aug 2012 14:11:55 +0000 (10:11 -0400)] 
Update .gitignore with new autotools droppings from nonrecursive make

13 years agoBetter fix to avoid loudness on mkdir -p
Jim Meyering [Mon, 27 Aug 2012 14:05:02 +0000 (10:05 -0400)] 
Better fix to avoid loudness on mkdir -p

(commit message by nickm)

13 years agobuild: minimal adjustments to make out-of-tree build work
Jim Meyering [Mon, 27 Aug 2012 14:00:22 +0000 (10:00 -0400)] 
build: minimal adjustments to make out-of-tree build work

13 years agoMerge remote-tracking branch 'linus/bug6364'
Nick Mathewson [Mon, 27 Aug 2012 13:53:37 +0000 (09:53 -0400)] 
Merge remote-tracking branch 'linus/bug6364'

13 years agoMerge remote-tracking branch 'linus/bug6362'
Nick Mathewson [Mon, 27 Aug 2012 13:50:22 +0000 (09:50 -0400)] 
Merge remote-tracking branch 'linus/bug6362'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 24 Aug 2012 16:51:50 +0000 (12:51 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoMerge remote-tracking branch 'public/bug6472' into maint-0.2.3
Nick Mathewson [Fri, 24 Aug 2012 16:51:02 +0000 (12:51 -0400)] 
Merge remote-tracking branch 'public/bug6472' into maint-0.2.3

13 years agoMake node_assert_ok less duplicatey
Nick Mathewson [Fri, 24 Aug 2012 16:48:23 +0000 (12:48 -0400)] 
Make node_assert_ok less duplicatey

This comes at the cost of making its failure message a little less
friendly, but since when do assertion failures count as
user-friendly?

13 years agoClarify docs on get_configured_bridge_by_*_digest
Nick Mathewson [Fri, 24 Aug 2012 16:31:09 +0000 (12:31 -0400)] 
Clarify docs on get_configured_bridge_by_*_digest

13 years agoWe now need automake 1.9 or later
Nick Mathewson [Fri, 24 Aug 2012 14:29:05 +0000 (10:29 -0400)] 
We now need automake 1.9 or later

Automake 1.7 is too broken to even investigate why it broke at this point.

13 years agoBug 6647: Use correct scale constant and prevent rounding error
Mike Perry [Fri, 24 Aug 2012 03:27:41 +0000 (20:27 -0700)] 
Bug 6647: Use correct scale constant and prevent rounding error

We were effectively resetting our counts, and the rounding error
leads to incorrect log messages.

13 years agoBug 6475: Demote pathbias log messages for 0.2.3.x
Mike Perry [Wed, 22 Aug 2012 01:37:08 +0000 (18:37 -0700)] 
Bug 6475: Demote pathbias log messages for 0.2.3.x

Also make a couple of them less scary.

We'll do a separate, additional commit on 0.2.4.x to bump them back
up again.

13 years agoDisable path bias accounting if we have no guards.
Mike Perry [Tue, 21 Aug 2012 02:03:00 +0000 (19:03 -0700)] 
Disable path bias accounting if we have no guards.

This should eliminate a lot of notices for Directory Authorities and other
situations where circuits built without using guard nodes.

13 years agoMove ipv6_preferred from routerinfo_t to node_t.
Linus Nordberg [Thu, 23 Aug 2012 10:23:00 +0000 (12:23 +0200)] 
Move ipv6_preferred from routerinfo_t to node_t.

Move extend_info_from_router() from circuitbuild.c to router.c and
make it static.

Add get_configured_bridge_by_orports_digest() and have
get_configured_bridge_by_routerinfo() and
node_is_a_configured_bridge() use it. We now consider all OR ports of
a bridge when looking for it.

Move node_get_*_orport to nodelist.c.

Fix a cut'n'paste error in header of nodelist.h.

Add node_assert_ok().

Add router_get_all_orports(). It's duplicating code from
node_get_all_orports(). Worth fixing at the cost of complicating the
API slightly?

13 years agoAdd some attributes to make a2x quieter
Nick Mathewson [Thu, 23 Aug 2012 17:19:54 +0000 (13:19 -0400)] 
Add some attributes to make a2x quieter

13 years agoMake asciidoc generation quieter
Nick Mathewson [Thu, 23 Aug 2012 17:19:40 +0000 (13:19 -0400)] 
Make asciidoc generation quieter

13 years agoMake the _sha1.i file generation quieter
Nick Mathewson [Thu, 23 Aug 2012 17:14:41 +0000 (13:14 -0400)] 
Make the _sha1.i file generation quieter

13 years agoAdd missing dependency so the html.in files get built
Nick Mathewson [Thu, 23 Aug 2012 16:52:33 +0000 (12:52 -0400)] 
Add missing dependency so the html.in files get built

13 years agoReplace man_MANS with nodist_man1_MANS
Jim Meyering [Thu, 23 Aug 2012 16:36:31 +0000 (12:36 -0400)] 
Replace man_MANS with nodist_man1_MANS

(commit message by nickm)

13 years agos/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/
Jim Meyering [Thu, 23 Aug 2012 16:35:21 +0000 (12:35 -0400)] 
s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/

Apparently the former will stop working with newer auto*

(commit message by nickm)

13 years agoRemove #6480 fix from 0.2.2.38 changelog - it was not included
Peter Palfrader [Wed, 22 Aug 2012 15:51:01 +0000 (17:51 +0200)] 
Remove #6480 fix from 0.2.2.38 changelog - it was not included

(Forward-port from release-0.2.2 to master)

13 years agoFetch IPv6 address from NETINFO "other OR's address" field.
Linus Nordberg [Tue, 21 Aug 2012 16:43:36 +0000 (18:43 +0200)] 
Fetch IPv6 address from NETINFO "other OR's address" field.

The my_apparent_addr is still unused, apart from now being logged in
the "Got good NETINFO cell" info message.

13 years agoMerge branch 'bug6638'
Nick Mathewson [Tue, 21 Aug 2012 15:20:58 +0000 (11:20 -0400)] 
Merge branch 'bug6638'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Tue, 21 Aug 2012 14:36:51 +0000 (10:36 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoMerge remote-tracking branch 'public/bug6404' into maint-0.2.3
Nick Mathewson [Tue, 21 Aug 2012 14:35:40 +0000 (10:35 -0400)] 
Merge remote-tracking branch 'public/bug6404' into maint-0.2.3

13 years agoMerge remote-tracking branch 'linus/bug6621'
Nick Mathewson [Tue, 21 Aug 2012 14:21:53 +0000 (10:21 -0400)] 
Merge remote-tracking branch 'linus/bug6621'

13 years agoAvoid spurious warnings in rend_service_introduce
Nick Mathewson [Tue, 21 Aug 2012 14:15:52 +0000 (10:15 -0400)] 
Avoid spurious warnings in rend_service_introduce

There was some code in the "err:" block that would always log a
warning, reporting an "unknown error" if we hadn't set err_msg.  But
there were also plenty of "goto err" blocks that did their own
logging, and never set err_msg at all.  Now we should only log when
we have an error message to log.

This fixes bug 6638, from no released Tor version.

13 years agoSend IPv6 address in NETINFO cells.
Linus Nordberg [Tue, 14 Aug 2012 12:03:58 +0000 (14:03 +0200)] 
Send IPv6 address in NETINFO cells.

Closes #6364.

13 years agoMake all relays, not only bridges, capable of advertising an IPv6 OR port.
Linus Nordberg [Tue, 14 Aug 2012 12:03:58 +0000 (14:03 +0200)] 
Make all relays, not only bridges, capable of advertising an IPv6 OR port.

Closes #6362.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 17 Aug 2012 21:10:16 +0000 (17:10 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agowhitespace fix
Nick Mathewson [Fri, 17 Aug 2012 21:10:03 +0000 (17:10 -0400)] 
whitespace fix

13 years agoWhen iterating over connections pending DNS, skip marked ones
Nick Mathewson [Fri, 17 Aug 2012 20:46:11 +0000 (16:46 -0400)] 
When iterating over connections pending DNS, skip marked ones

Failure to do this would lead to double-free cases and similar,
especially when the exit's DNS was broken. See bug 6472 for full
details; this is a fix for 6472.

Anonymous patch from "cypherpunks" on trac.

13 years agoMerge remote-tracking branch 'public/bug5124'
Nick Mathewson [Fri, 17 Aug 2012 20:05:09 +0000 (16:05 -0400)] 
Merge remote-tracking branch 'public/bug5124'

13 years agoMerge branch 'bug6468_squashed'
Nick Mathewson [Fri, 17 Aug 2012 20:01:43 +0000 (16:01 -0400)] 
Merge branch 'bug6468_squashed'

13 years agoRemove needless flush-on-write code.
Nick Mathewson [Wed, 25 Jul 2012 22:34:14 +0000 (18:34 -0400)] 
Remove needless flush-on-write code.

Long ago, before we had cell queues, it was necessary to maybe call
connection_handle_write() from connectino_write_to_buf_impl() on OR
connections, so that we wouldn't get into a loop of reading infinite
amounts of data and queueing it all on an outbuf before bothering to
write any data.

If that doesn't sounds like what our code does now, you're right:
right now, we won't stick more than OR_CONN_HIGHWATER bytes of cells
on an outbuf, and we won't suck more than CELL_QUEUE_HIGHWATER_SIZE
cells off any edge connection. So, there's no more call for that
code.

Removing this code will simplify our data flow, and that should be
something we can all get behind.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 17 Aug 2012 19:59:40 +0000 (15:59 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoConsider IPv6 OR ports when deciding whether a routerinfo change is cosmetic.
Linus Nordberg [Thu, 19 Jul 2012 18:41:23 +0000 (20:41 +0200)] 
Consider IPv6 OR ports when deciding whether a routerinfo change is cosmetic.

Closes #6423.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 17 Aug 2012 18:04:28 +0000 (14:04 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoMerge branch 'bug6379' into maint-0.2.3
Nick Mathewson [Fri, 17 Aug 2012 17:57:07 +0000 (13:57 -0400)] 
Merge branch 'bug6379' into maint-0.2.3

13 years agoFix more warnings from openbsd_malloc
Nick Mathewson [Fri, 17 Aug 2012 17:49:52 +0000 (13:49 -0400)] 
Fix more warnings from openbsd_malloc

Apparently, (void)writev is not enough to suppress the "you are
ignoring the return value!" warnings on Linux.  Instead, remove the
whole warning/error logic when compiling openbsd_malloc for Tor: we
can't use it.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 17 Aug 2012 16:39:31 +0000 (12:39 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoMerge remote-tracking branch 'public/bug6244_part_c' into maint-0.2.3
Nick Mathewson [Fri, 17 Aug 2012 16:37:49 +0000 (12:37 -0400)] 
Merge remote-tracking branch 'public/bug6244_part_c' into maint-0.2.3

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 17 Aug 2012 16:34:52 +0000 (12:34 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoMerge remote-tracking branch 'public/bug6507' into maint-0.2.3
Nick Mathewson [Fri, 17 Aug 2012 16:33:17 +0000 (12:33 -0400)] 
Merge remote-tracking branch 'public/bug6507' into maint-0.2.3

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 17 Aug 2012 16:10:44 +0000 (12:10 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoWhitespace and build fixes on 6475 patch
Nick Mathewson [Fri, 17 Aug 2012 16:10:31 +0000 (12:10 -0400)] 
Whitespace and build fixes on 6475 patch

13 years agoMerge remote-tracking branch 'mikeperry/bug6475' into maint-0.2.3
Nick Mathewson [Fri, 17 Aug 2012 16:08:42 +0000 (12:08 -0400)] 
Merge remote-tracking branch 'mikeperry/bug6475' into maint-0.2.3

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 17 Aug 2012 15:54:05 +0000 (11:54 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoMerge remote-tracking branch 'public/bug6514' into maint-0.2.3
Nick Mathewson [Fri, 17 Aug 2012 15:53:06 +0000 (11:53 -0400)] 
Merge remote-tracking branch 'public/bug6514' into maint-0.2.3

13 years agoMake authorities not set Running unless all advertised OR ports are reachable.
Linus Nordberg [Fri, 17 Aug 2012 10:53:25 +0000 (12:53 +0200)] 
Make authorities not set Running unless all advertised OR ports are reachable.

Resolves #6621.

13 years agoAddress Nick's comments from code review.
Mike Perry [Thu, 16 Aug 2012 23:29:19 +0000 (16:29 -0700)] 
Address Nick's comments from code review.

Also promote log messages to notice and rate-limit them.

13 years agoBug 6475: Explicitly track our path bias state.
Mike Perry [Thu, 16 Aug 2012 02:59:55 +0000 (19:59 -0700)] 
Bug 6475: Explicitly track our path bias state.

This is done to avoid spurious warns. Additional log lines are also
added to try to track down the codepaths where we are somehow overcounting
success counts.

13 years agoFix warnings and 64-bit problems in openbsd-malloc code
Nick Mathewson [Wed, 15 Aug 2012 23:26:53 +0000 (19:26 -0400)] 
Fix warnings and 64-bit problems in openbsd-malloc code

The warning fixes are:
  - Only define issetugid if it's missing.
  - Explicitly ignore the return value of writev.
  - Explicitly cast the retval of readlink() to int.

The 64-bit problems are related to just storing a size_t in an int. Not cool!  Use a size_t instead.

Fix for bug 6379. Bugfix on 0.2.0.20-rc, which introduced openbsd-malloc.

13 years agoFix wildcarded address mappings from the control port
Nick Mathewson [Wed, 15 Aug 2012 21:59:30 +0000 (17:59 -0400)] 
Fix wildcarded address mappings from the control port

Apparently, we weren't actually detecting wildcardedness when parsing
them: whoops!

bug 6244.  Bugfix on 0.2.3.9-alpha

13 years agoRaise the part of torrc mapaddress handling that knows wildcards
Nick Mathewson [Wed, 15 Aug 2012 21:49:18 +0000 (17:49 -0400)] 
Raise the part of torrc mapaddress handling that knows wildcards

This patch extracts the inner part of config_register_addressmaps --
the part that knows about detecting wildcard addresses addresses --
and makes it into a new function.  The new function is deliberately
not moved or reindented, so that the diff is smaller.

I need this to fix bug 6244.

13 years agoCheck for stream_id, not conn, on extend cells.
Nick Mathewson [Wed, 15 Aug 2012 17:16:41 +0000 (13:16 -0400)] 
Check for stream_id, not conn, on extend cells.

Extend cells aren't allowed to have a stream_id, but we were only
blocking them when they had a stream_id that corresponded to a
connection.  As far as I can tell, this change is harmless: it will
make some kinds of broken clients not work any more, but afaik nobody
actually make a client that was broken in that way.

Found while hunting for other places where we made the same mistake
as in 6271.

Bugfix on d7f50337c14c back from May 2003, which introduced
telescoping circuit construction into 0.0.2pre8.

13 years agoUpdate description of what we did to upper limit on md size
Nick Mathewson [Tue, 14 Aug 2012 07:10:14 +0000 (03:10 -0400)] 
Update description of what we did to upper limit on md size

Spotted by asn

13 years agoFix memory leak in dirvote_create_microdescriptor
Nick Mathewson [Tue, 14 Aug 2012 07:06:47 +0000 (03:06 -0400)] 
Fix memory leak in dirvote_create_microdescriptor

Found by George, who gets a cookie.

13 years agoClarify the last changes message
Nick Mathewson [Mon, 13 Aug 2012 18:50:29 +0000 (14:50 -0400)] 
Clarify the last changes message

13 years agooops: changes file for f45cde05f934ee95e0002ff7d72f7006ce156a4c
Nick Mathewson [Mon, 13 Aug 2012 18:37:53 +0000 (14:37 -0400)] 
oops: changes file for f45cde05f934ee95e0002ff7d72f7006ce156a4c

13 years agoRemove tor_malloc_roundup().
Nick Mathewson [Mon, 13 Aug 2012 17:27:32 +0000 (13:27 -0400)] 
Remove tor_malloc_roundup().

This function never actually did us any good, and it added a little
complexity.  See the changes file for more info.

13 years agoforward-port the 0.2.2.38 changelog
Roger Dingledine [Mon, 13 Aug 2012 04:35:37 +0000 (00:35 -0400)] 
forward-port the 0.2.2.38 changelog

13 years agoReject attempts to say FooPort and FooPort 0 in the same cfg domain
Nick Mathewson [Thu, 9 Aug 2012 20:13:03 +0000 (16:13 -0400)] 
Reject attempts to say FooPort and FooPort 0 in the same cfg domain