Bug#773663: Updated patch for popcon tor support
On Sun, May 20, 2018 at 08:06:00AM +0000, Niels Thykier wrote:
> On Wed, 7 Sep 2016 16:51:32 +0200 Bill Allombert <firstname.lastname@example.org>
> > On Sat, Aug 27, 2016 at 12:03:52AM +0100, Tim Retout wrote:
> > > A few more things before you consider shipping this (sorry for not
> > > thinking of them before my previous email):
> > >
> > > - torify is just a wrapper around torsocks. The tor package might be
> > > installed but not running, or some people might have machines with
> > > torsocks configured to talk to a remote Tor daemon. We should fall
> > > back at runtime if connecting via tor fails - this would probably even
> > > make the code clearer?
> > > - It would make sense to call the "--isolate" option in torsocks,
> > > otherwise this potentially identifies the tor circuit which the rest
> > > of your traffic is using, via e.g. the time of the cronjob, or at
> > > least highlights that it's a Debian system
> > > - I think the suggestion to have a separate default URL for tor
> > > submissions is a good one - if the HTTP default SUBMITURLS has not
> > > been changed, maybe switch to the tor one by default? And then insert
> > > the .onion URL when DSA kindly set it up.
> > Thanks for moving forward with this.
> > Woud you mind sending a popcon report through TOR and send me a
> > copy of /var/log/popularity-contest.gpg so that I can check the report
> > was received correctly ?
> I have applied the patch to my installed system, set USETOR to "yes" and
> generated a report plus submitted it today (it should have been
> submitted a few times actually).
Thanks! (and apologies to Tim to have missed the opportunuity to check Tim
original popularity-contest.gpg report).
I have received it just one (via http) on Sun May 20 08:02:01 UTC 2018
(however popcon cron.daily has a mechanism to prevent multiple submissions
in the same week).
> I have attached the .gpg file. I used
> the ".new" file because it seems that the popularity-contest.new.gpg is
> not renamed to popularity-contest.gpg any longer.
Yes this was changed in 1.65 (maybe by mistake) to fix bug 850568.
The only drawback I see is that tor has a number of dependencies that
will always appear as 'recently used' in popcon report. However if tor
is used regularly anyway this is not an issue.
I will apply the patch for popularity-contest 1.67
Imagine a large red swirl here.