]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Mon, 13 Feb 2012 04:27:31 +0000 (23:27 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

Conflicts:
src/common/Makefile.am
src/or/Makefile.am

13 years agoUnpack a smartlist_foreach and add an assert: try to hunt #5102
Nick Mathewson [Mon, 13 Feb 2012 00:42:35 +0000 (19:42 -0500)] 
Unpack a smartlist_foreach and add an assert: try to hunt #5102

13 years agoFix #5097 on Windows, too
Robert Ransom [Sun, 12 Feb 2012 23:44:10 +0000 (15:44 -0800)] 
Fix #5097 on Windows, too

13 years agoFix bug #5097: remove bogus envvar from managed proxies' environment
Robert Ransom [Sun, 12 Feb 2012 08:10:28 +0000 (00:10 -0800)] 
Fix bug #5097: remove bogus envvar from managed proxies' environment

13 years agofold in changes for 0.2.3.12-alpha
Roger Dingledine [Sun, 12 Feb 2012 03:14:59 +0000 (22:14 -0500)] 
fold in changes for 0.2.3.12-alpha

13 years agoProperly protect paths to sed, sha1sum, openssl
Sebastian Hahn [Thu, 9 Feb 2012 23:51:58 +0000 (00:51 +0100)] 
Properly protect paths to sed, sha1sum, openssl

in Makefile.am, we used it without quoting it, causing build failure if
your openssl/sed/sha1sum happened to live in a directory with a space in
it (very common on windows)

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Fri, 10 Feb 2012 17:03:46 +0000 (12:03 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoDowngrade "missing a certificate" from notice to info
Nick Mathewson [Fri, 10 Feb 2012 17:01:56 +0000 (12:01 -0500)] 
Downgrade "missing a certificate" from notice to info

It was apparently getting mistaken for a problem, even though it was
at notice.

Fixes 5067; fix on 0.2.0.10-alpha.

13 years agoAdd a changes file for bug 5066.
Nick Mathewson [Fri, 10 Feb 2012 15:57:57 +0000 (10:57 -0500)] 
Add a changes file for bug 5066.

(It appeared in 0.2.3.11-alpha, but never in a released 0.2.2 afaict)

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Fri, 10 Feb 2012 15:56:37 +0000 (10:56 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

Conflicts:
src/common/tortls.c

Conflict on comment near use of the new OPENSSL_V macro

13 years agoUse correct CVE number for CVE-2011-4576. Found by fermenthor. bug 5066
Nick Mathewson [Fri, 10 Feb 2012 15:55:39 +0000 (10:55 -0500)] 
Use correct CVE number for CVE-2011-4576. Found by fermenthor. bug 5066

13 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Thu, 9 Feb 2012 09:21:20 +0000 (04:21 -0500)] 
Merge branch 'maint-0.2.2'

13 years agoMerge branch 'maint-0.2.1' into maint-0.2.2
Roger Dingledine [Thu, 9 Feb 2012 09:21:08 +0000 (04:21 -0500)] 
Merge branch 'maint-0.2.1' into maint-0.2.2

13 years agorevert the revert in master, since I didn't want to revert it there
Roger Dingledine [Thu, 9 Feb 2012 09:03:36 +0000 (04:03 -0500)] 
revert the revert in master, since I didn't want to revert it there

13 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Thu, 9 Feb 2012 09:02:18 +0000 (04:02 -0500)] 
Merge branch 'maint-0.2.2'

13 years agoRevert "add a "docs" to the manual URI as listed in torrc.sample.in"
Roger Dingledine [Thu, 9 Feb 2012 08:57:04 +0000 (03:57 -0500)] 
Revert "add  a "docs" to the manual URI as listed in torrc.sample.in"

This reverts commit 55e8cae81553678ec77ce6b8fb1bf2d5e483e0aa.

The conversation from irc:
> weasel: i had intended to leave torrc.sample.in alone in maint-0.2.2,
since i don't want to make all your stable users have to deal with
a torrc change. but nickm changed it. is it in fact the case that a
change in that file means a change in the deb?
<weasel> it means you'll prompt every single user who ever touched
their torrc
<weasel> and they will be asked if they like your new version better
than what they have right now
<weasel> so it's not great

Instead I changed the website to redirect requests for the tor-manual
URL listed in maint-0.2.2's torrc.sample.in so the link will still work.

13 years agoUpdate to the February 2012 GeoIP database. maint-0.2.1
Karsten Loesing [Thu, 9 Feb 2012 08:16:24 +0000 (09:16 +0100)] 
Update to the February 2012 GeoIP database.

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 8 Feb 2012 15:52:34 +0000 (10:52 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoadd a "docs" to the manual URI as listed in torrc.sample.in
Nick Mathewson [Wed, 8 Feb 2012 15:52:05 +0000 (10:52 -0500)] 
add  a "docs" to the manual URI as listed in torrc.sample.in

13 years agoFix fencepost error with HearbeatPeriod option
Sebastian Hahn [Sun, 22 Jan 2012 12:39:56 +0000 (13:39 +0100)] 
Fix fencepost error with HearbeatPeriod option

We'd only log every HeartbeatPeriod + 1 seconds. Discovered by Scott
Bennett, reported as bug 4942.

13 years agoUpdate sample torrc file for 0.2.3.x
Roger Dingledine [Wed, 8 Feb 2012 09:40:26 +0000 (04:40 -0500)] 
Update sample torrc file for 0.2.3.x

Fix broken URLs.

Tell readers about the OutboundBindAddress, ExitPolicyRejectPrivate,
and PublishServerDescriptor options.

13 years agoMerge branch 'maint-0.2.2'
Roger Dingledine [Thu, 2 Feb 2012 07:32:44 +0000 (02:32 -0500)] 
Merge branch 'maint-0.2.2'

13 years agoUpdate "ClientOnly" man page entry
Roger Dingledine [Thu, 2 Feb 2012 07:31:28 +0000 (02:31 -0500)] 
Update "ClientOnly" man page entry

There isn't really any point to messing with it. Resolves ticket 5005.

13 years agoMerge branch 'bug4991_v2'
Nick Mathewson [Tue, 31 Jan 2012 20:59:28 +0000 (15:59 -0500)] 
Merge branch 'bug4991_v2'

13 years agoChange WIN32 to _WIN32 in configure.in, too.
Sebastian Hahn [Tue, 31 Jan 2012 17:05:03 +0000 (18:05 +0100)] 
Change WIN32 to _WIN32 in configure.in, too.

13 years agoFix straggling MS_WINDOWS issues; add a changes file
Nick Mathewson [Tue, 31 Jan 2012 16:04:27 +0000 (11:04 -0500)] 
Fix straggling MS_WINDOWS issues; add a changes file

There was one MS_WINDOWS that remained because it wasn't on a macro
line; a few remaining uses (and the definition!) in configure.in;
and a now-nonsensical stanza of eventdns_tor.h that previously
defined 'WIN32' if it didn't exist.

13 years agoUse the standard _WIN32, not the Torism MS_WINDOWS or deprecated WIN32
Nick Mathewson [Tue, 31 Jan 2012 15:59:42 +0000 (10:59 -0500)] 
Use the standard _WIN32, not the Torism MS_WINDOWS or deprecated WIN32

This commit is completely mechanical; I used this perl script to make it:

 #!/usr/bin/perl -w -i.bak -p

 if (/^\s*\#/) {
     s/MS_WINDOWS/_WIN32/g;
     s/\bWIN32\b/_WIN32/g;
 }

13 years agoMerge remote-tracking branch 'arma/bug4013'
Nick Mathewson [Tue, 31 Jan 2012 16:25:29 +0000 (11:25 -0500)] 
Merge remote-tracking branch 'arma/bug4013'

13 years agoActually enable the windows absolute-path code
Nick Mathewson [Tue, 31 Jan 2012 15:42:41 +0000 (10:42 -0500)] 
Actually enable the windows absolute-path code

Checking for "WINDOWS" is wrong; our magic macro is MS_WINDOWS

Fixes bug 4973; bugfix on 0.2.3.11-alpha.

13 years agoif we ever have an old bridge, never again use microdescs
Roger Dingledine [Fri, 27 Jan 2012 22:22:31 +0000 (17:22 -0500)] 
if we ever have an old bridge, never again use microdescs

should reduce the risk of oscillation if our 0.2.2 bridge comes and goes

13 years agoMerge remote-tracking branch 'sebastian/osx_deadstrip'
Nick Mathewson [Fri, 27 Jan 2012 16:49:34 +0000 (11:49 -0500)] 
Merge remote-tracking branch 'sebastian/osx_deadstrip'

13 years agoAllow 0.2.3.x clients to use 0.2.2.x bridges.
Roger Dingledine [Wed, 25 Jan 2012 23:54:59 +0000 (18:54 -0500)] 
Allow 0.2.3.x clients to use 0.2.2.x bridges.

Previously the client would ask the bridge for microdescriptors, which are
only supported in 0.2.3.x and later, and then fail to bootstrap when it
didn't get the answers it wanted. Fixes bug 4013; bugfix on 0.2.3.2-alpha.

The fix here is to revert to using normal descriptors if any of our
bridges are known to not support microdescs. This is not ideal, a) because
we'll start downloading a microdesc consensus as soon as we get a bridge
descriptor, and that will waste time if we later get a bridge descriptor
that tells us we don't like microdescriptors; and b) by changing our mind
we're leaking to our other bridges that we have an old-version bridge.

The alternate fix would have been to change
we_use_microdescriptors_for_circuits() to ask if *any* of our bridges
can support microdescriptors, and then change the directory logic that
picks a bridge to only select from those that do. For people living in
the future, where 0.2.2.x is obsolete, there won't be a difference.

Note that in either of these potential fixes, we have risk of oscillation
if our one funny-looking bridges goes away / comes back.

13 years agoset SO_REUSEADDR before we bind, not after
Roger Dingledine [Mon, 23 Jan 2012 20:54:02 +0000 (15:54 -0500)] 
set SO_REUSEADDR before we bind, not after

resolves bug 4950 (fixes a bug on commit aba7bb705a6 from #2850)

13 years agogo nuts rewriting (changelog) history
Roger Dingledine [Mon, 23 Jan 2012 08:47:48 +0000 (03:47 -0500)] 
go nuts rewriting (changelog) history

13 years agobump to 0.2.3.11-alpha-dev
Roger Dingledine [Mon, 23 Jan 2012 07:34:01 +0000 (02:34 -0500)] 
bump to 0.2.3.11-alpha-dev

13 years agoUse !SOCKET_OK to test if a socket is uninitialized tor-0.2.3.11-alpha
Sebastian Hahn [Mon, 23 Jan 2012 01:06:04 +0000 (02:06 +0100)] 
Use !SOCKET_OK to test if a socket is uninitialized

This fixes a compile warning on Windows. Fixes bug 4946, not in any
released version.

13 years agoupdate comment to reflect our TOR_INVALID_SOCKET convention
Roger Dingledine [Mon, 23 Jan 2012 00:39:29 +0000 (19:39 -0500)] 
update comment to reflect our TOR_INVALID_SOCKET convention

13 years agobump to 0.2.3.11-alpha
Roger Dingledine [Sun, 22 Jan 2012 07:52:38 +0000 (02:52 -0500)] 
bump to 0.2.3.11-alpha

13 years agogive it a blurb and a release date
Roger Dingledine [Sun, 22 Jan 2012 05:49:29 +0000 (00:49 -0500)] 
give it a blurb and a release date

13 years agofold in recent changelog entries
Roger Dingledine [Sun, 22 Jan 2012 05:15:45 +0000 (00:15 -0500)] 
fold in recent changelog entries

13 years agoBetter documentation of transport-related torrc options.
George Kadianakis [Sat, 21 Jan 2012 14:28:48 +0000 (16:28 +0200)] 
Better documentation of transport-related torrc options.

Document ServerTransportPlugin and the managed proxy version of
ClientTransportPlugin.

13 years agoUse dead_strip to reduce binary size on OS X
Sebastian Hahn [Fri, 20 Jan 2012 22:13:35 +0000 (23:13 +0100)] 
Use dead_strip to reduce binary size on OS X

This option seems to be supported all the way back to at least 10.4, so
enabling it for OS X in general should be fine. If not, someone will
yell.

With no libs statically linked, that's a 3% win in binary size, with
just libevent linked statically, this gives us an advantage of 5% in
terms of binary size, and with libevent and openssl statically linked,
we gain over 18% or over 500KB.

Implements ticket 2915.

13 years agoMerge branch 'bug4893'
Nick Mathewson [Wed, 18 Jan 2012 20:54:56 +0000 (15:54 -0500)] 
Merge branch 'bug4893'

13 years agoRename nonconformant identifiers.
Nick Mathewson [Wed, 18 Jan 2012 20:53:30 +0000 (15:53 -0500)] 
Rename nonconformant identifiers.

Fixes bug 4893.

These changes are pure mechanical, and were generated with this
perl script:

  /usr/bin/perl -w -i.bak -p

  s/crypto_pk_env_t/crypto_pk_t/g;
  s/crypto_dh_env_t/crypto_dh_t/g;
  s/crypto_cipher_env_t/crypto_cipher_t/g;
  s/crypto_digest_env_t/crypto_digest_t/g;

  s/aes_free_cipher/aes_cipher_free/g;
  s/crypto_free_cipher_env/crypto_cipher_free/g;
  s/crypto_free_digest_env/crypto_digest_free/g;
  s/crypto_free_pk_env/crypto_pk_free/g;

  s/_crypto_dh_env_get_dh/_crypto_dh_get_dh/g;
  s/_crypto_new_pk_env_rsa/_crypto_new_pk_from_rsa/g;
  s/_crypto_pk_env_get_evp_pkey/_crypto_pk_get_evp_pkey/g;
  s/_crypto_pk_env_get_rsa/_crypto_pk_get_rsa/g;

  s/crypto_new_cipher_env/crypto_cipher_new/g;
  s/crypto_new_digest_env/crypto_digest_new/g;
  s/crypto_new_digest256_env/crypto_digest256_new/g;
  s/crypto_new_pk_env/crypto_pk_new/g;

  s/crypto_create_crypto_env/crypto_cipher_new/g;

  s/connection_create_listener/connection_listener_new/g;
  s/smartlist_create/smartlist_new/g;
  s/transport_create/transport_new/g;

13 years agoMerge remote-tracking branch 'public/bug4533_part1'
Nick Mathewson [Wed, 18 Jan 2012 20:33:04 +0000 (15:33 -0500)] 
Merge remote-tracking branch 'public/bug4533_part1'

Conflicts:
src/common/compat.h

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 18 Jan 2012 20:29:41 +0000 (15:29 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoMerge remote-tracking branch 'public/bug4533_part2' into maint-0.2.2
Nick Mathewson [Wed, 18 Jan 2012 20:29:25 +0000 (15:29 -0500)] 
Merge remote-tracking branch 'public/bug4533_part2' into maint-0.2.2

13 years agoMerge branch 'bug4012_023_squashed'
Nick Mathewson [Wed, 18 Jan 2012 19:50:22 +0000 (14:50 -0500)] 
Merge branch 'bug4012_023_squashed'

13 years agoAdd missing documentation for some options introduced in 0.2.3.x
Nick Mathewson [Tue, 17 Jan 2012 20:51:32 +0000 (15:51 -0500)] 
Add missing documentation for some options introduced in 0.2.3.x

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 18 Jan 2012 19:45:18 +0000 (14:45 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoDocumentation for GiveGuardFlagTo... option
Nick Mathewson [Tue, 17 Jan 2012 20:28:23 +0000 (15:28 -0500)] 
Documentation for GiveGuardFlagTo... option

13 years agoUse tor_socket_t, not unsigned, in tor-fw-helper-natmp.c
Nick Mathewson [Wed, 18 Jan 2012 18:14:44 +0000 (13:14 -0500)] 
Use tor_socket_t, not unsigned, in tor-fw-helper-natmp.c

13 years agoFix SOCKET_OK test on win64.
Nick Mathewson [Wed, 18 Jan 2012 15:47:22 +0000 (10:47 -0500)] 
Fix SOCKET_OK test on win64.

Bugfix on 0.2.2.29-beta; partial fix for 4533; found by wanoskarnet

13 years agoWarn if sizeof(tor_socket_t) != sizeof(SOCKET)
Nick Mathewson [Tue, 17 Jan 2012 21:38:47 +0000 (16:38 -0500)] 
Warn if sizeof(tor_socket_t) != sizeof(SOCKET)

13 years agoUse SOCKET_OK macros in even more places
Nick Mathewson [Tue, 17 Jan 2012 21:35:07 +0000 (16:35 -0500)] 
Use SOCKET_OK macros in even more places

Add a TOR_INVALID_SOCKET macro to wrap -1/INVALID_SOCKET.

Partial work for bug4533.

13 years agofix crash bug in original feature4207 branch
Roger Dingledine [Tue, 17 Jan 2012 02:20:46 +0000 (21:20 -0500)] 
fix crash bug in original feature4207 branch

PLURAL() assumes that the plural is the canonical name for the option,
so now it is.

13 years agoMerge remote-tracking branch 'asn-mytor/bug4751'
Nick Mathewson [Mon, 16 Jan 2012 20:16:41 +0000 (15:16 -0500)] 
Merge remote-tracking branch 'asn-mytor/bug4751'

13 years agoMerge remote-tracking branch 'public/bug3325'
Nick Mathewson [Mon, 16 Jan 2012 20:10:38 +0000 (15:10 -0500)] 
Merge remote-tracking branch 'public/bug3325'

13 years agoMerge branch 'bug4889_v2'
Nick Mathewson [Mon, 16 Jan 2012 20:07:58 +0000 (15:07 -0500)] 
Merge branch 'bug4889_v2'

13 years agowhitespace fixes
Nick Mathewson [Wed, 11 Jan 2012 19:53:17 +0000 (14:53 -0500)] 
whitespace fixes

13 years agoConvert instances of tor_malloc+tor_snprintf into tor_asprintf
Nick Mathewson [Wed, 11 Jan 2012 19:02:59 +0000 (14:02 -0500)] 
Convert instances of tor_malloc+tor_snprintf into tor_asprintf

These were found by looking for tor_snprintf() instances that were
preceeded closely by tor_malloc(), though I probably converted some
more snprintfs as well.

(In every case, make sure that the length variable (if any) is
removed, renamed, or lowered, so that anything else that might have
assumed a longer buffer doesn't exist.)

13 years agoConvert instances of tor_snprintf+strdup into tor_asprintf
Nick Mathewson [Wed, 11 Jan 2012 19:02:59 +0000 (14:02 -0500)] 
Convert instances of tor_snprintf+strdup into tor_asprintf

These were found by looking for tor_snprintf() instances that were
followed closely by tor_strdup(), though I probably converted some
other snprintfs as well.

13 years agoTry to use smartlist_add_asprintf consistently
Nick Mathewson [Wed, 11 Jan 2012 18:44:10 +0000 (13:44 -0500)] 
Try to use smartlist_add_asprintf consistently

(To ensure correctness, in every case, make sure that the temporary
variable is deleted, renamed, or lowered in scope, so we can't have
any bugs related to accidentally relying on the no-longer-filled
variable.)

13 years agoRename smartlist_{v,}asprintf_add to smartlist_add_{v,}asprintf
Nick Mathewson [Wed, 11 Jan 2012 18:15:52 +0000 (13:15 -0500)] 
Rename smartlist_{v,}asprintf_add to smartlist_add_{v,}asprintf

13 years agoMerge branch 'feature3946_squashed'
Nick Mathewson [Mon, 16 Jan 2012 19:50:22 +0000 (14:50 -0500)] 
Merge branch 'feature3946_squashed'

13 years agocheck-spaces fix
Sebastian Hahn [Sat, 14 Jan 2012 02:58:11 +0000 (03:58 +0100)] 
check-spaces fix

13 years agoProvide consensus params to constrain the threshold for Fast
Nick Mathewson [Fri, 13 Jan 2012 17:05:08 +0000 (12:05 -0500)] 
Provide consensus params to constrain the threshold for Fast

resolves ticket 3946

13 years agoComment fixups on 4207 suggested by arma
Nick Mathewson [Mon, 16 Jan 2012 19:45:12 +0000 (14:45 -0500)] 
Comment fixups on 4207 suggested by arma

13 years agoAllow authorities to baddir/badexit/invalid/reject nodes by cc
Nick Mathewson [Fri, 13 Jan 2012 17:28:32 +0000 (12:28 -0500)] 
Allow authorities to baddir/badexit/invalid/reject nodes by cc

Implements ticket #4207

13 years agoImprove names of some pluggable transport-related functions.
George Kadianakis [Fri, 13 Jan 2012 14:44:30 +0000 (16:44 +0200)] 
Improve names of some pluggable transport-related functions.

13 years agoDon't crash when HS circs which have not yet found an OR conn time out
Robert Ransom [Fri, 13 Jan 2012 03:20:52 +0000 (19:20 -0800)] 
Don't crash when HS circs which have not yet found an OR conn time out

Fixes bug #4897, not yet in any release.

Using n_circ_id alone here (and below, when n_conn is NULL) really sucks,
but that's a separate bug which will need a changes/ file.

13 years agoMove logging of bad hostnames into parse_extended_hostname
Nick Mathewson [Wed, 11 Jan 2012 20:55:21 +0000 (15:55 -0500)] 
Move logging of bad hostnames into parse_extended_hostname

This fixes bug 3325, where a bad .exit would get logged as a bad .onion

13 years agoMake openssl 0.9.8l log message accurate
Nick Mathewson [Wed, 11 Jan 2012 20:41:46 +0000 (15:41 -0500)] 
Make openssl 0.9.8l log message accurate

fixes 4837

13 years agoDo not pretend to allow PADDING as the first cell of a v3 handshake
Nick Mathewson [Wed, 11 Jan 2012 17:34:28 +0000 (12:34 -0500)] 
Do not pretend to allow PADDING as the first cell of a v3 handshake

13 years agoMerge branch 'prop187_squashed'
Nick Mathewson [Wed, 11 Jan 2012 17:27:14 +0000 (12:27 -0500)] 
Merge branch 'prop187_squashed'

13 years agoFix a missing iso_time_nospace_usec
Nick Mathewson [Wed, 11 Jan 2012 17:23:43 +0000 (12:23 -0500)] 
Fix a missing iso_time_nospace_usec

Apparently I missed a case when converting sec,usec to
yyyy-mm-ddThh:mm:ss.uuuuuu .

13 years agoMerge branch 'feature3457-v4-nm-squashed'
Nick Mathewson [Wed, 11 Jan 2012 17:10:14 +0000 (12:10 -0500)] 
Merge branch 'feature3457-v4-nm-squashed'

Conflicts:
src/or/rendclient.c

13 years agoUse spaceless ISO8601 time format, not sec,usec.
Nick Mathewson [Wed, 11 Jan 2012 15:48:05 +0000 (10:48 -0500)] 
Use spaceless ISO8601 time format, not sec,usec.

13 years agoImplement proposal 187: reserve a cell type for client authorization
Nick Mathewson [Thu, 27 Oct 2011 00:19:29 +0000 (20:19 -0400)] 
Implement proposal 187: reserve a cell type for client authorization

This needs a changes file and more testing.

13 years agodefensive programming to catch duplicate calls to connection_init_or_handshake_state
Nick Mathewson [Thu, 27 Oct 2011 00:19:25 +0000 (20:19 -0400)] 
defensive programming to catch duplicate calls to connection_init_or_handshake_state

13 years agoMerge remote-tracking branch 'origin/maint-0.2.2'
Nick Mathewson [Wed, 11 Jan 2012 16:07:37 +0000 (11:07 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.2'

13 years agoMerge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2
Nick Mathewson [Wed, 11 Jan 2012 16:07:13 +0000 (11:07 -0500)] 
Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2

13 years agoFix a compilation warning for our bug4822 fix on 64-bit linux
Nick Mathewson [Wed, 11 Jan 2012 16:06:31 +0000 (11:06 -0500)] 
Fix a compilation warning for our bug4822 fix on 64-bit linux

13 years agoAdd clarity/typesafety wrappers for control_event_circuit_status_minor
Nick Mathewson [Wed, 11 Jan 2012 15:28:20 +0000 (10:28 -0500)] 
Add clarity/typesafety wrappers for control_event_circuit_status_minor

13 years agoRename CIRC2 to CIRC_MINOR
Nick Mathewson [Wed, 11 Jan 2012 15:19:24 +0000 (10:19 -0500)] 
Rename CIRC2 to CIRC_MINOR

Also give the arguments to control_event_circuit_status_minor real
names.

13 years agoMerge branch 'bug3825c_squashed'
Nick Mathewson [Wed, 11 Jan 2012 00:23:44 +0000 (19:23 -0500)] 
Merge branch 'bug3825c_squashed'

13 years agoChop out the intro point calculation until it is simple enough for nickm to grok
Nick Mathewson [Tue, 10 Jan 2012 23:50:48 +0000 (18:50 -0500)] 
Chop out the intro point calculation until it is simple enough for nickm to grok

13 years agoUse my original formula for number of replacements for an intro point
Robert Ransom [Sun, 8 Jan 2012 09:48:39 +0000 (01:48 -0800)] 
Use my original formula for number of replacements for an intro point

A fixup commit which was intended to make this formula easier to read
broke it instead.

13 years agoMerge remote-tracking branch 'public/bug4650_nm_squashed'
Nick Mathewson [Tue, 10 Jan 2012 22:59:49 +0000 (17:59 -0500)] 
Merge remote-tracking branch 'public/bug4650_nm_squashed'

13 years agowhitespace and warning fixes for bug4746
Nick Mathewson [Tue, 10 Jan 2012 21:53:37 +0000 (16:53 -0500)] 
whitespace and warning fixes for bug4746

13 years agochanges file for bug4746
Nick Mathewson [Tue, 10 Jan 2012 21:53:27 +0000 (16:53 -0500)] 
changes file for bug4746

13 years agoMerge remote-tracking branch 'asn-mytor/bug4746'
Nick Mathewson [Tue, 10 Jan 2012 21:44:03 +0000 (16:44 -0500)] 
Merge remote-tracking branch 'asn-mytor/bug4746'

13 years agoMerge branch 'absolute_cookie_file'
Nick Mathewson [Tue, 10 Jan 2012 20:00:02 +0000 (15:00 -0500)] 
Merge branch 'absolute_cookie_file'

13 years agochanges file for #4881
Nick Mathewson [Tue, 10 Jan 2012 19:59:49 +0000 (14:59 -0500)] 
changes file for #4881

13 years agoAdd missing documentation for counter-mode checks
Nick Mathewson [Tue, 10 Jan 2012 16:13:45 +0000 (11:13 -0500)] 
Add missing documentation for counter-mode checks

13 years agoClean up indentation in aes.c
Nick Mathewson [Tue, 10 Jan 2012 15:07:33 +0000 (10:07 -0500)] 
Clean up indentation in aes.c

13 years agoTest for broken counter-mode at runtime
Nick Mathewson [Mon, 9 Jan 2012 22:40:11 +0000 (17:40 -0500)] 
Test for broken counter-mode at runtime

To solve bug 4779, we want to avoid OpenSSL 1.0.0's counter mode.
But Fedora (and maybe others) lie about the actual OpenSSL version,
so we can't trust the header to tell us if it's safe.

Instead, let's do a run-time test to see whether it's safe, and if
not, use our built-in version.

fermenthor contributed a pretty essential fixup to this patch. Thanks!

13 years agoMerge branch 'openssl_versions_squashed'
Nick Mathewson [Tue, 10 Jan 2012 15:41:03 +0000 (10:41 -0500)] 
Merge branch 'openssl_versions_squashed'

13 years agoWe no longer need to detect openssl without RAND_poll()
Nick Mathewson [Thu, 5 Jan 2012 20:08:05 +0000 (15:08 -0500)] 
We no longer need to detect openssl without RAND_poll()

We require openssl 0.9.7 or later, and RAND_poll() was first added in
openssl 0.9.6.

13 years agoAdd macros to construct openssl version numbers
Nick Mathewson [Thu, 5 Jan 2012 20:05:17 +0000 (15:05 -0500)] 
Add macros to construct openssl version numbers

It's a pain to convert 0x0090813f to and from 0.9.8s-release on the
fly, so these macros should help.