This file is indexed.

/usr/share/doc/ircd-ircu/p10.html is in ircd-ircu 2.10.12.10.dfsg1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="GENERATOR" CONTENT="Mozilla/4.07 [en] (X11; I; Linux 2.2.14 i586) [Netscape]">
   <TITLE>Undernet P10 Protocol and Interface Specification</TITLE>
</HEAD>
<BODY>

<H2>
<A NAME="top"></A><FONT SIZE=+3>Undernet P10 Protocol and Interface Specification</FONT></H2>
<I>(As of ircu 2.10.11)</I>
<H2>
Undernet Coder-com, <TT>coder-com@undernet.org</TT></H2>
$Id: p10.html,v 1.6 2002/02/14 00:20:40 ghostwolf Exp $
<P>
<HR ALIGN=CENTER WIDTH=100% SIZE=2><I>This document aims to be a practical
guide for implementing and maintaining the protocol, not just a reference
manual.</I>
<P>This document is "work in progress" and being continually updated :)
<HR 
  ALIGN=CENTER WIDTH=100% SIZE=2>
<BR><FONT SIZE=+2>1. <B><A HREF="#chap1">Introduction</A></B></FONT>
<P><FONT SIZE=+2>2. <B><A HREF="#chap2">General concepts and background</A></B></FONT>
<BLOCKQUOTE><FONT SIZE=+0>2.1 <A HREF="#chap2.1">Concepts</A>.</FONT>
<BR><FONT SIZE=+0>2.2 <A HREF="#chap2.2">Token Table</A>.</FONT></BLOCKQUOTE>

<H2>
3. <A HREF="#chap3">Registration and syncronisation</A></H2>

<UL>
<LI>
<FONT SIZE=+0>3.1 <A HREF="#chap3.1">Server registration and authentication</A>.</FONT></LI>

<LI>
<FONT SIZE=+0>3.2 <A HREF="#chap3.2">Network database resyncronisation</A>.</FONT></LI>

<LI>
<FONT SIZE=+0>3.3 <A HREF="#chap3.3">Summary</A>.</FONT></LI>
</UL>

<H2>
4. <A HREF="#chap4">Continous operation</A></H2>

<UL>
<LI>
4.1 <A HREF="#chap4.1">Channel state operations.</A></LI>

<LI>
4.2 <A HREF="#chap4.2">Client state operations.</A></LI>

<LI>
4.3 <A HREF="#chap4.3">Channel/Client Messaging.</A></LI>

<LI>
4.4 Setting G-Lines.</LI>

<LI>
4.5 ...</LI>
</UL>

<H2>
4. Programmers reference: Function headers</H2>

<UL>
<LI>
<FONT SIZE=+0>4.1 ms_nick</FONT></LI>

<LI>
<FONT SIZE=+0>4.2 m_burst</FONT></LI>

<LI>
<FONT SIZE=+0>4.3 ..etc</FONT></LI>
</UL>

<H2>
5. <A HREF="#chap5">Programmers reference: Client/Server Structures</A></H2>

<H2>
6. <A HREF="#chap7">FAQ</A></H2>

<H2>
7. Acknowledgements and disclaimer</H2>

<H2>
8. <A HREF="#chap8">Update History</A></H2>

<BLOCKQUOTE>
<LI>
<A HREF="#chap8.1">TODO List</A></LI>
</BLOCKQUOTE>

<CENTER>
<HR ALIGN=CENTER WIDTH=100% SIZE=2></CENTER>

<P><A NAME="chap1"></A><B><FONT SIZE=+2>1. Introduction</FONT></B>
<P><FONT FACE="Arial,Helvetica"><FONT SIZE=-1><B>[</B><A HREF="#top">Back</A><B>]</B></FONT></FONT>
<BR>
<HR ALIGN=LEFT WIDTH=100% SIZE=2>
<P><A NAME="chap2"></A><B><FONT SIZE=+2>2. General concepts and background</FONT></B>
<P><A NAME="chap2.1"></A><B><FONT SIZE=+1>2.1 Concepts</FONT></B>
<P>The undernet P10 protocol uses a scheme of "Numerics" to uniquenly identify
a client or server within the network. Each server has its own unique numeric
(0 -> 4095) and each client has its own numeric within that server (0->262,143).
<P>The numerics are encoded into a Base64 stream to maintain human readable
data flow and reduce the size of the messages. The Base64 character set
used in ircu is included below, this defines all valid characters allowed
in a Base64 numeric with "A" representing 0 and "]" representing 63.
<BLOCKQUOTE>
<PRE><TT><FONT COLOR="#00007F">ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789[]</FONT></TT></PRE>
</BLOCKQUOTE>
Server numerics consist of 2 characters, with the minimum, 0, being represented
by "AA", and the maximum, 4095, being represented by "]]". Client numerics
are 3 characters long, with the minimum, 0, being represented by "AAA",
and the maximum, 262,143, being represented by "]]]". The unique identifier
of a client on the network consists of a combination of both the server
and client numeric in the format SSCCC.
<P>As an example, consider a server "irc.undernet.org" which has a numeric
of 2, translating to "AC" in Base64. On this server exists a client, whom
has been allocated the numeric 63 (which translates to "AA]" in Base64).
Therefore, the unique identifier of this client on the network is "ACAA]".
From this, we can determine which server the message came from, aswell
as the client who sent it.
<P>These numerics are used to prefix every message issued on the stream
except for the initial "PASS" or "SERVER" message, which are not prefixed.
Therefore, every message that can be recieved from a server will consist
of the format:
<BLOCKQUOTE>
<PRE><FONT COLOR="#00007F">[NUMERIC PREFIX] [TOKEN] [DATA]</FONT></PRE>
</BLOCKQUOTE>
For Example:
<BLOCKQUOTE>
<PRE><FONT COLOR="#00007F">A[A5j P ABAAA :Foo.</FONT></PRE>
</BLOCKQUOTE>
<A NAME="chap2.2"></A><B><FONT SIZE=+1>2.2 Token Table</FONT></B>
<P>The following table lists all the acceptable messages, along with their
relevant "Token", which is used in the server&lt;>server protocol. The
aim of tokenisation is to reduce the bandwidth used during network communication
by reducing the length of common message identifiers.
<BR>&nbsp;
<CENTER><TABLE BORDER COLS=2 WIDTH="40%" >
<TR>
<TD><B>Message</B></TD>

<TD><B>Token</B></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>PRIVMSG</FONT></TD>

<TD><FONT SIZE=-1>P</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>WHO</FONT></TD>

<TD><FONT SIZE=-1>H</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>WHOIS</FONT></TD>

<TD><FONT SIZE=-1>W</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>WHOWAS</FONT></TD>

<TD><FONT SIZE=-1>X</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>USER</FONT></TD>

<TD><FONT SIZE=-1>USER</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>NICK</FONT></TD>

<TD><FONT SIZE=-1>N</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>SERVER</FONT></TD>

<TD><FONT SIZE=-1>S</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>LIST</FONT></TD>

<TD><FONT SIZE=-1>LIST</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>TOPIC</FONT></TD>

<TD><FONT SIZE=-1>T</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>INVITE</FONT></TD>

<TD><FONT SIZE=-1>I</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>VERSION</FONT></TD>

<TD><FONT SIZE=-1>V</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>QUIT</FONT></TD>

<TD><FONT SIZE=-1>Q</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>SQUIT</FONT></TD>

<TD><FONT SIZE=-1>SQ</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>KILL</FONT></TD>

<TD><FONT SIZE=-1>D</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>INFO</FONT></TD>

<TD><FONT SIZE=-1>F</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>LINKS</FONT></TD>

<TD><FONT SIZE=-1>LI</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>STATS</FONT></TD>

<TD><FONT SIZE=-1>R</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>HELP</FONT></TD>

<TD><FONT SIZE=-1>HELP</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>ERROR</FONT></TD>

<TD><FONT SIZE=-1>Y</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>AWAY</FONT></TD>

<TD><FONT SIZE=-1>A</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>CONNECT</FONT></TD>

<TD><FONT SIZE=-1>CO</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>MAP</FONT></TD>

<TD><FONT SIZE=-1>MAP</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>PING</FONT></TD>

<TD><FONT SIZE=-1>G</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>PONG</FONT></TD>

<TD><FONT SIZE=-1>Z</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>OPER</FONT></TD>

<TD><FONT SIZE=-1>OPER</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>PASS</FONT></TD>

<TD><FONT SIZE=-1>PA</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>WALLOPS</FONT></TD>

<TD><FONT SIZE=-1>WA</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>DESYNCH</FONT></TD>

<TD><FONT SIZE=-1>DS</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>TIME</FONT></TD>

<TD><FONT SIZE=-1>TI</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>SETTIME</FONT></TD>

<TD><FONT SIZE=-1>SE</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>RPING</FONT></TD>

<TD><FONT SIZE=-1>RI</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>RPONG</FONT></TD>

<TD><FONT SIZE=-1>RO</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>NAMES</FONT></TD>

<TD><FONT SIZE=-1>E</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>ADMIN</FONT></TD>

<TD><FONT SIZE=-1>AD</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>TRACE</FONT></TD>

<TD><FONT SIZE=-1>TR</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>NOTICE</FONT></TD>

<TD><FONT SIZE=-1>O</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>WALLCHOPS</FONT></TD>

<TD><FONT SIZE=-1>WC</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>CPRIVMSG</FONT></TD>

<TD><FONT SIZE=-1>CP</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>CNOTICE</FONT></TD>

<TD><FONT SIZE=-1>CN</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>JOIN</FONT></TD>

<TD><FONT SIZE=-1>J</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>PART</FONT></TD>

<TD><FONT SIZE=-1>L</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>LUSERS</FONT></TD>

<TD><FONT SIZE=-1>LU</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>MOTD</FONT></TD>

<TD><FONT SIZE=-1>MO</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>MODE</FONT></TD>

<TD><FONT SIZE=-1>M</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>KICK</FONT></TD>

<TD><FONT SIZE=-1>K</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>USERHOST</FONT></TD>

<TD><FONT SIZE=-1>USERHOST</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>USERIP</FONT></TD>

<TD><FONT SIZE=-1>USERIP</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>ISON</FONT></TD>

<TD><FONT SIZE=-1>ISON</FONT></TD>
</TR>

<TR>
<TD><I><FONT SIZE=-1>SQUERY</FONT></I></TD>

<TD><I><FONT SIZE=-1>SQUERY</FONT></I></TD>
</TR>

<TR>
<TD><I><FONT SIZE=-1>SERVLIST</FONT></I></TD>

<TD><I><FONT SIZE=-1>SERVLIST</FONT></I></TD>
</TR>

<TR>
<TD><I><FONT SIZE=-1>SERVSET</FONT></I></TD>

<TD><I><FONT SIZE=-1>SERVSET</FONT></I></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>REHASH</FONT></TD>

<TD><FONT SIZE=-1>REHASH</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>RESTART</FONT></TD>

<TD><FONT SIZE=-1>RESTART</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>CLOSE</FONT></TD>

<TD><FONT SIZE=-1>CLOSE</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>DIE</FONT></TD>

<TD><FONT SIZE=-1>DIE</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>HASH</FONT></TD>

<TD><FONT SIZE=-1>HASH</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>DNS</FONT></TD>

<TD><FONT SIZE=-1>DNS</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>SILENCE</FONT></TD>

<TD><FONT SIZE=-1>U</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>GLINE</FONT></TD>

<TD><FONT SIZE=-1>GL</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>BURST</FONT></TD>

<TD><FONT SIZE=-1>B</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>CREATE</FONT></TD>

<TD><FONT SIZE=-1>C</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>DESTRUCT</FONT></TD>

<TD><FONT SIZE=-1>DE</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>END_OF_BURST</FONT></TD>

<TD><FONT SIZE=-1>EB</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>END_OF_BURST_ACK</FONT></TD>

<TD><FONT SIZE=-1>EA</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>PROTO</FONT></TD>

<TD><FONT SIZE=-1>PROTO</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>JUPE</FONT></TD>

<TD><FONT SIZE=-1>JU</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>OPMODE</FONT></TD>

<TD><FONT SIZE=-1>OM</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>CLEARMODE</FONT></TD>

<TD><FONT SIZE=-1>CM</FONT></TD>
</TR>

<TR>
<TD><FONT SIZE=-1>ACCOUNT</FONT></TD>

<TD><FONT SIZE=-1>AC</FONT></TD>
</TR>
</TABLE></CENTER>
<FONT FACE="Arial,Helvetica"><FONT SIZE=-1><B>[</B><A HREF="#top">Back</A><B>]</B></FONT></FONT>
<BR>
<HR ALIGN=LEFT WIDTH=100% SIZE=2>
<P><A NAME="chap3"></A><B><FONT SIZE=+2>3. Registration and syncronisation</FONT></B>
<P><A NAME="chap3.1"></A><B><FONT SIZE=+1>3.1 Server registration and authentication</FONT></B>
<P>After a TCP connection has been established, the server initally introduces
itself via a "PASS" message as follows:
<BLOCKQUOTE>
<PRE><FONT COLOR="#00007F">PASS :[PASSWORD]</FONT></PRE>
</BLOCKQUOTE>
"PASSWORD" is simply compared with the password present in the destination
servers config file, and is used to confirm credentials after the "SERVER"
message has been recieved, as follows:
<BLOCKQUOTE>
<PRE><TT><FONT COLOR="#00007F">SERVER [SERVERNAME] [HOPCOUNT] [START TIME] [LINK TIME] [PROTOCOL] [NUMERIC/MAXCONN] :[DESCRIPTION]</FONT></TT></PRE>
</BLOCKQUOTE>
For Example:
<BLOCKQUOTE>
<PRE><B>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;&nbsp; 7&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;
</B>SERVER irc.undernet.org 1 933022556 947908144 J10 AA]]] :[127.0.0.1] A Undernet Server.</PRE>
</BLOCKQUOTE>
<I>Notes:</I>
<OL>
<LI>
The SERVER message, indicating this connection wishes to introduce a new
server to the network.</LI>

<LI>
&nbsp;The name of the server you are introducing, a valid server name consists
of [..defn..].</LI>

<LI>
&nbsp;The hop count of the server you are introducing, this is always 1
when you are introducing yourself.</LI>

<LI>
&nbsp;The epoch timestamp specifying when the ircd was started.</LI>

<LI>
&nbsp;The epoch timestamp specifying the time the server initiated the
link to the network.</LI>

<LI>
&nbsp;The Protocol identifier of this server.</LI>

<OL>
<LI>
This token informs the network which protocol it is compliant with, eg:
If it is a P10 compliant server, then the token will be "P10".</LI>

<LI>
&nbsp;If the server being introduced has not yet successfully synced its
database with the network (Completed its net.burst - see 3.2), then the
Protocol token should be prefixed with a J, instead of a P (Eg: J10) to
indicate it is currently still <B>j</B>oining the network.</LI>

<LI>
&nbsp;The protocol token should always be JXX when the server is introducing
<B>itself</B>.</LI>
</OL>

<LI>
The numeric, and maximum connections identifier for this server.</LI>

<OL>
<LI>
This token is formatted exactly the same as a client numeric is formatted.
The first 2 characters identify the server's numeric, whilst in this situation,
the final 3 characters define the maximum number of clients that this server
can hold (and more importantly, the maximum number of numerics it will
generate). This is always one less than a power of two, because the server
uses this as a bitmask.  A server can give out a higher numeric than this,
however it will be "anded" with this number to find it's entry slot.  The
reason for this is so a server which is near the maximum number of clients
can give out more numerics than it's using to prevent a new client getting a
numeric that was used only seconds ago and maybe get messages destined to
the old user.</LI>

<LI>
&nbsp;The example "AA]]]" shows that this is a server with numeric 0, which
will generate client numerics up to 262,143.</LI>
</OL>

<LI>
This final parameter simply consists of a textual description of the server
prefixed by a colon. This is displayed in a clients WHOIS line, aswell
as in the LINKS reply.  By convention, if this is a leaf server it contains
the servers IP in square brackets at the beginning of the string,</LI>
</OL>
<A NAME="chap3.2"></A><B><FONT SIZE=+1>3.2 Network Database resyncronisation</FONT></B>
<P>After the connection has been established and verified, the next step
is to syncronise the database of client/server/channel information between
the two servers.
<BLOCKQUOTE><B>3.2.1 - SERVER Messages</B></BLOCKQUOTE>

<BLOCKQUOTE>Server details are transmitted via "SERVER" messages similar
to the initial introduction message, with the following format:</BLOCKQUOTE>

<BLOCKQUOTE>
<BLOCKQUOTE><TT><FONT COLOR="#00007F">[OWNING SERVER PREFIX] S [SERVERNAME]
[HOPCOUNT] [START TIME] [LINK TIME] [PROTOCOL] [NUMERIC/MAXCONN] 0 :[DESCRIPTION]</FONT></TT></BLOCKQUOTE>
<FONT COLOR="#000000">The syntax of this message is almost identical to
the originally recieved server message, with the only exception being that
the message is numeric prefixed, to indicate which server sent this message
(and also therefore, which hub this new server is linked too). There is
also a fixed "0" present before the Description field, this is a placeholder
for future use and currently unused. [Isomer: Question, what IS this
reserved for?] </FONT>
<P><B>3.2.2 - NICK Messages</B></BLOCKQUOTE>

<BLOCKQUOTE>Client information is transmitted via "NICK" messages, of the
following format:</BLOCKQUOTE>

<BLOCKQUOTE>
<BLOCKQUOTE>
<PRE><TT><FONT COLOR="#00007F">[NUMERIC PREFIX] N [NICK] [HOPCOUNT] [TIMESTAMP] [USERNAME] [HOST] &lt;+modes> [BASE64 IP] [NUMERIC] :[USERINFO]</FONT></TT></PRE>
</BLOCKQUOTE>
<FONT COLOR="#00007F">For Example:</FONT>
<BLOCKQUOTE><TT><FONT COLOR="#000000">1&nbsp; 2 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
4 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;&nbsp;&nbsp;&nbsp;
7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;
9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10&nbsp;&nbsp;&nbsp; 11</FONT></TT>
<BR><TT><FONT COLOR="#000000">AF N Client1 1 947957573 User userhost.net
+oiwg DAqAoB AFAAA :Generic Client.</FONT></TT></BLOCKQUOTE>
<I>Notes:</I>
<OL>
<LI>
The numeric of the server sending this message. (And hence, owning this
client).</LI>

