f-76: vm: filtrage nftables par tap, champ dhcp_server, watchdog #76
Chaque NIC a sa chaîne pre-tap<id>, posée avant le tap et retirée après : MAC, ARP et IPv4 source limités à ceux de la NIC (0.0.0.0 pour le client DHCP et la sonde ARP), réponses DHCP refusées sauf si dhcp_server, seuls IPv4, ARP et IPv6 émis. Le watchdog vérifie la chaîne de chaque NIC. Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
d98e42e0a8
commit
74bfda7004
16 changed files with 295 additions and 15 deletions
|
|
@ -562,6 +562,17 @@ components:
|
|||
primary:
|
||||
type: boolean
|
||||
example: true
|
||||
dhcp_server:
|
||||
type: boolean
|
||||
default: false
|
||||
description: >
|
||||
Lets the VM answer DHCP (UDP from port 67) on this interface, for
|
||||
instance a PXE server for diskless hosts on a `bridge` subnet. Every
|
||||
other interface may not send DHCP answers. The interface still sends
|
||||
only from its own MAC and IP. The agent applies it whatever the mode
|
||||
of the subnet: restricting it is the caller's job. Always returned
|
||||
by GET.
|
||||
example: false
|
||||
|
||||
VMStorage:
|
||||
type: object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue