Project

General

Profile

Bug #309

imap ssl_connect fails due to missing sni extension

Added by Arie Bikker about 4 years ago. Updated 31 minutes ago.

Status:
New
Priority:
Normal
Category:
LibSylph
Target version:
-
Start date:
11/22/2018
Due date:
% Done:

0%

Estimated time:

Description

Our mail provider uses a load balancer in front of the real server. For this to work the connection needs to be made with an additional "server name identification" (SNI).
Otherwise the connection fails because the balancer/server does not know which certificate to use - and consequently does not send any.
I found a workaround by adding the sni info to the ssl context in the file libsylph/ssl.c with the patch as below.
I am no specialist at ssl-programming, but this works for me. Please review the suggested change and possibly commit.

--->8---- additional sni workaround patch based on 3.7 source
  • libsylph/ssl.c Thu Feb 2 09:02:49 2017
    --- /home/user/src/sylpheed/libsylph_ssl.c Fri Nov 22 10:28:00 2018
    • 239,244 **
      --- 239,245 ----
      return FALSE;
      }
      sockinfo->ssl = SSL_new(ssl_ctx_SSLv23);
      + SSL_set_tlsext_host_name(sockinfo->ssl, sockinfo->hostname);
      break;
      case SSL_METHOD_TLSv1:
      if (!ssl_ctx_TLSv1) { *******
    • 246,251 ***
      --- 247,253 ----
      return FALSE;
      }
      sockinfo->ssl = SSL_new(ssl_ctx_TLSv1);
      + SSL_set_tlsext_host_name(sockinfo->ssl, sockinfo->hostname);
      break;
      default:
      g_warning(_("Unknown SSL method *PROGRAM BUG
      \n"));
#1

Updated by Antonio Ospite over 3 years ago

Duplicate of https://sylpheed.sraoss.jp/redmine/issues/306 this can be closed

#2

Updated by replica watches 9 months ago

https://www.bestwatchaaa.com/Corum-replica.html Louis Vuitton https://www.hotwatchsreplica.com/Chopard.html affirmed https://www.bestwatchaaa.com/Tissot-replica.html https://www.allshopwatch.com/IWC-a-hot.html https://www.bestwatchss.com/Piaget-Replica-Watches.html past https://www.bestwatchss.com/Sinn-Replica-Watches.html as https://www.replicawatchsshop.cc/Piaget-Replica.html world leading brand https://www.hotwatchsreplica.com/hamilton.html https://www.bestwatchaaa.com/Omega-replica.html https://www.replicawatchsshop.cc/Bvlgari-Replica.html https://www.allshopwatch.com/Chopard-a-hot.html industry. https://www.hotwatchsreplica.com/IWC.html https://www.hotwatchsreplica.com/Franck-Muller.html https://www.allshopwatch.com/Vacheron-Constantin-a-hot.html now https://www.allwatchesen.com/ https://www.replicawatchsshop.cc/Longines-Replica.html of https://www.hotwatchsreplica.com/U-Boat.html https://www.hotwatchsreplica.com/Rado.html https://www.allshopwatch.com/Bulgari-a-hot.html Timeless and prestigious, Replica https://www.bestwatchaaa.com/Rado-replica.html https://www.replicawatchsshop.cc/Chopard-Replica.html Watches https://www.replicawatchsshop.cc/Audemars-Piguet-Replica.html https://www.bestwatchaaa.com/Cartier-replica.html evolved and adapted https://www.bestwatchss.com/Ebel-Replica-Watches.html become https://www.bestwatchss.com/ https://www.bestwatchaaa.com/Vacheron-Constantin-replica.html https://www.bestwatchaaa.com/Seiko-replica.html in https://www.allshopwatch.com/Breitling-a-hot.html The https://www.allshopwatch.com/Harry-Winston-a-hot.html https://www.hotwatchsreplica.com/ https://www.allshopwatch.com/TW-Steel-a-hot.html https://www.bestwatchss.com/Chopard-Replica-Watches.html is not only https://www.hotwatchsreplica.com/Romain-Jerome.html https://www.hotwatchsreplica.com/Parmigiani.html http://www.classicwatchess.com/ but also https://www.bestwatchaaa.com/Bell-Ross-replica.html piece https://www.replicawatchsshop.cc/Patek-Philippe-Replica.html art. Wearing it https://www.hotwatchsreplica.com/Raymond-Weil.html your https://www.hotwatchsreplica.com/Hublot.html https://www.bestwatchss.com/Hublot-Replica-Watches.html https://www.hotwatchsreplica.com/Oris.html clicking https://www.hotwatchsreplica.com/Alain-Silberstein.html https://www.replicawatchsshop.cc/Corum-Replica.html https://www.bestwatchaaa.com/Roger-Dubuis-replica.html the eternal https://www.hotwatchsreplica.com/porsche-design.html https://www.bestwatchss.com/Maurice-Lacroix-Replica-Watches.html The Louis https://www.bestwatchss.com/Bvlgari-Replica-Watches.html https://www.hotwatchsreplica.com/blancpain.html watch https://www.allshopwatch.com/ over the https://www.watchrm.com/ https://www.bestwatchaaa.com/Alain-Silberstein-replica.html https://www.luxuryshopwatch.com/ https://www.bestwatchss.com/Linde-Werdelin-Replica-Watches.html edition https://www.swisswatchesale.com/ https://www.allshopwatch.com/Ulysse-Nardin-a-hot.html the exquisite fine work https://www.bestwatchss.com/Glashutte-Replica-Watches.html inside out. Each https://www.hotwatchsreplica.com/A.Lange-Sohne.html is made https://www.shopwatchus.com/ https://www.bestwatchaaa.com/Invicta-replica.html highest https://www.bestwatchaaa.com/Bedat-Co-replica.html standard https://www.allshopwatch.com/Bovet-a-hot.html best quality https://www.bestwatchss.com/Vacheron-Constantin-Replica-Watches.html https://www.allshopwatch.com/Patek-Philippe-a-hot.html spend less but enjoy more.

#3

Updated by Tom Hiddleston about 1 month ago

I really like the information you share. Thanks to that, https://krunkergame.co I know many more interesting and useful things.

#4

Updated by seo mind about 1 hour ago

I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. 3 Useful Tools For More Sales

#5

Updated by seo mind 43 minutes ago

I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. 15 Second Free Leads Review

#6

Updated by seo mind 42 minutes ago

Admiring the time and effort you put into your blog and detailed information you offer!.. online marketing

#7

Updated by seo mind 40 minutes ago

Welcome to the party of my life here you will learn everything about me. online marketing

#8

Updated by seo mind 39 minutes ago

A great website with interesting and unique material what else would you need. 15 Second Free Leads Review

#9

Updated by seo mind 37 minutes ago

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. online marketing

#10

Updated by seo mind 36 minutes ago

I was taking a gander at some of your posts on this site and I consider this site is truly informational! Keep setting up.. 15 Second Free Leads Review

#11

Updated by seo mind 34 minutes ago

It has fully emerged to crown Singapore's southern shores and undoubtedly placed her on the global map of residential landmarks. I still scored the more points than I ever have in a season for GS. I think you would be hard pressed to find somebody with the same consistency I have had over the years so I am happy with that. Lead Generation

#12

Updated by seo mind 31 minutes ago

Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! Lead Generation

#13

Updated by seo mind 31 minutes ago

You actually make it look so easy with your performance but I find this matter to be actually something which I think I would never comprehend. It seems too complicated and extremely broad for me. I'm looking forward for your next post, I’ll try to get the hang of it! Lead Generation

Also available in: Atom PDF