mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-25 02:22:18 -05:00
Update MediaWiki page '317 Protocol'
This commit is contained in:
parent
f5fb74e9ae
commit
ebf1866636
@ -1,7 +1,6 @@
|
|||||||
[[Category Packet]]
|
[[Category Packet]]
|
||||||
[[Category Packet 317]]
|
[[Category Packet 317]]
|
||||||
[[Category RS2]]
|
[[Category RS2]]
|
||||||
<P ALIGN="RIGHT">[[File 317 1.jpg|thumb|The 317 client]]</P>
|
|
||||||
== '''Packet structure''' ==
|
== '''Packet structure''' ==
|
||||||
When the client sends a packet to the server, the first byte encapsulates its [http://en.wikipedia.org/wiki/Opcode opcode]. This specific opcode is encrypted with a value generated by the [http://en.wikipedia.org/wiki/ISAAC ISAAC] [http://en.wikipedia.org/wiki/Pseudorandom_number_generator PRNG] seeded with a dynamically server generated key during the login block. The server decrypts it and associates the opcode to the packet's respective predefined size. If the packet does not contain a fixed size, the opcode will be followed by either a byte or a word - varying per packet - for its proper size. This is then followed by the [http://en.wikipedia.org/wiki/Payload_(software) payload].
|
When the client sends a packet to the server, the first byte encapsulates its [http://en.wikipedia.org/wiki/Opcode opcode]. This specific opcode is encrypted with a value generated by the [http://en.wikipedia.org/wiki/ISAAC ISAAC] [http://en.wikipedia.org/wiki/Pseudorandom_number_generator PRNG] seeded with a dynamically server generated key during the login block. The server decrypts it and associates the opcode to the packet's respective predefined size. If the packet does not contain a fixed size, the opcode will be followed by either a byte or a word - varying per packet - for its proper size. This is then followed by the [http://en.wikipedia.org/wiki/Payload_(software) payload].
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user