Delivery-Date: Mon, 19 Jan 2015 04:53:12 -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,NORMAL_HTTP_TO_IP,
	RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,URIBL_BLOCKED,
	WEIRD_PORT 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 90F821E0376
	for <archiver@seul.org>; Mon, 19 Jan 2015 04:53:10 -0500 (EST)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id D914733116;
	Mon, 19 Jan 2015 09:53:05 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 8CACB3310B
 for <tor-talk@lists.torproject.org>; Mon, 19 Jan 2015 09:52:59 +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 5_XTvtfl8fhr for <tor-talk@lists.torproject.org>;
 Mon, 19 Jan 2015 09:52:59 +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 61E6A33108
 for <tor-talk@lists.torproject.org>; Mon, 19 Jan 2015 09:52:59 +0000 (UTC)
X-Greylist: delayed 372 seconds by postgrey-1.34 at eugeni;
 Mon, 19 Jan 2015 09:52:59 UTC
Received: from [80.82.78.164] (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 1YD8ux-0007Ko-EI
 for tor-talk@lists.torproject.org; Mon, 19 Jan 2015 10:46:44 +0100
Message-ID: <54BCD27F.7000200@nirgal.com>
Date: Mon, 19 Jan 2015 09:46:39 +0000
From: contact_tor@nirgal.com
MIME-Version: 1.0
To: tor-talk@lists.torproject.org
References: <E42512B2-FB67-4222-AE0B-C6D1B02DEBB8@mail.bitmessage.ch>
In-Reply-To: <E42512B2-FB67-4222-AE0B-C6D1B02DEBB8@mail.bitmessage.ch>
X-SA-Exim-Connect-IP: 80.82.78.164
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: Re: [tor-talk] force apt-get & yum updates through tor?
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>

BM-2cTjsegDfZQNGQWUQjSwro6jrWLC9B3MN3@bitmessage.ch wrote:
> For debian 7.7, the only one that seems to actually force apt-get
> through tor is torsocks
> 
> OPTION 1: 
> sudo nano /etc/apt/apt.conf
> ADD THIS: Acquire::socks::proxy "socks5://127.0.0.1:9150";
> When using apt-get as normal, debian ignores this and skips tor

I never could make apt works directly with socks proxies. But html
proxies are fine. If you set up polipo or similar and use:
  Acquire::http::Proxy "http://127.0.0.1:8118/";
or for a specific PPA:
  Acquire::http::Proxy::abcdefghijklmnop.onion "http://127.0.0.1:8118/";

In recent versions, one can add a file with this in /etc/apt/apt.conf.d/

This works for me.
-- 
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

