On 7/6/21 12:44 PM, Jiří Činčura wrote:
Made config match yours.

During connect/auth/attach fbclient send 4 packets to server:
op_connect, op_attach, op_cont_auth:
(gdb) print packet->p_auth_cont
$7 = {p_data = {cstr_length = 256, cstr_allocated = 0,
      cstr_address = 0x7ffff7accd90
"9488D1F46358D7855763336A53F9377B59810100BD009319F7C46D7CD152750C1219B769AC06D676C0139E82B4A7346B5123F88113C27910EE4F390C10062DE84AE3AFC1151508D01780687885749FABB78651FDC2240317718D3756FE64B8469A1A5DC5"...},
p_name = {cstr_length = 3, cstr_allocated = 3,
      cstr_address = 0x7ffff7ace390 "Srp", '\314' <repeats 13 times>,
'\335' <repeats 15 times>, <incomplete sequence \335>}, p_list = {
      cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_keys =
{cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}

and one more op_cont_auth:

(gdb) print packet->p_operation
$8 = op_cont_auth
(gdb) print packet->p_auth_cont
$9 = {p_data = {cstr_length = 40, cstr_allocated = 0,
      cstr_address = 0x7ffff7accd90
"649697C0CE1E0B3BAEF5AEB9471392809BAAD69FBD009319F7C46D7CD152750C1219B769AC06D676C0139E82B4A7346B5123F88113C27910EE4F390C10062DE84AE3AFC1151508D01780687885749FABB78651FDC2240317718D3756FE64B8469A1A5DC5"...},
p_name = {cstr_length = 3, cstr_allocated = 3,
      cstr_address = 0x7ffff7ace8e0 "Srp", '\314' <repeats 13 times>,
'\335' <repeats 15 times>, <incomplete sequence \335>}, p_list = {
      cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}, p_keys =
{cstr_length = 0, cstr_allocated = 0, cstr_address = 0x0}}

Pay attention - it's SRP (not 256) and p_auth_cont.p_data is differerent
second time.
But the op_cont_auth is sent as part of 2nd op_attach. Not in the first 
op_connect + op_attach.


Not understand your question.

4 packets were sent:
1. op_connect
2. op_attach
3. op_cont_auth
4. op_cont_auth

What is op_connect + op_attach?




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to