File tree 4 files changed +19
-13
lines changed
4 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ Line wrap the file at 100 chars. Th
24
24
## [ Unreleased]
25
25
### Added
26
26
- Add WireGuard over Shadowsocks obfuscation to the CLI. It can be enabled with
27
- ` mullvad obfuscation set mode shadowsocks ` .
27
+ ` mullvad obfuscation set mode shadowsocks ` . This will also be used automatically when connecting
28
+ fails with other methods.
28
29
29
30
#### Windows
30
31
- Add experimental support for Windows ARM64.
Original file line number Diff line number Diff line change @@ -54,10 +54,11 @@ constraints the following default ones will take effect:
54
54
- The second attempt will connect to a Wireguard relay on port 443
55
55
- The third attempt will connect to a Wireguard relay over IPv6 (if IPv6 is configured on the host) on a random port
56
56
- The fourth-to-seventh attempt will alternate between Wireguard and OpenVPN
57
- - The fourth attempt will connect to an OpenVPN relay over TCP on port 443
57
+ - The fourth attempt will connect to a Wireguard relay on a random port using Shadowsocks for obfuscation
58
58
- The fifth attempt will connect to a Wireguard relay on a random port using [ UDP2TCP obfuscation] ( https://github.com/mullvad/udp-over-tcp )
59
59
- The sixth attempt will connect to a Wireguard relay over IPv6 on a random port using UDP2TCP obfuscation (if IPv6 is configured on the host)
60
- - The seventh attempt will connect to an OpenVPN relay over a bridge on a random port
60
+ - The seventh attempt will connect to an OpenVPN relay over TCP on port 443
61
+ - The eighth attempt will connect to an OpenVPN relay over a bridge on a random port
61
62
62
63
If no tunnel has been established after exhausting this list of attempts, the relay selector will
63
64
loop back to the first default constraint and continue its search from there.
Original file line number Diff line number Diff line change @@ -68,11 +68,7 @@ pub static RETRY_ORDER: Lazy<Vec<RelayQuery>> = Lazy::new(|| {
68
68
. ip_version( IpVersion :: V6 )
69
69
. build( ) ,
70
70
// 4
71
- RelayQueryBuilder :: new( )
72
- . openvpn( )
73
- . transport_protocol( TransportProtocol :: Tcp )
74
- . port( 443 )
75
- . build( ) ,
71
+ RelayQueryBuilder :: new( ) . wireguard( ) . shadowsocks( ) . build( ) ,
76
72
// 5
77
73
RelayQueryBuilder :: new( ) . wireguard( ) . udp2tcp( ) . build( ) ,
78
74
// 6
@@ -82,6 +78,12 @@ pub static RETRY_ORDER: Lazy<Vec<RelayQuery>> = Lazy::new(|| {
82
78
. ip_version( IpVersion :: V6 )
83
79
. build( ) ,
84
80
// 7
81
+ RelayQueryBuilder :: new( )
82
+ . openvpn( )
83
+ . transport_protocol( TransportProtocol :: Tcp )
84
+ . port( 443 )
85
+ . build( ) ,
86
+ // 8
85
87
RelayQueryBuilder :: new( )
86
88
. openvpn( )
87
89
. transport_protocol( TransportProtocol :: Tcp )
Original file line number Diff line number Diff line change @@ -290,11 +290,7 @@ fn assert_retry_order() {
290
290
. ip_version( IpVersion :: V6 )
291
291
. build( ) ,
292
292
// 4
293
- RelayQueryBuilder :: new( )
294
- . openvpn( )
295
- . transport_protocol( TransportProtocol :: Tcp )
296
- . port( 443 )
297
- . build( ) ,
293
+ RelayQueryBuilder :: new( ) . wireguard( ) . shadowsocks( ) . build( ) ,
298
294
// 5
299
295
RelayQueryBuilder :: new( ) . wireguard( ) . udp2tcp( ) . build( ) ,
300
296
// 6
@@ -304,6 +300,12 @@ fn assert_retry_order() {
304
300
. ip_version( IpVersion :: V6 )
305
301
. build( ) ,
306
302
// 7
303
+ RelayQueryBuilder :: new( )
304
+ . openvpn( )
305
+ . transport_protocol( TransportProtocol :: Tcp )
306
+ . port( 443 )
307
+ . build( ) ,
308
+ // 8
307
309
RelayQueryBuilder :: new( )
308
310
. openvpn( )
309
311
. transport_protocol( TransportProtocol :: Tcp )
You can’t perform that action at this time.
0 commit comments