Warning: Declaration of action_plugin_indexmenu::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php on line 18 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php:0) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/inc/auth.php on line 495 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php:0) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/inc/actions.php on line 210
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
weakdh:postfix-harden [2015/05/22 12:45] komsat [Step 5: Reload Postfix configuration.] |
weakdh:postfix-harden [2015/06/18 17:06] (current) komsat |
||
|---|---|---|---|
| Line 77: | Line 77: | ||
| <code> | <code> | ||
| - | ## ciphers config (server side) | + | ## ciphers config (server side) |
| - | + | ||
| - | # Cipher security grade to use. | + | |
| - | # Only for connections/services where TLS is set to mandatory | + | |
| - | # (eg. for SASL connections), smtpd_tls_ciphers is the | + | |
| - | # equivalent for non-mandatory connections | + | |
| - | smtpd_tls_mandatory_ciphers = high | + | |
| - | + | ||
| - | # set also non-mandatory to high. | + | |
| - | smtpd_tls_ciphers = high | + | |
| - | + | ||
| - | # Set protocols to not use | + | |
| - | smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3 | + | |
| - | smtpd_tls_protocols = $smtpd_tls_mandatory_protocols | + | |
| - | + | ||
| - | # security grade for ephemeral elliptic-curve Diffie-Hellman KEX | + | |
| - | smtpd_tls_eecdh_grade = ultra | + | |
| - | + | ||
| - | # Exclude unsafe ciphers. | + | |
| - | smtpd_tls_exclude_ciphers = | + | |
| - | NULL, | + | |
| - | aNULL, | + | |
| - | EXP, | + | |
| - | SSLv2, | + | |
| - | MD5, | + | |
| - | DES, | + | |
| - | RC4, | + | |
| - | aECDH, | + | |
| - | KRB5-DE5, | + | |
| - | CBC3-SHA | + | |
| + | # Cipher security grade to use. | ||
| + | # Only for connections/services where TLS is set to mandatory | ||
| + | # (eg. for SASL connections), smtpd_tls_ciphers is the | ||
| + | # equivalent for non-mandatory connections | ||
| + | smtpd_tls_mandatory_ciphers = high | ||
| + | |||
| + | # set also non-mandatory to high. | ||
| + | smtpd_tls_ciphers = high | ||
| + | |||
| + | # Set protocols to not use | ||
| + | smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3 | ||
| + | smtpd_tls_protocols = $smtpd_tls_mandatory_protocols | ||
| + | |||
| + | # security grade for ephemeral elliptic-curve Diffie-Hellman KEX | ||
| + | smtpd_tls_eecdh_grade = ultra | ||
| + | |||
| + | # Exclude unsafe ciphers. | ||
| + | smtpd_tls_exclude_ciphers = | ||
| + | NULL, | ||
| + | aNULL, | ||
| + | EXP, | ||
| + | SSLv2, | ||
| + | MD5, | ||
| + | DES, | ||
| + | RC4, | ||
| + | aECDH, | ||
| + | KRB5-DE5, | ||
| + | CBC3-SHA | ||
| ## Client side | ## Client side | ||
| - | + | ||
| - | # Exclude unsafe ciphers. | + | # Exclude unsafe ciphers. |
| - | smtp_tls_exclude_ciphers = $smtpd_tls_exclude_ciphers | + | smtp_tls_exclude_ciphers = $smtpd_tls_exclude_ciphers |
| - | smtp_tls_mandatory_ciphers = high | + | smtp_tls_mandatory_ciphers = high |
| - | smtp_tls_ciphers = $smtp_tls_mandatory_ciphers | + | smtp_tls_ciphers = $smtp_tls_mandatory_ciphers |
| - | + | ||
| - | # exclude unsafe protocols | + | # exclude unsafe protocols |
| - | smtp_tls_mandatory_protocols = !SSLv2, !SSLv3 | + | smtp_tls_mandatory_protocols = !SSLv2, !SSLv3 |
| - | smtp_tls_protocols = $smtp_tls_mandatory_protocols | + | smtp_tls_protocols = $smtp_tls_mandatory_protocols |
| </code> | </code> | ||