whonixcheck should check if torsocks IsolatePID stream isolation is functional

Information

ID: 802
PHID: PHID-TASK-ep3ow54tnspdvbusphee
Author: Patrick
Status at Migration Time: open
Priority at Migration Time: Normal

Description

We should run (simplified [*]) curl https://check.torproject.org three times during whonixcheck --leak-tests and compare the returned IP. If it differs, then stream isolation is functional.

This is important since use use torsocks through #uwt / uwtwrapper.


[*] actual code similar to here: https://github.com/Whonix/whonixcheck/blob/master/usr/lib/whonixcheck/check_stream_isolation.bsh


Related:

Comments