Delivery-Date: Wed, 04 Feb 2015 10:21:31 -0500
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=-3.5 required=5.0 tests=BAYES_00,
	RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,URIBL_BLOCKED
	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 626FF1E08D9
	for <archiver@seul.org>; Wed,  4 Feb 2015 10:21:29 -0500 (EST)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 04C55339AD;
	Wed,  4 Feb 2015 15:21:26 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 70608339AD
 for <tor-talk@lists.torproject.org>; Wed,  4 Feb 2015 15:21:22 +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 XoZADTUmQ0Mu for <tor-talk@lists.torproject.org>;
 Wed,  4 Feb 2015 15:21:22 +0000 (UTC)
Received: from silicium.nirgal.com (silicium.nirgal.com
 [IPv6:2001:bc8:33b8:100::1])
 (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (Client did not present a certificate)
 by eugeni.torproject.org (Postfix) with ESMTPS id 481C8339AB
 for <tor-talk@lists.torproject.org>; Wed,  4 Feb 2015 15:21:22 +0000 (UTC)
Received: from [193.110.157.151] (helo=127.0.0.1)
 by silicium.nirgal.com with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
 (Exim 4.80) (envelope-from <contact_tor@nirgal.com>)
 id 1YJ1lN-0007XY-PW
 for tor-talk@lists.torproject.org; Wed, 04 Feb 2015 16:21:17 +0100
Message-ID: <54D23891.3040409@nirgal.com>
Date: Wed, 04 Feb 2015 15:19:45 +0000
From: contact_tor@nirgal.com
MIME-Version: 1.0
To: tor-talk@lists.torproject.org
X-SA-Exim-Connect-IP: 193.110.157.151
X-SA-Exim-Mail-From: contact_tor@nirgal.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000)
X-SA-Exim-Scanned: Yes (on silicium.nirgal.com)
Subject: [tor-talk] How to protect apache local-restricted from secret
	service access?
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>

Hi

When you have a website that is available from a tor secret service, how
do you forbid access to url restricted to ip=localhost?

I'm thinking of apache default http://xxxxx.onion/server-status for example.

Using "a2dismod status" is the obvious solution for that one, but does
anyone had a more generic solution?
Maybe a full VM with a vif interface? That's an heavy solution...
Anything more simple?

The web site I'm thinking about has a public address, nothing to hide,
and the .onion address is only there to protect the users. But I'd
rather not introduce too many security issues...

(BTW, a warning about these issues on
https://www.torproject.org/docs/tor-hidden-service.html would be nice)

-- 
Nirgal
-- 
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

