How hmz777/netstalker works
NetStalker is a Windows desktop tool for discovering LAN devices and managing their network access and bandwidth. Users select an adapter, monitor discovered devices, then block or redirect devices, set per-device limits, or inspect and export captured packets. Main coordinates the interface and device actions; Scanner handles discovery, while separate traffic-control and packet-sniffing components provide the core network capabilities. The README documents several user-facing features whose exact wiring is not visible in the excerpts; those links are shown only where documented.
Main entry points: Main.cs Main window · Sniffer.cs Sniffer viewer · Scanner.cs LAN scanner · Controller.cs App controller
Components 17
Desktop interface
- Main window
NetStalker/NetStalker/Forms/Main/Main.cs - Adapter selection
NetStalker/NetStalker/Forms/Main/NicSelection.cs - Speed limiter
NetStalker/NetStalker/Forms/Main/LimiterSpeed.cs - Options
NetStalker/NetStalker/Forms/Options/Options.cs - Sniffer viewer
NetStalker/NetStalker/Forms/Main/Sniffer.cs - Message dialog
NetStalker/NetStalker/Forms/Information/MessageBoxForm.cs
Device discovery
- LAN scanner
NetStalker/NetStalker/MainLogic/Scanner.cs - Device state
NetStalker/NetStalker/MainLogic/Device.cs - Vendor lookup
NetStalker/NetStalker/MainLogic/MacVendors/VendorAPI.cs
Traffic control
- Block and redirect
NetStalker/NetStalker/MainLogic/Blocker-Redirector.cs
Packet inspection
- Packet record
NetStalker/NetStalker/MainLogic/AcceptedPacket.cs
App services
- App configuration
NetStalker/NetStalker/MainLogic/AppConfiguration.cs - App controller
NetStalker/NetStalker/MainLogic/Controller.cs - Network utilities
NetStalker/NetStalker/MainLogic/Tools.cs - Toast notifications
NetStalker/NetStalker/ToastNotifications/ToastAPI.cs
Other components
- User
- Local network
Connections 28
- User → Main window: uses
README.md - Main window → Adapter selection: opens
NetStalker/NetStalker/Forms/Main/Main.cs - Main window → App controller: refreshes clients
NetStalker/NetStalker/MainLogic/Controller.cs - App controller → LAN scanner: starts scan
NetStalker/NetStalker/MainLogic/Controller.cs - LAN scanner → Local network: probes devices
NetStalker/NetStalker/MainLogic/Scanner.cs - LAN scanner → Device state: creates state
NetStalker/NetStalker/MainLogic/Scanner.cs - LAN scanner → Vendor lookup: looks up vendor
NetStalker/NetStalker/MainLogic/Scanner.cs - Main window → Block and redirect: manages access
NetStalker/NetStalker/MainLogic/Blocker-Redirector.cs - Main window → Speed limiter: opens limiter
NetStalker/NetStalker/Forms/Main/Main.cs - Speed limiter → Device state: sets device caps
NetStalker/NetStalker/Forms/Main/LimiterSpeed.cs - Main window → Sniffer viewer: opens sniffer
NetStalker/NetStalker/Forms/Main/Main.cs - Sniffer viewer → Local network: captures packets
NetStalker/NetStalker/Forms/Main/Sniffer.cs - Sniffer viewer → Packet record: records packets
NetStalker/NetStalker/Forms/Main/Sniffer.cs - Main window → App configuration: reads settings
NetStalker/NetStalker/Forms/Main/Main.cs - LAN scanner → App configuration: reads network settings
NetStalker/NetStalker/MainLogic/Scanner.cs - Sniffer viewer → App configuration: reads capture options
NetStalker/NetStalker/Forms/Main/Sniffer.cs - Main window → Toast notifications: shows notifications
NetStalker/NetStalker/Forms/Main/Main.cs - App controller → Toast notifications: cleans notifications
NetStalker/NetStalker/MainLogic/Controller.cs - Toast notifications → Main window: dispatches actions
NetStalker/NetStalker/ToastNotifications/ToastAPI.cs - Main window → Options: opens options
NetStalker/NetStalker/Forms/Main/Main.cs - Sniffer viewer → Message dialog: shows dialog
NetStalker/NetStalker/Forms/Main/Sniffer.cs - Main window → Message dialog: shows dialog
NetStalker/NetStalker/Forms/Main/Main.cs - LAN scanner → Network utilities: uses network helpers
NetStalker/NetStalker/MainLogic/Scanner.cs - Sniffer viewer → Network utilities: uses packet helpers
NetStalker/NetStalker/Forms/Main/Sniffer.cs - User → Options: configures preferences
README.md - User → Sniffer viewer: inspects and exports
README.md - Local network → Block and redirect: access is redirected or blocked
README.md - Local network → Sniffer viewer: traffic is captured
README.md