Uploaded image for project: 'EtherNet/IP Core V2'
  1. EtherNet/IP Core V2
  2. PSEIPCORE-257

Forward open requests not properly rejected, if stack runs out of TLR timers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V2.4.0.26, V2.5.0.3, V2.5.3.0
    • Labels:
      None
    • Account:
      SPC EthernetIp Core (SPCETHERNET)

      Description

      When opening an unlimited number of class 3 connections, for the first connections the device answers nicely, but when the maximum number of connections (64) is exhausted, then the requests are not correctly answered with an error code, but are still answered with the success error code in a (according to wireshark) malformed packet.
       

      Forward open request is processed by connection manager function Eip_Cm_ProcessFwOpen(). Sends EIP_OBJECT_OPEN_REQ towards own task, which is processed and answered. In function Eip_Cm_ConnOpenResp(), the transport is created at the encap task by means of command EIP_ENCAP_CREATE_TRANSP_REQ, processed by Eip_Cm_CreateTransp(), which fails in line 3970 with error code EIP_ENCAP_NO_TIMER. This causes the function to set a success status code in the response message with an invalid message size. (see Eip_Cm_CreateTransp function call to Eip_Cm_FwOpenErrorReply)

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  KMichel Kai Michel
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: