Changes between Version 17 and Version 18 of CipherNegotiation


Ignore:
Timestamp:
08/11/20 16:08:13 (4 years ago)
Author:
tct
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CipherNegotiation

    v17 v18  
    44For full details please see: [[br]]
    55https://github.com/OpenVPN/openvpn/blob/master/doc/man-sections/cipher-negotiation.rst
    6 
    76
    87[[TOC(notitle, inline)]]
     
    1716
    1817== Common configurations
     18Commonly expected configurations of the ''Effective directives'' above.
    1919=== Servers
    20   a. Version 2.5
    21     i. Default configuration: No effective directives specified.[[br]]
    22     i. Using `--data-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC:BF-CBC`[[br]]
    23     [[br]]
    24   a. Version 2.4
    25     i. Default configuration: No effective directives specified.[[br]]
    26     i. Using `--cipher AES-256-CBC`[[br]]
    27     i. Using `--cipher AES-256-CBC` & `--ncp-disable`[[br]]
    28     [[br]]
    29   a. Version 2.3
    30     i. Default configuration: No effective directives specified.[[br]]
    31     i. Using `--cipher AES-256-CBC`[[br]]
    32     [[br]]
    33   a. Version 2.2
    34     i. Default configuration: No effective directives specified.[[br]]
    35     i. All bets are off.[[br]]
     20  * Version 2.5
     21    a. Default configuration: No effective directives specified.[[br]]
     22    a. Using: `--data-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC:BF-CBC`[[br]]
     23
     24  * Version 2.4
     25    a. Default configuration: No effective directives specified.[[br]]
     26    a. Using: `--cipher AES-256-CBC`[[br]]
     27    a. Using: `--cipher AES-256-CBC` & `--ncp-disable`[[br]]
     28
     29  * Version 2.3
     30    a. Default configuration: No effective directives specified.[[br]]
     31    a. Using: `--cipher AES-256-CBC`[[br]]
     32
     33  * Version 2.2
     34    a. Default configuration: No effective directives specified.[[br]]
     35    a. All bets are off.[[br]]
    3636
    3737=== Clients
    38   a. Version 2.5
    39     i. Default configuration: No effective directives specified.[[br]]
    40     [[br]]
    41   a. Version 2.4
    42     i. Default configuration: No effective directives specified.[[br]]
    43     [[br]]
    44   a. Version 2.3
    45     i. Default configuration: No effective directives specified.[[br]]
    46     [[br]]
    47   a. Version 2.2
    48     i. Default configuration: No effective directives specified.[[br]]
     38  * Version 2.5
     39    a. Default configuration: No effective directives specified.[[br]]
     40
     41  * Version 2.4
     42    a. Default configuration: No effective directives specified.[[br]]
     43    a. Using: `--cipher AES-256-CBC`[[br]]
     44
     45  * Version 2.3
     46    a. Default configuration: No effective directives specified.[[br]]
     47    a. Using: `--cipher AES-256-CBC`[[br]]
     48
     49  * Version 2.2
     50    a. Default configuration: No effective directives specified.[[br]]
     51    a. All bets are off.[[br]]
    4952
    5053== Expected Behaviour indexed by Server version
     
    5962  ||  AES-256-CBC  ||=  -  =||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
    6063  ||  BF-CBC       ||=  -  =||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
     64
    6165    * __Client version 2.4__
    6266  ||  `--cipher`   ||  NCP  ||  Connection       ||
     
    6468  ||  AES-256-CBC  ||  Yes  ||  OK. AES-256-GCM  ||
    6569  ||  BF-CBC       ||  Yes  ||  OK. AES-256-GCM  ||
     70
    6671    * __Client version 2.3__
    6772  ||  `--cipher`   ||  NCP  ||  Connection                ||
     
    6974  ||  AES-256-CBC  ||  No   ||  Fail. (no shared cipher)  ||
    7075  ||  BF-CBC       ||  No   ||  Fail. (no shared cipher)  ||
     76
    7177    * __Client version 2.2__
    7278  ||  `--cipher`   ||  NCP  ||  Connection               ||
     
    8389  ||  AES-256-CBC  ||  No   ||  OK. AES-256-CBC  ||
    8490  ||  BF-CBC       ||  No   ||  OK. BF-CBC       ||
     91
    8592    * __Client version 2.2__
    8693  ||  `--cipher`   ||  NCP  ||  Connection  ||
     
    93100||  -           ||=  -                     =||  Yes  ||
    94101
    95     i. Client version 2.5
     102    * __Client version 2.5__
    96103  ||  `--cipher`   ||=  `--data-ciphers`  =||=  `-fallback`  =||  NCP  ||  Connection  ||
    97104  ||    -          ||=  -  =||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
     
    99106  ||  BF-CBC       ||=  -  =||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
    100107
    101     i. Client version 2.4
     108    * __Client version 2.4__
    102109  ||  `--cipher`   ||=  `--ncp-ciphers`       =||  NCP  ||  Connection       ||
    103110  ||  -            ||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
     
    105112  ||  BF-CBC       ||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
    106113
     114    * __Client version 2.3__
     115  ||  `--cipher`   ||  NCP  ||  Connection  ||
     116  ||  -            ||  No   ||  OK. BF-CBC  ||
     117  ||  AES-256-CBC  ||  No   ||  Fail (no shared cipher)  ||
     118  ||  BF-CBC       ||  No   ||  OK. BF-CBC  ||
     119
     120    * __Client version 2.2__
     121  ||  `--cipher`   ||  NCP  ||  Connection  ||
     122  ||    -          ||  No   ||  OK. BF-CBC  ||
     123  ||  BF-CBC       ||  No   ||  OK. BF-CBC  ||
     124
     125=== Server version 2.4
     126==== Using: `--cipher AES-256-CBC`[[br]]
     127||  `--cipher`   ||=  `--ncp-ciphers`       =||  NCP  ||
     128||  AES-256-CBC  ||=  -                     =||  Yes  ||
     129
     130    * __Client version 2.5__
     131  ||  `--cipher`   ||=  `--data-ciphers`  =||=  `-fallback`  =||  NCP  ||  Connection  ||
     132  ||    -          ||=  -  =||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
     133  ||  AES-256-CBC  ||=  -  =||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
     134  ||  BF-CBC       ||=  -  =||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
     135
     136    * __Client version 2.4__
     137  ||  `--cipher`   ||=  `--ncp-ciphers`       =||  NCP  ||  Connection       ||
     138  ||  -            ||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
     139  ||  AES-256-CBC  ||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
     140  ||  BF-CBC       ||=  -  =||  Yes  ||  OK. AES-256-GCM  ||
     141
     142    * __Client version 2.3__
     143  ||  `--cipher`   ||  NCP  ||  Connection  ||
     144  ||  -            ||  No   ||  OK. BF-CBC  ||
     145  ||  AES-256-CBC  ||  No   ||  Fail (no shared cipher)  ||
     146  ||  BF-CBC       ||  No   ||  OK. BF-CBC  ||
     147
     148    * __Client version 2.2__
     149  ||  `--cipher`   ||  NCP  ||  Connection  ||
     150  ||    -          ||  No   ||  OK. BF-CBC  ||
     151  ||  BF-CBC       ||  No   ||  OK. BF-CBC  ||
     152
     153=== Server version 2.4
     154==== Using: `--cipher AES-256-CBC` & `--ncp-disable`[[br]]
     155||  `--cipher`   ||=  `--ncp-ciphers`       =||  NCP  ||
     156||  AES-256-CBC  ||=  -                     =||  No  ||
     157
     158    * __Client version 2.5__
     159  ||  `--cipher`   ||=  `--data-ciphers`  =||=  `-fallback`  =||  NCP  ||  Connection  ||
     160  ||    -          ||=  -  =||=  -  =||  Yes  ||  Fail (no shared cipher)  ||
     161  ||  AES-256-CBC  ||=  -  =||=  -  =||  Yes  ||  OK. AES-256-CBC  ||
     162  ||  BF-CBC       ||=  -  =||=  -  =||  Yes  ||  Fail (no shared cipher)  ||
     163
     164    * __Client version 2.4__
     165  ||  `--cipher`   ||=  `--ncp-ciphers`       =||  NCP  ||  Connection       ||
     166  ||  -            ||=  -  =||  Yes  ||  Fail (no shared cipher)  ||
     167  ||  AES-256-CBC  ||=  -  =||  Yes  ||  OK. AES-256-CBC  ||
     168  ||  BF-CBC       ||=  -  =||  Yes  ||  Fail (no shared cipher)  ||
     169
     170    * __Client version 2.3__
     171  ||  `--cipher`   ||  NCP  ||  Connection  ||
     172  ||  -            ||  No   ||  OK. BF-CBC  ||
     173  ||  AES-256-CBC  ||  No   ||  OK. AES-256-CBC  ||
     174  ||  BF-CBC       ||  No   ||  OK. BF-CBC  ||
     175
     176    * __Client version 2.2__
     177  ||  `--cipher`   ||  NCP  ||  Connection  ||
     178  ||    -          ||  No   ||  OK. BF-CBC  ||
     179  ||  BF-CBC       ||  No   ||  OK. BF-CBC  ||
     180
    107181
    108182----