Delivery-Date: Sun, 05 Jul 2015 04:53:38 -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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	RCVD_IN_DNSWL_MED,T_DKIM_INVALID,T_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 BC7B21E0455;
	Sun,  5 Jul 2015 04:53:36 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id ADB4F34CEC;
	Sun,  5 Jul 2015 08:53:31 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id EEFBD34CDA
 for <tor-talk@lists.torproject.org>; Sun,  5 Jul 2015 08:53:27 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at 
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 He1TH6NNpJIB for <tor-talk@lists.torproject.org>;
 Sun,  5 Jul 2015 08:53:27 +0000 (UTC)
Received: from gerbil.it (unknown [107.6.175.158])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by eugeni.torproject.org (Postfix) with ESMTPS id C616633F97
 for <tor-talk@lists.torproject.org>; Sun,  5 Jul 2015 08:53:27 +0000 (UTC)
X-Greylist: delayed 487 seconds by postgrey-1.34 at eugeni;
 Sun, 05 Jul 2015 08:53:27 UTC
Received: from mailpile.local (localhost.localdomain [127.0.0.1])
 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by gerbil.it (Postfix) with ESMTPSA id 072241C29709;
 Sun,  5 Jul 2015 03:45:14 -0500 (CDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gerbil.it; s=default;
 t=1436085916; bh=swoikxHjiJJxEnijTYYOYrUKhrPRsatP0IItWgqr+34=;
 h=Subject:From:To:In-Reply-To:References:Date;
 b=VcYXjI2HghyngdZK84HP5CO+nPei96HSQwDkkPX1GIKKFqPLOqAksbiC7n2CdFG5s
 sT0mbmbOwQ3G2W/JQNtAbRsC1RpuHVR86UF1/YwvvWqS7bKJMXFsZBTe09XSpxrKYf
 7eqrpJQW3tAA1jdjffK78G2UwB0IBLTY+atK/2X8=
MIME-Version: 1.0
From: Ben <ben@gerbil.it>
To: "tor-talk@lists.torproject.org" <tor-talk@lists.torproject.org>
In-Reply-To: <1436081118-sup-8166@metis.syd1.tesser.org>
References: <1436081118-sup-8166@metis.syd1.tesser.org>
Date: Sun, 05 Jul 2015 08:02:55 -0000
Message-Id: <20150705080113-728-76655-mailpile@mailpile-home>
OpenPGP: id=1F9164D62373F057DF3971567F57C6686ACBCC6D; preference=signencrypt
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [tor-talk] OnionBalance Hidden Service has over 1 million
 successful hits in just 3 days
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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

Much the same, but with some stats (some of which are likely irrelevant,
but I poached the line from another script I use)


#!/bin/bash

torify curl -w
"%{http_code},\"$HOST\",\"$URL\",\"%{url_effective}\",%{time_total},%{time_namelookup},%{time_connect},%{time_redirect},%{time_starttransfer},%{size_download},%{size_request},%{num_redirects}\\n" -o /dev/null http://eujuuws2nacz4xw4.onion/ >> metrics 2> /dev/null

Running in a while loop that triggers 4 requests at a time. Only got as
far as setting running on one host



Sharif Olorin <sio@tesser.org> wrote:
> Hi s7r,
> 
> > I know there are people who built scripts to make automated requests
> > to this hidden service (thanks!): please share them on the mail list,
> > with as much details as you can. The more we know about how the
> > requests were made, the better we can make out of these numbers.
> 
> Dead-simple for my part:
> 
> ```
> cat >> ~/bin/stresstest.sh <<EOF
> #! /bin/bash
> 
> curl -s --socks5-hostname localhost:9050 http://eujuuws2nacz4xw4.onion/
> > /dev/null
> EOF
> chmod +x ~/bin/stresstest.sh
> ```
> 
> I then ran twelve instances of the above script in
> parallel (continuously in a `for ((;;))` loop) (four per host, three
> hosts each with their own Tor instance). This was done for just over 72
> hours from Jul 2 04:00 UTC. I'd meant to add some simple
> metrics-gathering/reporting of request time and the like (or maybe just
> Torify something like `siege`) but ultimately didn't get a chance.
> 
> Sharif
> 
-- 
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

