-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Windows 11 support #39
Conversation
Patch by DJStompZone seemed not to work [no output at all] and thus I've changed tokio-wifiscanner myself for windows support; update : tokio-wifiscanner git url is set to my repo |
Hi, |
Thank you for quick response, just now I learnt the way on how to link lib file dynamically, so that npcap can be utilized within main.rs itself instead of user installation If you don't mind I would like to fix few glitchy bug that occurs only for windows platform [invalid active interface, crashes whenever ip scan is performed] |
Hi there, I've patched the windows related bugs
However, I couldn't resolve a bug where I initiate scan for discovery, it freezes [loading animation is not played properly] entire thing |
Great amount of work You've done here. Amazing. Thank You very much.
About Last thing - the bug that you mention as last, I am aware of it and I have to refactor a huge part of discovery code that would fixed that. That is also already in the making, but unfortunately I have have very little time lately to push and finish it and I am really sorry about it. I am really grateful for your work on this tool and you did really nice job. Many thanks to You and I will try to add comments and test it for myself as soon as possible. |
man, you've said "thanks" too many times, and welcome; I use both linux and windows since my college and their exam platform always require windows only, so it became kind of habit and I just wanted netscanner to be portable, that's it my 2nd statement and way of approach is wrong now I think, I'll try another way [ I just couldn't able to withstand the time of compilation (took 19 min every time I run and yeah, npcap seems to be reputable and standard library overall [ wireshark, and other well known softwares uses npcap SDK ] I don't think windows exposes any SDK for packet capturing, however there's and sure you can use the code that fixed windows support from tokio-wifiscanner PR or repo that I created; I don't mind at all I heard that flamegraphs can be useful for profiling! not sure if it'll be helpful for finding what's bottlenecking the discovery function through |
I know, sorry about that, but it's overwhelming feeling that somebody other then myself spending their time on this and I cannot describe how grateful I am. Btw. I just finished another update of the
So if I may ask You for Your patience - I will do that ASAP. |
Hi @EphemeralSapient, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm merging this, because I almost have implemented fix for MacOS so I would like to have both OS released at once.
Also I'm absorbing tokio-wifiscanner
and @EphemeralSapient changes to add windows support into a netscanner with my macOS support after airport
is removed.
Thanks again @EphemeralSapient - amazing work.
ah sorry, I've been busy with college for a while now; I don't know if it works for windows 10 but then for people who haven't installed npcap, it seems to show packet.dll error sometimes I'll check and update the status soon for windows 10 and uh, I am not sure about unpacking the zip file since npcap already supports the GUI installer thing? |
Hi @EphemeralSapient,
Yes, I will add installation steps and requirements in README, so hopefully that's gonna be enough. |
I'm kind of new to rust and open source development, so pardon me if I took wrong approach;
1. I found that tokio-wifiscanner has been fixed by DJStompZone for Windows already [updated the toml]get_user_home_dir
was missing for windows, so I've included it on export.rsNOTE : I've encountered link error on Packet.lib, so I've downloaded npcap SDK and set the env "LIB" to current path
./windows/npcap-sdk-1.13
[x64 specifically, for other arch you can find it on official sdk ]And then I was able to successfully compile and run the executable file.