New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Both client and server could not close connection after failed authentification [CORE4998] #5286
Comments
Modified by: @hvladassignee: Vlad Khorsun [ hvlad ] |
Modified by: @hvladstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 3.0.0 [ 10048 ] |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: No test => Deferred Test Details: Can anyone show here firebird.conf which was used to reproduce this ticket issue ?
|
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] Test Details: Can anyone show here firebird.conf which was used to reproduce this ticket issue ?
|
Commented by: @hvlad You should see not closed TCP\IP sockets at both isql.exe and firebird.exe until isql exits. |
Commented by: @hvlad Using CS you should see worker Fireird processes still running after failed login. |
Commented by: @pavel-zotov > Using CS you should see worker Fireird processes still running after failed login. I do NOT see it: C:\MIX\firebird\QA\fbt-repo\tmp>pslist 2>nul | findstr firebird C:\MIX\firebird\QA\fbt-repo\tmp>C:\MIX\firebird\fb30Cs\isql -q C:\MIX\firebird\QA\fbt-repo\tmp>pslist 2>nul | findstr firebird All other FB instances except CS were stopped, process 4612 is of Classic server, port # 3329. What I've missed ? |
Commented by: @hvlad Use default security settings in firebird.conf |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] Test Details: Can anyone show here firebird.conf which was used to reproduce this ticket issue ?
|
Commented by: @pavel-zotov > Use default security settings in firebird.conf Reproduced, thanks. |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: Deferred => Done successfully Test Details: Can be reproduced only when AuthServer, AuthClient & WireCrypt have default values. => Reproduced on 3.0.0.32136 RC1 with firebird.conf: |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: @hvlad
Reported by Dmitry Sibiryakov in fb-devel: "Exit from isql logs INET error on Windows after unsuccessful connection attempts" at 6 Nov 2015.
---
after executing following
script I'm getting in firebird.log number of "INET/inet_error: read errno = 10054" errors
equal to number of unsuccessful connection attempts.
connect localhost:test user sysdba password wrong_password;
connect localhost:test user sysdba password another_wrong_password;
connect localhost:test user sysdba password right_password;
exit;
---
The reason for INET errors is that nor client nor server not closed connection immediately after
failure and sockets are closed by OS when isql exits (in this sample).
Commits: d0768b2 FirebirdSQL/fbt-repository@cbd88db
====== Test Details ======
Reproduced on 3.0.0.32136 RC1 with firebird.conf:
AuthServer = Legacy_Auth,Srp
AuthClient = Srp,Legacy_Auth
The text was updated successfully, but these errors were encountered: