From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-2.0 required=3.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.kgio.general Subject: [PATCH (kgio-monkey)] force SSLv3 for session cache tests Date: Fri, 27 Apr 2012 04:36:38 +0000 Message-ID: <20120427043638.GA6697@dcvr.yhbt.net> References: <20120427043638.GA6697@dcvr.yhbt.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1335501426 6387 80.91.229.3 (27 Apr 2012 04:37:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2012 04:37:06 +0000 (UTC) To: kgio@librelist.org Original-X-From: kgio@librelist.org Fri Apr 27 06:37:03 2012 Return-path: Envelope-to: gclrkg-kgio@m.gmane.org In-Reply-To: <20120427043638.GA6697@dcvr.yhbt.net> List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: kgio@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.kgio.general:144 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SNcvV-0006jl-LQ for gclrkg-kgio@m.gmane.org; Fri, 27 Apr 2012 06:37:02 +0200 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 9B87521D97B for ; Fri, 27 Apr 2012 04:44:05 +0000 (UTC) TLS 1.2 seems to enforce caching, or I'm doing something wrong... --- I've pushed this out to master on git://bogomips.org/kgio-monkey Does knowledge of TLS 1.2 care to give us a short version of what's going on? I was testing with OpenSSL 1.0.1a. I've never considered kgio-monkey a serious project and there's no warranty, so if you're leaking information or SWAT knocking is knocking down your door... test/external_session_cache.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/external_session_cache.rb b/test/external_session_cache.rb index d995311..2fcd915 100644 --- a/test/external_session_cache.rb +++ b/test/external_session_cache.rb @@ -16,7 +16,7 @@ module TestExternalSessionCache def run_openssl(args = nil) orig_err = $stderr.dup $stderr.reopen(tmp = Tempfile.new("tmperr")) - cmd = "openssl s_client -connect #@host:#@port -CAfile ca.crt -reconnect" + cmd = "openssl s_client -ssl3 -connect #@host:#@port -CAfile ca.crt -reconnect" cmd << " #{args.join(' ')}" if args o = begin `#{cmd}` -- EW