Skip to content

Handle UnrealIRCd Raw unhandled messages #109

@vBm

Description

@vBm

Several unhandled messages are presented upon connecting.

This complete log has been semi-redacted to remove the information about the server and password.

Details

╰─ bun index.js
6 Aug 21:36:47 - Sending irc NICK/USER
6 Aug 21:36:47 - SEND: CAP LS 302
6 Aug 21:36:47 - SEND: NICK bunbot
6 Aug 21:36:47 - SEND: USER nodebot 8 * :nodeJS IRC client
6 Aug 21:36:49 - SEND: CAP REQ : sasl
6 Aug 21:36:49 - SEND: PONG 3E954B51
6 Aug 21:36:49 - SEND: AUTHENTICATE PLAIN
6 Aug 21:36:49 - SEND: AUTHENTICATE XXXXXXXXXXXXXXXXXXXXXXXXXX
6 Aug 21:36:49 - SEND: CAP END
6 Aug 21:36:52 - Unhandled message: { args:
[ 'bunbot',
'foo.bar.baz.net',
'is now your displayed host' ],
commandType: 'normal',
prefix: 'irc.example.net',
server: 'irc.example.net',
command: '396',
rawCommand: '396' }
6 Aug 21:36:52 - MODE: bunbot sets mode: +iwxz
6 Aug 21:36:52 - SEND: CAP END
6 Aug 21:36:52 - GOT NOTICE from "NickServ": "Your nickname is not registered. To register it, use: /msg NickServ REGISTER password email"
6 Aug 21:36:52 - SEND: mode bunbot +Birtwxz
6 Aug 21:36:52 - SEND: WHOIS bunbot
6 Aug 21:36:52 - SEND: join #XXXX
6 Aug 21:36:53 - MODE: bunbot sets mode: +B
6 Aug 21:36:53 - Unhandled message: { args: [ 'bunbot', 'bunbot', 'is using modes +iwxzB ' ],
commandType: 'normal',
prefix: 'irc.example.net',
server: 'irc.example.net',
command: '379',
rawCommand: '379' }
6 Aug 21:36:53 - Unhandled message: { args:
[ 'bunbot',
'bunbot',
'is connecting from *@foo.bar.baz.net 127.0.0.1' ],
commandType: 'normal',
prefix: 'irc.example.net',
server: 'irc.example.net',
command: '378',
rawCommand: '378' }
6 Aug 21:36:53 - Unhandled message: { args:
[ 'bunbot',
'bunbot',
'is using a Secure Connection [TLSv1.3-TLS_CHACHA20_POLY1305_SHA256]' ],
commandType: 'normal',
prefix: 'irc.example.net',
server: 'irc.example.net',
command: '671',
rawCommand: '671' }
6 Aug 21:36:53 - Unhandled message: { args: [ 'bunbot', 'bunbot', 'is a \u0002Bot\u0002 on Example-NET' ],
commandType: 'normal',
prefix: 'irc.example.net',
server: 'irc.example.net',
command: '335',
rawCommand: '335' }
6 Aug 21:36:53 - Unhandled message: { args:
[ 'bunbot',
'#XXXX',
'Cannot join channel: Go to #help if you need assistance.' ],
commandType: 'normal',
prefix: 'irc.example.net',
server: 'irc.example.net',
command: '448',
rawCommand: '448' }
6 Aug 21:36:53 - SEND: MODE #help

The list of unhandled RAW codes is: (ill link each and every one of them to their defined lines on UnrealIRCd source)

Also there's a list of IRC/2 numerics to see possible conflicting numbers:
IRC2/ Numeric List

Apps used:

  • UnrealIRCd-6.0.4.2
  • bun 0.7.3 / node.js 20.5.0
  • matrix-org-irc 2.1.0

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