Chleba / netscanner

Terminal Network scanner & diagnostic tool with modern TUI
MIT License
869 stars 20 forks source link

Prevent scanning immediately upon starting `netscanner` #21

Closed ndom91 closed 7 months ago

ndom91 commented 7 months ago

Is there maybe a config value I'm missing? I didn't find a cli flag.

Anyway, when I start netscanner, it immediately starts scanning a subnet that's unreachable from my local LAN 192.168.1.0/24 and it doesn't seem like ESC can interrupt it. So basically I always have to wait for it to finish scanning that /24 before I can doa nythign else.

Anyway to not auto-scan when starting the application?

Chleba commented 7 months ago

Hi, Version v0.4.2 will get a subnet from the active interface, so it will start scanning a range that should be valid, but you're right. It should not start scanning right after the start. Please let me know if new version (v0.4.2) is better for You or You'll wait for next version that may have implemented features like stop scanning with ESC or s key. OR not start scanning at all.

Chleba commented 7 months ago

Hi, https://github.com/Chleba/netscanner/commit/0e31b84e87997cef3181ec55d995cdb7e56c2da8 - fix is here. The next version will have implemented start & pause packet dumping. That is also not ideal. Automatic WiFi scanning will always be active. This App was based on this feature from the start :).

ndom91 commented 7 months ago

Awesome, thanks a lot for the quick turn-around! :heart: