Fix: OpenVPN remove compression options (security)
- Affects FastestVPN - Affects Hide My Ass - Affects IP Vanish - Affects IVPN - Affects NordVPN - Affects PrivateVPN - Affects ProtonVPN - Affects VPN Unlimited - Affects VyprVPN
This commit is contained in:
@@ -35,7 +35,6 @@ func (f *Fastestvpn) BuildConf(connection models.Connection,
|
||||
"ping-restart 0",
|
||||
"tls-client",
|
||||
"tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-RSA-WITH-AES-256-CBC-SHA", //nolint:lll
|
||||
"comp-lzo",
|
||||
"key-direction 1",
|
||||
"tun-mtu 1500",
|
||||
"tun-mtu-extra 32",
|
||||
|
||||
@@ -28,8 +28,6 @@ func (h *HideMyAss) BuildConf(connection models.Connection,
|
||||
// HideMyAss specific
|
||||
"remote-cert-tls server", // updated name of ns-cert-type
|
||||
// "route-metric 1",
|
||||
"comp-lzo yes",
|
||||
"comp-noadapt",
|
||||
|
||||
// Added constant values
|
||||
"mute-replay-warnings",
|
||||
|
||||
@@ -27,7 +27,6 @@ func (i *Ipvanish) BuildConf(connection models.Connection,
|
||||
"tls-exit",
|
||||
|
||||
// Ipvanish specific
|
||||
"comp-lzo",
|
||||
"tls-cipher TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-DSS-WITH-AES-256-CBC-SHA:TLS-RSA-WITH-AES-256-CBC-SHA",
|
||||
|
||||
// Added constant values
|
||||
|
||||
@@ -30,7 +30,6 @@ func (i *Ivpn) BuildConf(connection models.Connection,
|
||||
|
||||
// IVPN specific
|
||||
"remote-cert-tls server", // updated name of ns-cert-type
|
||||
"comp-lzo no",
|
||||
"key-direction 1",
|
||||
"tls-cipher TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-DSS-WITH-AES-256-CBC-SHA:TLS-RSA-WITH-AES-256-CBC-SHA",
|
||||
|
||||
|
||||
@@ -37,7 +37,6 @@ func (n *Nordvpn) BuildConf(connection models.Connection,
|
||||
"tun-mtu-extra 32",
|
||||
"mssfix " + strconv.Itoa(int(settings.MSSFix)),
|
||||
"reneg-sec 0",
|
||||
"comp-lzo no",
|
||||
"key-direction 1",
|
||||
"ping 15",
|
||||
"ping-restart 0",
|
||||
|
||||
@@ -28,7 +28,6 @@ func (p *Privatevpn) BuildConf(connection models.Connection,
|
||||
"tls-exit",
|
||||
|
||||
// Privatevpn specific
|
||||
"comp-lzo",
|
||||
|
||||
// Added constant values
|
||||
"auth-nocache",
|
||||
|
||||
@@ -39,7 +39,6 @@ func (p *Protonvpn) BuildConf(connection models.Connection,
|
||||
"reneg-sec 0",
|
||||
"key-direction 1",
|
||||
"pull",
|
||||
"comp-lzo no",
|
||||
|
||||
// Added constant values
|
||||
"auth-nocache",
|
||||
|
||||
@@ -23,7 +23,6 @@ func (p *Provider) BuildConf(connection models.Connection,
|
||||
"reneg-sec 0",
|
||||
"ping 5",
|
||||
"ping-exit 30",
|
||||
"comp-lzo no",
|
||||
"route-metric 1",
|
||||
|
||||
// Added constant values
|
||||
|
||||
@@ -31,7 +31,6 @@ func (v *Vyprvpn) BuildConf(connection models.Connection,
|
||||
"tls-exit",
|
||||
|
||||
// Vyprvpn specific
|
||||
"comp-lzo",
|
||||
// "verify-x509-name lu1.vyprvpn.com name",
|
||||
"tls-cipher TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA", //nolint:lll
|
||||
|
||||
|
||||
Reference in New Issue
Block a user