[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Popcon-developers] Bug#773663: Bug#773663: popularity-contest: Patch to enable Tor support



On Mon, Apr 27, 2015 at 02:18:28PM +0200, Bill Allombert wrote:
> 2) It is a bit awkward that USETOR depends on USEHTTP. It would seems more
> orthogonal if USETOR was an alternative transport or applied to all other
> transports, or an option for USEHTTP (e.g. USEHTTP=tor). 
> I realize the interaction between all the piece is more complex than this
> simple model.

To elaborate on that:

You wrote:

>> The patch relies on exit nodes to connect to the HTTP service and prevents
>> SMTP fallback. If a popcon hidden service was to be set up in future, it could
>> be used with:
>> SUBMITURLS="http://HIDDEN_SERVICE_NAME/cgi-bin/popcon.cgi";

Is such URL valid if TOR is not used ?
If not and this is implemented, then USETOR=auto will fail if tor is not available,
so USETOR and USEHTTP will need to be decoupled (and a variable TOR_SUBMITURLS will
be needed).

But anyway this can be done in a later release, so it is not an urgent concern.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



Reply to: