Index | Thread | Search

From:
David Uhden Collado <david@uhden.dev>
Subject:
Re: Adding support for mirrors on the Tor network.
To:
Stuart Henderson <stu@spacehopper.org>
Cc:
tech@openbsd.org
Date:
Wed, 19 Mar 2025 08:56:00 +0000

Download raw body.

Thread
>> - A section has been added to the manual page (installurl.5) stating that
>> using Tor mirrors requires the net/tor and net/torsocks ports to be
>> installed and the Tor daemon to be running.
> 
> Adding something to base that relies on the torsocks LD_PRELOAD wrapper
> for use with ftp(1) (which uses pledge) is not ideal.

It is not the only feature in the base system that depends on a port to 
work. In the Xsetup_0 script that xenodm uses [1], there is a function 
that depends on the graphics/openbsd-backgrounds port to work. In this 
case it is commented out but I don't know how I could do that in my case.

> 
> Isn't there some way it can be done via tor's HTTPTunnelPort and setting
> http_proxy in the environment rather than modifying the scripts?
> 

References:
[1]: 
https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/xenocara/app/xenodm/config/Xsetup_0.in?rev=1.1&content-type=text/plain