From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 8 13:13:30 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37A6D8AF for ; Wed, 8 Oct 2014 13:13:30 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03E33D5B for ; Wed, 8 Oct 2014 13:13:30 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s98DDTSW019189 for ; Wed, 8 Oct 2014 13:13:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 194241] New: net/svnup can not connect to freebsd svn repos "SSL_connect error:1" Date: Wed, 08 Oct 2014 13:13:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: spil.oss@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2014 13:13:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194241 Bug ID: 194241 Summary: net/svnup can not connect to freebsd svn repos "SSL_connect error:1" Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: spil.oss@gmail.com CC: jcm@visi.com CC: jcm@visi.com Flags: maintainer-feedback?(jcm@visi.com) Created attachment 148094 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148094&action=edit Patch to enable TLSv1 When I run svnup it returns a large amount of SSL_connect error:1 lines. There seems to have been a change in the svnup servers that no longer allow it to negotiate SSLv3 connections. $ openssl s_client -connect svn0.eu.freebsd.org:443 -ssl3 CONNECTED(00000003) 34379134632:error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_pkt.c:1260:SSL alert number 40 34379134632:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake failure:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_pkt.c:596: Negotiating a TLSv1(.1/.2) connection is fine. The SSL connection is established with connection->ctx = SSL_CTX_new(SSLv23_client_method()); which will be broken for people using security/libressl then the code disables TLSv1 breaking the ssl session setup. SSL_CTX_set_options(connection->ctx, SSL_OP_ALL | SSL_OP_NO_TICKET | SSL_OP_NO_TLSv1); When I remove "| SSL_OP_NO_TLSv1" it compiles and runs fine. --- Comment #1 from Bugzilla Automation --- Maintainer CC'd -- You are receiving this mail because: You are the assignee for the bug.