Skip to content
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

Discover should use strict name match #687

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

Bolodya1997
Copy link

Issue

Registry doesn't use strict name match for NS, NSE find. Discover can receive NS/NSE with invalid name and pass it further to the chain.

Solution

Make extra name check for NS, NSE on discover.

Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
@denis-tingaikin denis-tingaikin merged commit eae1be2 into networkservicemesh:master Feb 1, 2021
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr that referenced this pull request Feb 1, 2021
…k@master networkservicemesh/sdk#687

networkservicemesh/sdk PR link: networkservicemesh/sdk#687

networkservicemesh/sdk commit message:
commit eae1be2e20276d6c231307d79937a3cf9002ea1d
Author: Vladimir Popov <vladimir.popov@xored.com>
Date:   Mon Feb 1 13:10:04 2021 +0700

    Discover should use strict name match (#687)

    Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-vpp that referenced this pull request Feb 1, 2021
…k@master networkservicemesh/sdk#687

networkservicemesh/sdk PR link: networkservicemesh/sdk#687

networkservicemesh/sdk commit message:
commit eae1be2e20276d6c231307d79937a3cf9002ea1d
Author: Vladimir Popov <vladimir.popov@xored.com>
Date:   Mon Feb 1 13:10:04 2021 +0700

    Discover should use strict name match (#687)

    Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-icmp-responder that referenced this pull request Feb 1, 2021
…k@master networkservicemesh/sdk#687

networkservicemesh/sdk PR link: networkservicemesh/sdk#687

networkservicemesh/sdk commit message:
commit eae1be2e20276d6c231307d79937a3cf9002ea1d
Author: Vladimir Popov <vladimir.popov@xored.com>
Date:   Mon Feb 1 13:10:04 2021 +0700

    Discover should use strict name match (#687)

    Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vfio that referenced this pull request Feb 1, 2021
…k@master networkservicemesh/sdk#687

networkservicemesh/sdk PR link: networkservicemesh/sdk#687

networkservicemesh/sdk commit message:
commit eae1be2e20276d6c231307d79937a3cf9002ea1d
Author: Vladimir Popov <vladimir.popov@xored.com>
Date:   Mon Feb 1 13:10:04 2021 +0700

    Discover should use strict name match (#687)

    Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-k8s that referenced this pull request Feb 1, 2021
…k@master networkservicemesh/sdk#687

networkservicemesh/sdk PR link: networkservicemesh/sdk#687

networkservicemesh/sdk commit message:
commit eae1be2e20276d6c231307d79937a3cf9002ea1d
Author: Vladimir Popov <vladimir.popov@xored.com>
Date:   Mon Feb 1 13:10:04 2021 +0700

    Discover should use strict name match (#687)

    Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-kernel that referenced this pull request Feb 1, 2021
…k@master networkservicemesh/sdk#687

networkservicemesh/sdk PR link: networkservicemesh/sdk#687

networkservicemesh/sdk commit message:
commit eae1be2e20276d6c231307d79937a3cf9002ea1d
Author: Vladimir Popov <vladimir.popov@xored.com>
Date:   Mon Feb 1 13:10:04 2021 +0700

    Discover should use strict name match (#687)

    Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr-proxy that referenced this pull request Feb 1, 2021
…k@master networkservicemesh/sdk#687

networkservicemesh/sdk PR link: networkservicemesh/sdk#687

networkservicemesh/sdk commit message:
commit eae1be2e20276d6c231307d79937a3cf9002ea1d
Author: Vladimir Popov <vladimir.popov@xored.com>
Date:   Mon Feb 1 13:10:04 2021 +0700

    Discover should use strict name match (#687)

    Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-memory that referenced this pull request Feb 1, 2021
…k@master networkservicemesh/sdk#687

networkservicemesh/sdk PR link: networkservicemesh/sdk#687

networkservicemesh/sdk commit message:
commit eae1be2e20276d6c231307d79937a3cf9002ea1d
Author: Vladimir Popov <vladimir.popov@xored.com>
Date:   Mon Feb 1 13:10:04 2021 +0700

    Discover should use strict name match (#687)

    Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-proxy-dns that referenced this pull request Feb 1, 2021
…k@master networkservicemesh/sdk#687

networkservicemesh/sdk PR link: networkservicemesh/sdk#687

networkservicemesh/sdk commit message:
commit eae1be2e20276d6c231307d79937a3cf9002ea1d
Author: Vladimir Popov <vladimir.popov@xored.com>
Date:   Mon Feb 1 13:10:04 2021 +0700

    Discover should use strict name match (#687)

    Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
@Bolodya1997 Bolodya1997 deleted the fix-find-ns branch February 12, 2021 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants