Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Madriix opened this issue Jan 20, 2024 · 0 comments

Comments

@Madriix
Copy link
Contributor

Madriix commented Jan 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant