]> git.ipfire.org Git - ipfire-2.x.git/commit
Tor: Enable syscall sandbox
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 25 Sep 2021 07:07:58 +0000 (09:07 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 22 Oct 2021 10:20:37 +0000 (10:20 +0000)
commit0b6a2e761bc14d90725beda5b31f1637a599d163
tree0405d918d424c97b131b20ca6d16b959e5a2fafe
parent0e0c1a8aec13c626b905e97531a2f3f1b5d31e9b
Tor: Enable syscall sandbox

This makes post-exploitation activities harder, in case the local Tor
instance has been compromised. It is worth noticing that Tor won't
respond to a "GETINFO address" command on the control port if sandboxed,
but our CGI does not make use of it, and neither is any legitimate
service on IPFire doing so.

Tested on a small middle relay running on an IPFire machine.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/tor.cgi