unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* IRC server USER/PASS in ERC
@ 2010-12-06  0:27 Aidan Gauland
  2010-12-06 12:59 ` Julien Danjou
  0 siblings, 1 reply; 5+ messages in thread
From: Aidan Gauland @ 2010-12-06  0:27 UTC (permalink / raw)
  To: emacs-devel

Hello allmighty Emacs developers,

I know this is not the Emacs users mailing list, but I haven't
received any helpful replies on that list.  I think I have found a
deficiency in either ERC or its documentation, and even if not, I
really need the help from someone familiar with the innards of ERC.

I have set up ircproxy <http://ircproxy.sourceforge.net/> on a server,
but I can not connect to it because I don't seem to be able to tell
ERC the server username and password to use.  When I try to connect to
ircproxy -- by running the command `erc' and giving it the hostname of
the server, the port on which ircproxy is listening, and I give it my
ircproxy username and password at the "Nickname:" and "Password:"
prompts -- I get the following error.

==> ERROR from irc.example.net: USER / PASS is incorrect.


Connection failed!  Not re-establishing connection.


*** ERC terminated: connection broken by remote peer

I don't think it matters that I'm using a bouncer, as this seems to be
a matter of authenticating to an IRC server (as opposed to NickServ).

I am using ERC Version 5.3 (GNU Emacs 23.2.1).

*Is* there even a way to do this in ERC?  I certainly hope so, and
that I simply haven't found it.  If there is *NOT* a way to to this in
ERC, then I am willing to add this capability.

Kind regards,
Aidan Gauland





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IRC server USER/PASS in ERC
  2010-12-06  0:27 IRC server USER/PASS in ERC Aidan Gauland
@ 2010-12-06 12:59 ` Julien Danjou
  2010-12-06 14:15   ` Deniz Dogan
  0 siblings, 1 reply; 5+ messages in thread
From: Julien Danjou @ 2010-12-06 12:59 UTC (permalink / raw)
  To: Aidan Gauland; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

On Mon, Dec 06 2010, Aidan Gauland wrote:

> *Is* there even a way to do this in ERC?  I certainly hope so, and
> that I simply haven't found it.  If there is *NOT* a way to to this in
> ERC, then I am willing to add this capability.

I do this without any problem with ERC and ZNC.
Try to evaluate something like:

  (erc
   :server "someserver"
   :nick "jd"
   :password "bla")

That should work.

-- 
Julien Danjou
// ᐰ <julien@danjou.info>   http://julien.danjou.info

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IRC server USER/PASS in ERC
  2010-12-06 12:59 ` Julien Danjou
@ 2010-12-06 14:15   ` Deniz Dogan
  2010-12-06 19:00     ` Aidan Gauland
  2010-12-06 19:09     ` Aidan Gauland
  0 siblings, 2 replies; 5+ messages in thread
From: Deniz Dogan @ 2010-12-06 14:15 UTC (permalink / raw)
  To: Aidan Gauland, emacs-devel

2010/12/6 Julien Danjou <julien@danjou.info>:
> On Mon, Dec 06 2010, Aidan Gauland wrote:
>
>> *Is* there even a way to do this in ERC?  I certainly hope so, and
>> that I simply haven't found it.  If there is *NOT* a way to to this in
>> ERC, then I am willing to add this capability.
>
> I do this without any problem with ERC and ZNC.
> Try to evaluate something like:
>
>  (erc
>   :server "someserver"
>   :nick "jd"
>   :password "bla")
>
> That should work.
>

I told Aidan basically the same thing on help-gnu-emacs, but he
insisted that the password argument to `erc' is used to identify to
NickServ and not as a PASS parameter to the IRC server...



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IRC server USER/PASS in ERC
  2010-12-06 14:15   ` Deniz Dogan
@ 2010-12-06 19:00     ` Aidan Gauland
  2010-12-06 19:09     ` Aidan Gauland
  1 sibling, 0 replies; 5+ messages in thread
