From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.erc.general,gmane.emacs.devel Subject: Re: STARTTLS for erc Date: Thu, 23 Jun 2011 15:44:47 +0200 Message-ID: <87aad87jcg.fsf@gmail.com> References: <87r56krb0v.fsf@lifelogs.com> Reply-To: ERC Discussion NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308841948 16228 80.91.229.12 (23 Jun 2011 15:12:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2011 15:12:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: erc-discuss@gnu.org Original-X-From: erc-discuss-bounces+sf-erc-help=m.gmane.org@gnu.org Thu Jun 23 17:12:24 2011 Return-path: Envelope-to: sf-erc-help@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZlZv-0007x1-9T for sf-erc-help@m.gmane.org; Thu, 23 Jun 2011 17:12:23 +0200 Original-Received: from localhost ([::1]:54831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZlZu-0001UU-3L for sf-erc-help@m.gmane.org; Thu, 23 Jun 2011 11:12:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZkE7-0001Vt-6g for erc-discuss@gnu.org; Thu, 23 Jun 2011 09:45:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZkE5-0005J2-US for erc-discuss@gnu.org; Thu, 23 Jun 2011 09:45:47 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:49836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZkE5-0005Iv-Ew for erc-discuss@gnu.org; Thu, 23 Jun 2011 09:45:45 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QZkDv-0001Gx-No for erc-discuss@gnu.org; Thu, 23 Jun 2011 15:45:35 +0200 Original-Received: from ney92-7-78-233-218-202.fbx.proxad.net ([78.233.218.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jun 2011 15:45:35 +0200 Original-Received: from antoine.levitt by ney92-7-78-233-218-202.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jun 2011 15:45:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: erc-discuss@gnu.org Original-Followup-To: poster Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ney92-7-78-233-218-202.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: erc-discuss@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ERC Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: erc-discuss-bounces+sf-erc-help=m.gmane.org@gnu.org Original-Sender: erc-discuss-bounces+sf-erc-help=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.erc.general:1324 gmane.emacs.devel:140923 Archived-At: 23/06/11 14:24, Ted Zlatanov > LMI> And this would be somewhat brittle. If a server goes from one type > LMI> (supporting STARTTLS) to another (not supporting STARTTLS), it might > LMI> mean that the next login might fail. > > I think that's really rare, unless you're hitting a DNS round-robin. That's not so rare, the big IRC servers (for instance, irc.freenode.org) redirect to subservers (like hitchcock.freenode.net) which might or might not support TLS. Unless I'm misunderstanding what you're talking about? If it's not possible to have a clean opportunistic STARTTLS for ERC, it's probably best to just leave it alone IMHO. Storing a flag to connect via TLS next time just seems too hackish, and the benefits are minimal. Also, TLS connections to IRC servers take ages, so it's probably not a good idea to turn this on by default, which means users would have to turn it on manually, and they can just as well call erc-tls if they know the server supports it.