From nobody Mon Feb 9 16:51:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=virtuozzo.com ARC-Seal: i=1; a=rsa-sha256; t=1603441830; cv=none; d=zohomail.com; s=zohoarc; b=JXvhUP7r1SWE76Bp5bvSRaEHwzWYPam1p+oFchZfYmOT/CfYEd0gehVhEfMsaGfdVXNHH2v/9zCZ+/zPTFE/eh8LvFxkYOvvmhazl7sygRpjRCcbOqGFtAEjVknHtiMjXLyOsQUIW67e5dI4GtYl46cjle6Jc7zLUwbr6t+tjRU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603441830; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=7mMEHQEJCgYWjV8Y12epYOrzPyfIBYmeP0P01YEqXSg=; b=lpm5BCzGm9VZt4MmjW11xsnRKaUeMZAsKvJapkXDP2YsG1ESYouXH48ncRGHK48oJwVYGWxFLRis2RUqO2+f/vhnt5/ND40DgVKmDlkLd50yd1t2fDipWDGVycjiNj1Q1eBJRoij1TIPv35amcvpcOT8Zeq1NSJ2z8Wly2qGjHU= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1603441830564577.0188230316929; Fri, 23 Oct 2020 01:30:30 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-177-AbiOgJeyNlavlqNnr8CUrg-1; Fri, 23 Oct 2020 04:30:27 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 56D57106B3AC; Fri, 23 Oct 2020 08:30:21 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 348885B4CB; Fri, 23 Oct 2020 08:30:21 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id ECCB4180B65D; Fri, 23 Oct 2020 08:30:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 09MJO47i003970 for ; Thu, 22 Oct 2020 15:24:04 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4CFCE200E1F0; Thu, 22 Oct 2020 19:24:04 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 483B02011579 for ; Thu, 22 Oct 2020 19:24:04 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 292768007D7 for ; Thu, 22 Oct 2020 19:24:04 +0000 (UTC) Received: from relay3.sw.ru (relay.sw.ru [185.231.240.75]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-467-Io9_8Gg0Nkis8U0r4emVfA-1; Thu, 22 Oct 2020 15:24:01 -0400 Received: from [10.94.6.143] (helo=localhost.sw.ru) by relay3.sw.ru with esmtp (Exim 4.94) (envelope-from ) id 1kVf8O-005dYE-DW for libvir-list@redhat.com; Thu, 22 Oct 2020 21:16:20 +0300 X-MC-Unique: AbiOgJeyNlavlqNnr8CUrg-1 X-MC-Unique: Io9_8Gg0Nkis8U0r4emVfA-1 From: Aleksandr Alekseev To: libvir-list@redhat.com Subject: [PATCH 3/3] doc: document new filters and not documented ones Date: Thu, 22 Oct 2020 21:15:52 +0300 Message-Id: <20201022181552.486275-4-alexander.alekseev@virtuozzo.com> In-Reply-To: <20201022181552.486275-1-alexander.alekseev@virtuozzo.com> References: <20201022181552.486275-1-alexander.alekseev@virtuozzo.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com X-Mailman-Approved-At: Fri, 23 Oct 2020 04:30:01 -0400 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Signed-off-by: Aleksandr Alekseev --- docs/firewall.html.in | 9 ++++++++ docs/formatnwfilter.html.in | 41 ++++++++++++++++++++++++++++++++++--- 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/docs/firewall.html.in b/docs/firewall.html.in index 62f37e0eea..15b4f397be 100644 --- a/docs/firewall.html.in +++ b/docs/firewall.html.in @@ -283,12 +283,21 @@ UUID Name 15b1ab2b-b1ac-1be2-ed49-2042caba4abb allow-arp 6c51a466-8d14-6d11-46b0-68b1a883d00f allow-dhcp 7517ad6c-bd90-37c8-26c9-4eabcb69848d allow-dhcp-server +7680776c-77aa-496f-90d6-13097664b925 allow-dhcpv6 +9cdaad60-7631-4172-8ccb-ef774be7485b allow-dhcpv6-server 3d38b406-7cf0-8335-f5ff-4b9add35f288 allow-incoming-ipv4 +908543c1-902e-45f6-a6ca-1a0ad35e7599 allow-incoming-ipv6 5ff06320-9228-2899-3db0-e32554933415 allow-ipv4 +ce8904cc-ad3a-4454-896c-53452882f817 allow-ipv6 db0b1767-d62b-269b-ea96-0cc8b451144e clean-traffic +6d6ddcc8-1242-4c43-ac63-63af80493132 clean-traffic-gateway +4cf38077-c7d5-4e25-99bb-6c4c9efad294 no-arp-ip-spoofing +0b11a636-ce58-497f-be90-17f63c92487a no-arp-mac-spoofing f88f1932-debf-4aa1-9fbe-f10d3aa4bc95 no-arp-spoofing 772f112d-52e4-700c-0250-e178a3d91a7a no-ip-multicast 7ee20370-8106-765d-f7ff-8a60d5aaf30b no-ip-spoofing +f8a51c43-a08f-49b3-b9e2-393d54522dc0 no-ipv6-multicast +a7f0afe9-a428-44b8-8566-c8ee2a669271 no-ipv6-spoofing d5d3c490-c2eb-68b1-24fc-3ee362fc8af3 no-mac-broadcast fb57c546-76dc-a372-513f-e8179011b48a no-mac-spoofing dba10ea7-446d-76de-346f-335bd99c1d05 no-other-l2-traffic diff --git a/docs/formatnwfilter.html.in b/docs/formatnwfilter.html.in index 796c16549d..04aeda06ec 100644 --- a/docs/formatnwfilter.html.in +++ b/docs/formatnwfilter.html.in @@ -467,8 +467,7 @@ DSTPORTS =3D [ 80, 8080 ] IPV6 - Not currently implemented: - the list of IPV6 addresses in use by an interface + The list of IPV6 addresses in use by an interface DHCPSERVER @@ -2011,11 +2010,35 @@ echo 3 > /proc/sys/net/netfilter/nf_conntrack_icmp_= timeout only allows ARP request and reply messages and enforces that those packets contain the MAC and IP addresses of the VM. + + + allow-arp + Allow ARP traffic in both directions + + + allow-ipv4 + Allow IPv4 traffic in both directions + + + allow-ipv6 + Allow IPv6 traffic in both directions + + + allow-incoming-ipv4 + Allow incoming IPv4 traffic + + + allow-incoming-ipv6 + Allow incoming IPv6 traffic allow-dhcp Allow a VM to request an IP address via DHCP (from any DHCP server) + + + allow-dhcpv6 + Similar to allow-dhcp, but for DHCPv6 allow-dhcp-server @@ -2023,16 +2046,28 @@ echo 3 > /proc/sys/net/netfilter/nf_conntrack_icmp_= timeout DHCP server. The dotted decimal IP address of the DHCP server must be provided in a reference to this filter. The name of the variable must be DHCPSERVER. + + + allow-dhcpv6-server + Similar to allow-dhcp-server, but for DHCPv6 no-ip-spoofing - Prevent a VM from sending of IP packets with + Prevent a VM from sending of IPv4 packets with a source IP address different from the one in the packet. + + + no-ipv6-spoofing + Similar to no-ip-spoofing, but for IPv6 no-ip-multicast Prevent a VM from sending IP multicast packets. + + + no-ipv6-multicast + Similar to no-ip-multicast, but for IPv6 clean-traffic --=20 2.28.0.97.gdc04167d37