<LI>
The "NICK" token.</LI>

<LI>
The nickname of this client, currently max 9 chars.</LI>

<LI>
The "Hopcount" of this client, Ie: how many servers away it is on.</LI>

<LI>
The epoch timestamp indicating when the user was created.</LI>

<LI>
The "User" part of the user@host mask.</LI>

<LI>
the "Host" part of the user@host mask.</LI>

<LI>
[<B>Optional</B>]: User modes. If present, this is always +&lt;user modes
for this client>.  Note that the special +r usermode is followed by the
client's account name; see the documentation for ACCOUNT.</LI>

<LI>
The real IP address of this client, a Base64 encoded 32bit int.</LI>

<LI>
This client's numeric, in SSCCC format.</LI>

<LI>
Free format user info line.</LI>

<BR>&nbsp;</OL>
</BLOCKQUOTE>

<BLOCKQUOTE><B>3.2.3 - BURST Messages</B></BLOCKQUOTE>

<BLOCKQUOTE>Channel details and membership information is synchronised
in one (or more) BURST messages for each channel that exists, formatted
as follows:</BLOCKQUOTE>

<BLOCKQUOTE>
<BLOCKQUOTE>
<PRE><TT><FONT COLOR="#00007F">[NUMERIC PREFIX] B [CHANNEL] [CREATION TIMESTAMP] &lt;+MODES> &lt;ARG1> &lt;ARG2> [MEMBER LIST] &lt;:%BANS></FONT></TT></PRE>
</BLOCKQUOTE>
</BLOCKQUOTE>

<BLOCKQUOTE>For Example:</BLOCKQUOTE>

<BLOCKQUOTE>
<BLOCKQUOTE>
<PRE>1&nbsp; 2 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;&nbsp; 7&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9
AZ B #coder-com 949217470 +tinkl key 56 AAAAA,AAAAB,AAAAC,ABAAA,ABAAB,ABAAC,ACAAA :%*!*@*.net</PRE>
</BLOCKQUOTE>
</BLOCKQUOTE>

<BLOCKQUOTE><I>Notes:</I></BLOCKQUOTE>

<OL>
<LI>
The numeric of the server sending this message.</LI>

<LI>
The "BURST" token.</LI>

<LI>
The name of the channel to which this data belongs. Currently #Channel
and +Channel names can be sent in a BURST message, &amp;Channels are not
because by definition they are local to the server.</LI>

<LI>
The epoch timestamp indicating when the channel was created.</LI>

<LI>
[<B>Optional</B>]: Channel Modes.</LI>

<OL>
<LI>
The channel may have a number of modes set, aswell as relevant mode arguments
in the following 2 parameters.</LI>
</OL>

<LI>
[<B>Optional</B>]: Channel Key, this parameter is present if the channel
modes contain a "k" mode.</LI>

<LI>
[<B>Optional</B>]: Channel Limit, this parameter is present if the channel
modes contain a "l" mode.</LI>

<LI>
&nbsp;A <I>comma</I> seperated list of client numerics, with the following
specific formatting rules to indicate +o, +v and +ov channel members.</LI>

<OL>
<LI>
Numerics can have the following symbols appended on them; "<B>:ov</B>",
"<B>:v</B>" or "<B>:o</B>". These indicate that this numeric is either
Opped (<B>:o</B>), Voiced (<B>:v</B>) or both (<B>:ov</B>). This state
applies to the numeric it is attached too, and all subsequent numerics
until another state is encountered. <I>For Example:</I></LI>

<LI>
AAABA:ov, AAABB:o,AAABC,AAABD,AAABE:v,AAABZ</LI>

<BR>Here, AAABA is both opped, and voiced, AAABB, AAABC and AAABD are opped
leaving AAABE and AAABZ voiced.
<LI>
&nbsp;The first numeric of the member list will always contain a state
symbol.</LI>
</OL>

<LI>
A <I>space</I> seperated list of bans present in the channel. The start
of the ban stream is indicated by a ":%", everything following the ":%"
is the ban list.</LI>

<BR><I>For Example:</I>
<BR>:%*!*@*.foobar.net another!ban@*.com *!*fred@a.host.co.uk
<BR>Would add the following bans to the channel:
<P>*!*@*.foobar.net
<BR>another!ban@*.com
<BR>*!*fred@a.host.co.uk</OL>

