Closed lynn901 closed 1 year ago
I read neutron ovs agent code, it will initialize_egress and _initialize_ingress rule as default, can you assign this bug to me @oilbeater
dhcp协议使用UDP协议工作,统一使用两个IANA分配的端口:67(服务器端),68(客户端)
dhcpv6协议所有的协议报文都是基于 UDP 的(客户端使用UDP 端口号546,服务端使用端口号547),同时ipv6的还会涉及RA和RS的报文,也就是icmp的nd报文 ipv4会涉及ARP报文
kube-ovn在设计安全组功能时为绑定安全的port默认添加了一条全禁的规则
ovn-nbctl acl-add ovn.sg.kubeovn_deny_all to-lport 2003 'outport==@ovn.sg.kubeovn_deny_all && ip' drop ovn-nbctl acl-add ovn.sg.kubeovn_deny_all from-lport 2003 'inport==@ovn.sg.kubeovn_deny_all && ip' drop 需调整kube-ovn默认安全组的acl规则,针对性的放通涉及arp,dhcp,dhcpv6和icmpv6相关的规则
参考neutron的源码,对安全组的功能进行优化
(BASE_EGRESS) implements ARP spoofing protection, IP spoofing protection, allows traffic related to IP address allocations (DHCP, DHCPv6, SLAAC, NDP) for egress traffic, and allows ARP replies.
Expected Behavior
can get ipv6
Actual Behavior
cannot get ipv6
Steps to Reproduce the Problem
Additional Info
Kubernetes version:
Output of
kubectl version
:kube-ovn version:
operation-system/kernel version:
Output of
awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release
: Output ofuname -r
: