Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-11668

[mod_verto] Verto socket could stuck due to race between poll() read detection and SSL layer buffering

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.5, 20.19.1
    • Fix Version/s: 20.19.2, 1.8.6
    • Component/s: verto
    • Labels:
      None
    • Environment:
      Debian 8
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      Linux am-fs-lo-03.anymeeting.com 3.16.0-6-amd64 #1 SMP Debian 3.16.56-1+deb8u1 (2018-05-08) x86_64 GNU/Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • lsb_release:
      Hide
      No LSB modules are available.
      Distributor ID: Debian
      Description: Debian GNU/Linux 8.11 (jessie)
      Release: 8.11
      Codename: jessie
      Show
      No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.11 (jessie) Release: 8.11 Codename: jessie
    • Compiler:
      gcc
    • Compiler Version:
      gcc version 4.9.2 (Debian 4.9.2-10+deb8u1)
    • FreeSWITCH GIT Revision:
      b865596c6db4c394f996e099796ca5e9799c4ba7
    • GIT Master Revision hash::
      01f82b82f6ee1b75d1f2f712083ff52c0566da83
    • FSS Support Agreement Customer Number and Company name:
      Intermedia

      Description

      If verto socket is secure, after we detect read we allow SSL layer to consume all data from socket while reading only specific amount of it.
      Thus data may be stuck in SSL layer read buffer, while poll() will return 'no-data-to-read'

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              shripchenko Sergey KHripchenko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: