Parse NW filters XML structure
This commit is contained in:
@ -46,3 +46,31 @@ pub const DISK_SIZE_MAX: usize = 1000 * 1000 * 2;
|
||||
|
||||
/// Network mac address default prefix
|
||||
pub const NET_MAC_ADDR_PREFIX: &str = "52:54:00";
|
||||
|
||||
/// Built-in network filter rules
|
||||
pub const BUILTIN_NETWORK_FILTER_RULES: [&str; 24] = [
|
||||
"allow-arp",
|
||||
"allow-dhcp",
|
||||
"allow-dhcp-server",
|
||||
"allow-dhcpv6",
|
||||
"allow-dhcpv6-server",
|
||||
"allow-incoming-ipv4",
|
||||
"allow-incoming-ipv6",
|
||||
"allow-ipv4",
|
||||
"allow-ipv6",
|
||||
"clean-traffic",
|
||||
"clean-traffic-gateway",
|
||||
"no-arp-ip-spoofing",
|
||||
"no-arp-mac-spoofing",
|
||||
"no-arp-spoofing",
|
||||
"no-ip-multicast",
|
||||
"no-ip-spoofing",
|
||||
"no-ipv6-multicast",
|
||||
"no-ipv6-spoofing",
|
||||
"no-mac-broadcast",
|
||||
"no-mac-spoofing",
|
||||
"no-other-l2-traffic",
|
||||
"no-other-rarp-traffic",
|
||||
"qemu-announce-self",
|
||||
"qemu-announce-self-rarp",
|
||||
];
|
||||
|
Reference in New Issue
Block a user