Skip to content

When reconnecting an IRC web client to an IRC framework with a BNC, which of these parameters can be removed/disabled? #376

@Madriix

Description

@Madriix

Hi

For years, I've been using a customized IRC client that connects to an IRC framework, and I use a BNC. However, during reconnection, I would like to avoid sending certain commands, such as SASL, while the /PASS command is still necessary. Do you know if there are any other commands that can be omitted to make the reconnection more efficient without overloading the IRC framework?

Here is a list of parameters that I believe can be omitted for a "reconnection" to the BNC from the IRC Framework (thus necessarily from the IRC web client):

  • account { }

However, for the others, I am not sure, such as:

  • Webirc
  • others to omit

Parameters:

new Irc.Client({
    nick: 'ircbot',
    username: 'ircbot',
    gecos: 'ircbot',
    encoding: 'utf8',
    version: 'node.js irc-framework',
    enable_chghost: false,
    enable_echomessage: false,
    auto_reconnect: true,
    auto_reconnect_max_wait: 300000,
    auto_reconnect_max_retries: 3,
    ping_interval: 30,
    ping_timeout: 120,
    sasl_disconnect_on_fail: false,
    account: {
        account: 'username',
        password: 'account_password',
    },
    webirc: {
        password: '',
        username: '*',
        hostname: 'users.host.isp.net',
        ip: '1.1.1.1',
        options: {
            secure: true,
            'local-port': 6697,
            'remote-port': 21726,
        },
    },
    client_certificate: {
        private_key: '-----BEGIN RSA PRIVATE KEY-----[...]',
        certificate: '-----BEGIN CERTIFICATE-----[...]',
    },
});

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions