Delivery-Date: Sun, 17 May 2015 12:54:45 -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.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	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 2146A1E052A
	for <archiver@seul.org>; Sun, 17 May 2015 12:54:44 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 900DD350BB;
	Sun, 17 May 2015 16:54:38 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 0D4C7350A8
 for <tor-talk@lists.torproject.org>; Sun, 17 May 2015 16:54:35 +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 8IK1VZSgrIK4 for <tor-talk@lists.torproject.org>;
 Sun, 17 May 2015 16:54:34 +0000 (UTC)
Received: from mx.sysfu.com (mx.sysfu.com [104.207.157.172])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "mx.sysfu.com",
 Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id B0A5034CE1
 for <tor-talk@lists.torproject.org>; Sun, 17 May 2015 16:54:34 +0000 (UTC)
X-Greylist: delayed 398 seconds by postgrey-1.34 at eugeni;
 Sun, 17 May 2015 16:54:34 UTC
Received: from work-pc.lan (172-7-164-197.lightspeed.sndgca.sbcglobal.net
 [172.7.164.197]) by mx.sysfu.com (OpenSMTPD) with ESMTPS id 3fdbd3d1
 TLS version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO
 for <tor-talk@lists.torproject.org>;
 Sun, 17 May 2015 09:47:52 -0700 (PDT)
To: tor-talk@lists.torproject.org
References: <20150517112641-728-3379-mailpile@mailpile-home>
Date: Sun, 17 May 2015 09:45:52 -0700
MIME-Version: 1.0
From: Seth <list@sysfu.com>
Message-ID: <op.xysguqwtbgbjo9@work-pc.lan>
In-Reply-To: <20150517112641-728-3379-mailpile@mailpile-home>
User-Agent: Opera Mail/1.0 (Win32)
Subject: Re: [tor-talk] Making a Site Available as both a Hidden Service and
 on the www - thoughts?
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-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

On Sun, 17 May 2015 04:26:41 -0700, Ben <ben@gerbil.it> wrote:
> Minor Tweaks might be needed
> ---------------------------------------------
>
> There are some base assumptions that have already been made within the
> site - Javascript has been used sparingly if at all, but setting up a HS
> brings a few extra (potential) complications.
>
> All (internal) URL references will need to be relative - including the
> URL's issued in redirects (where applicable).
>
> Basically, care would need to be taken to make sure readers aren't
> accidentally directed off the HS and onto the www site.

Another idea (hat tip to Blockchain.info support) is you can take the  
visitor's IP address, and at the time of connection, check the list of tor  
exit nodes (somewhere like here:  
https://check.torproject.org/exit-addresses ), and if it matches, redirect  
them to your own .onion site.

You can visit blockchain.info from any Tor connected browser to see it in  
action, works beautifully.
-- 
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

