Qmail
[Top] [All Lists]

Re: Dozens of qmail-smtpd processes eating 100% of CPU

To: qmail@list.cr.yp.to
Subject: Re: Dozens of qmail-smtpd processes eating 100% of CPU
From: Sami Farin <safari-qmail@safari.iki.fi>
Date: Sat, 19 May 2007 01:14:52 +0300
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <20070518211507.GI18422@caesar.cse.nd.edu>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <464DBC1B.30204@sourcefire.com> <20070518163703.GH29250@marvin.we-be-smart.org> <464DE3E0.8070200@sourcefire.com> <20070518175145.GA18422@caesar.cse.nd.edu> <924f29280705181128l286d84fdia4de414a7df6f2a1@mail.gmail.com> <20070518184604.GD18422@caesar.cse.nd.edu> <464E02AC.7000908@sourcefire.com> <20070518195903.GF18422@caesar.cse.nd.edu> <464E0C5C.1000400@sourcefire.com> <20070518211507.GI18422@caesar.cse.nd.edu>
User-agent: Mutt/1.5.15 (2007-04-06)
On Fri, May 18, 2007 at 15:15:07 -0600, Kyle Wheeler wrote:
...
>  The problem with permanent SSL certificates (as I understand it, and I'm no 
>  guru on SSL) is that given enough connections, which are all very regular 
>  (for example, you know that the greeting is the same each time, and you know 
>  the general structure of an SMTP conversation) you can begin to figure out 
>  what the certificate is. The way to solve this problem is to add a little 

RFC4492 defines Elliptic Curve Cryptography (ECC) Cipher Suites for TLS.
If you use ECDHE-ECDSA or ECDHE-RSA key exchange mechanisms,
you get forward secrecy.  It means that session keys are not compromized
if the static, certified keys belonging to the server and client are
compromized.

Latest openssl (cvs) supports ECDHE-ECDSA and ECDHE-RSA.
Also my patches to qmail and sslserver support them.
http://qmail.safari.iki.fi/dl/ucspi-ssl-ucspitls-latest-safari.diff

$ openssl s_client -connect 127.0.0.1:25 -starttls smtp -crlf -cipher 
ECDHE-ECDSA-AES256-SHA
...
New, TLSv1/SSLv3, Cipher is ECDHE-ECDSA-AES256-SHA
Server public key is 281 bit
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : ECDHE-ECDSA-AES256-SHA
    Session-ID: 327DDC0066BEAC18704A05D533225BDEAFFD571B16F3581BB2BB300510A09D89
    Session-ID-ctx: 
    Master-Key: 
68E9C949CED5E66C4D6DABF467524DBE93D05C161A57746C07872F5D74A88A4860CC4560DC703C720061AD851B3FDB64
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    Start Time: 1179525162
    Timeout   : 300 (sec)
    Verify return code: 18 (self signed certificate)
---

-- 

Attachment: pgpeusU4iBDjM.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>