FS#80125 - [tor] enable GPL dependencies for PoW

Attached to Project: Arch Linux
Opened by trinity Pointard (trinity-1686a) - Wednesday, 01 November 2023, 02:34 GMT
Last edited by kpcyrd (kpcyrd) - Friday, 03 November 2023, 12:40 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Levente Polyak (anthraxx)
kpcyrd (kpcyrd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since version 0.4.8.x, tor has a --enable-gpl configure option. Enabling it is required to make use of the newly introduced PoW based protection for onion services (both on client and service side).

Steps to reproduce:
Add the following to /etc/tor/torrc:
```
HiddenServiceDir /var/lib/tor/my_service
HiddenServicePort 8080 8080
HiddenServicePoWDefensesEnabled 1
```
And try to run the service. It fails with these logs:
```
[warn] Hidden service proof-of-work defenses are enabled in our configuration but this build of tor does not include the required 'pow' module.
[warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
```
This task depends upon

Closed by  kpcyrd (kpcyrd)
Friday, 03 November 2023, 12:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thanks, HiddenServicePoWDefensesEnabled support is now enabled in 0.4.8.7-2
Comment by Toolybird (Toolybird) - Wednesday, 01 November 2023, 05:56 GMT
More detailed info here [1]

> --enable-gpl

Note: Obviously this changes the license [2] i.e. "this causes the resulting binary to be covered by the GPL"

[1] https://forum.torproject.org/t/proof-of-work-pow-defense-for-onion-service-is-released/8887
[2] https://gitlab.torproject.org/tpo/core/debian/tor/-/commit/2ed69025aba31eb16c90c0782e756158edfeca4a

Loading...