<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>48011</bug_id>
          
          <creation_ts>2023-10-15 19:25:22 +0300</creation_ts>
          <short_desc>libopenconnect reports garbage as its version #</short_desc>
          <delta_ts>2024-03-26 11:14:20 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>openconnect</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ildar">ildar</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>a</cc>
    
    <cc>is.petrov</cc>
    
    <cc>shaba</cc>
    
    <cc>week</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>234990</commentid>
    <comment_count>0</comment_count>
    <who name="ildar">ildar</who>
    <bug_when>2023-10-15 19:25:22 +0300</bug_when>
    <thetext>$  /usr/sbin/openconnect localhost
WARNING: This version of OpenConnect is v9.12 but
         the libopenconnect library is ��8

Из-за этого не работает на некоторые сервисы, например OpenConnect server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>235242</commentid>
    <comment_count>1</comment_count>
    <who name="ildar">ildar</who>
    <bug_when>2023-10-19 21:49:40 +0300</bug_when>
    <thetext>Уточню, что регрессия появилась начиная с версии 9.01-alt1, т.е. с задания 307410 (см. https://packages.altlinux.org/ru/sisyphus/srpms/openconnect/tasks/pkg_index/?task_repo=sisyphus )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>235244</commentid>
    <comment_count>2</comment_count>
    <who name="Илья Петров">is.petrov</who>
    <bug_when>2023-10-19 22:33:56 +0300</bug_when>
    <thetext>Это может как то влиять на cisco anyconnect? У меня начала вылетать ошибка сертиката
&quot; Some settings (e.g. certificate matching) may not function as expected if a local profile is expected to be used. Verify that the selected host is in the server list section of the profile and that the profil&quot; 
Что-то с ертификатами.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>235256</commentid>
    <comment_count>3</comment_count>
    <who name="ildar">ildar</who>
    <bug_when>2023-10-20 08:06:24 +0300</bug_when>
    <thetext>Илья, в ошибке сказано, что там _возможно_  с сертификатами проблема.
Думаю, имеет смысл запустить openconnect в консоли с `-v --dump-http-traffic` и посмотреть, что за ошибку выдаёт. Дамп, если публиковать, то с большой осторожностью!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>235322</commentid>
    <comment_count>4</comment_count>
    <who name="Илья Петров">is.petrov</who>
    <bug_when>2023-10-20 22:11:41 +0300</bug_when>
    <thetext>(Ответ для ildar на комментарий #3)
&gt; Илья, в ошибке сказано, что там _возможно_  с сертификатами проблема.
&gt; Думаю, имеет смысл запустить openconnect в консоли с `-v
&gt; --dump-http-traffic` и посмотреть, что за ошибку выдаёт. Дамп, если
&gt; публиковать, то с большой осторожностью!

непонятно что там за ошибки, ругается на OpenSSL: error:0A000152:SSL routines::unsafe legacy renegotiation disabled
Unable to establish SSL connection.

Corrupted files, or whatever wrong with md5 sums, or missing some file

так же анализ провел файлов, на платформе р10 нет пакетов libcrypto3, там libcrypto1.1, грешу на новые пакеты с crypto3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236094</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-10-31 21:32:44 +0300</bug_when>
    <thetext>openconnect-9.12-alt2 -&gt; sisyphus:

 Tue Oct 31 2023 Alexey Shabalin &lt;shaba@altlinux&gt; 9.12-alt2
 - Add configure options for openssl and gnutls.
 - Fixed version info (ALT#48011).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236097</commentid>
    <comment_count>6</comment_count>
    <who name="ildar">ildar</who>
    <bug_when>2023-10-31 22:43:27 +0300</bug_when>
    <thetext>к сожалению, стало хуже:

&gt; Failed to set GnuTLS priority string (&quot;@OPENCONNECT,SYSTEM:%COMPAT:-3DES-CBC:-ARCFOUR-128&quot;): The request is invalid.
&gt; Failed to open HTTPS connection to x.y.z

Проверил из NetworkManager на двух коннектах.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236133</commentid>
    <comment_count>7</comment_count>
    <who name="Алексей">a</who>
    <bug_when>2023-11-01 13:00:35 +0300</bug_when>
    <thetext>Аналогичная проблема при подключении к Cisco Anyconnect 
Failed to set GnuTLS priority string (&quot;@OPENCONNECT,SYSTEM:%COMPAT:-3DES-CBC:-ARCFOUR-128&quot;): The request is invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236248</commentid>
    <comment_count>8</comment_count>
    <who name="Grigory Milev">week</who>
    <bug_when>2023-11-02 12:02:31 +0300</bug_when>
    <thetext>Аналогичная проблема, появилась в последней сборке libopenconnect-9.12-alt2.x86_64

Failed to set GnuTLS priority string (&quot;@OPENCONNECT,SYSTEM:%COMPAT:-3DES-CBC:-ARCFOUR-128&quot;): The request is invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236286</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2023-11-02 16:22:07 +0300</bug_when>
    <thetext>отправил исправление в 9.12-alt3.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236343</commentid>
    <comment_count>10</comment_count>
    <who name="Алексей">a</who>
    <bug_when>2023-11-03 11:18:03 +0300</bug_when>
    <thetext>После обновления подключение к серверам anyconnect заработало.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>243495</commentid>
    <comment_count>11</comment_count>
    <who name="ildar">ildar</who>
    <bug_when>2024-03-26 11:08:08 +0300</bug_when>
    <thetext>эту багу закрываю.

Единственное, не могу понять: у меня при переходе p10 → Sisyphus сломалось подключение ко всем серверам Vyos (внутри ocserv) через NetworkManager-openconnect . За полгода не смог найти концов и багрепортов. Если кто в курсе — отзовитесь в личку или тут. Спасибо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>243496</commentid>
    <comment_count>12</comment_count>
    <who name="Илья Петров">is.petrov</who>
    <bug_when>2024-03-26 11:14:20 +0300</bug_when>
    <thetext>Через подключение Cisco начала появляться другая ошибка, но подключится в сизифе так и не получается</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>