TokenPLS:活动页显示的进程不等于规则匹配时已查到进程

TokenPLS 说明,macOS 进程路由等待含排队在内的 150ms 固定预算,超时则按无进程匹配,PROCESS-NAME 等可能落到 MATCH;活动页会在之后无该期限地重新查询,因此可显示正确进程。大量突发连接和其他网络过滤器会增加迟到概率,展示结果不能证明进程规则当时命中。

作者原文

Thanks, that's useful. On the first point, the Activity view and the rule decision are not the same lookup:

  • When a connection starts, the core asks macOS who owns it and waits a short, fixed budget (150 ms, including time queued behind other lookups) before matching rules. If the answer is not back in time, the connection is matched without a process, so PROCESS-NAME / PROCESS-PATH-WILDCARD cannot hit and it falls through to MATCH,DIRECT.
  • The process shown in Activity is looked up again afterwards, without that deadline, so it can show mullvadbrowser for a connection whose rule decision was made without it.

That is why a connection can show the right process yet MATCH. Bursts of many new connections at once (a page load, a speed test) make it more likely. Other network filters on the Mac also slow these lookups, which may be part of why things improved after you removed the two filtering apps.

Keeping PROCESS-NAME,mullvadbrowser,PROXY plus the whole-bundle wildcard is the right setup. If you still see misses on macOS 1.0.17 (154) or later, please note roughly how many connections were opening at the time and we'll look again.