A broken airpcap.dll (old Tarlogic wrapper) makes PacketGetAdapterNames fail for every adapter (error 2)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c
- 領域
- networking
調査の方向性
Start by tracing how Npcap loads airpcap.dll and how that load affects PacketGetAdapterNames; the issue does not name source files or tests. Reproduce with a wrapper whose airpcap.orig.dll dependency is missing, then identify where enumeration fails. Done means adapter enumeration continues and emits a clear warning when AirPcap cannot load, with diagnostics including the DLL path and version.
索引モデルが issue の本文から書いたものです。
説明
Environment: Windows, Npcap 1.79 and 1.90, Wireshark/dumpcap
Symptom: dumpcap -D fails with PacketGetAdapterNames: The system cannot find the file specified. (2), and Wireshark lists no interfaces. Reinstalling Npcap, running NPFInstall.exe -i in Safe Mode, resetting the network, and disabling the antivirus did not help. The driver was loaded and bound to every adapter.
This took a significant amount of troubleshooting to track down, because the error message gives no hint that AirPcap is involved.
Cause: Npcap loads airpcap.dll when it is present. An old "Tarlogic airpcap wrapper" from 2016 (installed by Acrylic Wi-Fi, and not removed by its uninstaller) had replaced System32\airpcap.dll and SysWOW64\airpcap.dll. The wrapper tries to load airpcap.orig.dll, which no longer existed. Process Monitor showed repeated NAME NOT FOUND lookups for that file, and adapter enumeration failed as a whole.
Workaround: Rename both airpcap.dll files (only if no real AirPcap adapter is in use). Interfaces appear immediately, with no reboot.
Suggestion: When airpcap.dll fails to load, or its dependencies are missing, skip AirPcap support and log a clear warning instead of failing PacketGetAdapterNames for all adapters. Showing the AirPcap DLL's path and version in the diagnostics would also help.
Reference: https://ask.wireshark.org/question/38204/
- 主要言語
- C
- スター
- 3.6k
- フォーク
- 601
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nmap/npcap のほかの issue
-
driverquery.exe copying to npcap install folder triggers Windows Defender Attack Surface Reductionオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
似ている issue
-
bug severity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AlessandroSangiuliano/Uros#1014 ·
-
severity: low
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
luainkernel/lunatik#2727 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 6 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bot-triaged module: cuda module: memory usage module: pybind module: tensor creation triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pytorch/pytorch#206707 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信