question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SASL+SSL support?

See original GitHub issue

Hello –

First off thanks for this awesome code. Its helpful and Im glad to see it curated. 👍 😄

I was wondering if SASL support works as intended. As best as I can tell, Im striking out using SASL combined with SSL. The README links to http://node-irc.readthedocs.org/en/latest/API.html#irc.Client, but using what I think are relevant ircOptions dont seem to work.

[
  {
    "nickname": "botnick",
    "server": "irc.company.corp",
    "token": "slacktoken",
    "channelMapping": {
      "#slackchan": "#ircchan"
    },
    "ircOptions": {
      "floodProtection": false,
      "floodProtectionDelay": 1000,
      "userName": "botnick",
      "port": 6697,
      "sasl": true,
      "secure": true,
      "selfSigned": true,
      "certExpired": true,
      "debug": true,
      "nick": "botnick",
      "userName": "botnick",
      "password": "pass"
    }
  }
]
$ node index.js
[Wed Jun 03 2015 00:37:22 GMT+0000 (UTC)] INFO Connecting...
3 Jun 00:37:22 - SEND: PASS pass
3 Jun 00:37:22 - Sending irc NICK/USER
3 Jun 00:37:22 - SEND: NICK botnick
3 Jun 00:37:22 - SEND: USER botnick 8 * botnick
3 Jun 00:37:24 - Unhandled message: { command: 'ERROR',
  rawCommand: 'ERROR',
  commandType: 'normal',
  args: [ 'Closing link: (~botnick@104.239.146.51) [Access denied by configuration]' ] }
3 Jun 00:37:24 - Connection got "close" event
3 Jun 00:37:24 - Disconnected: reconnecting
3 Jun 00:37:24 - Waiting 2000ms before retrying
3 Jun 00:37:24 - Connection got "end" event

Curious. Thanks so much!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fillercommented, Oct 29, 2016

Hello! Sorry to bump an old thread, but the following code in an amazing colleague’S topic branch: git://github.com/martinb3/node-irc.git#0.3.x

Pointing there in config.json let me do the corporate needful!

Happy Slacking!

0reactions
ekmartincommented, Jun 21, 2015

Sorry for the extremely late answer, but if you’re still interested in getting it to work I’d suggest making an issue over at node-irc, as slack-irc just forwards the settings directly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring PLAIN - Confluent Documentation
Apache Kafka® supports a default implementation for SASL/PLAIN, ... 1listener.name.sasl_ssl.scram-sha-256.sasl.jaas.config=org.apache.kafka.common.security.
Read more >
Kafka SASL_SSL Authentication Configuration - VMware Docs
This section describes the configuration of Kafka SASL_SSL authentication.
Read more >
How to Configure Kafka Connector 3.x to Use SASL_SSL ...
This article shows how to configure Kafka connector (Mule 4) to use SASL_SSL security protocol with Kerberos (GSSAPI) mechanism.
Read more >
Connecting SASL_SSL Kafka Cluster · Issue #583 - GitHub
Cruise Control does not support SASL_SSL , yet -- i.e. it currently supports SSL and Plaintext . Would you be interested in submitting...
Read more >
Configuring SASL_SSL authentication for a Cloud Confluent ...
SASL_SSL. authentication, configure the Kafka connection properties. ... security.protocol=SASL_SSL,sasl.kerberos.service.name=kafka ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found