From owner-freebsd-net@FreeBSD.ORG Thu Nov 3 08:33:28 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 195CD16A420 for ; Thu, 3 Nov 2005 08:33:28 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8A4743D72 for ; Thu, 3 Nov 2005 08:33:25 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id 80E2E4086; Thu, 3 Nov 2005 03:33:49 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id 3F86989; Thu, 3 Nov 2005 03:33:48 -0500 (EST) Received: from brian by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1EXaXB-000AOB-Fc; Thu, 03 Nov 2005 08:33:21 +0000 Date: Thu, 3 Nov 2005 08:33:21 +0000 From: Brian Candler To: "Meka[ni]" Message-ID: <20051103083321.GA39912@uk.tiscali.com> References: <20051102093504.64edad5f@hal9000> <20051102123529.GA36617@uk.tiscali.com> <20051102141715.60c8dd6a@hal9000> <20051102181633.GA37799@uk.tiscali.com> <20051103001651.71ff4037@hal9000> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051103001651.71ff4037@hal9000> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: openssl & gmail problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 08:33:28 -0000 On Thu, Nov 03, 2005 at 12:16:51AM +0100, Meka[ni] wrote: > > > 14:07:04.306017 IP 64.233.183.109.25 > 82.208.205.163.59631: P 82:129(47) ack 153 win 5720 > > > 0x0000: 4510 0057 c387 0000 3206 ac3f 40e9 b76d E..W....2..?@..m > > > 0x0010: 52d0 cda3 0019 e8ef 6674 b5e2 a714 7dc4 R.......ft....}. > > > 0x0020: 5018 1658 4026 0000 3530 3220 352e 352e P..X@&..502.5.5. > > > 0x0030: 3120 556e 7265 636f 676e 697a 6564 2063 1.Unrecognized.c > > > 0x0040: 6f6d 6d61 6e64 207a 3733 736d 3233 3930 ommand.z73sm2390 > > > 0x0050: 3536 6e66 620d 0a 56nfb.. > > > > "502 5.5.1 Unrecognized command z73sm239056nfb" + CRLF > > (looks like openssl has tried to start a TLS session anyway) > Is there anything I can do about it? It works on my gentoo-linux box. I've tried all available versions of openssl. By the way, where should I keep the certs, and do I need anything from the FreeBSD source code? Thanx a lot. :o) Please stop replying to me personally. See http://www.eyrie.org/~eagle/faqs/questions.html To "do something about it" you modify the openssl source code so that it sends the correct SMTP sequence (EHLO, wait for reply, STARTTLS). If it "works" on your gentoo-linux box, pointing to the same smtp server, then I can only guess that your gentoo-linux box is running a different or patched version of openssl. You can run the session from there and use tcpdump to show what is different in the message exchange. If it's a different version of openssl then try installing the version of openssl which is in the ports collection. If you reply to me again personally, your message will go straight in the trash. Regards, Brian.