aws / amazon-vpc-cni-plugins

VPC CNI plugins for Amazon ECS and EKS.
Apache License 2.0
68 stars 45 forks source link

Update Windows BlockIMDS to use IPv4 endpoint only #85

Closed yinyic closed 1 year ago

yinyic commented 1 year ago

Issue #, if available: This is a follow-up for https://github.com/aws/amazon-vpc-cni-plugins/pull/84. We introduced IMDS IPv6 endpoint in the previous PR, however for Windows we will keep blocking IPv4 endpoint only until we can block IPv6 endpoint using HNS.

Description of changes: Update Windows BlockIMDS to use IPv4 endpoint only

GOOS=windows make vpc-eni and GOOS=windows make vpc-shared-eni both built successfully.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.