openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4.02k stars 3.49k forks source link

[tor] support sandboxing for torrc #10635

Open ghost opened 4 years ago

ghost commented 4 years ago

Maintainer: @hauke @tripolar Environment: Master & 19.07

Description: https://2019.www.torproject.org/docs/tor-manual.html.en#Sandbox

Without sandbox support it prints in the log

This version of Tor was built without support for sandboxing. To build with support for sandboxing on Linux, you must have libseccomp and its necessary header files (e.g. seccomp.h).

tripolar commented 4 years ago

feel free to submit a patch

ghost commented 4 years ago

Someone with the capability to generate a patch would certainly have done so in the first place instead of opening an issue here.

Feel at liberty to close if you are not inclined to look at the feature and how to commit it.

ghost commented 4 years ago

Been considering to submit a patch but learned that it a signing off is required which though is not available through Github's web UI. Thus no point in asking for a PR.

ja-pa commented 4 years ago

@n8v8R Hi, I can create patch for that. But I'm not sure in which builds is SECCOMP activated so it won't be compiled with this option in every target.

ghost commented 4 years ago

@ja-pa appreciate the offer and would be obliged if you could create the patch. SECCOMP is already installed on my node.