跳到正文
原文
Hacker News · 首页· jayhoon·· 2026-10-07AI 评分22

ESP32-C3 Adblock 的哈希碰撞问题讨论

ESP32-C3 Adblock

AI 导读

Hacker News 首页讨论了 ESP32-C3 Adblock 项目 README 中关于哈希碰撞的描述,指出两个被拦截域名哈希相同并非问题,真正需要关注的是误拦截(如 hash(google.com) = hash(adserver.com))。该项目配有 Web 面板和 /unblock API,可直接解除误拦截。

正文

Weird how the readme talks about hash collisions, but not in the way I would expect. Two blocked domains with the same hash isn't a problem, they both need to be blocked.

Where hash collisions matter is false positives, e.g. if hash(google.com) = hash(adserver.com). There does appear to be a web dashboard and /unblock api so should be straightforward to resolve.

来源:Hacker News · 首页 · news.ycombinator.com