Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Mark Rotteveel
On 2021-07-06 07:45, Jiří Činčura wrote: This is the order of operations. Compression is disabled. FB3 server has only Srp and Win_Sspi enabled, WireCrypt is Enabled. op_connect + op_attach CNCT_user, ... CNCT_host, ... CNCT_user_verification, CNCT_login, ... CNCT_plugin_name, Srp256

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Jiří Činčura
> If the response is op_accept_data, then the following step would be to > enable compression if you have wire compression, and then send the > op_attach packet with the current plugin in isc_dpb_auth_plugin_name > and > the current client data of the plugin in isc_dpb_specific_auth_data. > De

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Alex Peshkoff via Firebird-devel
On 7/6/21 8:45 AM, Jiří Činčura wrote: This is the order of operations. Compression is disabled. FB3 server has only Srp and Win_Sspi enabled, WireCrypt is Enabled. op_connect + op_attach CNCT_user, ... CNCT_host, ... CNCT_user_verification, CNCT_login, ... CNCT_plugin_name, Srp2

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Alex Peshkoff via Firebird-devel
On 7/6/21 12:13 PM, Jiří Činčura wrote: Or maybe I'll just support Srp256 only and ignore Srp forever. :D And be not able to connect to default FB3? Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Jiří Činčura
> data from plugin to server, net op is op_cont_auth. That's the case for WireCrypt != Disabled. Else it just continues to op_attach and the rest of the auth is done there. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interface at https://lists.sourc

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Jiří Činčura
> And be not able to connect to default FB3? FB3 has Srp256 included starting something like 3.0.4, no? -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Alex Peshkoff via Firebird-devel
On 7/6/21 12:22 PM, Jiří Činčura wrote: And be not able to connect to default FB3? FB3 has Srp256 included starting something like 3.0.4, no? Supports - but not active in default config. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-d

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Jiří Činčura
> Supports - but not active in default config. As a plan C, it's OK-ish. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Alex Peshkoff via Firebird-devel
On 7/6/21 12:20 PM, Jiří Činčura wrote: data from plugin to server, net op is op_cont_auth. That's the case for WireCrypt != Disabled. Else it just continues to op_attach and the rest of the auth is done there. Made config match yours. During connect/auth/attach fbclient send 4 packets to s

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Jiří Činčura
> 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 = 0x77accd90 > "9488D1F46358D7855763336A53F9377B5

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Alex Peshkoff via Firebird-devel
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 = 0x77accd90 "9488D1F4

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Jiří Činčura
> 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? This (.NET) https://github.com/FirebirdSQL/NETProvider/blob/master/Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/GdsConne

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Mark Rotteveel
On 2021-07-06 12:12, Alex Peshkoff via Firebird-devel wrote: 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? The op_connect packet has a secondary op_attach code. Mark Firebird-Devel mailing list,

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Alex Peshkoff via Firebird-devel
On 7/6/21 2:23 PM, Mark Rotteveel wrote: On 2021-07-06 12:12, Alex Peshkoff via Firebird-devel wrote: 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? The op_connect packet has a secondary op_attach

Re: [Firebird-devel] Response to op_accept_data

2021-07-06 Thread Jiří Činčura
I would almost say, I'll remove it then. :) But fbclient is sending it too, so I'll probably stick with tried and true behavior. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ On Tue, Jul 6, 2021, at 13:57, Alex Peshkoff via Firebird-devel wrote: > On 7/6/21 2:23 PM, Mark Rotteveel wrote: