]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
13 years agoChange signature of router_compare_to_my_exit_policy so dns can use it
Nick Mathewson [Mon, 5 Nov 2012 18:11:53 +0000 (13:11 -0500)] 
Change signature of router_compare_to_my_exit_policy so dns can use it

Also, fix the function so it actually looks at our ipv6 exit policy.

13 years agoWhitespace cleanup
Nick Mathewson [Thu, 1 Nov 2012 02:46:07 +0000 (22:46 -0400)] 
Whitespace cleanup

13 years agoReindent a block in dns.c
Nick Mathewson [Thu, 1 Nov 2012 02:43:56 +0000 (22:43 -0400)] 
Reindent a block in dns.c

13 years agoActually send BEGIN cell flags
Nick Mathewson [Thu, 1 Nov 2012 02:41:20 +0000 (22:41 -0400)] 
Actually send BEGIN cell flags

This uses advertised IPv6 ports as an implicit version check.

13 years agoWhen asking for a specific address type, others aren't acceptable
Nick Mathewson [Thu, 1 Nov 2012 02:40:55 +0000 (22:40 -0400)] 
When asking for a specific address type, others aren't acceptable

13 years agoI think it is correct to decorate these addresses.
Nick Mathewson [Thu, 1 Nov 2012 02:18:55 +0000 (22:18 -0400)] 
I think it is correct to decorate these addresses.

13 years agoBetter checking of exit policies for connections by hostname
Nick Mathewson [Thu, 1 Nov 2012 02:04:25 +0000 (22:04 -0400)] 
Better checking of exit policies for connections by hostname

13 years agoOnly send begin cell flags when we have some to send
Nick Mathewson [Thu, 1 Nov 2012 02:04:09 +0000 (22:04 -0400)] 
Only send begin cell flags when we have some to send

13 years agoNever support IPv6 traffic on a SOCKS4 connection.
Nick Mathewson [Thu, 1 Nov 2012 02:03:54 +0000 (22:03 -0400)] 
Never support IPv6 traffic on a SOCKS4 connection.

13 years agoAdd a function to set a tor_addr_t to a null address
Nick Mathewson [Thu, 1 Nov 2012 00:50:56 +0000 (20:50 -0400)] 
Add a function to set a tor_addr_t to a null address

13 years agoGet the client side of receiving an IPv6 address to work
Nick Mathewson [Wed, 31 Oct 2012 22:27:48 +0000 (18:27 -0400)] 
Get the client side of receiving an IPv6 address to work

This makes it so we can handle getting an IPv6 in the 3 different
formats we specified it for in RESOLVED cells,
END_STREAM_REASON_EXITPOLICY cells, and CONNECTED cells.

We don't cache IPv6 addresses yet, since proposal 205 isn't
implemented.

There's a refactored function for parsing connected cells; it has unit
tests.

13 years agoReject IPv4 or IPv6 addresses from the user depending on SOCKS settings
Nick Mathewson [Wed, 31 Oct 2012 15:26:00 +0000 (11:26 -0400)] 
Reject IPv4 or IPv6 addresses from the user depending on SOCKS settings

13 years agoRename ipv{4,6}_only to bind_ipv{4,6}_only
Nick Mathewson [Wed, 31 Oct 2012 15:12:28 +0000 (11:12 -0400)] 
Rename ipv{4,6}_only to bind_ipv{4,6}_only

This is to avoid confusion with the ipv{4,6}_traffic flags.

13 years agoAdd {No,}IPv{4,6}Traffic options to SOCKSPort
Nick Mathewson [Wed, 31 Oct 2012 15:08:38 +0000 (11:08 -0400)] 
Add {No,}IPv{4,6}Traffic options to SOCKSPort

These options are for telling the SOCKSPort that it should allow or
not allow connections to IPv4/IPv6 addresses.

These aren't implemented yet; this is just the code to read the
options and get them into the entrey_connection_t.

13 years agoMake DNS callback pass IPv6 answers to dns_answer_found
Nick Mathewson [Sat, 27 Oct 2012 20:34:49 +0000 (16:34 -0400)] 
Make DNS callback pass IPv6 answers to dns_answer_found

Also, count ipv6 timeouts vs others.  If we have too many ipv6
requests time out, then we could be degrading performance because of a
broken DNS server that ignores AAAA requests.  Other cases in which
we never learn an AAAA address aren't so bad, since they don't slow
A (ipv4) answers down very much.

13 years agoMake dns wildcarding checks work for ipv6
Nick Mathewson [Sat, 27 Oct 2012 20:07:25 +0000 (16:07 -0400)] 
Make dns wildcarding checks work for ipv6

13 years agoAdd an IPv6Exit configuration option
Nick Mathewson [Thu, 25 Oct 2012 04:20:41 +0000 (00:20 -0400)] 
Add an IPv6Exit configuration option

Don't advertise an IPv6 exit policy, or accept IPv6 exit requests,
if IPv6Exit is not true.

13 years agoSimplest version of server-side IPv6 support (no dns)
Nick Mathewson [Thu, 25 Oct 2012 03:45:24 +0000 (23:45 -0400)] 
Simplest version of server-side IPv6 support (no dns)

This is a relatively simple set of changes: we mostly need to
remove a few "but not for IPv6" changes.  We also needed to tweak
the handling of DNS code to generate RESOLVED cells that could get
an IPv6 answer in return.

13 years agoRecord, send, and receive flags in BEGIN cells
Nick Mathewson [Thu, 25 Oct 2012 03:39:28 +0000 (23:39 -0400)] 
Record, send, and receive flags in BEGIN cells

13 years agoAdd IPv6 support to compare_to_addr_to_node_policy
Nick Mathewson [Thu, 25 Oct 2012 03:05:44 +0000 (23:05 -0400)] 
Add IPv6 support to compare_to_addr_to_node_policy

13 years agoAuthorities put p6 lines into microdescriptors.
Nick Mathewson [Thu, 25 Oct 2012 02:34:55 +0000 (22:34 -0400)] 
Authorities put p6 lines into microdescriptors.

13 years agoParse IPv6 policy summaries from router descriptors and microdescs
Nick Mathewson [Thu, 25 Oct 2012 01:59:55 +0000 (21:59 -0400)] 
Parse IPv6 policy summaries from router descriptors and microdescs

13 years agoBetter policy support for IPv6
Nick Mathewson [Wed, 24 Oct 2012 19:03:29 +0000 (15:03 -0400)] 
Better policy support for IPv6

Now, "accept *:80" means "accept all addresses on port 80", and not
just IPv4.  For just v4, say "accept *4:80"; for just v6 say "accept
*6:80".

We can parse these policies from torrc just fine, and we should be
successfully keeping them out of descriptors for now.

We also now include appropriate IPv6 addresses in "reject private:*"

13 years agoAdd a new family-specific syntax for tor_addr_parse_mask_ports
Nick Mathewson [Wed, 24 Oct 2012 16:33:18 +0000 (12:33 -0400)] 
Add a new family-specific syntax for tor_addr_parse_mask_ports

By default, "*" means "All IPv4 addresses" with
tor_addr_parse_mask_ports, so I won't break anything.  But if the new
EXTENDED_STAR flag is provided, then * means "any address", *4 means
"any IPv4 address" (that is, 0.0.0.0/0), and "*6" means "any IPv6
address" (that is, [::]/0).

This is going to let us have a syntax for specifying exit policies in
torrc that won't drive people mad.

Also, add a bunch of unit tests for tor_addr_parse_mask_ports to test
these new features, and to increase coverage.

13 years agoRefactor begin cell parsing into its own function, with tests.
Nick Mathewson [Mon, 22 Oct 2012 15:28:37 +0000 (11:28 -0400)] 
Refactor begin cell parsing into its own function, with tests.

Add 'flags' argument to begin cells, per proposal 208.

13 years agoRefactor client_dns_set_{reverse_,}addressmap() to take a circ
Nick Mathewson [Sun, 28 Oct 2012 21:13:37 +0000 (17:13 -0400)] 
Refactor client_dns_set_{reverse_,}addressmap() to take a circ

We'd like these functions to be circuit-relative so that we can
implement a per-circuit DNS cache and per-circuit DNS cache rules for
proposal 205 or its successors.  I'm doing this now, as a part of the
IPv6 exits code, since there are about to be a few more instances
of code using this.

13 years agoMove address map into its own file.
Nick Mathewson [Sun, 28 Oct 2012 20:13:58 +0000 (16:13 -0400)] 
Move address map into its own file.

13 years agoMerge branch 'bug7267' of ssh://git-rw.torproject.org/user/andrea/tor
Andrea Shepard [Wed, 14 Nov 2012 02:54:24 +0000 (18:54 -0800)] 
Merge branch 'bug7267' of ssh://git-rw.torproject.org/user/andrea/tor

13 years agoAdd comment explaining different channel close functions
Andrea Shepard [Wed, 14 Nov 2012 02:50:37 +0000 (18:50 -0800)] 
Add comment explaining different channel close functions

13 years agoMerge remote-tracking branch 'public/bug7059'
Nick Mathewson [Wed, 14 Nov 2012 02:50:07 +0000 (21:50 -0500)] 
Merge remote-tracking branch 'public/bug7059'

13 years agoActually distribute the geoip6 file.
Nick Mathewson [Wed, 14 Nov 2012 02:24:28 +0000 (21:24 -0500)] 
Actually distribute the geoip6 file.

Fixes a bug (with no ticket) on 0.2.4.6-alpha.

13 years agoAdd changes file for bug 7267
Andrea Shepard [Tue, 13 Nov 2012 21:46:36 +0000 (13:46 -0800)] 
Add changes file for bug 7267

13 years agoCall channel_mark_for_close() properly in hibernate_go_dormant()
Andrea Shepard [Tue, 13 Nov 2012 21:45:00 +0000 (13:45 -0800)] 
Call channel_mark_for_close() properly in hibernate_go_dormant()

13 years agobump to 0.2.4.6-alpha-dev
Roger Dingledine [Tue, 13 Nov 2012 06:46:59 +0000 (01:46 -0500)] 
bump to 0.2.4.6-alpha-dev

13 years agobump to 0.2.4.6-alpha tor-0.2.4.6-alpha
Roger Dingledine [Tue, 13 Nov 2012 05:00:33 +0000 (00:00 -0500)] 
bump to 0.2.4.6-alpha

13 years agofold in changes files
Roger Dingledine [Tue, 13 Nov 2012 04:51:47 +0000 (23:51 -0500)] 
fold in changes files

13 years agoMerge branch 'maint-0.2.3'
Roger Dingledine [Tue, 13 Nov 2012 04:49:37 +0000 (23:49 -0500)] 
Merge branch 'maint-0.2.3'

13 years agouse a more logical operator
Roger Dingledine [Tue, 13 Nov 2012 04:47:21 +0000 (23:47 -0500)] 
use a more logical operator

Fix a harmless bug when opting against publishing a relay descriptor
because DisableNetwork is set.

Fixes bug 7464; bugfix on 0.2.3.9-alpha.

13 years agoPossible fix for bug 7212
Nick Mathewson [Mon, 12 Nov 2012 03:20:59 +0000 (22:20 -0500)] 
Possible fix for bug 7212

This is the simplest possible workaround: make it safe to call
circuit_cell_queue_clear() on a non-attached circuit, and make it
safe-but-a-LD_BUG-warning to call update_circuit_on_cmux() on a
non-attached circuit.

 LocalWords:  unstage src Untracked

13 years agoMerge branch 'check_for_orconn_on_close_squashed' of ssh://git-rw.torproject.org...
Andrea Shepard [Sat, 10 Nov 2012 11:24:41 +0000 (03:24 -0800)] 
Merge branch 'check_for_orconn_on_close_squashed' of ssh://git-rw.torproject.org/user/andrea/tor

13 years agoAdd changes file for connection_mark_for_close()/connection_mark_and_flush() or_conne...
Andrea Shepard [Sat, 10 Nov 2012 10:38:40 +0000 (02:38 -0800)] 
Add changes file for connection_mark_for_close()/connection_mark_and_flush() or_connection_t checking

13 years agoMake everything in connection.c that uses connection_or_notify_error() also use conne...
Andrea Shepard [Fri, 9 Nov 2012 22:19:45 +0000 (14:19 -0800)] 
Make everything in connection.c that uses connection_or_notify_error() also use connection_mark_and_close_internal() to avoid spurious warnings

