]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
13 years agoRefactor tor to support the new tor-fw-helper protocol.
George Kadianakis [Thu, 7 Jun 2012 16:16:18 +0000 (19:16 +0300)] 
Refactor tor to support the new tor-fw-helper protocol.

Add handle_fw_helper_output(), a function responsible for parsing the
output of tor-fw-helper. Refactor tor_check_port_forwarding() and
run_scheduled_events() accordingly too.

We now issue warnings when we get control output from tor-fw-helper,
and we log the verbose output of tor-fw-helper in LOG_INFO.

Conflicts:
src/common/util.c

13 years agoUse get_lines_from_handle() in configure_proxy().
George Kadianakis [Thu, 7 Jun 2012 16:09:31 +0000 (19:09 +0300)] 
Use get_lines_from_handle() in configure_proxy().

13 years agoIntroduce get_lines_from_handle().
George Kadianakis [Thu, 7 Jun 2012 16:07:13 +0000 (19:07 +0300)] 
Introduce get_lines_from_handle().

get_lines_from_handle() is a multiplatform function which drains lines
from a stream and stuffs it into a smartlist. It's useful for
line-based protocols, like the one managed proxy and the tor-fw-helper
protocols.

13 years agoAll loging messages are now sent to stderr.
George Kadianakis [Wed, 6 Jun 2012 21:59:20 +0000 (00:59 +0300)] 
All loging messages are now sent to stderr.

stdout should be clean for control messages.

13 years agoRefactor our backends' interface.
George Kadianakis [Wed, 6 Jun 2012 21:56:23 +0000 (00:56 +0300)] 
Refactor our backends' interface.

13 years agoFurther implement tor-fw-helper's TCP port forwarding system.
George Kadianakis [Wed, 6 Jun 2012 21:48:08 +0000 (00:48 +0300)] 
Further implement tor-fw-helper's TCP port forwarding system.

13 years agoImplement the new TCP port parsing logic in tor-fw-helper.
George Kadianakis [Wed, 6 Jun 2012 21:43:20 +0000 (00:43 +0300)] 
Implement the new TCP port parsing logic in tor-fw-helper.

13 years agoRefactor tor-fw-helper port forwarding logic.
George Kadianakis [Thu, 7 Jun 2012 15:26:27 +0000 (18:26 +0300)] 
Refactor tor-fw-helper port forwarding logic.

Make it port-purpose-agnostic; that is it should treat each port as
equal, and not expect to get a DirPort and an ORPort.

13 years agofold in the changes files
Roger Dingledine [Wed, 5 Sep 2012 08:46:44 +0000 (04:46 -0400)] 
fold in the changes files

in-progress due to various bugs i uncovered in the ipv6 config option
meanings.

13 years agominor typos i found while constructing the changelog
Roger Dingledine [Wed, 5 Sep 2012 08:46:27 +0000 (04:46 -0400)] 
minor typos i found while constructing the changelog

13 years agoforward-port the 0.2.3.21-rc changelog
Roger Dingledine [Wed, 5 Sep 2012 00:59:56 +0000 (20:59 -0400)] 
forward-port the 0.2.3.21-rc changelog

13 years agoone more already-merged changes file
Roger Dingledine [Wed, 5 Sep 2012 00:23:46 +0000 (20:23 -0400)] 
one more already-merged changes file

13 years agoremove the changes files that are merged into 0.2.3.21-rc
Roger Dingledine [Wed, 5 Sep 2012 00:11:19 +0000 (20:11 -0400)] 
remove the changes files that are merged into 0.2.3.21-rc

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Tue, 4 Sep 2012 22:34:39 +0000 (18:34 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoMerge remote-tracking branch 'arma/bug6743' into maint-0.2.3
Nick Mathewson [Tue, 4 Sep 2012 22:33:56 +0000 (18:33 -0400)] 
Merge remote-tracking branch 'arma/bug6743' into maint-0.2.3

13 years agoMerge branch 'bug5535_only_rebased'
Nick Mathewson [Tue, 4 Sep 2012 22:24:20 +0000 (18:24 -0400)] 
Merge branch 'bug5535_only_rebased'

13 years agoMerge remote-tracking branch 'linus/bug6363_only-ln'
Nick Mathewson [Tue, 4 Sep 2012 22:23:18 +0000 (18:23 -0400)] 
Merge remote-tracking branch 'linus/bug6363_only-ln'

13 years agoAllocate vote_microdesc_hash_t using tor_malloc_zero().
Linus Nordberg [Tue, 4 Sep 2012 17:44:13 +0000 (19:44 +0200)] 
Allocate vote_microdesc_hash_t using tor_malloc_zero().

In case the struct grows in the future. Shouldn't be too expensive.

13 years agoWhitespace.
Linus Nordberg [Tue, 4 Sep 2012 17:28:10 +0000 (19:28 +0200)] 
Whitespace.

13 years agoRemove spurious debug log printout.
Linus Nordberg [Tue, 4 Sep 2012 17:27:05 +0000 (19:27 +0200)] 
Remove spurious debug log printout.

13 years agoRemove trailing semicolon from #define TOR_ADDR_NULL.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)] 
Remove trailing semicolon from #define TOR_ADDR_NULL.

Can it ever help? I can only see harm. What am I missing?

13 years agoTake microdesc into account when deciding about preferred OR port.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)] 
Take microdesc into account when deciding about preferred OR port.

13 years agoMake node_ipv6_preferred() take microdescs into account.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)] 
Make node_ipv6_preferred() take microdescs into account.

Also, make node_get_prim_orport() indicate in its return value whether
a valid OR port was copied or not.

Maybe we should make it legal to pass ap_out==NULL?

13 years agoTake microdesc IPv6 address into account when setting node->ipv6_preferred.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)] 
Take microdesc IPv6 address into account when setting node->ipv6_preferred.

Also, do this only for clients, explicitly.

Also, give the flag a value every time we set consensus. We used to
touch it only when ClientPreferIPv6ORPort was set, which was wrong.

13 years agoUse preferred OR for nodes with routerstatus and microdesc too.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)] 
Use preferred OR for nodes with routerstatus and microdesc too.

extend_info_from_node() used to use the primary OR port (i.e. IPv4)
unless the node had routerinfo. Now that we have IPv6 addresses in
microdescs we may want to use them.

Note that this patch changes using r->cache_info.identity_digest into
using node->identity. I count on these being well synchronised, or
things would break in other ways. Right?

13 years agoAdd IPv6 OR port to microdesc_t and populate it.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)] 
Add IPv6 OR port to microdesc_t and populate it.

13 years agoClients connect to public relays over IPv6.
Linus Nordberg [Mon, 27 Aug 2012 13:03:34 +0000 (15:03 +0200)] 
Clients connect to public relays over IPv6.

Add ClientUseIPv6 and ClientPreferIPv6ORPort configuration options.

Use "preferred OR port" for all entry nodes, not only for bridges.

Mark bridges with "prefer IPv6 OR port" if an IPv6 address is
configured in Bridge line and ClientPreferIPv6ORPort is set.

Mark relays with "prefer IPv6 OR port" if an IPv6 address is found in
descriptor and ClientPreferIPv6ORPort is set.

Filter "preferred OR port" through the ClientUseIPv6 config option. We
might want to move this test to where actual connection is being set
up once we have a fall back mechanism in place.

Have only non-servers pick an IPv6 address for the first hop: We
don't want relays to connect over IPv6 yet. (IPv6 has never been used
for second or third hops.)

Implements ticket 5535.

13 years agoClear the ipv6_preferred flag like the others.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)] 
Clear the ipv6_preferred flag like the others.

I'm not entirely sure that this is meningful but I'm pretty sure it's
not harmful. Seems like the logical thing to do.

13 years agoFix a comment.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)] 
Fix a comment.

13 years agoAdd tor_addr_port_new().
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)] 
Add tor_addr_port_new().

13 years agoGenerate microdescriptors with "a" lines.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)] 
Generate microdescriptors with "a" lines.

Generate and store all supported microdescriptor formats. Generate
votes with one "m" line for each format. Only "m" lines with version
info matching chosen consensus method will be voted upon.

An optimisation would be to combine "m" lines with identical hashes,
i.e. instead of "m 1,2,3 H1" and "m 4,5 H1", say "m 1,2,3,4,5 H1".

13 years agoHave directory authorities vote on IPv6 OR ports according to the spec
Linus Nordberg [Tue, 14 Aug 2012 12:03:58 +0000 (14:03 +0200)] 
Have directory authorities vote on IPv6 OR ports according to the spec

Define new new consensus method 14 adding "a" lines to vote and
consensus documents.

From proposal 186:

  As with other data in the vote derived from the descriptor, the
  consensus will include whichever set of "a" lines are given by the
  most authorities who voted for the descriptor digest that will be
  used for the router.

This patch implements this.

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 agoMake begindir_cutoff the same as general_cutoff
Roger Dingledine [Sat, 1 Sep 2012 05:25:17 +0000 (01:25 -0400)] 
Make begindir_cutoff the same as general_cutoff

Allow one-hop directory fetching circuits the full "circuit build timeout"
period, rather than just half of it, before failing them and marking
the relay down. This fix should help reduce cases where clients declare
relays (or worse, bridges) unreachable because the TLS handshake takes
a few seconds to complete.

Fixes bug 6743 (one piece of bug 3443); bugfix on 0.2.2.2-alpha, where
we changed the timeout from a static 30 seconds.

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.