Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Jiří Činčura
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 CNCT_specific_data, ...

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Jiří Činčura
> What's the setting of WireCrypt on the server? For a mode you check it > should be Enabled or Disabled, not Required default. For Required you > get quite correct error. WireCrypt = Enabled -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interface at

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Mark Rotteveel
On 05-07-2021 20:22, Jiří Činčura wrote: I did. But Jaybird has different flow compared to NETProvider. Maybe this helps: https://github.com/mrotteveel/r2dbc-firebird/blob/main/src/main/java/org/firebirdsql/r2dbc/client/DatabaseAttachFlow.java#L456 This is the implementation of the various

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Jiří Činčura
I did. But Jaybird has different flow compared to NETProvider. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ On Mon, Jul 5, 2021, at 19:57, Mark Rotteveel wrote: > On 2021-07-05 16:55, Jiří Činčura wrote: > > What's the expected response to server from client after client > > receives

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Mark Rotteveel
On 2021-07-05 16:55, Jiří Činčura wrote: What's the expected response to server from client after client receives op_accept_data? Have you looked at the Jaybird code? As far as I'm aware, I have all phases and possible roundtrip combinations implemented there. Alternatively, I could commit

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Alex Peshkoff via Firebird-devel
On 7/5/21 7:17 PM, Jiří Činčura wrote: unavailable database What's the setting of WireCrypt on the server? For a mode you check it should be Enabled or Disabled, not Required default. For Required you get quite correct error. (sorry, sooner of all will next answer only tomorrow)

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Jiří Činčura
> and sent data from it to server. What's the packet for it? The op_cont_auth does not seem to work for me, I'm getting error response "unavailable database". That's my fault, but as I said, I'm trouble figuring out what's the response for op_accept_data in this case. At this point I still

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Alex Peshkoff via Firebird-devel
On 7/5/21 6:30 PM, Jiří Činčura wrote: next - attach(create) database or attach service You mean op_attach? Like again? Because that was sent in the first place (op_connect + op_attach). I have not known that's non-default client config. Certainly, no need to repeat op_attach. You just

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Alex Peshkoff via Firebird-devel
On 7/5/21 6:28 PM, Jiří Činčura wrote: What's the expected response to server from client after client receives op_accept_data? It's a weird combination I'm doing and something is missing from my implementation here. Client: Srp256, Srp WireCrypt: Disabled CNCT_specific_data sent for

Re: [Firebird-devel] Memory leak with external engine plugin

2021-07-05 Thread Vlad Khorsun
05.07.2021 10:17, Jiří Činčura wrote: You may try next build I can confirm the leak does not happen in https://github.com/FirebirdSQL/firebird/actions/runs/999413719 build. Good job! Will all the fixes be ported back to 3.0.8? Done, hope I did it right. Regards, Vlad

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Jiří Činčura
> next - attach(create) database or attach service You mean op_attach? Like again? Because that was sent in the first place (op_connect + op_attach). -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interface at

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Jiří Činčura
> What's the expected response to server from client after client > receives op_accept_data? It's a weird combination I'm doing and something is missing from my implementation here. Client: Srp256, Srp WireCrypt: Disabled CNCT_specific_data sent for Srp256. Server: Srp When the

Re: [Firebird-devel] Response to op_accept_data

2021-07-05 Thread Alex Peshkoff via Firebird-devel
On 7/5/21 5:55 PM, Jiří Činčura wrote: HI, What's the expected response to server from client after client receives op_accept_data? if needed - initialize channel compression, next - attach(create) database or attach service Firebird-Devel mailing list, web interface at

[Firebird-devel] Response to op_accept_data

2021-07-05 Thread Jiří Činčura
HI, What's the expected response to server from client after client receives op_accept_data? -- 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] Multiple CNCT_specific_data

2021-07-05 Thread Alex Peshkoff via Firebird-devel
On 7/5/21 4:18 PM, Jiří Činčura wrote: Never tried and doubt that would work. Does not work on my side. Hence, I take that as that it doesn't work. I suppose the extra op_cont_auth round-trip is going to be needed in case the first auth plugin is not matched. You must also send

Re: [Firebird-devel] Multiple CNCT_specific_data

2021-07-05 Thread Jiří Činčura
> Never tried and doubt that would work. Does not work on my side. Hence, I take that as that it doesn't work. I suppose the extra op_cont_auth round-trip is going to be needed in case the first auth plugin is not matched. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel

Re: [Firebird-devel] Multiple CNCT_specific_data

2021-07-05 Thread Alex Peshkoff via Firebird-devel
On 7/5/21 2:27 PM, Jiří Činčura wrote: Hi, Is it possible to sent multiple CNCT_specific_data, basically for each CNCT_plugin_name right away (saving roundtrip)? Never tried and doubt that would work. Firebird-Devel mailing list, web interface at

[Firebird-devel] Multiple CNCT_specific_data

2021-07-05 Thread Jiří Činčura
Hi, Is it possible to sent multiple CNCT_specific_data, basically for each CNCT_plugin_name right away (saving roundtrip)? -- 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] Memory leak with external engine plugin

2021-07-05 Thread Jiří Činčura
>You may try next build I can confirm the leak does not happen in https://github.com/FirebirdSQL/firebird/actions/runs/999413719 build. Good job! Will all the fixes be ported back to 3.0.8? -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interface