13 years agoCheck for orconns in connection_mark_for_close and connection_mark_and_flush, and...
Andrea Shepard [Fri, 9 Nov 2012 22:06:54 +0000 (14:06 -0800)] 
Check for orconns in connection_mark_for_close and connection_mark_and_flush, and pass the call through channel_close_for_error with a warning to avoid asserts

13 years agoFix a memory leak in handling errors on CERTS cells. bug 7422
Nick Mathewson [Fri, 9 Nov 2012 04:01:39 +0000 (23:01 -0500)] 
Fix a memory leak in handling errors on CERTS cells. bug 7422

13 years agoFix test.c compilation on mingw32.
Nick Mathewson [Fri, 9 Nov 2012 01:09:06 +0000 (20:09 -0500)] 
Fix test.c compilation on mingw32.

Looks like windows doesn't have an s6_addr32 in its in6_addr.

Bug not in any released version of Tor; bugfix on abb886014e1ee.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Fri, 9 Nov 2012 01:00:54 +0000 (20:00 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

13 years agoTurn a memwipe in tor_process_handle_destroy() back to memset
Nick Mathewson [Fri, 9 Nov 2012 00:59:54 +0000 (19:59 -0500)] 
Turn a memwipe in tor_process_handle_destroy() back to memset

It broke linking on tor-resolve.c, and it's not actually sanitizing
anything sensitive.  Fix for bug 7420; bug not on ony released Tor.

13 years agoTurn some memset()s introduced in tor 0.2.4 into memwipe()s
Nick Mathewson [Thu, 8 Nov 2012 22:00:36 +0000 (17:00 -0500)] 
Turn some memset()s introduced in tor 0.2.4 into memwipe()s

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Thu, 8 Nov 2012 21:48:04 +0000 (16:48 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

Conflicts:
src/common/crypto.c
src/or/rendservice.c

13 years agoMerge branch 'bug7352_023_rebased' into maint-0.2.3
Nick Mathewson [Thu, 8 Nov 2012 21:45:46 +0000 (16:45 -0500)] 
Merge branch 'bug7352_023_rebased' into maint-0.2.3

13 years agoAdd and use and unlikely-to-be-eliminated memwipe()
Nick Mathewson [Wed, 7 Nov 2012 21:09:58 +0000 (16:09 -0500)] 
Add and use and unlikely-to-be-eliminated memwipe()

Apparently some compilers like to eliminate memset() operations on
data that's about to go out-of-scope.  I've gone with the safest
possible replacement, which might be a bit slow.  I don't think this
is critical path in any way that will affect performance, but if it
is, we can work on that in 0.2.4.

Fixes bug 7352.

13 years agoMerge branch 'bug7350' of ssh://git-rw.torproject.org/user/andrea/tor
Andrea Shepard [Wed, 7 Nov 2012 19:43:04 +0000 (11:43 -0800)] 
Merge branch 'bug7350' of ssh://git-rw.torproject.org/user/andrea/tor

13 years agoAdd changes file for bug7350
Andrea Shepard [Wed, 7 Nov 2012 19:39:49 +0000 (11:39 -0800)] 
Add changes file for bug7350

13 years agoDon't call channel_send_destroy() when closing a circuit on a closing channel
Andrea Shepard [Wed, 7 Nov 2012 01:58:59 +0000 (17:58 -0800)] 
Don't call channel_send_destroy() when closing a circuit on a closing channel

13 years agoCheck for closing channel in channel_send_destroy()
Andrea Shepard [Wed, 7 Nov 2012 01:52:14 +0000 (17:52 -0800)] 
Check for closing channel in channel_send_destroy()

13 years agoMerge branch 'bug7285'
Nick Mathewson [Tue, 6 Nov 2012 23:02:03 +0000 (18:02 -0500)] 
Merge branch 'bug7285'

13 years agoMerge branch 'bug7195'
Nick Mathewson [Tue, 6 Nov 2012 22:53:45 +0000 (17:53 -0500)] 
Merge branch 'bug7195'

13 years agoAdd warning message when a managed proxy dies during configuration.
George Kadianakis [Mon, 22 Oct 2012 23:51:31 +0000 (02:51 +0300)] 
Add warning message when a managed proxy dies during configuration.

13 years agoFix a stupid logic-error in warnings about low ports.
Nick Mathewson [Tue, 6 Nov 2012 22:15:39 +0000 (17:15 -0500)] 
Fix a stupid logic-error in warnings about low ports.

Instead of warning about low ports that are advertised, we should have
been warning about low ports that we're listening on.  Bug 7285, fix
on 0.2.3.9-alpha.

13 years agoAllow an optional $ in GETINFO ns/id/<identity>
Nick Mathewson [Mon, 5 Nov 2012 03:12:11 +0000 (22:12 -0500)] 
Allow an optional $ in GETINFO ns/id/<identity>

That's not where I'd want to put a $, but apparently the other
foo/id/<identity> things allow it, as does an arguably valid
interpretation of control-spec.txt.  So let's be consistent.

Fix for a piece of bug 7059.

13 years agoMerge remote-tracking branch 'asn/bug7292'
Nick Mathewson [Mon, 5 Nov 2012 02:54:19 +0000 (21:54 -0500)] 
Merge remote-tracking branch 'asn/bug7292'

13 years agoWhitespace fixes
Nick Mathewson [Mon, 5 Nov 2012 02:52:28 +0000 (21:52 -0500)] 
Whitespace fixes

13 years agoClean up nonsensical calling convention for config_load_geoip_file_
Nick Mathewson [Mon, 5 Nov 2012 02:51:02 +0000 (21:51 -0500)] 
Clean up nonsensical calling convention for config_load_geoip_file_

(How many "load a file" functions do you typically see where the
function frees the filename argument?)

13 years agoMerge remote-tracking branch 'linus/bug5053-bug5055'
Nick Mathewson [Mon, 5 Nov 2012 02:44:31 +0000 (21:44 -0500)] 
Merge remote-tracking branch 'linus/bug5053-bug5055'

Conflicts:
src/or/geoip.c

13 years agoAdd an SLIST_ENTRY definition back on non-win32
Nick Mathewson [Fri, 2 Nov 2012 23:38:21 +0000 (19:38 -0400)] 
Add an SLIST_ENTRY definition back on non-win32

Otherwise we break openbsd headers.

Fixes bug 7293; bug not on any released Tor.

13 years agoUse LOG_WARN instead of LOG_PROTOCOL_WARN when parsing transport lines.
George Kadianakis [Fri, 2 Nov 2012 21:48:53 +0000 (23:48 +0200)] 
Use LOG_WARN instead of LOG_PROTOCOL_WARN when parsing transport lines.

13 years agoAvoid c99 designated initializers in circuitmux_ewma.c
Nick Mathewson [Fri, 2 Nov 2012 17:14:39 +0000 (13:14 -0400)] 
Avoid c99 designated initializers in circuitmux_ewma.c

We still want to build on compilers w/o c99 support, such as
(notoriously, shamefully) MSVC.

So I'm commenting out the designated initializers in
circuitmux_ewma.c.  The alternative would have been to use some kind
of macros to use designated initializers only when they're
supported, but that's error-prone, and can lead to code having
different meanings under different compilers.

Bug 7286; fix on 0.2.4.4-alpha; spotted by Gisle Vanem.

13 years agoRename SLIST_ENTRY to TOR_SLIST_ENTRY to fix windows compilation
Nick Mathewson [Thu, 1 Nov 2012 21:40:27 +0000 (17:40 -0400)] 
Rename SLIST_ENTRY to TOR_SLIST_ENTRY to fix windows compilation

Apparently winnt.h defines a different SLIST_ENTRY of its own.

Bug not in any version of Tor.

13 years agoChange some comments to reflect the multitude of GeoIP databases.
Linus Nordberg [Wed, 31 Oct 2012 15:38:07 +0000 (16:38 +0100)] 
Change some comments to reflect the multitude of GeoIP databases.

13 years agoFix whitespace
Nick Mathewson [Wed, 31 Oct 2012 15:27:13 +0000 (11:27 -0400)] 
Fix whitespace

13 years agoDon't memcmp struct in6_addr but rather its s6_addr member.
Linus Nordberg [Wed, 31 Oct 2012 14:52:56 +0000 (15:52 +0100)] 
Don't memcmp struct in6_addr but rather its s6_addr member.

13 years agoDuplicate less code.
Linus Nordberg [Wed, 31 Oct 2012 12:58:55 +0000 (13:58 +0100)] 
Duplicate less code.

13 years agoAdd a copy of the queue(3) manpage to the git repository.
Nick Mathewson [Tue, 30 Oct 2012 23:16:07 +0000 (19:16 -0400)] 
Add a copy of the queue(3) manpage to the git repository.

See 7105

13 years agoMerge branch 'bsd_queue' of ssh://git-rw.torproject.org/nickm/tor
Andrea Shepard [Tue, 30 Oct 2012 21:39:14 +0000 (14:39 -0700)] 
Merge branch 'bsd_queue' of ssh://git-rw.torproject.org/nickm/tor

13 years agochanges file for bug 7235
Nick Mathewson [Sun, 28 Oct 2012 14:58:26 +0000 (10:58 -0400)] 
changes file for bug 7235

13 years agoFix undefined reference to libm functions linking tor-fw-helper
Anthony G. Basile [Sun, 28 Oct 2012 01:30:21 +0000 (21:30 -0400)] 
Fix undefined reference to libm functions linking tor-fw-helper

When configuring tor without upnp support, ie ./configure --disable-upnp,
tor-fw-helper fails to link with undefined references to `ceil' and
`log'.  This if fixed by linking to libm.

X-Gentoo-Bug: 435040
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=435040
Reported-by: Alexandre <alexandre.cortes@outlook.com>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
13 years agoMerge remote-tracking branch 'asn/bug6832'
Nick Mathewson [Sat, 27 Oct 2012 20:48:05 +0000 (16:48 -0400)] 
Merge remote-tracking branch 'asn/bug6832'

13 years agobump to 0.2.4.5-alpha-dev
Roger Dingledine [Fri, 26 Oct 2012 06:32:44 +0000 (02:32 -0400)] 
bump to 0.2.4.5-alpha-dev

13 years agoforward-port the 0.2.3.24-rc changelog tor-0.2.4.5-alpha
Roger Dingledine [Fri, 26 Oct 2012 04:39:55 +0000 (00:39 -0400)] 
forward-port the 0.2.3.24-rc changelog

13 years agotouch-ups
Roger Dingledine [Fri, 26 Oct 2012 04:39:06 +0000 (00:39 -0400)] 
touch-ups

13 years agoOptimistically say 0.2.4.5-alpha is coming out today
Nick Mathewson [Thu, 25 Oct 2012 14:57:20 +0000 (10:57 -0400)] 
Optimistically say 0.2.4.5-alpha is coming out today

13 years agoBump the version number to 0.2.4.5-alpha
Nick Mathewson [Thu, 25 Oct 2012 14:44:14 +0000 (10:44 -0400)] 
Bump the version number to 0.2.4.5-alpha

(For real this time.  It turns out that 4 and 5 are different numbers.)

13 years agoBump version to 0.2.4.5-alpha
Nick Mathewson [Thu, 25 Oct 2012 14:33:17 +0000 (10:33 -0400)] 
Bump version to 0.2.4.5-alpha

13 years agoFold in changelog item; draft blurb for 0.2.4.5-alpha
Nick Mathewson [Thu, 25 Oct 2012 14:32:20 +0000 (10:32 -0400)] 
Fold in changelog item; draft blurb for 0.2.4.5-alpha

13 years agoMerge branch 'link_negotiation_assert_024'
Nick Mathewson [Thu, 25 Oct 2012 14:21:01 +0000 (10:21 -0400)] 
Merge branch 'link_negotiation_assert_024'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Thu, 25 Oct 2012 14:19:46 +0000 (10:19 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

(Using an -s ours merge for Not taking the CVE-2012-2250 fix from
maint-0.2.3; it would conflict.)

13 years agoStart an 0.2.4.5 changelog.
Nick Mathewson [Thu, 25 Oct 2012 14:13:34 +0000 (10:13 -0400)] 
Start an 0.2.4.5 changelog.

The items from 0.2.3.x are copy-and-pastd from current release-0.2.3
changelog; the others are folded in from changes/*.

13 years agoChange changes file and comment for 7189, for making it 0.2.4-only for now
Nick Mathewson [Thu, 25 Oct 2012 02:11:43 +0000 (22:11 -0400)] 
Change changes file and comment for 7189, for making it 0.2.4-only for now

13 years agoMerge remote-tracking branch 'public/bug7189_tentative'
Nick Mathewson [Thu, 25 Oct 2012 02:07:10 +0000 (22:07 -0400)] 
Merge remote-tracking branch 'public/bug7189_tentative'

13 years agoOnly disable TLS tickets when being/acting as a server.
Nick Mathewson [Thu, 25 Oct 2012 00:13:25 +0000 (20:13 -0400)] 
Only disable TLS tickets when being/acting as a server.

Fix for bug 7189.

13 years agoFix instructions for using Tor with gcov
Nick Mathewson [Wed, 24 Oct 2012 19:03:49 +0000 (15:03 -0400)] 
Fix instructions for using Tor with gcov

It seems as if our new build system broke gcov for me.  I've tried to
fix doc/HACKING to describe what I needed to do in order to make it
work again.

13 years agoFix a remotely triggerable assertion failure (CVE-2012-2250)
Nick Mathewson [Wed, 24 Oct 2012 03:04:35 +0000 (23:04 -0400)] 
Fix a remotely triggerable assertion failure (CVE-2012-2250)

If we completed the handshake for the v2 link protocol but wound up
negotiating the wong protocol version, we'd become so confused about
what part of the handshake we were in that we'd promptly die with an
assertion.

This is a fix for CVE-2012-2250; it's a bugfix on 0.2.3.6-alpha.
All servers running that version or later should really upgrade.

Bug and fix from "some guy from France."  I tweaked his code slightly
to make it log the IP of the offending node, and to forward-port it to
0.2.4.

13 years agoFix a remotely triggerable assertion failure (CVE-2012-2250)
Nick Mathewson [Wed, 24 Oct 2012 02:58:38 +0000 (22:58 -0400)] 
Fix a remotely triggerable assertion failure (CVE-2012-2250)

If we completed the handshake for the v2 link protocol but wound up
negotiating the wong protocol version, we'd become so confused about
what part of the handshake we were in that we'd promptly die with an
assertion.

This is a fix for CVE-2012-2250; it's a bugfix on 0.2.3.6-alpha.
All servers running that version or later should really upgrade.

Bug and fix from "some guy from France."  I tweaked his code slightly
to make it log the IP of the offending node.

13 years agoUse the same changes file for bug7191 as in 0.2.[23]
Nick Mathewson [Wed, 24 Oct 2012 01:52:43 +0000 (21:52 -0400)] 
Use the same changes file for bug7191 as in 0.2.[23]

13 years agoMerge remote-tracking branch 'andrea/bug7191_v2'
Nick Mathewson [Wed, 24 Oct 2012 01:51:38 +0000 (21:51 -0400)] 
Merge remote-tracking branch 'andrea/bug7191_v2'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.3'
Nick Mathewson [Wed, 24 Oct 2012 01:50:43 +0000 (21:50 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.3'

This is an "ours" merge; we want a separate fix for this bug (bug7191)
in master. Rather than catching the two failing cases, we need to make
them not fail.

13 years agoMake unit test for bug7191 work with new smartlist_new() name
Nick Mathewson [Wed, 24 Oct 2012 01:49:46 +0000 (21:49 -0400)] 
Make unit test for bug7191 work with new smartlist_new() name

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Nick Mathewson [Wed, 24 Oct 2012 01:48:50 +0000 (21:48 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3

13 years agoAdd some unit tests for smartlist_bsearch_idx() on short lists
Andrea Shepard [Tue, 23 Oct 2012 21:28:19 +0000 (14:28 -0700)] 
Add some unit tests for smartlist_bsearch_idx() on short lists

Conflicts:
src/test/test_containers.c

13 years agoAdd a changes file for bug 7191.
Nick Mathewson [Wed, 24 Oct 2012 01:31:42 +0000 (21:31 -0400)] 
Add a changes file for bug 7191.