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
Connections compressed and encrypted in MON$ATTACHMENTS table [CORE5536] #5804
Comments
Modified by: @dyemanovassignee: Dmitry Yemanov [ dimitr ] |
Modified by: @AlexPeshkoffassignee: Dmitry Yemanov [ dimitr ] => Alexander Peshkov [ alexpeshkoff ] |
Commented by: @dyemanov The easiest solution might be extending MON$REMOTE_VERSION with flag characters 'C'/'Z' like "show version" does (e.g. P13/C), but this does not look user friendly. Maybe pass such a line internally via DPB but parse it inside the MON handler and decode into different fields? |
Commented by: @AlexPeshkoff Yes, I was thinking about something like this. Separate boolean fields are much better than characters in protocol version. |
Commented by: @AlexPeshkoff In FB3 adding fields to monitoring table means minor ODS change which we avoid in point releases. Therefore only new tag for attachment information call was backported. |
Modified by: @AlexPeshkoffstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 3.0.3 [ 10810 ] Fix Version: 4.0 Beta 1 [ 10750 ] |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: No test => Done with caveats Test Details: 3.0.3 is NOT checked because currently one may use only Legacy_Auth method in fbtest framedwork |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Closed [ 6 ] |
Commented by: @pavel-zotov I've checked fresh 3.0.3 snapshot and found that there is _no_ differences in MON$REMOTE_VERSION Following firebird.conf was used to initialize security3.fdb and check content of mon$attachments (build WI-V3.0.3.32798):AuthServer = Srp
|
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] Test Details: 3.0.3 is NOT checked because currently one may use only Legacy_Auth method in fbtest framedwork => 3.0.3 is NOT checked -- see comment 29/Aug/17 05:18 AM |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] Test Specifics: [Custom configuration required] |
Commented by: @AlexPeshkoff This is as designed in fb3 - one must use Attachment::getInfo() call with new tag (fb_info_conn_flags) in order to obtain compress/crypt info, monitoring tables remain unchanged. Read carefully what I've written: "only new tag for attachment information call was backported". |
Commented by: @pavel-zotov So why 3.0.3 is included into "Fix Version/s" ? We stilll have to use 'show version' rather than query to mon$attachments in order to obtain info about compression/encryption. Author of this ticket asked about mon$-approach, AFAIU.. |
Commented by: @AlexPeshkoff Do you think it makes sense to change fix list here and add new ticket for fb3? |
Commented by: @pavel-zotov No, I don't think like this. |
Commented by: Sean Leyne (seanleyne) IMO, this case should be changed to be v4 only, since the requirement/subject described is not met in v3.x. A separate v3.x & 4.x case "new tag ( fb_info_conn_flags) to getInfo() API call" should be created, since it is only that functionality which is supported in v3.x |
Modified by: @AlexPeshkoffFix Version: 3.0.3 [ 10810 ] => |
Submitted by: erick perez (erickperez)
Jira_subtask_outward CORE5601
Jira_subtask_outward CORE5913
Votes: 3
It would nice to know if connections are compressed or/and encrypted in MON$ATTACHMENTS table. There is not way to know this info from server side easily. We can see client and remote version, but this is not enogh information to be sure if client connection is compressed and encrypted
Commits: 50e9f8c 2ac2aa8 83e1342 ec9e4ac 4e4be00
====== Test Details ======
3.0.3 is NOT checked -- see comment 29/Aug/17 05:18 AM
The text was updated successfully, but these errors were encountered: