commit | ac00205452ce61b273ed0c49c6344a117d65fe9e | [log] [tgz] |
---|---|---|
author | Yuyang Huang <yuyanghuang@google.com> | Wed Jan 04 09:53:28 2023 +0100 |
committer | Yuyang Huang <yuyanghuang@google.com> | Wed Feb 01 17:48:25 2023 +0900 |
tree | 97d2254c75679a97aded6ee09e3e2eccf79c6f6b | |
parent | 3b5211804f5bce62eb3e3d5d8a83e335b54c997c [diff] |
Create QNAME based mDNS packet filter in APF Adds QNAME based mDNS packet filters in APF. The filter runs right after the ARP filter. It will check the first QNAME in the mDNS packet against the allowlist. If the QNAME is in the allow list, then accepts the packet. Otherwise, drops the packet. Bug: 263429226 Test: atest NetworkStackTests:ApfTest Change-Id: I6ac312c1999448f98679eefd0ae439e972e2fa24