Project Number Date
test_Tails_ISO_devel 3488 21 Aug 2024, 12:26

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
The Tor enforcement is effective 43 0 0 0 0 43 6 3 9 2:40.106 Failed
Tags: @product
Feature The Tor enforcement is effective
As a Tails user I want all direct Internet connections I do by mistake or applications do by misconfiguration or buggy leaks to be blocked And as a Tails developer I want to ensure that the automated test suite detects firewall leaks reliably
Tags: @product
12.094
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in and the network is connected 11.540
Then the firewall's policy is to drop all IPv4 traffic 0.159
And the firewall is configured to only allow the clearnet and debian-tor users to connect directly to the Internet over IPv4 0.254
And the firewall's NAT rules only redirect traffic for the Unsafe Browser, Tor's TransPort, and DNSPort 0.054
And the firewall is configured to block all external IPv6 traffic 0.085
After features/support/hooks.rb:326 0.576
After features/support/hooks.rb:100 0.000
Tags: @product
41.177
Before features/support/hooks.rb:269 0.013
Given I have started Tails from DVD and logged in and the network is connected 11.601
And I capture all network traffic 0.007
When I successfully start the Unsafe Browser 16.625
And I open the Tails homepage in the Unsafe Browser 11.535
And the Tails homepage loads in the Unsafe Browser 0.597
Then the firewall leak detector has detected leaks 0.809
After features/support/hooks.rb:326 1.163
After features/support/hooks.rb:100 0.049
Tags: @product
12.914
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD and logged in and the network is connected 11.907
And I capture all network traffic 0.009
And I disable Tails' firewall 0.242
When I do a TCP DNS lookup of "torproject.org" 0.647
Then the firewall leak detector has detected leaks 0.107
After features/support/hooks.rb:326 0.614
After features/support/hooks.rb:100 0.045
Tags: @product
12.832
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in and the network is connected 11.758
And I capture all network traffic 0.008
And I disable Tails' firewall 0.242
When I do a UDP DNS lookup of "torproject.org" 0.736
Then the firewall leak detector has detected leaks 0.088
After features/support/hooks.rb:326 0.573
After features/support/hooks.rb:100 0.052
Tags: @product
16.122
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD and logged in and the network is connected 11.627
And I capture all network traffic 0.009
And I disable Tails' firewall 0.228
When I send some ICMP pings 4.148
Then the firewall leak detector has detected leaks 0.108
After features/support/hooks.rb:326 0.648
After features/support/hooks.rb:100 0.037
13.159
Scenario The Tor enforcement is effective at blocking untorified TCP connection attempts
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Steps
Given I have started Tails from DVD and logged in and the network is connected 11.800
When I open an untorified TCP connection to 1.2.3.4 on port 42 1.292
Then the untorified connection fails 0.000
And the untorified connection is logged as dropped by the firewall 0.067
Hooks
After features/support/hooks.rb:515 0.201
Unexpected connections were made
  #<OpenStruct mac_saddr="50:54:00:ef:5a:e6", mac_daddr="52:54:00:16:6f:22", protocol="tcp", sport=44606, dport=80, dns_question=[], saddr="10.2.1.157", daddr="38.145.60.20"> (FirewallAssertionFailedError)
./features/support/helpers/firewall_helper.rb:133:in `assert_all_connections'
./features/support/helpers/firewall_helper.rb:143:in `assert_no_leaks'
./features/support/hooks.rb:524:in `After'
After features/support/hooks.rb:326 5.021

SCENARIO FAILED: 'The Tor enforcement is effective at blocking untorified TCP connection attempts' (at time 04:15:37)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:15:37_The_Tor_enforcement_is_effective_at_blocking_untorified_TCP_connection_attempts.file_content_var_log_boot.log

Network capture: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:15:37_The_Tor_enforcement_is_effective_at_blocking_untorified_TCP_connection_attempts.pcap

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:15:37_The_Tor_enforcement_is_effective_at_blocking_untorified_TCP_connection_attempts.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:15:37_The_Tor_enforcement_is_effective_at_blocking_untorified_TCP_connection_attempts.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:15:37_The_Tor_enforcement_is_effective_at_blocking_untorified_TCP_connection_attempts.journal

After features/support/hooks.rb:100 0.000
12.941
Scenario The Tor enforcement is effective at blocking untorified UDP connection attempts
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Steps
Given I have started Tails from DVD and logged in and the network is connected 11.529
When I open an untorified UDP connection to 1.2.3.4 on port 42 1.345
Then the untorified connection fails 0.000
And the untorified connection is logged as dropped by the firewall 0.067
Hooks
After features/support/hooks.rb:515 0.257
Unexpected connections were made
  #<OpenStruct mac_saddr="50:54:00:ef:5a:e6", mac_daddr="52:54:00:16:6f:22", protocol="tcp", sport=44606, dport=80, dns_question=[], saddr="10.2.1.157", daddr="38.145.60.20"> (FirewallAssertionFailedError)
./features/support/helpers/firewall_helper.rb:133:in `assert_all_connections'
./features/support/helpers/firewall_helper.rb:143:in `assert_no_leaks'
./features/support/hooks.rb:524:in `After'
After features/support/hooks.rb:326 4.996

SCENARIO FAILED: 'The Tor enforcement is effective at blocking untorified UDP connection attempts' (at time 04:15:55)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:15:55_The_Tor_enforcement_is_effective_at_blocking_untorified_UDP_connection_attempts.file_content_var_log_boot.log

Network capture: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:15:55_The_Tor_enforcement_is_effective_at_blocking_untorified_UDP_connection_attempts.pcap

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:15:55_The_Tor_enforcement_is_effective_at_blocking_untorified_UDP_connection_attempts.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:15:55_The_Tor_enforcement_is_effective_at_blocking_untorified_UDP_connection_attempts.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:15:55_The_Tor_enforcement_is_effective_at_blocking_untorified_UDP_connection_attempts.journal

After features/support/hooks.rb:100 0.000
17.159
Scenario The Tor enforcement is effective at blocking untorified ICMP connection attempts
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.005
Steps
Given I have started Tails from DVD and logged in and the network is connected 11.697
When I open an untorified ICMP connection to 1.2.3.4 5.394
Then the untorified connection fails 0.000
And the untorified connection is logged as dropped by the firewall 0.066
Hooks
After features/support/hooks.rb:515 0.210
Unexpected connections were made
  #<OpenStruct mac_saddr="50:54:00:ef:5a:e6", mac_daddr="52:54:00:16:6f:22", protocol="tcp", sport=44606, dport=80, dns_question=[], saddr="10.2.1.157", daddr="38.145.60.20"> (FirewallAssertionFailedError)
./features/support/helpers/firewall_helper.rb:133:in `assert_all_connections'
./features/support/helpers/firewall_helper.rb:143:in `assert_no_leaks'
./features/support/hooks.rb:524:in `After'
After features/support/hooks.rb:326 4.937

SCENARIO FAILED: 'The Tor enforcement is effective at blocking untorified ICMP connection attempts' (at time 04:16:18)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:16:18_The_Tor_enforcement_is_effective_at_blocking_untorified_ICMP_connection_attempts.file_content_var_log_boot.log

Network capture: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:16:18_The_Tor_enforcement_is_effective_at_blocking_untorified_ICMP_connection_attempts.pcap

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:16:18_The_Tor_enforcement_is_effective_at_blocking_untorified_ICMP_connection_attempts.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:16:18_The_Tor_enforcement_is_effective_at_blocking_untorified_ICMP_connection_attempts.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3488/artifact/build-artifacts/04:16:18_The_Tor_enforcement_is_effective_at_blocking_untorified_ICMP_connection_attempts.journal

After features/support/hooks.rb:100 0.000
Tags: @product
21.704
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and logged in 8.017
And the system DNS is using the local DNS resolver 0.014
And the network is plugged 0.076
And I successfully configure Tor 13.584
Then the system DNS is still using the local DNS resolver 0.011
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.000