ax 9 chars.
- The "Hopcount" of this client, Ie: how many servers away it is on.
- The epoch timestamp indicating when the user was created.
- The "User" part of the user@host mask.
- the "Host" part of the user@host mask.
- [Optional]: User modes. If present, this is always +<user modes for this client>. Note that the special +r usermode is followed by the client's account name; see the documentation for ACCOUNT.
- The real IP address of this client, a Base64 encoded 32bit int.
- This client's numeric, in SSCCC format.
- Free format user info line.
3.2.3 - BURST Messages
Channel details and membership information is synchronised in one (or more) BURST messages for each channel that exists, formatted as follows:
[NUMERIC PREFIX] B [CHANNEL] [CREATION TIMESTAMP] <+MODES> <ARG1> <ARG2> [MEMBER LIST] <:%BANS>
1 2 3 4 5 6 7 8 9 AZ B #coder-com 949217470 +tinkl key 56 AAAAA,AAAAB,AAAAC,ABAAA,ABAAB,ABAAC,ACAAA :%*!*@*.net
If the length of a BURST message exceeds the maximum lenght of a line (512 characters) then the remaining channel members/bans are sent in subsequent BURST lines. The subsequent burst lines are only used to add additional members to the channel, and if neccessary, channel bans. There will be no "Mode" parameters present. A sample additional burst line would be:
AZ BURST #coder-com 949217470 ACAAB:o,ACAAD :%*!*another@*.ban.com
Which adds two more opped members and a ban to the channel.
3.2.4 - JUPE Messages
Any currently unexpired JUPEs are transmitted via "JUPE" messages with the following format:
[NUMERIC PREFIX] JU * (+|-)[SERVER NAME] [LIFETIME] [LAST MOD] :[REASON]For example:
1 2 3 4 5 6 7Notes:
AZ JU * +juped.undernet.org 000003593 955419707 :Juped Server
The following table summarises the sequence of events that occur when a server connects to another server. S1 is our server, and S2 is a HUB on the target network.
S1: Sends Password.
S1: Sends initial SERVER message.
S2 Confirms S1 has the correct credentials, and if so, proceeds. If not, S1 is squit with a relevant reason.
S2: Sends Password.
S2: Sends initial SERVER message.
S1 Confirms S2 has the correct credentials, and if so, proceeds. If not, S2 is squit with a relevant reason.
The follow occur asynchronously, however they have been shown seperately below for simplicity.
S1: Sends all the servers it is aware of as a stream of SERVER messages.
S1: Sends all the clients it is aware of as a stream of NICK messages.
S1: Sends the database of channel states on the network, as a stream of BURST messages.
S1: Sends all the jupes it is aware of as a stream of JUPE messages.
S1: Sends a END_OF_BURST token (EB) to indicate it has finished sending.
S2: Sends all the servers it is aware of as a stream of SERVER messages.
S2: Sends all the clients it is aware of as a stream of NICK messages.
S2: Sends the database of channel states on the network, as a stream of BURST messages.
S2: Sends all the jupes it is aware of as a stream of JUPE messages.
S2: Sends a END_OF_BURST token (EB) to indicate it has finished sending.
S2: Sends an EOB_ACK token (EA) to indicate it has succesfully recieved
the END_OF_BURST from S1
S1: Sends an EOB_ACK token (EA) to indicate it has succesfully recieved the END_OF_BURST from S2
[WRITE]: PASS :54321 [WRITE]: SERVER irc.undernet.org 1 947957852 947957852 J10 AB]]] :Undernet Client Server. [WRITE]: AB N MrFoo 1 947957852 ~me myhost.foobar.net +diksw DAqAoB ABAAA :Mr Foo (email@example.com). [WRITE]: AB B #mychannel 946101324 ABAAA:o [WRITE]: AB EB [ READ]: PASS :54321 [ READ]: SERVER server1.undernet.org 1 947901540 947958150 J10 AFAD] :A Generic Server. [ READ]: AF S server2.undernet.org 2 0 947957585 P10 AZAD] 0 :[192.168.10.3] A Generic Server. [ READ]: AZ S server3.undernet.org 3 0 947957607 P10 AIAD] 0 :[192.168.10.5] A Generic Server. [ READ]: AF N Client1 1 947957573 Ident userhost.net +oiwg DAqAoB AFAAA :Generic Client. [ READ]: AZ N Client2 2 947957719 Ident userhost.net +iwg DAqAoB AZAAA :Generic Client. [ READ]: AI N Client3 3 947957742 Ident userhost.net +iwg DAqAoB AIAAA :Generic Client. [ READ]: AI N Client4 3 947958