GyulyVGC / sniffnet

Comfortably monitor your Internet traffic 🕵️‍♂️
https://sniffnet.net
Apache License 2.0
17.62k stars 534 forks source link

SniffNet Install On Windows 7 SP1 #293

Open kenrmayfield opened 1 year ago

kenrmayfield commented 1 year ago

What's the problem?

First of All.........Excellent Work Developing SniffNet.

I Encountered a DLL Error after Installing SniffNet 1.2.1 64Bit on Windows 7 SP1 64Bit.

The Error: Entry Point Not Found and it is Referencing the DLL API-MS-WIN-CRT-STRING-L1-1-0.DLL Yes......the DLL is in the System32 Directory. I did have to Download the DLL from DLL-FILES.COM.

It seems that Windows 7 does not come with D3DCOMPILER_47.DLL or API-MS-WIN-CRT-STRING-L1-1-0.DLL I had to Download both 64Bit Files from DLL-FILES.COM when SniffNet Complained they were not Installed.

Is Windows 7 not Compatible with SniffNet?

Thanks, Kenneth

How did you install the app?

downloaded one of the provided packages

Operating System

Windows

Additional context

No response

GyulyVGC commented 1 year ago

Windows 7 is compatible with Sniffnet... does it give you the same error after installing the DLL? Also, did you install Npcap? It shouldn't be related to your error, but it's a required dependency on Windows.

kenrmayfield commented 1 year ago

Giuliano,

Yes I Installed Npcap 1.75.

That is what I was stating about the Error.....that I Installed the DLLs and still the Errors persist.

Thanks, Kenneth

On 2023-07-03 3:01 am, Giuliano Bellini wrote:

Windows 7 is compatible with Sniffnet... does it give you the same error after installing the DLL? Also, did you install Npcap? It shouldn't be related to your error, but it's a required dependency on Windows.

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you authored the thread.Message ID: @.***>

Links:

[1] https://github.com/GyulyVGC/sniffnet/issues/293#issuecomment-1617574930 [2] https://github.com/notifications/unsubscribe-auth/AVOGFILQLQKURMDHUKLI3J3XOJ34HANCNFSM6AAAAAAZ325MHU

GyulyVGC commented 1 year ago

I'm sorry but I was not able to reproduce this error in any of the Windows systems I tried. I don't know you what to suggest if not to search online if other people incurred in the same error before.

kenrmayfield commented 1 year ago

Can you tell me what Versions of NPCAP and Sniffnet you used for your Testing?

What Versions of Windows did you Test?

Thanks, Kenneth

On 2023-07-04 2:54 am, Giuliano Bellini wrote:

I'm sorry but I was not able to reproduce this error in any of the Windows systems I tried. I don't know you what to suggest if not to search online if other people incurred in the same error before.

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you authored the thread.Message ID: @.***>

Links:

[1] https://github.com/GyulyVGC/sniffnet/issues/293#issuecomment-1619724785 [2] https://github.com/notifications/unsubscribe-auth/AVOGFIKXE3RR64IXUJ54UBDXOPD2FANCNFSM6AAAAAAZ325MHU

GyulyVGC commented 1 year ago

Can you tell me what Versions of NPCAP and Sniffnet you used for your Testing? What Versions of Windows did you Test?

I personally tested it on Windows 8/10/11.

But I know people that run it successfully on Windows 7 (for example: https://github.com/GyulyVGC/sniffnet/issues/108).

The latest NPCAP & Sniffnet version should be fine.

As mentioned in the issue I linked, I build the binary and the installer in the latest Windows version so it may cause some problems, even though usually don't. If you want to be more sure you can clone the repo and build from source (requires a Rust installation). If you choose to follow this path and are not familiar with Rust, just let me know and I can help you.

kenrmayfield commented 1 year ago

Giuliano,

Can you Build from Windows 7 SP1 and Upload the Installer?

Are these Two Dll's from the Installer for SniffNet: D3DCOMPILER_47.DLL or API-MS-WIN-CRT-STRING-L1-1-0.DLL?

As mentioned before, SniffNet Complains about these Two DLL's are missing. I did state before that I Installed the Missing DLL's however I still got the Error: Entry Point Not Found and it is Referencing the DLL API-MS-WIN-CRT-STRING-L1-1-0.DLL

Yes I did Install the appropriate Version of the DLL's which would be x64Bit for Windows 7 SP1 x64Bit.

Let me be clear.........The Software will Install however when you Run SniffNet on Windows 7 SP1 x64Bit....... I Receive the Error as Mentioned.

On 2023-07-04 9:53 am, Giuliano Bellini wrote:

Can you tell me what Versions of NPCAP and Sniffnet you used for your Testing? What Versions of Windows did you Test?

I personally tested it on Windows 8/10/11.

But I know people that run it successfully on Windows 7 (for example:

108 [1]).

The latest NPCAP & Sniffnet version should be fine.

As mentioned in the issue I linked, I build the binary and the installer in the latest Windows version so it may cause some problems, even though usually don't. If you want to be more sure you can clone the repo and build from source (requires a Rust installation). If you choose to follow this path and are not familiar with Rust, just let me know and I can help you.

-- Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. You are receiving this because you authored the thread.Message ID: @.***>

Links:

[1] https://github.com/GyulyVGC/sniffnet/issues/108 [2] https://github.com/GyulyVGC/sniffnet/issues/293#issuecomment-1620399870 [3] https://github.com/notifications/unsubscribe-auth/AVOGFIMUWBFLM3XA24SBOBTXOQVANANCNFSM6AAAAAAZ325MHU

GyulyVGC commented 1 year ago

Unluckily I'm unable to build on Windows 7 now... As I said you could build yourself with cargo (installing Rust and the required build tools) I'm sorry this problem occurred but I don't know what to suggest if you already installed the corresponding DLL

There you can also find the corresponding scoop package, where the guy of the other issue successfully installed the app: https://scoop.sh/#/apps?q=Sniffnet

kenrmayfield commented 1 year ago

@GyulyVGC,

Do you have Time to Build for Windows 7?

GyulyVGC commented 1 year ago

I'd have the time, but not a Windows 7 installation. Moreover, I doubt it would solve this particular problem.

bt4ibwem8 commented 1 month ago

The newest version failed to start on win7 (version 1.3.0 works fine):

image

GyulyVGC commented 1 month ago

The newest version failed to start on win7 (version 1.3.0 works fine):

image

Hi @bt4ibwem8 can you try to launch the Sniffnet executable from terminal and post here what you get, thanks

bt4ibwem8 commented 1 month ago

i get the same error

GyulyVGC commented 1 month ago

Can you post the screenshot please?

bt4ibwem8 commented 1 month ago

it is the same window which i posted... directly in cmd i get nothing

GyulyVGC commented 1 month ago

I'd be glad to help but I can't without a backtrace of the problem.

bt4ibwem8 commented 1 month ago

Sniffnet can be run also in terminal with some commands? Because on version 1.3.0 it just run normal window of Sniffnet (when i type "sniffnet" in cmd).

GyulyVGC commented 1 month ago

Sniffnet can be run also in terminal with some commands? Because on version 1.3.0 it just run normal window of Sniffnet (when i type "sniffnet" in cmd).

Oh, you are right. I now remember that on macOS and Linux, the terminal launching Sniffnet keeps running, but on Windows I close it because otherwise even when running the app by clicking on its icon, a terminal was kept open.

But in this way now we're not able to see terminal messages... mmh I will think to a workaround and let you know.

GyulyVGC commented 1 month ago

Searching online for the error code 0xc0000005 it appears that it usually means that some drivers aren't up to date or that your antivirus may be blocking something. Some resources suggest to run the System File Check utility to find out if there's any file system corruption:

bt4ibwem8 commented 1 month ago

I am not using antivirus. sfc /scannow did not help me. When i enable VxKex, i get many dll errors. I copied DLLs to system32 but for this one it still complains:

image

GyulyVGC commented 1 month ago

@bt4ibwem8 I've tried building a new Sniffnet Installer including the compilation flag -C target-feature=+crt-static, which should solve some DLL issues. Can you try it and let me know if the problem is solved? Thanks in advance.

64-bit Installer: Sniffnet_Windows_64-bit.msi.zip 32-bit Installer: Sniffnet_Windows_32-bit.msi.zip

bt4ibwem8 commented 1 month ago

i still get the same error

GyulyVGC commented 1 month ago

I will try to set up a Windows 7 installation and hope I can reproduce your issue. Anyway, be careful that the current Sniffnet Installer doesn't remove previous installed versions. By default, the latest one is launched, but the one I provided you in the message above has the same tag as the latest release, so be sure to delete all the previous versions before trying with that.

cfy3133 commented 2 weeks ago

I also encountered the same problem. image

GyulyVGC commented 2 weeks ago

I also encountered the same problem. image

Hi @cfy3133, this is not the same issue. Check #371 to see how to solve your problem... it was already solved multiple times in the past.