Date: Sun, 14 Jun 2015 19:26:00 -0500 From: Karl Denninger <karl@denninger.net> To: freebsd-stable@freebsd.org Subject: Re: Sendmail problem after upgrade to r284296 Message-ID: <557E1B98.6070402@denninger.net> In-Reply-To: <alpine.BSF.2.20.1506141952140.853@Ace.nina.org> References: <alpine.BSF.2.20.1506141014130.852@Ace.nina.org> <20150614165507.GD95564@minime.local> <alpine.BSF.2.20.1506141333131.852@Ace.nina.org> <20150614180142.GE95564@minime.local> <alpine.BSF.2.20.1506141952140.853@Ace.nina.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms080708000100030106000008 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 6/14/2015 19:21, Frank Seltzer wrote: > I updated source and rebuilt world and kernel with no change in > sendmail's behavior. This is the revision I have now: > > root@Ace:/etc/mail/certs # svnlite info /usr/src/ > Path: /usr/src > Working Copy Root Path: /usr/src > URL: svn://ace/src/stable/10 > Relative URL: ^/stable/10 > Repository Root: svn://ace/src > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > Revision: 284384 > Node Kind: directory > Schedule: normal > Last Changed Author: kib > Last Changed Rev: 284375 > Last Changed Date: 2015-06-14 01:12:48 -0400 (Sun, 14 Jun 2015) > > root@Ace:/etc/mail/certs # uname -a > FreeBSD Ace.nina.org 10.1-STABLE FreeBSD 10.1-STABLE #0 r284384: Sun > Jun 14 16:40:15 EDT 2015 =20 > frank_s@Ace.nina.org:/usr/obj/usr/src/sys/GENERIC amd64 > > and openssl: > > root@Ace:/etc/mail/certs # openssl version > OpenSSL 1.0.1o-freebsd 12 Jun 2015 > > so I'm up to date there as well. > >> /etc/rc.d/sendmail stop >> mv /etc/mail/certs/dh.param{,~old} >> openssl dhparam -out /etc/mail/certs/dh.param 2048 >> /etc/rc.d/sendmail start > > After the update I got your email and followed your instructions, > except for moving dh.param because it didn't exist, and sendmail is > happy now. > > I checked and there is still no mention of this in /usr/src/UPDATING > so my question is, when and how is dh.param supposed to be created?=20 > Since I'm not the only one with this problem it doesn't seem to be > something I did or didn't do. What could have caused dh.param to not > be generated? > > Thanks, > Frank > It only needs to be done once (and now you've done it.) The reason is a bit obscure but has to do with some vulnerabilities discovered in DH key negotiation with weak parameter sets. Most mail servers do not check literally ANYTHING when it comes to SSL connections, but this is a VERY poor practice. That it's being tightened up is a good thing to a point, but there will be more of this sort of problem over time (particularly if people start getting uppity about broken certification chains or private CAs as a whole LOT of email servers run self-signed or local-CA-issued SSL certificates!) Are these potentially breakable too? Yes, with a MITM (man-in-the-middle) attack -- but that's not the same degree of vulnerability as the DH key problem, so hopefully the "cranking down of the screws" will stop before it gets to where it begins to SEVERELY impact mail exchange. --=20 Karl Denninger karl@denninger.net <mailto:karl@denninger.net> /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms080708000100030106000008 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGXzCC BlswggRDoAMCAQICASkwDQYJKoZIhvcNAQELBQAwgZAxCzAJBgNVBAYTAlVTMRAwDgYDVQQI EwdGbG9yaWRhMRIwEAYDVQQHEwlOaWNldmlsbGUxGTAXBgNVBAoTEEN1ZGEgU3lzdGVtcyBM TEMxHDAaBgNVBAMTE0N1ZGEgU3lzdGVtcyBMTEMgQ0ExIjAgBgkqhkiG9w0BCQEWE0N1ZGEg U3lzdGVtcyBMTEMgQ0EwHhcNMTUwNDIxMDIyMTU5WhcNMjAwNDE5MDIyMTU5WjBaMQswCQYD VQQGEwJVUzEQMA4GA1UECBMHRmxvcmlkYTEZMBcGA1UEChMQQ3VkYSBTeXN0ZW1zIExMQzEe MBwGA1UEAxMVS2FybCBEZW5uaW5nZXIgKE9DU1ApMIICIjANBgkqhkiG9w0BAQEFAAOC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RjHQeBE6 DNOx2NB0yisxXEu8Ywxa1p5anHITI+JAi2AYIt15Ya4mNP86N5Nht4jum7M0ws9Ac8+7uHb9 NCEstr/MwBr6eFZw+BxWSvn2sbVM1MrE8SuX+BRezt1XWmuUH0/+0mYqfhy9c9uViK10xdNT 9FrvqjUrBYsYONn5lJG9Dx8yicHr0d/dTBE06so8Fh6WOwnlPL5rlEtP81n2nMVMrL16Ap8P /mASNe95jz+hHMVn6T4/h3Y3bbUkLwAAAAAAAA== --------------ms080708000100030106000008--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?557E1B98.6070402>