Delivery-Date: Sat, 16 Aug 2014 09:28:42 -0400
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id AACFB1E094C;
	Sat, 16 Aug 2014 09:28:40 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 40B5E30C3B;
	Sat, 16 Aug 2014 13:28:36 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id E071730C2A
 for <tor-talk@lists.torproject.org>; Sat, 16 Aug 2014 13:28:32 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at eugeni.torproject.org
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 29z-d2718f2h for <tor-talk@lists.torproject.org>;
 Sat, 16 Aug 2014 13:28:32 +0000 (UTC)
X-Greylist: delayed 314 seconds by postgrey-1.34 at eugeni;
 Sat, 16 Aug 2014 13:28:32 UTC
Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de
 [80.67.31.97])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by eugeni.torproject.org (Postfix) with ESMTPS id 8E6AD30B32
 for <tor-talk@lists.torproject.org>; Sat, 16 Aug 2014 13:28:32 +0000 (UTC)
Received: from [78.35.144.65] (helo=fabiankeil.de)
 by smtprelay05.ispgateway.de with esmtpsa (SSLv3:AES128-SHA:128)
 (Exim 4.68) (envelope-from <freebsd-listen@fabiankeil.de>)
 id 1XIdww-0006ma-HU
 for tor-talk@lists.torproject.org; Sat, 16 Aug 2014 15:23:14 +0200
Date: Sat, 16 Aug 2014 15:23:23 +0200
From: Fabian Keil <freebsd-listen@fabiankeil.de>
To: tor-talk@lists.torproject.org
Message-ID: <7946984e.09b9a8bc@fabiankeil.de>
In-Reply-To: <20140813210532.GN8819@moria.seul.org>
References: <CAHXoDSAM=D1kvodauWYkZ9+9UPFtuFfKKqgeRAv=qJS1D9V5iA@mail.gmail.com>
 <53EBC80F.6040405@gmx.com> <20140813210532.GN8819@moria.seul.org>
MIME-Version: 1.0
X-Df-Sender: Nzc1MDY3
Subject: Re: [tor-talk] Performance
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3571268777770057937=="
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

--===============3571268777770057937==
Content-Type: multipart/signed; micalg=pgp-sha1;
 boundary="Sig_/Sio7kazxla9wI23QlYB1l=="; protocol="application/pgp-signature"

--Sig_/Sio7kazxla9wI23QlYB1l==
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Roger Dingledine <arma@mit.edu> wrote:

> On Wed, Aug 13, 2014 at 03:18:23PM -0500, Joe Btfsplk wrote:
> > The Privoxy part of the chain could be an issue.  What is your
> > reason for using Privoxy?
> > In general, I find Tor to be faster overall, since overhauls in
> > TorBrowser - when they stopped using Privoxy (& likely started other
> > speed increasing methods).
> > Other network changes could be partly responsibility for increased
> > speed.
>=20
> Privoxy will be slower for two reasons:
>
> A) It doesn't do the pipelining, etc that your browser can do. Earlier
> versions of privoxy would fetch the whole page before passing any of
> it to the browser. Maybe newer versions of Privoxy are smarter, but I
> bet there are still web performance features that it disables by adding
> another link in the chain.

Privoxy has to buffer the whole page if it's configured to filter it
as the last byte might affect whether or not the first byte has to
be modified.

If filtering is disabled (globally or for the current response),
the page isn't buffered. Encrypted responses aren't buffered either.
Earlier versions of Privoxy behaved the same way and I believe even
Privoxy's predecessor was "smart" enough for this.

> B) It doesn't make use of Tor's "optimistic data" feature, which sends
> the first chunk of application-level data along with the begin cell,
> effectively cutting out one of the two round-trips for a new page fetch.

Privoxy 3.0.21 and later support Tor's "optimistic data" feature
(with some limitations). While it technically improves performance,
it's seems rather hard for a human to tell whether or not it's enabled,
though.

> I guess the broader question is what the original poster was trying
> to do -- if the goal is to give Tor's protection to everybody in the
> organization, and the way they did it was to leave everybody using
> Internet Explorer, and then redirect outgoing traffic into Privoxy
> which sends it through Tor, then the users are missing out on all
> the application-level privacy and security features that Tor Browser
> gives you:
> https://www.torproject.org/projects/torbrowser/design/

No arguments there.

Whether or not they are missing out on "performance" and which
part of the chain is to blame is a different question, though.

Fabian

--Sig_/Sio7kazxla9wI23QlYB1l==
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlPvW0sACgkQBYqIVf93VJ2kAQCcDQEBM+weaoqS9bW97mglkD6i
L14AniojcOIKpeQEGI2nJdOAluQGz9tR
=STsn
-----END PGP SIGNATURE-----

--Sig_/Sio7kazxla9wI23QlYB1l==--

--===============3571268777770057937==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

--===============3571268777770057937==--