From: Aidan Gauland @ 2010-12-06 19:00 UTC (permalink / raw)
  To: Deniz Dogan; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1994 bytes --]

On Mon, Dec 06, 2010 at 03:15:46PM +0100, Deniz Dogan wrote:
> 2010/12/6 Julien Danjou <julien@danjou.info>:
> > On Mon, Dec 06 2010, Aidan Gauland wrote:
> >
> >> *Is* there even a way to do this in ERC?  I certainly hope so, and
> >> that I simply haven't found it.  If there is *NOT* a way to to this in
> >> ERC, then I am willing to add this capability.
> >
> > I do this without any problem with ERC and ZNC.
> > Try to evaluate something like:
> >
> >  (erc
> >   :server "someserver"
> >   :nick "jd"
> >   :password "bla")
> >
> > That should work.
> >
> 
> I told Aidan basically the same thing on help-gnu-emacs, but he
> insisted that the password argument to `erc' is used to identify to
> NickServ and not as a PASS parameter to the IRC server...

I'm sorry if I seemed to be insisting that.  I only meant that when I
tried, I got the error...
==> ERROR from irc.example.net: USER / PASS is incorrect.

You asked me why I thought that the password argument to `erc' is not
used as the PASS to the IRC server, so I told you.

In your message to me, you said...

> I looked in the source code and found this:
> "Use PASSWD as user password on the server."
> The variable erc-session-password is then set to PASSWORD and then
> when erc-login is called it sends the value as "PASS" to the server.

I have looked at the ERC source code, but didn't figure out much since
I am not very familiar with the IRC protocol, so I am grateful that
you pointed this out.

I must admit that I feel rather foolish now that I have used Wireshark
to look at the packets sent by ERC to find that it does, indeed, send
the password parameter as the PASS to the server.  It really does seem
to be a problem at the other end (the bouncer).

I suppose it's not a complete loss since I learned from Julien Danjou
that ERC *does* work with bouncers (or at least ZNC).

Anyway, consider this annoying idiot out of your hair.

Kind regards,
Aidan Gauland

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IRC server USER/PASS in ERC
  2010-12-06 14:15   ` Deniz Dogan
  2010-12-06 19:00     ` Aidan Gauland
@ 2010-12-06 19:09     ` Aidan Gauland
  1 sibling, 0 replies; 5+ messages in thread
From: Aidan Gauland @ 2010-12-06 19:09 UTC (permalink / raw)
  To: Deniz Dogan; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]

On Mon, Dec 06, 2010 at 03:15:46PM +0100, Deniz Dogan wrote:
> 2010/12/6 Julien Danjou <julien@danjou.info>:
> > On Mon, Dec 06 2010, Aidan Gauland wrote:
> >
> >> *Is* there even a way to do this in ERC?  I certainly hope so, and
> >> that I simply haven't found it.  If there is *NOT* a way to to this in
> >> ERC, then I am willing to add this capability.
> >
> > I do this without any problem with ERC and ZNC.
> > Try to evaluate something like:
> >
> >  (erc
> >   :server "someserver"
> >   :nick "jd"
> >   :password "bla")
> >
> > That should work.
> >
> 
> I told Aidan basically the same thing on help-gnu-emacs, but he
> insisted that the password argument to `erc' is used to identify to
> NickServ and not as a PASS parameter to the IRC server...

I'm sorry if I seemed to be insisting that.

I actually feel rather foolish now that I have used Wireshark to look
at the packets sent by ERC to find that it does, indeed, send the
password parameter as the PASS parameter to the IRC server.

I suppose I at least learned from Julien Danjou that ERC *does* work
with bouncers (or at least ZNC).

Anyway, consider this annoying git out of your hair.

Kind regards,
Aidan Gauland

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-06 19:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-06  0:27 IRC server USER/PASS in ERC Aidan Gauland
2010-12-06 12:59 ` Julien Danjou
2010-12-06 14:15   ` Deniz Dogan
2010-12-06 19:00     ` Aidan Gauland
2010-12-06 19:09     ` Aidan Gauland

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).