GNU General Public License v3.0

项目介绍

Avacee/XPlane-Wireshark-Dissector-C 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 GNU General Public License v3.0 许可证,目前获得 10 个 Star、1 次 Fork。

仓库全名
Avacee/XPlane-Wireshark-Dissector-C
开源许可证
GNU General Public License v3.0
Star 数
10
Fork 数
1

README 摘要

XPlane-Wireshark-Dissector-C A Wireshark Dissector for Laminar Research's X-Plane Flight Simulator. How to build this dissector into your own Wireshark. To build Wireshark refer to these resources: Windows: https://www.wireshark.org/docs/wsdghtmlchunked/ChSetupWin32.html Linux: https://gist.github.com/syneart/2d30c075c140624b1e150c8ea318a978 There are 2 options for integrating an X-Plane dissector into Wireshark: As…

完整内容见 GitHub 原始 README 或本页 。

常见问题

XPlane-Wireshark-Dissector-C 用什么语言开发?

主要使用 C 编写,采用 GNU General Public License v3.0 许可证,目前有 10 个 Star。

XPlane-Wireshark-Dissector-C 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 XPlane-Wireshark-Dissector-C 的源码?

可以直接克隆仓库:git clone https://github.com/Avacee/XPlane-Wireshark-Dissector-C.git;安装与运行步骤见仓库 README。

XPlane-Wireshark-Dissector-C 最近还在维护吗?

仓库最近一次更新为 2024年10月4日,当前没有未关闭的 Issue;Star 数为 10,可作为社区活跃度的参考。

关于

A Wireshark Dissector for Laminar Research's X-Plane Flight Simulator

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
22
价值分
7
活跃状态
活跃

语言占比

C
CMake

Release

贡献者

README

XPlane-Wireshark-Dissector-C

A Wireshark Dissector for Laminar Research’s X-Plane Flight Simulator.

How to build this dissector into your own Wireshark.

To build Wireshark refer to these resources:

There are 2 options for integrating an X-Plane dissector into Wireshark:

  • As a plugin (quickest recompile during development)

    • Copy packet-xplane.c and CMakeLists.txt into wireshark\private_plugins\xplane
    • Copy wireshark\CMakeListsCustom.txt.example to wireshark\CMakeListsCustom.txt
    • Edit wireshark\CMakeListsCustom.txt and change private_plugins/foo to private_plugins/xplane and uncomment the line
    • Rerun from the cmake step.
  • Within the main libwireshark.dll dissector library

    • Copy packet-xplane.c into wireshark\epan\dissectors
    • Copy wireshark\epan\dissectors\CMakeListsCustom.txt.example to wireshark\epan\dissectors\CMakeListsCustom.txt
    • Edit wireshark\epan\dissectors\CMakeListsCustom.txt and change packet-foo.c to packet-xplane.c and uncomment the line.
    • Rerun from the cmake step.

For more information on writing wireshark dissectors refer to the wireshark\doc\README.subject files.

Just give me a .dll/.so to use.

Download the release that is appropriate for your version of Wireshark.
To find your version goto Menu->Help->About Wireshark->Wireshark and check the topmost line. Only the first 2 numbers (Major and Minor) are important. e.g. 3.4.
Copy the plugin into one of the following folders:

  • Wireshark’s Personal_Plugins_Folder\epan\
  • Wireshark’s Global_Plugins_Folder\epan\
  • Your wireshark\plugins\ version \epan\ folder.

I recommend the Personal_Plugins_Folder as this is not cleared by wireshark updates.
The folders can be found via Menu -> Help -> About Wireshark -> Folders -> Personal Plugins

Restart Wireshark if already running.
You can check Wireshark has loaded the plugin via Menu->Help->About Wireshark->Plugins Tab. The name will be xplane with a type of dissector.

Developed and tested on Windows 10+11 and Microsoft Visual Studio 2019/2022
Linux testing on Ubuntu 20.04.1 and WSL2 (Ubuntu and Debian)

Usage.

The proto declaration is “xplane” and the protofields have been added using the format xplane.$header$.$element$".
So to view only BECN packets the display filter will be “xplane.becn”
Conversely to see all packet except BECN (as there are so many) filter on “xplane && !xplane.becn”
To only see those DATA packets with an index of 0 (Frame Rate Info) filter on “xplane.data.index == 0”

TODO:

评论

暂无评论