Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

positive fixint / uint8 / uint16 / uint32 / uint64 Length of Payload
...Payload


Handshake

TODO: Magic word, features as map (question)


Request
4 bytesMagic number 49 47 4E 49, or "IGNI". Helps identifying misconfigured SSL or other apps probing the port.
fixint / uintPayload length
positive fixintVersion major
positive fixintVersion minor
positive fixintVersion patch
positive fixintClient code (1 for JDBC, 2 for general-purpose client)
binFeatures (bitmask)
map (int → any)Extensions (auth, attributes, etc). Server can skip unknown extension data (when client is newer).


Response
4 bytesMagic number 49 47 4E 49, or "IGNI". Helps identifying misconfigured SSL or different server on the port.
fixint / uintPayload length
positive fixintServer version major
positive fixintServer version minor
positive fixintServer version patch
booleanSuccess flag
stringWhen success flag is false: Error message
binWhen success flag is true: Server features (bitmask)
map (int → any)When success flag is true: Extensions (auth, attributes, etc). Client can skip unknown extension data (when server is newer).

Risks and Assumptions

TODO

...