Project: Antrea (Runtime / Cloud Native Network)
File: CHANGELOG-1.2.md

Use iptables-wrapper in Antrea container. Now antrea-agent can work with distros that lack the iptables kernel module of "legacy" mode (ip_tables). (, [@antoninbas]) Reduce permissions of Antrea ServiceAccount for updating annotations. (, [@tnqn]) , [@wenyingd]) Fix DNS resolution error of antrea-agent on AKS by using `ClusterFirst` dnsPolicy. (, [@tnqn]) Fix status report of Antrea-native policies with multiple rules that have different AppliedTo. (, [@tnqn]) Upgrade Go version to 1.17 to pick up security fix for CVE-2021-44716. (, [@antoninbas]) Fix NetworkPolicy resources dump for Agent's supportbundle. (, [@antoninbas]) Fix gateway interface MTU configuration error on Windows. (, [@lzhecheng]) [Windows] Fix initialization error of antrea-agent on Windows by specifying hostname explicitly in VMSwitch commands. (, [@XinShuYang]) [Windows] Ensure that the Windows Node name obtained from the environment or from hostname is converted to lower-case. (, [@shettyg]) [Windows] Fix typos in the example YAML in antrea-network-policy doc. ( , [@antoninbas] [@Jexf]) Fix ipBlock referenced in nested ClusterGroup not processed correctly. (, [@Dyanngg]) Fix NetworkPolicy may not be enforced correctly after restarting a Node. (, [@tnqn]) Fix antrea-agent crash caused by interface detection in AKS/EKS with NetworkPolicyOnly mode. (, [@wenyingd]) Fix locally generated packets from Node net namespace might be SNATed mistakenly when Egress is enabled. (, [@tnqn]) Support returning partial supportbundle results when some Nodes fail to respond. (, [@hangyan]) Remove restriction that only GRE tunnels can be used when enabling IPsec: VXLAN can also be used, and so can Geneve (if the Linux kernel version for the Nodes is recent enough). (, [@luolanzone]) Reduce memory usage of antctl when collecting supportbundle. (, [@tnqn]) Fix nil pointer error when collecting a supportbundle on a Node for which the antrea-agent container image does not include "iproute2"; this does not affect the standard antrea/antrea-ubuntu container image. (, [@liu4480]) When creating an IPsec OVS tunnel port to a remote Node, handle the case where the port already exists but with a stale config graciously: delete the existing port first, then recreate it. (, [@luolanzone]) Fix panic in the Antrea Controller when it processes ClusterGroups that are used by multiple ClusterNetworkPolicies. (, [@tnqn]) Fix nil pointer error when antrea-agent updates OpenFlow priorities of Antrea-native policies without Service ports. (, [@wenyingd]) Fix Pod-to-Service access on Windows when the Endpoints are not non-hostNetwork Pods (e.g. the `kubernetes` Service). (, [@wenyingd]) [Windows] Fix container network interface MTU configuration error when using containerd as the runtime on Windows. (, [@wenyingd]) [Windows] Update , [@srikartati] [@zyiou]) Handle transient iptables-restore failures (caused by xtables lock contention) in the NodePortLocal initialization logic. (, [@antoninbas]) Fix handling of the "reject" packets generated by the Antrea Agent in the OVS pipeline, to avoid infinite looping when traffic between two endpoints is rejected by network policies in both directions. (, [@GraysonWu]) Fix interface naming for IPsec tunnels: based on Node names, the first char could sometimes be a dash, which is not valid. (, [@luolanzone]) Install all Endpoint flows belonging to a Service via a single OpenFlow bundle, to reduce flow installation time when the Agent starts. (, [@tnqn]) Improve the batch installation of NetworkPolicy rules when the Agent starts: only generate flow operations based on final desired state instead of

(, [@tnqn]) Use GroupMemberSet.Merge instead of GroupMemberSet.Union to reduce CPU usage and memory footprint in the Agent's policy controller. (, [@tnqn]) When checking for the existence of an iptables chain, stop listing all the chains and searching through them; this change reduces the Agent's memory footprint. (, [@tnqn]) Tolerate more failures for the Agent's readiness probe, as the Agent may stay disconnected from the Controller for a long time in some scenarios. (, [@tnqn]) When listing NetworkPolicyStats through the Controller API, return an empty list if the `NetworkPolicyStats` Feature Gate is disabled, instead of returning an error. (, [@PeterEltgroth]) Fix panic in Agent when calculating the stats for a rule newly added to an existing NetworkPolicy. (, [@tnqn]) Fix bug in iptables rule installation for dual-stack clusters: if a rule was already present for one protocol but not the other, its installation may have been skipped. (, [@lzhecheng]) Fix deadlock in the Agent's FlowExporter, between the export goroutine and the conntrack polling goroutine. (, [@srikartati]) Upgrade OVS version to 2.14.2 to pick up security fixes for CVE-2015-8011, CVE-2020-27827 and CVE-2020-35498. (, [@antoninbas]) Upgrade OVS version to 2.14.2-antrea.1 for Windows Nodes; this version of OVS is built on top of the upstream 2.14.2 release and also includes a patch to fix TCP checksum computation when the DNAT action is used. (, [@lzhecheng]) [Windows] Periodically delete stale connections in the Flow Exporter if they cannot be exported (e.g. because the collector is not available), to avoid running out-of-memory. (, [@srikartati]) Clean up log files for the Flow Aggregator periodically: prior to this fix, the "--logfilemaxsize" and "--logfilemaxnum" command-line flags were ignore for the flow-aggregator Pod. (, [@srikartati]) Fix missing template ID when sending the first IPFIX flow record from the FlowAggregator. (, [@zyiou]) Fix reference Logstash configuration to avoid division by zero in throughput calculation. (, [@zyiou]) The NetworkPolicyStats feature is graduated from Alpha to Beta and is therefore enabled by default. Add new ExternalIPPool API to define ranges of IP addresses which can be used as Egress SNAT IPs; these IPs are allocated to Nodes according to a nodeSelector, with support for failover if a Node goes down. ( , [@tnqn] [@wenqiq]) Refer to the for more information Use OpenFlow meters on Linux to rate-limit PacketIn messages sent by the OVS datapath to the Antrea Agent. (, [@GraysonWu] [@antoninbas]) Add K8s labels for the source and destination Pods (when applicable) as IPFIX Information Elements when exporting flow records from the FlowAggregator. (, [@dreamtalen]) Add ability to print Antrea Agent and / or Antrea Controller FeatureGates using antctl, with the "antctl get featuregates" command. (, [@luolanzone]) Add support for running the same Traceflow request again (with the same parameters) from the Antrea Octant plugin. (, [@Dhruv-J]) Add ability for the Antrea Agent to configure SR-IOV secondary network interfaces for Pods (these interfaces are not attached to the OVS bridge); however, there is currently no available API for users to request secondary Pod network interfaces. (, [@ramay1]) When enabling NodePortLocal on a Service, use the Service's target ports instead of the (optional) container ports for the selected Pods to determine how to configure port forwarding for the

(, [@monotosh-avi]) Update version of the , [@zyiou]) Remove deprecated API version networking.antrea.tanzu.vmware.com/v1beta1 as per our API deprecation policy. (, [@hangyan]) Show translated source IP address in Traceflow observations when Antrea performs SNAT in OVS. (, [@luolanzone]) Remove unnecessary IPFIX Information Elements from the flow records exported by the FlowAggregator: "originalExporterIPv4Address", "originalExporterIPv6Address" and "originalObservationDomainId". (, [@zyiou]) Ignore non-TCP Service ports in the NodePortLocal implementation and document the restriction that only TCP is supported. (, [@antoninbas]) Drop packets received by the uplink in PREROUTING (using iptables) when using the OVS userspace datapath (Kind clusters), to prevent these packets from being processed by the Node's TCP/IP stack. (, [@antoninbas]) Improve documentation for Antrea-native policies to include information about the "namespaces" field introduced in Antrea v1.1 for the ClusterNetworkPolicy API. (, [@abhiraut]) Fix inter-Node ClusterIP Service access when AntreaProxy is disabled. (, [@tnqn]) Fix duplicate group ID allocation in AntreaProxy when using a combination of IPv4 and IPv6 Services in dual-stack clusters; this was causing Service connectivity issues. (, [@hongliangl]) Fix intra-Node ClusterIP Service access when both the AntreaProxy and Egress features are enabled. (, [@tnqn]) Fix deadlock when initializing the GroupEntityIndex (in the Antrea Controller) with many groups; this was preventing correct distribution and enforcement of NetworkPolicies. (, [@tnqn]) Fix implementation of ClusterNetworkPolicy rules with an empty "From" field (for ingress rules) or an empty "To" field (for egress rules). (, [@Dyanngg]) Use "os/exec" package instead of third-party modules to run PowerShell commands and configure host networking on Windows; this change prevents Agent goroutines from getting stuck when configuring routes. (, [@lzhecheng]) [Windows] Fix invalid clean-up of the HNS Endpoint during Pod deletion, when Docker is used as the container runtime. (, [@wenyingd]) [Windows] Fix race condition on Windows when retrieving the local HNS Network created by Antrea for containers. (, [@tnqn]) [Windows] Fix checksum computation error when sending PacketOut messages to OVS. (, [@Dyanngg]) Fix invalid conversion function between internal and versioned types for controlplane API, which was causing JSON marshalling errors. (, [@tnqn]) Fix implementation of the v1beta1 version of the legacy "controlplane.antrea.tanzu.vmware.com" API: the API was incorrectly using some v1beta2 types and it was missing some field selectors. (, [@tnqn]) Verify that the discovered uplink is not virtual when creating the HNSNetwork; if it is, log a better error message. (, [@tnqn]) [Windows] When allocating a host port for NodePortLocal, make sure that the port is available first and reserve it by binding to it. (, [@antoninbas]) Change default port range for NodePortLocal to 61000-62000, in order to avoid conflict with the default iplocalport_range on Linux. (, [@antoninbas]) Add NamespaceIndex to PodInformer of the NodePortLocal Controller to avoid error logs and slow searches. (, [@tnqn]) When mutating an Antrea-native policy, only set the "PatchType" field in the mutating webhook's response if the "Patch" field is not empty, or the response may not be valid. (, [@Dyanngg]) Populate the "egressNetworkPolicyRuleAction" IPFIX Information Element correctly in the FlowAggregator. (, [@zyiou]) Protect Traceflow state from concurrent access in Antrea Octant plugin (in case of multiple browser sessions). (, [@antoninbas]) Remove assumption that there is a single ovs-vswitchd .ctl file when invoking ovs-appctl from the Antrea Agent. (, [@antoninbas]) Fix file permissions for the , [@antoninbas])