Derby
  1. Derby
  2. DERBY-5565

Network Server should reject client connections that are not Derby Network Client

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Network Server
    • Labels:
      None
    • Issue & fix info:
      High Value Fix, Newcomer, Patch Available, Release Note Needed

      Description

      Since there have been no other network clients besides Derby Network Client tested or supported with Derby since 10.1 and since any protocol based client needs to understand Derby's DRDA extensions, deviations, and stored procedure usage. I think it would be a good idea in 10.9 for Network Server to outright reject any network clients that are not Derby Network Client.

      This would eliminate confusion up front for those that might not be aware that the DB2 Universal JDBC Driver and DB2 Runtime Client are not supported. They would get a clean reasonable error instead of hitting various protocol errors.

      Also it would mean if someone does want to add support for some network client in the future they would at least need to add the one or two lines of code in AppRequester to identify it, which I think would be a good thing.

      I think the code change would not be hard but the biggest impact might be anyone who still runs tests with JCC on trunk would need to disable those tests. There is a separate issue DERBY-4785 that Jayaram is working on to complete remove the JCC related code from the tests and test infrastructure.

      1. derby-5565_diff.txt
        6 kB
        Kathey Marsden
      2. derby.log
        4 kB
        Kathey Marsden
      3. JCCDSConnectTest.java
        1 kB
        Kathey Marsden
      4. derby-5565_diff.txt
        18 kB
        Kathey Marsden
      5. releaseNote.html
        5 kB
        Kathey Marsden

        Activity

        Gavin made changes -
        Workflow jira [ 12647946 ] Default workflow, editable Closed status [ 12798979 ]
        Knut Anders Hatlen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Kathey Marsden made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 10.9.0.0 [ 12316344 ]
        Resolution Fixed [ 1 ]
        Kathey Marsden made changes -
        Attachment releaseNote.html [ 12528350 ]
        Kathey Marsden made changes -
        Attachment derby-5565_diff.txt [ 12526004 ]
        Kathey Marsden made changes -
        Issue & fix info Release Note Needed,Newcomer,High Value Fix [ 10101,10423,10422 ] High Value Fix,Newcomer,Patch Available,Release Note Needed [ 10422,10423,10102,10101 ]
        Kathey Marsden made changes -
        Attachment derby-5565_diff.txt [ 12523568 ]
        Attachment derby.log [ 12523569 ]
        Attachment JCCDSConnectTest.java [ 12523570 ]
        Kathey Marsden made changes -
        Field Original Value New Value
        Assignee Kathey Marsden [ kmarsden ]
        Affects Version/s 10.9.0.0 [ 12316344 ]
        Component/s Network Server [ 11410 ]
        Kathey Marsden created issue -

          People

          • Assignee:
            Kathey Marsden
            Reporter:
            Kathey Marsden
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development