Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-3020

Upstream: check for activated libreswan connections is not robust enough

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • openvswitch3.5
    • None
    • False
    • False
    • Hide

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:
      ( ) Unit test or Integration test case are written and pass successfully


      ( ) The upstream pull request is merged upstream and pass CI

      Show
      Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) Unit test or Integration test case are written and pass successfully ( ) The upstream pull request is merged upstream and pass CI
    • openvswitch3.5-3.5.2-70.el9fdp
    • rhel-10
    • None
    • rhel-net-ovs-dpdk

      This is tracking the upstream effort needed to deliver the solution to the bug described below.


      Problem Description:

      Issue is descirbed in https://github.com/openvswitch/ovs-issues/issues/374

      Impact Assessment: 

      Under specific conditions it might happen that one side of the connection ends up with IKE SA without corresponding Child SA. Such situation can be fixed by reconciliation but it will not happen because the current check for activated connections is checking any SA instead of Child SA and hence it will be satisfied by having IKE SA created.

       

      Fortunately, this problem can be easily mitigated since it is easy to distinguish between IKE SA and Child SA in the output that is used in the check.

      Software Versions: 

      All current versions of openvswitch

      Issue Type:

      New issue.

      Reproducibility: 

      It can be reproduced reliably.

      Reproduction Steps:

      Delete Child SA and keep IKE SA.

      Expected Behavior:

      Once Child SA is missing reconciliation should happen regardless of having IKE SA still active.

      Observed Behavior:

      Having any SA (either IKE SA or Child SA) is consideres as having active ipsec connection.

      Troubleshooting Actions: 

      N/A

      Additional Information:

      This is relevant for RHEL-9 as well.

       

       


              imaximet@redhat.com Ilya Maximets
              omoris Ondrej Moris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: