Parcourir la source

feat(conf): set AES-128-CBC as the cipher

Closes #55
Mustafa Arici il y a 8 ans
Parent
commit
77ae50b414
3 fichiers modifiés avec 8 ajouts et 6 suppressions
  1. 6 6
      bindata/bindata.go
  2. 1 0
      template/client.ovpn.tmpl
  3. 1 0
      template/server.conf.tmpl

Fichier diff supprimé car celui-ci est trop grand
+ 6 - 6
bindata/bindata.go


+ 1 - 0
template/client.ovpn.tmpl

@@ -7,6 +7,7 @@ proto {{ .Proto }}
 remote {{ .Hostname }} {{ .Port }}
 resolv-retry infinite
 ns-cert-type server
+cipher AES-128-CBC
 nobind
 keepalive 2 20
 persist-key

+ 1 - 0
template/server.conf.tmpl

@@ -233,6 +233,7 @@ keepalive 2 20
 ;cipher BF-CBC        # Blowfish (default)
 ;cipher AES-128-CBC   # AES
 ;cipher DES-EDE3-CBC  # Triple-DES
+cipher AES-128-CBC
 
 # Enable compression on the VPN link.
 # If you enable it here, you must also

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff