Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 22B0A200B79 for ; Wed, 3 Aug 2016 00:11:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1E01A160A76; Tue, 2 Aug 2016 22:11:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9AD87160AAC for ; Wed, 3 Aug 2016 00:11:22 +0200 (CEST) Received: (qmail 31983 invoked by uid 500); 2 Aug 2016 22:11:21 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 31699 invoked by uid 99); 2 Aug 2016 22:11:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 22:11:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C06502C0E3D for ; Tue, 2 Aug 2016 22:11:20 +0000 (UTC) Date: Tue, 2 Aug 2016 22:11:20 +0000 (UTC) From: "Benjamin Mahler (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MESOS-5913) Stale socket FD usage when using libevent + SSL. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 Aug 2016 22:11:23 -0000 [ https://issues.apache.org/jira/browse/MESOS-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Mahler updated MESOS-5913: ----------------------------------- Fix Version/s: 0.27.4 > Stale socket FD usage when using libevent + SSL. > ------------------------------------------------ > > Key: MESOS-5913 > URL: https://issues.apache.org/jira/browse/MESOS-5913 > Project: Mesos > Issue Type: Bug > Components: libprocess > Affects Versions: 0.27.3, 0.28.2, 1.0.0 > Reporter: Benjamin Mahler > Assignee: Benjamin Mahler > Priority: Blocker > Fix For: 0.28.3, 1.0.1, 0.27.4 > > > [~jgehrcke] reported seeing garbage data being sent on sockets when hitting the master or agents with a lot of HTTP requests. > I was able to reproduce this locally by running HTTP requests while hammering the code with HTTPS requests. > Looking at the code, it appears that accepted SSL sockets may be used after they are closed (see [here|https://github.com/apache/mesos/blob/dbc5a19149655cde2b76dca4af73c4a7b22529dd/3rdparty/libprocess/src/libevent_ssl_socket.cpp#L94-L156]). > This code may call {{SSL_shutdown}} after {{Socket::~Impl}} closes the fd. This means that if the fd is re-used, we may accidentally write a TLS Alert message to the re-used fd. -- This message was sent by Atlassian JIRA (v6.3.4#6332)