On 09/09/2015 06:25 PM, Mark Rotteveel wrote: > On 9-9-2015 16:31, Alex Peshkoff wrote: >>>> FB3 supports use of multiple authentication plugins. It may happen (when >>>> no encryption is used) that first one works at connect stage, next >>>> starts at attach stage and later follows exchange with auth data until >>>> authentication success (or failure). This saves roundtrips when attaching. >>> Thanks for the explanation. This sort of things makes implementing an >>> equivalent authentication mechanism a lot harder. I would very much have >>> preferred a single mechanism (even though if they look and work >>> similar). >> I've so many times read/heard about too slow firebird remote protocol >> compared with other SQL servers that tried to save roundtrips when/where >> possible ... > I am not specifically talking about saving packets. The assumptions and > requirements of the new authentication protocol handshake are - as far > as I know - not documented in structured manner except in the code > itself. When I get it a bit cleaned up and working in Jaybird I'll do my > best to add it to the existing wire protocol doc.
That will be a real breakthrough for interbase/firebird protocols - as far as I know there never used to be such docs. > > For a non-C++ programmer the Firebird code can be a real maze when > looking for where things are defined and how they are defined and how > things go together (as an example: ClntAuthBlock is implemented > partially in remote.cpp and interface.cpp); I know it's a bad way - but it was a simplest one to avoid unresolved externals in both client & server at the same time avoiding inclusion of too many unneeded code at both sides. > I need to keep switching > between remote.cpp, interface.cpp, and inet.cpp Feel lucky that you do not deal with windows - there are also xnet & wnet in it ;) ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel