Download raw body.
Adding support for mirrors on the Tor network.
On 2025/03/19 08:56, David Uhden Collado wrote: > > > > - 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. > > References: > [1]: https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/xenocara/app/xenodm/config/Xsetup_0.in?rev=1.1&content-type=text/plain That's just a bunch of image files. No interaction with programs which intentionally restrict syscall access via pledge (i.e. ftp) and overriding the libc functions which they use with an LD_PRELOAD wrapper. > > 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? ?
Adding support for mirrors on the Tor network.