From owner-freebsd-current@FreeBSD.ORG Sat May 19 20:04:55 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E8D716A46B for ; Sat, 19 May 2007 20:04:55 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id 15EB513C484 for ; Sat, 19 May 2007 20:04:55 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from ppp-70-253-194-32.dsl.austtx.swbell.net ([70.253.194.32]:59277 helo=[192.168.200.104]) by thebighonker.lerctr.org with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1HpVAa-000CxF-FL; Sat, 19 May 2007 15:04:54 -0500 In-Reply-To: <8F80AFD4-C83E-413F-8158-CFD27453AE87@lerctr.org> References: <299DD8FD-0E7A-4E3D-9902-2C7FE45AA7BC@lerctr.org> <20070519141503.07e94a36@kan.dnsalias.net> <20070519143105.65072348@kan.dnsalias.net> <9F2A10A0-2B58-4BE4-8DD0-9D7811B6BCE6@lerctr.org> <20070519155919.453081a5@kan.dnsalias.net> <8F80AFD4-C83E-413F-8158-CFD27453AE87@lerctr.org> Mime-Version: 1.0 (Apple Message framework v752.2) Message-Id: From: Larry Rosenman Date: Sat, 19 May 2007 15:04:41 -0500 To: Alexander Kabaev X-Mailer: Apple Mail (2.752.2) X-Spam-Score: -4.3 (----) X-LERCTR-Spam-Score: -4.3 (----) X-Spam-Report: SpamScore (-4.3/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, DKIM_POLICY_SIGNSOME=0.001, HTML_MESSAGE=0.001, TW_CD=0.077 X-LERCTR-Spam-Report: SpamScore (-4.3/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, DKIM_POLICY_SIGNSOME=0.001, HTML_MESSAGE=0.001, TW_CD=0.077 DomainKey-Status: no signature Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: PINE: SIG 6 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2007 20:04:55 -0000 On May 19, 2007, at 3:02 PM, Larry Rosenman wrote: > > On May 19, 2007, at 2:59 PM, Alexander Kabaev wrote: > >> Now, you need to know contents of s, s->session, session- >> >sess_cert and >> s->session->sess_cert->peer_dh_tmp from frame #7. >> >> I have no time do to the debugging over email and I am not really >> interested until someone else traces this to GCC problem. >> >> The email from Pieter de Goeje seems to indicate that libssl code >> seems to be at fault. >> >> -- >> Alexander Kabaev > > 1) I can give access to the machine/core > 2) I'm not an expert. > > Here is what you asked for: > gdb) fr 7 > #7 0x0000000800d4374d in ssl3_send_client_key_exchange > (s=0x80154e180) > at /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ > s3_clnt.c:1845 > 1845 if (s->session->sess_cert- > >peer_dh_tmp != NULL) > (gdb) print s->session->sess_cert->peer_dh_tmp > $1 = (DH *) 0x8014341e0 > (gdb) print *$1 > $2 = {pad = 0, version = 0, p = 0x80152b800, g = 0x80152b860, > length = 0, > pub_key = 0x80152bdc0, priv_key = 0x0, flags = 1, method_mont_p = > 0x0, q = 0x0, > j = 0x0, seed = 0x0, seedlen = 0, counter = 0x0, references = 1, > ex_data = { > sk = 0x0, dummy = -1515870811}, meth = 0x8010d63e0, engine = 0x0} > (gdb) > > > I can give shell/sudo access to any developer that wants to look > into this. > > If libssl is at fault, who/what do I need to do? > > LER > Here are the other prints: (gdb) print s->session $3 = (SSL_SESSION *) 0x80143aa00 (gdb) print *$3 $4 = {ssl_version = 769, key_arg_length = 0, key_arg = "\000\000\000 \000\000\000\000", master_key_length = 0, master_key = '\0' , session_id_length = 32, session_id = "D\032?Q&4a\212_q??????N#\177?, not_resumable = 0, sess_cert = 0x80152c1c0, peer = 0x801437560, verify_result = 19, references = 1, timeout = 7200, time = 1179603504, compress_meth = 0, cipher = 0x0, cipher_id = 0, ciphers = 0x0, ex_data = {sk = 0x0, dummy = 0}, prev = 0x0, next = 0x0} (gdb) print s->session->sess_cert $5 = (struct sess_cert_st *) 0x80152c1c0 (gdb) print *$5 $6 = {cert_chain = 0x80152aac0, peer_cert_type = 0, peer_key = 0x80152c1d8, peer_pkeys = {{x509 = 0x801437560, privatekey = 0x0}, {x509 = 0x0, privatekey = 0x0}, {x509 = 0x0, privatekey = 0x0}, {x509 = 0x0, privatekey = 0x0}, {x509 = 0x0, privatekey = 0x0}, {x509 = 0x0, privatekey = 0x0}}, peer_rsa_tmp = 0x0, peer_dh_tmp = 0x8014341e0, peer_ecdh_tmp = 0x0, references = 1} (gdb) > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 512-248-2683 E-Mail: ler@lerctr.org > US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 > > > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893