-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winpcap not working with Windows 10 #2
Comments
Using |
So it's a certificate verification thing to trust the new device and I think we should not package that with that check disabled to make sure no one installs it. I suggest we add a couple of lines in the install tools script |
Sounds fair |
You would like to try Npcap: https://github.com/nmap/npcap, it's a fork of WinPcap and supports Win10. It has been supported by many softwares like Nmap, Wireshark, libpcap, etc. and under active development now. |
Nice! Thanks for the pointer.
|
I tested npcap and it works with Wireshark's development branch (2.1.x rather than 2.0.x). However chocolatey only has the stable version in its repository. @hsluoyz can you enable the winpcap compatibility mode in npcap's chocolatey package? That way we can automate the installation of a working wireshark + npcap in our tool. Thanks! |
Hi. Npcap supports changing installation options even in silent install. Is it possible to use this command?
All the options are described here: https://htmlpreview.github.io/?https://github.com/nmap/npcap/blob/master/docs/npcap-guide-wrapper.html#npcap-redistribution-options |
Didn't notice the options. It's exactly what I'm looking for, thanks! Using this: --- a/malboxes/profiles/snippets/provision_powershell.json
+++ b/malboxes/profiles/snippets/provision_powershell.json
@@ -12,6 +12,8 @@
{
"type": "windows-shell",
"inline": [
+ "choco install npcap --version 0.08 -packageParameters '/winpcap_mode=yes' -y",
+ "choco install --ignore-dependencies wireshark -y",
"choco install {{ choco_packages }} -y"
]
} There is a problem where the npcap install hangs the VM. It's a Windows 10 64 bit VM. malboxes log:
To further troubleshoot, I tried installing it interactively on a Windows 10 32 bit. It results in a non-working install with
|
There are still issues with the npcap package which prevent this fix from being merged in master.
I have released Npcap 0.08 r4 at: It has added the installation log in: I have also submitted 0.08 r4 to chocolatey, and it has updated, so you can also use the choco command. Also, could you provide your chocolatey log? It should be: |
Here's a gist with the requested log files: https://gist.github.com/obilodeau/b4a0053204f997a52237eeea5fdf0bc0 I think I see two issues:
|
I forgot to update the
I saw your gist, and the only |
It works! Thanks for your help. |
The I can't access the install.log because the VM is crashed and whenever I cancel the packer build the VM is destroyed so I can't extract the file. I added I left it there for more than an hour and it still didn't make any progress.
I'm not sure how you can reproduce this unfortunately... |
So, when specifying Can you try this parameter: |
No with or without same problem. |
I have repeated the I have a few questions here:
I knew VirtualBox recent releases have lots of compatible issues. So is it related with this issue: hashicorp/packer#3757? |
Hi @obilodeau , I have fixed the install halt in Win7/2008 in Npcap |
@hsluoyz sorry for the long wait. I'm testing right now. |
It works using the
Now we need to figure out how to get this version accepted before I can officially add |
Turns out that you need to remove the -rXX from your version scheme:
So can you push a non |
I have uploaded it to: https://chocolatey.org/packages/npcap/0.78. Waiting for moderation.. |
0.78 was approved. I tested and it works. Thanks! |
Not sure if winpcap will release an update with Windows 10 support but meanwhile win10pcap works.
It is not packaged by chocolatey...
For reference, we discussed winpcap on Windows in issue #1.
The text was updated successfully, but these errors were encountered: