toServices와 toPorts를 결합한 이그레스 규칙의 와일드카드 허용 수정
보안 여부 불분명toServices와 toPorts를 함께 사용하는 이그레스 정책참조하는 Service가 없거나 셀렉터가 없고 백엔드도 없는 경우, 이 규칙은 지정된 포트에서 모든 목적지로 향하는 트래픽을 허용했습니다. 이제 Service가 존재해야 트래픽이 허용되며, 셀렉터가 없는 Service라면 백엔드도 있어야 합니다. 조건을 충족할 때까지 트래픽은 거부됩니다.
원문 보기
* Fix egress policy rules that combine `toServices` with `toPorts` allowing traffic to any destination on those ports when the referenced Service doesn't exist or is selector-less with no backends. (Backport PR cilium/cilium#49637, Upstream PR cilium/cilium#49430, @christarazi)github.com/cilium/cilium/releases/tag/v1.19.11