summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google/ncsi/files/50-ncsi.rules.in
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2021-02-09 07:07:49 +0300
committerWilliam A. Kennington III <wak@google.com>2021-02-09 07:10:27 +0300
commitafe167d4f144e51e9275b2c861e6317c1a7fc80d (patch)
treed8e2f2f706219b07b1814ee52231e04611cc2757 /meta-google/recipes-google/ncsi/files/50-ncsi.rules.in
parent24bf30d24bb81c52b23b1eba9ac410ab7e90bcb7 (diff)
downloadopenbmc-afe167d4f144e51e9275b2c861e6317c1a7fc80d.tar.xz
meta-google: ncsid-config: Fixup recipe
The license was mistakenly set to closed and it was missing an included rules file. Google-Bug-Id: 179618497 Change-Id: I8b9b01f7b53f03e6caa079de36e096db1a875955 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-google/recipes-google/ncsi/files/50-ncsi.rules.in')
-rw-r--r--meta-google/recipes-google/ncsi/files/50-ncsi.rules.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-google/recipes-google/ncsi/files/50-ncsi.rules.in b/meta-google/recipes-google/ncsi/files/50-ncsi.rules.in
new file mode 100644
index 000000000..33031f0db
--- /dev/null
+++ b/meta-google/recipes-google/ncsi/files/50-ncsi.rules.in
@@ -0,0 +1,14 @@
+table inet filter {
+ chain ncsi_input {
+ type filter hook input priority 0; policy drop;
+ iifname != @NCSI_IF@ accept
+ ct state established accept
+ tcp dport 3959 accept
+ udp dport 3959 accept
+ tcp dport 3967 accept
+ udp dport 3967 accept
+ icmpv6 type nd-neighbor-advert accept
+ icmpv6 type nd-neighbor-solicit accept
+ icmpv6 type nd-router-advert accept
+ }
+}