Chat gateway: logon
The text handshake that logged a telnet user or gateway bot into chat. Every line ends with CR LF.
| # | Client | Server | What happens | Confidence | |
|---|---|---|---|---|---|
| 1 | 0x03 |
→ | Protocol byte: chat gateway follows. No reply. | ✅ Verified | |
| 2 | 0x04 |
→ | Followed by CR LF. Starts the logon. | ⚠️ Single source | |
| 3 | ← | Enter your login name and password. |
⚠️ Single source | ||
| 4 | |
→ | ⚠️ Single source | ||
| 5 | ← | Username: |
⚠️ Single source | ||
| 6 | |
→ | Plain text. The server lowercases it before checking. | ⚠️ Single source | |
| 7 | ← | Password: |
Nothing follows the colon, not even a space. | ⚠️ Single source | |
| If the name or password is wrong | |||||
| 8 | ← | Incorrect username/password. |
The client starts again from the account name, without resending 0x04. |
⚠️ Single source | |
| When logon succeeds | |||||
| 9 | ← | Connection from [] |
The client's address as the server sees it. | ⚠️ Single source | |
| 10 | ← | 2010 NAME |
⚠️ Single source | ||
| 11 | ← | 1007 CHANNEL " |
⚠️ Single source | ||
| 12 | ← | 1001 USER |
One for each user in the channel. | ⚠️ Single source | |
| 13 | ← | 1018 INFO " |
Welcome and channel information. | ⚠️ Single source | |
Remarks
After this the client simply sends lines of text. See Chat gateway (telnet) for every message the server can send.
Sources and credits
- BNETDocs, Chat Gateway Protocol: written by Caaaaarrrrlll, and edited 34 times since.
This page is written in our own words. BNETDocs is credited for its research; none of its text is copied. See Credits.