GNU bug report logs - #19497
24.4; erc-tls uses wrong default port number

Previous Next

Package: emacs;

Reported by: Łukasz Stelmach <stlman <at> poczta.fm>

Date: Sat, 3 Jan 2015 21:18:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 24.4

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19497 in the body.
You can then email your comments to 19497 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19497; Package emacs. (Sat, 03 Jan 2015 21:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Łukasz Stelmach <stlman <at> poczta.fm>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 03 Jan 2015 21:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Łukasz Stelmach <stlman <at> poczta.fm>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; erc-tls uses wrong default port number
Date: Sat, 03 Jan 2015 22:17:26 +0100
[Message part 1 (text/plain, inline)]
Hi,

By default `erc' suggests connecting to port 6667. As of now `erc-tls'
does not change this value as it should[1] to 6697.

A patch fixing this issue will follow this message.

[1] http://tools.ietf.org/html/rfc7194
-- 
Było mi bardzo miło.                                  --- Rurku. --- ...
>Łukasz<                                --- To dobrze, że mnie słuchasz.

... To była robota dla sześciu...
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19497; Package emacs. (Sat, 03 Jan 2015 21:22:01 GMT) Full text and rfc822 format available.

Message #8 received at 19497 <at> debbugs.gnu.org (full text, mbox):

From: Łukasz Stelmach <stlman <at> poczta.fm>
To: 19497 <at> debbugs.gnu.org
Cc: Łukasz Stelmach <stlman <at> poczta.fm>
Subject: [PATCH] erc: use a differnt default port number for TLS connections.
Date: Sat,  3 Jan 2015 22:20:57 +0100
---
 lisp/erc/erc.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 7b9a3eb..999b794 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -1456,6 +1456,10 @@ Defaults to the server buffer."
 (defconst erc-default-port 6667
   "IRC port to use if it cannot be detected otherwise.")
 
+(defconst erc-default-port-tls 6697
+  "IRC port to use for encrypted connections if it cannot be
+  detected otherwise.")
+
 (defcustom erc-join-buffer 'buffer
   "Determines how to display a newly created IRC buffer.
 
@@ -2185,7 +2189,8 @@ be invoked for the values of the other parameters."
 (defun erc-tls (&rest r)
   "Interactively select TLS connection parameters and run ERC.
 Arguments are the same as for `erc'."
-  (interactive (erc-select-read-args))
+  (interactive (let ((erc-default-port erc-default-port-tls))
+		 (erc-select-read-args)))
   (let ((erc-server-connect-function 'erc-open-tls-stream))
     (apply 'erc r)))
 
-- 
2.0.5





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19497; Package emacs. (Sat, 26 Dec 2015 02:49:01 GMT) Full text and rfc822 format available.

Message #11 received at 19497 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Łukasz Stelmach <stlman <at> poczta.fm>
Cc: 19497 <at> debbugs.gnu.org
Subject: Re: bug#19497: 24.4; erc-tls uses wrong default port number
Date: Sat, 26 Dec 2015 03:47:44 +0100
Łukasz Stelmach <stlman <at> poczta.fm> writes:

> Hi,
>
> By default `erc' suggests connecting to port 6667. As of now `erc-tls'
> does not change this value as it should[1] to 6697.
>
> A patch fixing this issue will follow this message.
>
> [1] http://tools.ietf.org/html/rfc7194

Thanks; patch applied to trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 26 Dec 2015 02:49:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 19497 <at> debbugs.gnu.org and Łukasz Stelmach <stlman <at> poczta.fm> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 26 Dec 2015 02:49:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 23 Jan 2016 12:24:10 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:07 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:07 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:07 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Jan 2017 12:24:27 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.