Commit 190b9681 authored by anonym's avatar anonym
Browse files

Merge remote-tracking branch...

Merge remote-tracking branch 'origin/test/16701-more-robust-and-realistic-stream-isolation' into stable

Fix-committed: #16701
parents 7652bfb6 5372a4a7
......@@ -291,7 +291,8 @@ When /^I monitor the network connections of (.*)$/ do |application|
"done > #{@process_monitor_log}")
end
Then /^I see that (.+) is properly stream isolated$/ do |application|
Then /^I see that (.+) is properly stream isolated(?: after (\d+) seconds)?$/ do |application, delay|
sleep delay.to_i if delay
info = stream_isolation_info(application)
expected_ports = [info[:socksport]]
expected_ports << 9051 if info[:controller]
......@@ -309,7 +310,8 @@ Then /^I see that (.+) is properly stream isolated$/ do |application|
end
And /^I re-run tails-security-check$/ do
$vm.execute_successfully("tails-security-check", :user => LIVE_USER)
$vm.execute_successfully("systemctl --user restart tails-security-check.service",
:user => LIVE_USER)
end
And /^I re-run htpdate$/ do
......
@product @check_tor_leaks
Feature: Tor stream isolation is effective
As a Tails user
I want my Torified sessions to be sensibly isolated from each other to prevent identity correlation
I want my Tor streams to be sensibly isolated from each other to prevent identity correlation
Background:
Given I have started Tails from DVD and logged in and the network is connected
......@@ -9,7 +9,7 @@ Feature: Tor stream isolation is effective
Scenario: tails-security-check is using the Tails-specific SocksPort
When I monitor the network connections of tails-security-check
And I re-run tails-security-check
Then I see that tails-security-check is properly stream isolated
Then I see that tails-security-check is properly stream isolated after 10 seconds
Scenario: htpdate is using the Tails-specific SocksPort
When I monitor the network connections of htpdate
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment