doc:appunti:linux:sa:debian_upgrade_11_12
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:debian_upgrade_11_12 [2025/03/03 16:33] – [pnp4nagios] niccolo | doc:appunti:linux:sa:debian_upgrade_11_12 [2025/06/24 11:53] (current) – [Configuration with TLS] niccolo | ||
---|---|---|---|
Line 125: | Line 125: | ||
===== OpenVPN BF-CBC not supported ===== | ===== OpenVPN BF-CBC not supported ===== | ||
- | L' | + | ==== Configuration with --secret PSK ==== |
- | L' | + | In a configuration with PSK (**%%--secret%%** option) the **%%--cipher%%** parameter selects the cipher to use on the data channel. The default setting would be **BF-CBC**, |
+ | |||
+ | < | ||
+ | # Do not use the default BF-CBC cipher, it was removed because of its 64-bit block size. | ||
+ | cipher AES-256-CBC | ||
+ | # Get the PSK from the external file. | ||
+ | secret my-openvpn-secret.key | ||
+ | </ | ||
+ | |||
+ | Of course, the other end of the VPN must support the same encryption. **WARNING**: | ||
+ | |||
+ | ==== Configuration with TLS ==== | ||
+ | |||
+ | With OpenVPN 2.6.x the **%%--cipher%%** option should not be used any longer in TLS mode (e.g. when using EasyRSA). | ||
+ | |||
+ | With OpenVPN 2.4.x or lower: The values declared into the %%--cipher%% option were appended to **%%--data-ciphers%%** for compatiblity, | ||
< | < | ||
- | # The --cipher option | + | # The --cipher option |
- | # Notice that AES-256-GCM is not supported | + | |
#cipher AES-256-CBC | #cipher AES-256-CBC | ||
- | # | + | # Use --data-ciphers |
- | # Newer connections using TLS uses the --data-ciphers | + | data-ciphers AES-256-GCM: |
- | data-ciphers AES-256-GCM: | + | # Use --data-ciphers-fallback for peers that are old or have negotiation disabled, |
+ | # e.g. peers running OpenVPN 2.3 or older, or some embedded devices. | ||
+ | data-ciphers-fallback AES-256-CBC | ||
</ | </ | ||
+ | |||
===== PostgreSQL da 13 a 15 ===== | ===== PostgreSQL da 13 a 15 ===== | ||
Line 283: | Line 300: | ||
</ | </ | ||
- | infatti la costante | + | infatti la costante |
Si può installare **pnp4nagios-0.6.27-5** che risolve questa incompatibilità. Download da [[https:// | Si può installare **pnp4nagios-0.6.27-5** che risolve questa incompatibilità. Download da [[https:// |
doc/appunti/linux/sa/debian_upgrade_11_12.1741015995.txt.gz · Last modified: by niccolo