From owner-freebsd-ports-bugs@freebsd.org Fri Mar 24 19:33:22 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40DE9D1BEE5 for ; Fri, 24 Mar 2017 19:33:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 277317F6 for ; Fri, 24 Mar 2017 19:33:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v2OJXLqx091628 for ; Fri, 24 Mar 2017 19:33:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218095] security/mbedtls Date: Fri, 24 Mar 2017 19:33:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gmc@metro.cx X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tijl@FreeBSD.org 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: quoted-printable 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.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2017 19:33:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218095 Bug ID: 218095 Summary: security/mbedtls Product: Ports & Packages Version: Latest Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: tijl@FreeBSD.org Reporter: gmc@metro.cx CC: freebsd-arm@FreeBSD.org Assignee: tijl@FreeBSD.org CC: freebsd-arm@FreeBSD.org Flags: maintainer-feedback?(tijl@FreeBSD.org) Created attachment 181161 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181161&action= =3Dedit client openvpn config When upgrading my arm router that is running openvpn-mbedtls, the upgrade of mbedtls to 2.4.2_1 breaks the ability to send traffic over the openvpn tunn= el (a tap ethernet bridge). Apart from the upgrade I did not change the configuration of the openvpn cl= ient nor that of the server, keys were the same (validity several years from now= ). Both server and client are ntp synced. The logs on both the server and client side indicate no issue, and would sh= ow the same as successful connections before the mbedtls upgrade. tcpdump on t= he server even showed what looked like keep-alive pings and responses from the client (every 10 seconds I would see a udp packet from port 1194 on the ser= ver to the client and about one second later another udp packet in the opposite direction). At some point I noticed that the client openvpn was using 80 to 90% cpu continuously, while normally it uses very little (up to 5% normally, 20% at most when there is lots of traffic).=20 I then changed the server to use openvpn with openssl. That did not change anything. Then I changed the client to openvpn with openssl and instantly (without changing anything else) everything was back to normal. Traffic wou= ld flow immediately after the openvpn connection was initiated. The server is an amd64 machine in a datacenter, the client an armv5 device = at home behind an adsl connection. Packages for the armv5 device I compile with poudriere on the amd64 machine. Attached a number of files: the client and server openvpn config files and = the poudriere build log. Not sure where to report this, and if anyone is even interested in this iss= ue. I'm now running openvpn with openssl. I'd rather use mbedtls, but the curre= nt situation is an acceptable work-around. --=20 You are receiving this mail because: You are the assignee for the bug.=