Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-25418

rsync SST does not work with stunnel encryption

Details

    Description

      Due to number of bugs in rsync SST script it fails to properly start stunnel on donor

      [ ] Clients allowed=3984
      [.] stunnel 5.56 on x86_64-pc-linux-gnu platform
      [.] Compiled with OpenSSL 1.1.1c  28 May 2019
      [.] Running  with OpenSSL 1.1.1f  31 Mar 2020
      [.] Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LIBWRAP
      [ ] errno: (*__errno_location ())
      [!] Invalid configuration file name "127.0.0.2"
      [!] realpath: No such file or directory (2)
      [ ] Deallocating section defaults
      

      and if started would fail to verify peer and abort connection

      2021.04.14 17:45:08 LOG4[0]: CERT: Certificate not found in local repository
      2021.04.14 17:45:08 LOG4[0]: Rejected by CERT at depth=0: C=SE, ST=Stockholm, L=Stockholm, O=Oracle, OU=MySQL, CN=localhost
      2021.04.14 17:45:08 LOG3[0]: SSL_connect: ../ssl/statem/statem_clnt.c:1913: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
      rsync: did not see server greeting
      

      Attachments

        Activity

          Yurchenko Alexey created issue -
          jplindst Jan Lindström (Inactive) made changes -
          Field Original Value New Value
          Assignee Alexey [ yurchenko ] Jan Lindström [ jplindst ]
          jplindst Jan Lindström (Inactive) made changes -
          Fix Version/s 10.6 [ 24028 ]
          jplindst Jan Lindström (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Yurchenko Alexey made changes -
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 121036 ] MariaDB v4 [ 144593 ]
          jplindst Jan Lindström (Inactive) made changes -
          Assignee Jan Lindström [ jplindst ] Julius Goryavsky [ sysprg ]
          jplindst Jan Lindström (Inactive) made changes -
          Fix Version/s 10.6 [ 24028 ]
          serg Sergei Golubchik made changes -
          Fix Version/s 10.4 [ 22408 ]
          Fix Version/s 10.5 [ 23123 ]
          Fix Version/s 10.6 [ 24028 ]
          sysprg Julius Goryavsky made changes -
          issue.field.resolutiondate 2022-02-17 11:54:22.0 2022-02-17 11:54:22.391
          sysprg Julius Goryavsky made changes -
          Fix Version/s 10.8.1 [ 26815 ]
          Fix Version/s 10.7.1 [ 26120 ]
          Fix Version/s 10.5.11 [ 25734 ]
          Fix Version/s 10.4.20 [ 25733 ]
          Fix Version/s 10.3.30 [ 25732 ]
          Fix Version/s 10.2.39 [ 25731 ]
          Fix Version/s 10.6.1 [ 24437 ]
          Fix Version/s 10.4 [ 22408 ]
          Fix Version/s 10.5 [ 23123 ]
          Fix Version/s 10.6 [ 24028 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]

          People

            sysprg Julius Goryavsky
            Yurchenko Alexey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.