<BLOCKQUOTE>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 <B>only</B>
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:</BLOCKQUOTE>

<BLOCKQUOTE>
<BLOCKQUOTE>
<PRE>AZ BURST #coder-com 949217470 ACAAB:o,ACAAD :%*!*another@*.ban.com</PRE>
</BLOCKQUOTE>
</BLOCKQUOTE>

<BLOCKQUOTE>Which adds two more opped members and a ban to the channel.</BLOCKQUOTE>

<BLOCKQUOTE><B>3.2.4 - JUPE Messages</B></BLOCKQUOTE>

<BLOCKQUOTE>Any currently unexpired JUPEs are transmitted via "JUPE" messages
with the following format:</BLOCKQUOTE>

<BLOCKQUOTE>
<BLOCKQUOTE><TT><FONT COLOR="#00007F">[NUMERIC PREFIX] JU * (+|-)[SERVER
NAME] [LIFETIME] [LAST MOD] :[REASON]</FONT></TT></BLOCKQUOTE>
For example:</BLOCKQUOTE>

<BLOCKQUOTE>
<BLOCKQUOTE><TT>1&nbsp; 2&nbsp; 3 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
7</TT>
<BR><TT><FONT COLOR="#000000">AZ JU * +juped.undernet.org 000003593 955419707
:Juped Server</FONT></TT></BLOCKQUOTE>
<I>Notes:</I></BLOCKQUOTE>

<OL>
<LI>
The numeric of the server sending this message.</LI>

<LI>
The "JUPE" token.</LI>

<LI>
The target that should apply this JUPE (always "*" during bursts).</LI>

<LI>
The name of the server to JUPE, prefixed with a "+" if the JUPE is active,
or with a "-" if it is not.</LI>

<LI>
The remaining absolute lifetime of the JUPE, expressed in seconds.</LI>

<LI>
The last time the JUPE was modified.</LI>

<LI>
The reason the JUPE was applied.</LI>
</OL>
<A NAME="chap3.3"></A><B><FONT SIZE=+1>3.3 Summary</FONT></B>
<P>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.
<P>S1: Sends Password.
<BR>S1: Sends initial SERVER message.
<P><I>S2 Confirms S1 has the correct credentials, and if so, proceeds.
If not, S1 is squit with a relevant reason.</I>
<P>S2: Sends Password.
<BR>S2: Sends initial SERVER message.
<P><I>S1 Confirms S2 has the correct credentials, and if so, proceeds.
If not, S2 is squit with a relevant reason.</I>
<P><B><I>The follow occur asynchronously, however they have been shown
seperately below for simplicity.</I></B>
<P>S1: Sends all the servers it is aware of as a stream of SERVER messages.
<BR>S1: Sends all the clients it is aware of as a stream of NICK messages.
<BR>S1: Sends the database of channel states on the network, as a stream
of BURST messages.
<BR>S1: Sends all the jupes it is aware of as a stream of JUPE messages.
<BR>S1: Sends a END_OF_BURST token (EB) to indicate it has finished sending.
<P>S2: Sends all the servers it is aware of as a stream of SERVER messages.
<BR>S2: Sends all the clients it is aware of as a stream of NICK messages.
<BR>S2: Sends the database of channel states on the network, as a stream
of BURST messages.
<BR>S2: Sends all the jupes it is aware of as a stream of JUPE messages.
<BR>S2: Sends a END_OF_BURST token (EB) to indicate it has finished sending.
<P>S2: Sends an EOB_ACK token (EA) to indicate it has succesfully recieved
the END_OF_BURST from S1
<BR>S1: Sends an EOB_ACK token (EA) to indicate it has succesfully recieved
the END_OF_BURST from S2
<P><I>Example Session:</I>
<PRE><FONT COLOR="#00007F">[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 (foo@bar.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 947958121 Ident userhost.net +iwg DAqAoB AIAAB :Generic Client.
[ READ]: AF B #foobar 947957734 +tink akey AIAAB,AIAAA:v,AZAAA:o :%*!*another@*.ban.com *!*foo@bar.net
[ READ]: AF B #coder-com 947957727 AIAAB,AZAAA:o
[ READ]: AF B #another 946101321 AFAAA
[ READ]: AF JU * +juped.undernet.org 3600 947958100 :Broken, please fix
[ READ]: AF EB
[WRITE]: AB EA
[ READ]: AF EA</FONT></PRE>
<FONT FACE="Arial,Helvetica"><FONT SIZE=-1><B>[</B><A HREF="#top">Back</A><B>]</B></FONT></FONT>
<BR>
<HR WIDTH="100%">
<BR><A NAME="chap4"></A><B><FONT SIZE=+2>4. Continuous Operation</FONT></B>
<P>This chapter provides details of the messages that can be sent after
successfully linking to a network, and synchronising the channel/user database.
<P><A NAME="chap4.1"></A><B><FONT SIZE=+1>4.1 Channel state operations</FONT></B>
<P>There are a number of messages that can modify the state of a channel,
these are:
<OL><B>4.1.1 - MODE</B>
<P>The MODE message can modify channel modes and bans, and also give or
take operator/voice status from channel members.
<OL>&nbsp;
<BR><TT><FONT COLOR="#00007F">[NUMERIC PREFIX] M [CHANNEL] (+|-)[MODESTRING]
&lt;MODESTRING PARAMETERS></FONT></TT></OL>

<P><BR>For Example:
<OL>&nbsp;
<BR><TT>1&nbsp;&nbsp;&nbsp;&nbsp; 2 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5</TT>
<BR><TT>AZAAA M #coder-com +stinlko 500 TestKey BAC</TT></OL>
<I></I>
<P><BR><I>Notes:</I>
<BR>&nbsp;
<OL>
<LI>
The numeric of the user issuing this MODE command. It can be assumed this
user is opped on the target channel.</LI>

<LI>
The "MODE" token.</LI>

<LI>
The target channel.</LI>

<LI>
The "Mode string".</LI>

<OL>
<LI>
This consists of up to 6 '+' or '-' (add or remove) prefixed channel modes.
(If no '+' or '-' are specified, a '+' is assumed unless a '-' has been
encountered previously in the mode string). For example, '+s+t+n-l-io'
is a valid mode string, as is '+stnmov'.</LI>

<BR>&nbsp;
<LI>
Valid Mode modes are:</LI>
</OL>
</OL>

<OL>
<OL>&nbsp;
<TABLE BORDER COLS=3 WIDTH="85%" NOSAVE >
<TR NOSAVE>
<TD NOSAVE><B>Token</B></TD>

<TD><B>Function</B></TD>

<TD><B>Parameters</B></TD>
</TR>

<TR NOSAVE>
<TD NOSAVE>p</TD>

<TD>Sets/Unsets 'Private' Flag.</TD>

<TD>None.</TD>
</TR>

<TR>
<TD>s</TD>

<TD>Sets/Unsets 'Secret' Flag.</TD>

<TD>None.</TD>
</TR>

<TR>
<TD>m</TD>

<TD>Sets/Unsets 'Moderated' Flag.</TD>

<TD>None.</TD>
</TR>

<TR>
<TD>n</TD>

<TD>Sets/Unsets 'External Messages' Flag.</TD>

<TD>None.</TD>
</TR>

<TR>
<TD>t</TD>

<TD>Sets/Unsets 'Topic Limit' Flag.</TD>

<TD>None.</TD>
</TR>

<TR>
<TD>i</TD>

<TD>Sets/Unsets 'Invite only' Flag.</TD>

<TD>None.</TD>
</TR>

<TR>
<TD>l</TD>

<TD>Sets/Unsets 'Channel Limit' Flag.</TD>

<TD>The channel limit.</TD>
</TR>

<TR>
<TD>k</TD>

<TD>Sets/Unsets 'Channel Key' Flag.</TD>

<TD>The channel keyword (Password).</TD>
</TR>

<TR>
<TD>o</TD>

<TD>Ops and Deops users.</TD>

<TD>Numeric of user to be opped.</TD>
</TR>

<TR>
<TD>v</TD>

<TD>Voice</TD>

<TD>Numeric of user to be voiced.</TD>
</TR>

<TR>
<TD>b</TD>

<TD>Ban</TD>

<TD>Ban string.</TD>
</TR>
</TABLE>
</OL>
</OL>

<OL>
<LI>
The "Mode string Parameters".</LI>

<OL>
<LI>
This is a matching list of parameters to the modes supplied in the "Modestring".</LI>

<BR><I>For Example:</I>
<BR>If the Modestring is "+stnlo", a typical parameter string would be
"500 AZAA". The first 3 modes, 's', 't' and 'n' do not require parameters,
so non are present. The following two, 'l' and 'o' both require parameters,
so they are 500 and AZAAA respectively (This sets the channel limit to
500 users, and ops the numeric AZAAA).</OL>
</OL>

<P><BR>N.B: The "MODE" message is also used to modify a client's user modes,
not just channel modes. See <A HREF="#chap4.2">section 4.2</A> for details.</OL>

<OL><B>4.1.2 - OPMODE</B>
<P>The OPMODE message is identical in syntax to the MODE message, however
it will only ever have an operator as the source. It is likely that the
source of this mode will not have ops in the target channel, but it should
succeed never the less.
<P><B>4.1.3 - JOIN</B>
<P><B>4.1.4 - PART</B>
<P><B>4.1.5 - KICK</B>
<P><B>4.1.6 - TOPIC</B>
<P><B>4.1.7 - CLEARMODE</B>
<BR>&nbsp;
<OL><TT>AZAAA CM #coder-com ovpsmikbl</TT></OL>
</OL>
<A NAME="chap4.2"></A><B><FONT SIZE=+1>4.2 Client state operations</FONT></B>
<BLOCKQUOTE><B>4.2.1 - NICK</B>
<BLOCKQUOTE><TT>AZAAA N Nick2 955423230</TT></BLOCKQUOTE>
<B>4.2.2 - MODE</B>
<BLOCKQUOTE><TT>AZAAA M Nick2 :+odi</TT></BLOCKQUOTE>
<B>4.2.3 - ACCOUNT</B>
<BLOCKQUOTE><TT>AX AC AZAAA oper</TT></BLOCKQUOTE>
<P>The ACCOUNT message provides a way for servers, such as the channel service
server, to set the account name information that is associated with a client.
Once set, it cannot be unset or changed, and will be propagated in NICK during
net bursts using the special user mode +r followed by the account name.
</BLOCKQUOTE>
<A NAME="chap4.3"></A><B><FONT SIZE=+1>4.3 Channel/Client Messaging.</FONT></B>
<BLOCKQUOTE><B>4.3.1 - PRIVMSG</B>
<P><B>4.3.2 - NOTICE</B>
<P><B>4.3.3 - CNOTICE</B>
<P><B>4.3.4 - CPRIVMSG</B>
<BR>&nbsp;</BLOCKQUOTE>
<FONT FACE="Arial,Helvetica"><FONT SIZE=-1><B>[</B><A HREF="#top">Back</A><B>]</B></FONT></FONT>
<BR>
<HR ALIGN=LEFT WIDTH=100% SIZE=2>
<P><A NAME="chap5"></A><B><FONT SIZE=+2>5. Programmers reference: Client/Server
Structures</FONT></B>
<P>This section provides information on the standard Client/Server structures,
for easy reference during development.
<P><I>[..Link to autogenerated struct.html..]</I>
<P><FONT FACE="Arial,Helvetica"><FONT SIZE=-1><B>[</B><A HREF="#top">Back</A><B>]</B></FONT></FONT>
<BR>
<HR ALIGN=LEFT WIDTH=100% SIZE=2>
<BR><A NAME="chap7"></A><B><FONT SIZE=+2>7. FAQ</FONT></B>
<P>Frequently asked questions.
<UL>
<LI>
Q. How..</LI>

<LI>
A. ...</LI>
</UL>
<FONT FACE="Arial,Helvetica"><FONT SIZE=-1><B>[</B><A HREF="#top">Back</A><B>]</B></FONT></FONT>
<BR>
<HR WIDTH="100%">
<P><A NAME="chap8"></A><B><FONT SIZE=+2>8. Update History</FONT></B>
<P>[2000-01-20]: Initial draft, structure, background info.
<BR>[2000-02-13]: Added initial BURST documentation.
<BR>[2000-02-14]: Continued BURST documentation / Begin NICK and SERVER
documentation.
<BR>[2000-02-26]: Continued chapter 5, few example fixes, added token table
from msg.h. -Gte.
<BR>[2000-03-02]: Added NICK spec. -Gte.
<BR>[2000-03-18]: Added JUPE spec. -Kev
<BR>[2000-04-10]: Added information about OPMODE and CLEARMODE tokens.
-Kev
<BR>[2000-04-11]: Started work on chapter 4. -Gte
<BR>[2000-06-01]: Changed some info about the max number of clients -Isomer
<BR>[2002-01-11]: Wrote a specification for ACCOUNT and noted that a usermode
in a NICK message may have an argument. -Kev
<P><A NAME="chap8.1"></A><B><FONT SIZE=+1>8.1 TODO</FONT></B>
<UL>
<LI>
Finish Chapter 5.</LI>

<LI>
Go through examples, and ensure they are all correct.</LI>

<LI>
Add common function headers, with argv listings.</LI>

<LI>
Add description of further server to server messages, with special cases
and outcomes.</LI>

<LI>
Add FAQ Section.</LI>
</UL>
<FONT FACE="Arial,Helvetica"><FONT SIZE=-1><B>[</B><A HREF="#top">Back</A><B>]</B></FONT></FONT>
</BODY>
</HTML>