tor_bridges.feature 3.73 KB
Newer Older
1
#11589
2
@product @fragile
3
Feature: Using Tails with Tor bridges and pluggable transports
4
  As a Tails user
5
  I want to circumvent censorship of Tor by using Tor bridges and pluggable transports
6
  And avoid connecting directly to the Tor Network
7
8

  Background:
9
    Given I have started Tails from DVD without network and logged in
10
11
    And I capture all network traffic
    When the network is plugged
12
    Then the Tor Connection Assistant autostarts
13

14
  Scenario: Using normal bridges
15
    When I configure some normal bridges in the Tor Connection Assistant
16
    Then Tor is ready
17
    And tca.conf includes the configured bridges
18
    And available upgrades have been checked
19
    And all Internet traffic has only flowed through the configured bridges
20
21

  Scenario: Using obfs4 pluggable transports
22
    When I configure some obfs4 bridges in the Tor Connection Assistant
23
    Then Tor is ready
24
    And tca.conf includes the configured bridges
25
    And available upgrades have been checked
26
27
28
29
30
31
    And all Internet traffic has only flowed through the configured bridges

  Scenario: Default Tor bridges
    When I configure the default bridges in the Tor Connection Assistant
    Then Tor is ready
    And Tor is configured to use the default bridges
32
    And tca.conf includes no bridge
33
    And available upgrades have been checked
34
    And all Internet traffic has only flowed through the configured bridges
35
36
37
38
39

  Scenario: Fall back to default bridges if failing to connect directly to the Tor network
    Given the Tor network is blocked
    When I configure a direct connection in the Tor Connection Assistant
    Then Tor is ready
40
    And tca.conf includes no bridge
41
42
    And available upgrades have been checked
    And Tor is configured to use the default bridges
anonym's avatar
anonym committed
43
    And all Internet traffic has only flowed through the configured bridges
44
45
46
47
48

  Scenario: TCA can reconnect after a connection failure
    Given the Tor network and default bridges are blocked
    When I try to configure a direct connection in the Tor Connection Assistant
    Then the Tor Connection Assistant reports that it failed to connect
49
    And tca.conf is empty
50
51
52
53
54
    # TCA does not have a simple "retry" so we restart it
    And I close the Tor Connection Assistant
    Given the Tor network and default bridges are unblocked
    And I start "Tor Connection" via GNOME Activities Overview
    Then Tor is ready
55
56
    # XXX: When #18470 is resolved, uncomment the following step
    #And tca.conf includes no bridge
57
    And available upgrades have been checked
anonym's avatar
anonym committed
58
    And all Internet traffic has only flowed through Tor
59
60
61
62
63

  Scenario: Normal bridges are not allowed in "Hide" mode
    When I try to configure some normal bridges in the Tor Connection Assistant in hide mode
    Then the Tor Connection Assistant complains that normal bridges are not allowed
    And I cannot click the "Connect to Tor" button
64
65
66
67
68
69
70
71
72
73
74

  Scenario: The same Tor configuration is applied when the network is reconnected
    Given I configure a direct connection in the Tor Connection Assistant
    And Tor is ready
    When I disconnect the network through GNOME
    And I connect the network through GNOME
    Then the Tor Connection Assistant autostarts
    And the Tor Connection Assistant connects to Tor
    And Tor is ready
    And Tor is using the same configuration as before
    And available upgrades have been checked
anonym's avatar
anonym committed
75
    And all Internet traffic has only flowed through Tor
76
77
78
79
80
81
82
83

  Scenario: Reconnecting from an unblocked network to a blocked network displays an error
    Given I configure a direct connection in the Tor Connection Assistant
    And Tor is ready
    And I disconnect the network through GNOME
    And the Tor network and default bridges are blocked
    When I connect the network through GNOME
    Then the Tor Connection Assistant reports that it failed to connect