展示HN:Wireshark的简易版
大家好,
我最近发布了一个名为 Vanta 的小型开源项目。它是一个用 Go 语言编写的最小化网络数据包分析器,设计上更像是一个学习工具,而不是 Wireshark 的替代品。
目前,它支持解析基本协议,如 TLS、DNS 和 HTTP,并包含一个小型模糊测试引擎来测试有效载荷响应。您可以直接从终端检查原始数据包内容。输出经过着色处理,以提高可读性,代码结构保持简单明了。
整个程序非常小——大约只有 400 行 Go 代码。我知道它远不及 Wireshark 的水平,我自己在实际分析中仍然使用 Wireshark。但我构建 Vanta 是作为个人实验,旨在更直接地理解网络解析和协议行为。
如果您感兴趣或想试试,可以在这里找到该项目:
<a href="https://github.com/lixiasky/vanta">https://github.com/lixiasky/vanta</a>
我很高兴听到您的想法、建议或批评。这只是一个小小的网络玩具,但也许有人会觉得它有用或有趣。
感谢您的阅读!
查看原文
Hi everyone,<p>I recently published a small open-source project called Vanta. It’s a minimal network packet analyzer written in Go — designed more like a learning toy than a replacement for Wireshark.<p>It currently supports parsing basic protocols like TLS, DNS, and HTTP, and includes a tiny fuzzing engine to test payload responses. You can inspect raw packet content directly from the terminal. The output is colored for readability, and the code structure is kept simple and clear.<p>The entire program is very small — just about 400 lines of Go code. I know it’s not anywhere near Wireshark’s level, and I still use Wireshark myself for real-world analysis. But I built Vanta as a personal experiment in network parsing and to understand protocol behavior more directly.<p>If you're curious or would like to try it out, the project is here:
<a href="https://github.com/lixiasky/vanta">https://github.com/lixiasky/vanta</a><p>I'm happy to hear your thoughts, suggestions, or critiques. It’s just a little network toy, but maybe someone out there finds it useful or fun.<p>Thanks for reading!