Within the ecosystem of Red Hat OpenShift Networking is a new security-focused operator named Ingress Node Firewall that uses an extended Berkeley Packet Filter (eBPF) and eXpress Data Path (XDP) plugin to process custom node firewall rules.
Ingress Node Firewall helps to secure OpenShift nodes from external (e.g. DOS) attacks by configuring user-customized stateless policies that can be applied across all cluster nodes. Because ingress node firewall policies are initially stateless-only relegates it to a Technical Preview of the feature in OpenShift 4.12, but provides users with the chance to develop their firewall customizations. The addition of stateful policies (useful to detect and block flood attacks) is targeting a near-term future release, which will graduate the feature from Technical Preview to fully supported (GA).
How does it work? The Ingress Node Firewall operator manages a Kubernetes custom resource that can be created by the cluster admin to deploy and configure the desired Ingress Node Firewall rules. A Kubernetes admission webhook validates the configuration, and ensures that an accidental misconfiguration cannot inadvertently block cluster traffic required for its normal operation (fail safe). For example, it will not allow the cluster admin to accidentally deny TCP traffic to the API server on port 6443, which would cripple cluster management. The webhook verification simply refuses any rules with a deny action that match against cluster-critical TCP/UDP ports.
Once the rules are created and validated, a combination of XDP+eBPF applies the custom firewall rules by loading Ingress Node Firewall XDP programs to the selected interfaces specified in the rule’s object(s), and then parses traffic packets according to the specified rule actions.
A combination of XDP+eBPF provides a flexible, high performance mechanism to allow early detection and packet filtering, before allowing accepted packets to be processed by the Linux kernel. XDP is a kernel feature that allows execution of a user-supplied eBPF program when a packet is received on a network interface (NIC), which provides that flexibility in how the packets are processed. Because XDP allows attachment of an eBPF program at the earliest stage of the network driver (for NICs that support XDP), it enables immediate handling of packets without needing them to travel further into the kernel network stack, for high performance processing.
Finally, the Ingress Node Firewall updates per rule statistics (allow/deny packets and byte-count) and generates syslog events for any dropped packets that include an event header (ruleId, Interface the packet came in on, packet length in bytes including L2 header) and up to 256 bytes from the packet header.
Cluster administrators can install the Ingress Node Firewall Operator by using the OpenShift Container Platform CLI (oc) or the web console. For more information, see Understanding the Ingress Node Firewall Operator in the OpenShift product documentation.
저자 소개
Marc Curry is a Distinguished Product Manager in Red Hat's Hybrid Platform Business Unit, specializing in the networking architecture, performance, and scalability of the OpenShift Container Platform.
With over 20 years at Red Hat, Marc has held various technical roles, including serving as a Solutions Architect focused on open-source solutions for the telecommunications industry. His expertise builds upon a strong foundation in scientific and high-performance computing.
채널별 검색
오토메이션
기술, 팀, 인프라를 위한 IT 자동화 최신 동향
인공지능
고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트
오픈 하이브리드 클라우드
하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요
보안
환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보
엣지 컴퓨팅
엣지에서의 운영을 단순화하는 플랫폼 업데이트
인프라
세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보
애플리케이션
복잡한 애플리케이션에 대한 솔루션 더 보기
가상화
온프레미스와 클라우드 환경에서 워크로드를 유연하게 운영하기 위한 엔터프라이즈 가상화의 미래