Delivery-Date: Wed, 16 Mar 2016 12:11:10 -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 AA27B1E0682;
	Wed, 16 Mar 2016 12:11:06 -0400 (EDT)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 838B939605;
	Wed, 16 Mar 2016 16:11:03 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 330B235416
 for <tor-talk@lists.torproject.org>; Wed, 16 Mar 2016 16:11:00 +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 Yzx5_sduckqg for <tor-talk@lists.torproject.org>;
 Wed, 16 Mar 2016 16:11:00 +0000 (UTC)
Received: from khazad-dum.seul.org (khazad-dum.csail.mit.edu [128.31.0.47])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "moria.seul.org", Issuer "moria.seul.org" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id 1A35D329F0
 for <tor-talk@lists.torproject.org>; Wed, 16 Mar 2016 16:11:00 +0000 (UTC)
Received: by khazad-dum.seul.org (Postfix, from userid 501)
 id 87C851E0682; Wed, 16 Mar 2016 12:10:57 -0400 (EDT)
Date: Wed, 16 Mar 2016 12:10:57 -0400
From: Roger Dingledine <arma@mit.edu>
To: tor-talk@lists.torproject.org
Message-ID: <20160316161057.GO8732@moria.seul.org>
References: <405305.95445.bm@smtp133.mail.ir2.yahoo.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <405305.95445.bm@smtp133.mail.ir2.yahoo.com>
User-Agent: Mutt/1.5.20 (2009-12-10)
Subject: Re: [tor-talk] Reload "torrc" without restart TorBrowser possible?
 Reload every 600 seconds?
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>

On Wed, Mar 16, 2016 at 01:59:21PM +0100, Ben Stover wrote:
> When I start TorBrowser the current "torrc" file is read.
> 
> Now assume I change the instructions in "torrc".
> 
> Do I have to exit and restart TorBrowser to get the new "torrc" instructions working?

On Windows, yes.

On other operating systems (Linus, OS X, Unix), you can send a HUP
signal to the Tor process ("kill -HUP <pid>"), and Tor will reload
its torrc file.

All of that said, exiting and restarting is the most thorough (and thus
the simplest) approach.

(On Windows, the Tor control protocol interface lets you send "signal
reload" to do the equivalent to a hup signal. But it's not straightforward
to get an authenticated connection to Tor's control port in the Tor
Browser case, so I wouldn't call that an easy avenue either.)

--Roger

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

