[firewall] implement packet filtering in OT core (#9402)

This commit implements the packet logic in OT core. It aims to have
the same effect as what's already achieved by our iptables-based
firewall. Instead of leveraging iptables, this commit filters the
border routing packets in user space by checking the
source/destination addresses of a packet.

This commit also adds a job to do BR regression test when this feature
is enabled and iptables-based firewall is disabled.
This commit is contained in:
whd
2023-09-15 11:52:26 -07:00
committed by GitHub
parent b5b93423d8
commit a383e366ba
6 changed files with 107 additions and 39 deletions
+1
View File
@@ -342,6 +342,7 @@ do_build_otbr_docker()
"REST_API=0"
"WEB_GUI=0"
"MDNS=${OTBR_MDNS:-mDNSResponder}"
"FIREWALL=${FIREWALL:-1}"
)
if [[ ${NAT64} != 1 ]]; then