]>
git.ipfire.org Git - thirdparty/tor.git/log
meejah [Mon, 19 Mar 2012 06:00:10 +0000 (00:00 -0600)]
Hide options beginning with "___" from GETINFO config/names
meejah [Mon, 19 Mar 2012 05:59:13 +0000 (23:59 -0600)]
rename _UsingTestNetworkDefaults to start with triple-underscore
Roger Dingledine [Mon, 10 Sep 2012 07:03:06 +0000 (03:03 -0400)]
raise bandwidthrate/bandwidthburst to a new "infinite"
addresses bug 6605.
Roger Dingledine [Sun, 9 Sep 2012 20:51:34 +0000 (16:51 -0400)]
finish backing out
5492de76
Roger Dingledine [Sun, 9 Sep 2012 19:54:59 +0000 (15:54 -0400)]
minor logging improvement
Roger Dingledine [Sun, 9 Sep 2012 03:45:31 +0000 (23:45 -0400)]
retroactively list a ticket number for patch 3946.
Nick Mathewson [Fri, 7 Sep 2012 18:46:03 +0000 (14:46 -0400)]
Fix whitespace in Makefile.am
Ondrej Mikle [Fri, 7 Sep 2012 16:44:37 +0000 (16:44 +0000)]
Removed dependency on tor.spec. Removed tor.spec.in.
Nick Mathewson [Fri, 7 Sep 2012 14:51:38 +0000 (10:51 -0400)]
Merge remote-tracking branch 'asn/bug6788'
George Kadianakis [Fri, 7 Sep 2012 14:44:53 +0000 (17:44 +0300)]
Remove redundant declaration of find_transport_name_by_bridge_addrport().
Roger Dingledine [Fri, 7 Sep 2012 08:32:14 +0000 (04:32 -0400)]
the 0.2.1.32 changelog got lost in the shuffle
Roger Dingledine [Fri, 7 Sep 2012 07:04:15 +0000 (03:04 -0400)]
a debugging log line that just helped me
Nick Mathewson [Thu, 6 Sep 2012 15:38:32 +0000 (11:38 -0400)]
Rename extend_info_alloc() --> _new()
Based on a patch from Linus, regenerated so as to not conflict with
Linus's 5535/6363 patches.
Linus Nordberg [Mon, 3 Sep 2012 12:49:31 +0000 (14:49 +0200)]
Rename packed_cell_alloc() --> _new().
Linus Nordberg [Mon, 3 Sep 2012 12:45:24 +0000 (14:45 +0200)]
Rename config_alloc() --> _new().
Nick Mathewson [Thu, 6 Sep 2012 15:32:09 +0000 (11:32 -0400)]
Merge branch 'quiet_lib_versions_squashed'
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.
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.
Nick Mathewson [Thu, 6 Sep 2012 15:05:16 +0000 (11:05 -0400)]
Merge branch 'bug6778'
Nick Mathewson [Thu, 6 Sep 2012 15:00:32 +0000 (11:00 -0400)]
Fix a dependency: micro-revision.i influences tor_main.o, not tor_main.c
Nick Mathewson [Thu, 6 Sep 2012 14:12:28 +0000 (10:12 -0400)]
Merge remote-tracking branch 'asn/bug4567_rebased'
Nick Mathewson [Thu, 6 Sep 2012 14:12:15 +0000 (10:12 -0400)]
Merge remote-tracking branch 'asn/bug6779'
Nick Mathewson [Thu, 6 Sep 2012 14:12:11 +0000 (10:12 -0400)]
Merge remote-tracking branch 'asn/bug6765'
George Kadianakis [Thu, 6 Sep 2012 14:03:11 +0000 (17:03 +0300)]
Log more information when we fail to terminate a process.
Nick Mathewson [Thu, 6 Sep 2012 14:03:06 +0000 (10:03 -0400)]
Fix a dependency: sha256.c influences crypto.o, not crypto.c
Nick Mathewson [Thu, 6 Sep 2012 13:56:48 +0000 (09:56 -0400)]
Fix a build-warning when building out-of-tree
We were trying to incorporate all headers in common_sha1.i, not just
the src/common ones.
This is part of bug 6778; fix on 0.2.4.1-alpha
Roger Dingledine [Thu, 6 Sep 2012 05:35:05 +0000 (01:35 -0400)]
fix punctuation in logs
Nick Mathewson [Thu, 6 Sep 2012 00:49:25 +0000 (20:49 -0400)]
Fix warning when implicitly casting strlen(microdesc) to int
Harmless unless we somehow generate a microdesc of more than INT_MAX
bytes.
Roger Dingledine [Thu, 6 Sep 2012 00:05:50 +0000 (20:05 -0400)]
bump to 0.2.4.1-alpha-dev
Roger Dingledine [Wed, 5 Sep 2012 23:12:22 +0000 (19:12 -0400)]
bump to 0.2.4.1-alpha
Roger Dingledine [Wed, 5 Sep 2012 23:05:41 +0000 (19:05 -0400)]
finish changelog mucking for 0.2.4.1-alpha
George Kadianakis [Wed, 5 Sep 2012 22:22:32 +0000 (01:22 +0300)]
Use tor_malloc_zero() in var_cell_new().
This is just a precaution; we seem to be using var_cell_t.payload and
var_cell_t.payload_len correctly at the moment.
Roger Dingledine [Wed, 5 Sep 2012 22:17:41 +0000 (18:17 -0400)]
make AuthDirHasIPv6Connectivity match the man page
we can turn it into an autobool later if we have some way for it
to make a decision.
(patch possibly got lost when nickm merged #6770; or maybe nickm meant
for it to be this way. i'm not sure.)
Roger Dingledine [Wed, 5 Sep 2012 21:23:08 +0000 (17:23 -0400)]
and fold it into master too
Roger Dingledine [Wed, 5 Sep 2012 20:41:43 +0000 (16:41 -0400)]
Merge branch 'maint-0.2.3'
Roger Dingledine [Wed, 5 Sep 2012 20:40:57 +0000 (16:40 -0400)]
Update the minimum bandwidth for a public relay
The current cutoff is 30KB, but in reality a useful cutoff is probably
more like 50KB or 100KB.
Nick Mathewson [Wed, 5 Sep 2012 20:25:13 +0000 (16:25 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3'
Linus Nordberg [Wed, 5 Sep 2012 17:40:15 +0000 (19:40 +0200)]
Whitespace fixes.
Nick Mathewson [Wed, 5 Sep 2012 17:27:54 +0000 (13:27 -0400)]
Avoid segfault if EntryGuardPathBias precedes EntryGuard
Fix for bug 6774; bugfix on 0.2.3.17-beta.
George Kadianakis [Wed, 5 Sep 2012 17:17:25 +0000 (20:17 +0300)]
Figure out ORPort and DirPort even when 'auto' is used.
Use router_get_advertised_{dir,or}_port() functions instead of
get_primary_{dir,or}_port().
Nick Mathewson [Wed, 5 Sep 2012 15:35:26 +0000 (11:35 -0400)]
Merge remote-tracking branch 'linus/bug6770_3'
Conflicts:
doc/tor.1.txt
src/or/config.c
George Kadianakis [Tue, 21 Aug 2012 17:56:30 +0000 (20:56 +0300)]
Fix some bugs that did not allow compilation on Windows.
George Kadianakis [Fri, 29 Jun 2012 16:32:34 +0000 (19:32 +0300)]
General tweaks and fixes for Nick's comments.
* Add changes/ files.
* Edit the tor-fw-helper manpage.
* Fix check-spaces.
* Add prototype for get_list_of_ports_to_forward().
* Fix tor_parse_long() TCP port range.
* Improve doc. of tor_check_port_forwarding().
* Check for overflows in tor_check_port_forwarding().
* Demote successful port forwarding to LOG_INFO.
Conflicts:
src/common/address.c
src/or/circuitbuild.c
George Kadianakis [Thu, 7 Jun 2012 16:24:31 +0000 (19:24 +0300)]
Tweak code and pump the tor-fw-helper version.
Conflicts:
src/or/circuitbuild.h
George Kadianakis [Thu, 7 Jun 2012 16:20:36 +0000 (19:20 +0300)]
Start passing ports to tor_check_port_forwarding().
Conflicts:
src/or/transports.c
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
George Kadianakis [Thu, 7 Jun 2012 16:09:31 +0000 (19:09 +0300)]
Use get_lines_from_handle() in configure_proxy().
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.
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.
George Kadianakis [Wed, 6 Jun 2012 21:56:23 +0000 (00:56 +0300)]
Refactor our backends' interface.
George Kadianakis [Wed, 6 Jun 2012 21:48:08 +0000 (00:48 +0300)]
Further implement tor-fw-helper's TCP port forwarding system.
George Kadianakis [Wed, 6 Jun 2012 21:43:20 +0000 (00:43 +0300)]
Implement the new TCP port parsing logic in tor-fw-helper.
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.
Linus Nordberg [Wed, 5 Sep 2012 11:35:39 +0000 (13:35 +0200)]
Remove AuthDirPublishIPv6 and let AuthDirHasIPv6Connectivity fill its function.
See #4771 for rationale.
Note that this patch does not take suggested changes in #4470 into
account and keeps treating AuthDirHasIPv6Connectivity as an
AUTOBOOL. Thus, bug fixes for that are included here as well.
This is a fix on master, unreleased as of now.
Linus Nordberg [Wed, 5 Sep 2012 09:41:26 +0000 (11:41 +0200)]
Make AuthDirHasIPv6Connectivity a BOOL.
This is a fix of unreleased tor. It solves ticket #6770.
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.
Roger Dingledine [Wed, 5 Sep 2012 08:46:27 +0000 (04:46 -0400)]
minor typos i found while constructing the changelog
Roger Dingledine [Wed, 5 Sep 2012 00:59:56 +0000 (20:59 -0400)]
forward-port the 0.2.3.21-rc changelog
Roger Dingledine [Wed, 5 Sep 2012 00:23:46 +0000 (20:23 -0400)]
one more already-merged changes file
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
Nick Mathewson [Tue, 4 Sep 2012 22:34:39 +0000 (18:34 -0400)]
Merge remote-tracking branch 'origin/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
Nick Mathewson [Tue, 4 Sep 2012 22:24:20 +0000 (18:24 -0400)]
Merge branch 'bug5535_only_rebased'
Nick Mathewson [Tue, 4 Sep 2012 22:23:18 +0000 (18:23 -0400)]
Merge remote-tracking branch 'linus/bug6363_only-ln'
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.
Linus Nordberg [Tue, 4 Sep 2012 17:28:10 +0000 (19:28 +0200)]
Whitespace.
Linus Nordberg [Tue, 4 Sep 2012 17:27:05 +0000 (19:27 +0200)]
Remove spurious debug log printout.
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?
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)]
Take microdesc into account when deciding about preferred OR port.
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?
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.
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?
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)]
Add IPv6 OR port to microdesc_t and populate it.
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.
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.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)]
Fix a comment.
Linus Nordberg [Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)]
Add tor_addr_port_new().
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".
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.
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.
Nick Mathewson [Tue, 4 Sep 2012 14:18:51 +0000 (10:18 -0400)]
Merge remote-tracking branch 'arma/bug6759'
Nick Mathewson [Tue, 4 Sep 2012 14:16:15 +0000 (10:16 -0400)]
Merge remote-tracking branch 'arma/feature6758'
Nick Mathewson [Tue, 4 Sep 2012 14:14:55 +0000 (10:14 -0400)]
Merge remote-tracking branch 'arma/feature6760'
Roger Dingledine [Tue, 4 Sep 2012 02:15:04 +0000 (22:15 -0400)]
resolve an XXX by agreeing with nickm
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.
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.
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.
Roger Dingledine [Mon, 3 Sep 2012 22:13:35 +0000 (18:13 -0400)]
omit the first heartbeat message (resolves ticket 6758)
Roger Dingledine [Mon, 3 Sep 2012 06:09:39 +0000 (02:09 -0400)]
fix whitespace and trivial typo
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.
Roger Dingledine [Sat, 1 Sep 2012 05:03:51 +0000 (01:03 -0400)]
retroactively fix version typo in changelog
Nick Mathewson [Fri, 31 Aug 2012 22:39:27 +0000 (18:39 -0400)]
Merge remote-tracking branch 'origin/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
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
Nick Mathewson [Fri, 31 Aug 2012 22:34:42 +0000 (18:34 -0400)]
Document the --branch argument to contrib/findMergedChanges.pl
Nick Mathewson [Fri, 31 Aug 2012 15:35:47 +0000 (11:35 -0400)]
Document consensus and microdesc files
Bugfix for #6732.
Nick Mathewson [Mon, 27 Aug 2012 20:39:30 +0000 (16:39 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3'
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
Nick Mathewson [Mon, 27 Aug 2012 20:23:19 +0000 (16:23 -0400)]
Merge remote-tracking branch 'mikeperry/bug6647'
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.