From 79adc7ba5f5f69ea6a0925e6bed9f18f8e9381da Mon Sep 17 00:00:00 2001 From: umerfarok Date: Mon, 3 Mar 2025 22:32:14 +0500 Subject: [PATCH 01/21] chore: update dependencies, improve setup configuration, and add Windows-specific support --- DEVELOPER.md | 194 +- README.md | 168 +- build.py | 292 +- debug.py | 159 + file_version_info.txt | 27 + install.py | 449 +- networkmonitor.log | 8427 +---------------- networkmonitor/__init__.py | 9 +- networkmonitor/cli.py | 235 +- networkmonitor/dependency_check.py | 398 +- networkmonitor/launcher.py | 688 +- networkmonitor/monitor.py | 252 +- networkmonitor/npcap_helper.py | 224 +- networkmonitor/server.py | 514 +- networkmonitor/splash.py | 213 + .../web/components/DependencyWarning.js | 517 +- pyproject.toml | 33 +- requirements-build.txt | 11 +- requirements.txt | 21 +- run_app.py | 231 + run_networkmonitor.bat | 59 + setup.py | 119 +- start_networkmonitor.py | 143 + 23 files changed, 2974 insertions(+), 10409 deletions(-) create mode 100644 debug.py create mode 100644 file_version_info.txt create mode 100644 networkmonitor/splash.py create mode 100644 run_app.py create mode 100644 run_networkmonitor.bat create mode 100644 start_networkmonitor.py diff --git a/DEVELOPER.md b/DEVELOPER.md index a32154c..7924ba9 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -1,10 +1,39 @@ -# Developer Guide - -This guide explains how to set up your development environment and build NetworkMonitor from source. +# NetworkMonitor Developer Guide + +## Development Environment Setup + +1. Install system dependencies: + - Python 3.9 or later from python.org + - Npcap from npcap.com (Windows only) + - Node.js and npm for web interface development + +2. Clone the repository and set up a virtual environment: + ```bash + git clone https://github.com/networkmonitor/networkmonitor.git + cd networkmonitor + python -m venv venv + source venv/bin/activate # On Windows: venv\Scripts\activate + ``` + +3. Install development dependencies: + ```bash + pip install -r requirements.txt + pip install -r requirements-build.txt + ``` + +4. Install web interface dependencies: + ```bash + cd networkmonitor/web + npm install + ``` ## Prerequisites -Before you begin, ensure you have the following installed: +### System Requirements +- Windows 10 or later (64-bit) +- Python 3.9 or later +- [Npcap](https://npcap.com/) for packet capture (Windows) + - Make sure to select "Install Npcap in WinPcap API-compatible Mode" during installation ### Required Software - Python 3.8 or higher @@ -26,8 +55,16 @@ Before you begin, ensure you have the following installed: #### 2. GTK3 Runtime (for icon conversion) - Download GTK3 runtime installer: https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases - - Run the installer and ensure "Add to PATH" is selected - - **Important**: Restart your terminal/IDE after installation + - Run the installer and select **Complete** installation + - **IMPORTANT:** Make sure to check "Add to PATH" option during installation + - After installation, verify that the GTK3 bin directory (e.g., `C:\Program Files\GTK3-Runtime Win64\bin`) is in your PATH + - **Restart your terminal/IDE after installation** + - To verify installation: Open a new command prompt and run `gdk-pixbuf-query-loaders --version` + - If you continue to have issues with Cairo: + 1. Download the latest GTK3 bundle from MSYS2: https://www.msys2.org/ + 2. Install MSYS2 + 3. Open MSYS2 terminal and run: `pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-cairo` + 4. Add the MSYS2 bin directory to your PATH (e.g., `C:\msys64\mingw64\bin`) #### 3. Visual C++ Build Tools - Download Visual Studio Build Tools: https://visualstudio.microsoft.com/visual-cpp-build-tools/ @@ -36,6 +73,12 @@ Before you begin, ensure you have the following installed: - Windows 10 SDK - Python development support (optional) +### For Linux Users +- Install system packages: + ```bash + sudo apt install net-tools iptables tcpdump + ``` + ### Ubuntu/Linux Requirements #### 1. System Dependencies @@ -59,6 +102,12 @@ sudo apt install -y nsis pip3 install cairosvg pillow pyinstaller ``` +### For macOS Users +- Install Homebrew packages: + ```bash + brew install libpcap tcpdump + ``` + ### macOS Requirements #### 1. System Dependencies @@ -89,14 +138,47 @@ source venv/bin/activate # On Linux/Mac venv\Scripts\activate # On Windows ``` -2. Install build dependencies: +2. Install runtime dependencies: +```bash +pip install -r requirements.txt +``` + +3. Install build dependencies (only needed for packaging): ```bash pip install -r requirements-build.txt ``` -3. Install runtime dependencies: +## Setup Development Environment + +1. Create and activate a virtual environment: + ```bash + python -m venv venv + # Windows + venv\Scripts\activate + # Linux/macOS + source venv/bin/activate + ``` + +2. Install runtime dependencies: + ```bash + pip install -r requirements.txt + ``` + +3. Install build dependencies (only needed for packaging): + ```bash + pip install -r requirements-build.txt + ``` + +## Running for Development + +Run the application in debug mode: +```bash +python start_networkmonitor.py +``` + +Or use the batch file on Windows (includes additional debug output): ```bash -pip install -r requirements.txt +run_networkmonitor.bat ``` ## Building from Source @@ -152,10 +234,15 @@ The Windows executable requires Administrator privileges to run properly: ### Icon Conversion Issues If you see "cairo library not found" errors: -1. Install Cairo and GTK3 as described in prerequisites for your platform -2. Install Python packages: `pip install cairosvg Pillow` -3. Restart your terminal/IDE -4. Run build again +1. Make sure GTK3 is properly installed as described in the prerequisites +2. Verify that GTK3 bin directory is in your PATH environment variable +3. Install Python packages: `pip install cairosvg Pillow` +4. Try installing Cairo directly: `pip install pycairo` +5. For Windows, consider using MSYS2 to install Cairo: + - Install MSYS2: https://www.msys2.org/ + - Run: `pacman -S mingw-w64-x86_64-cairo` +6. Restart your terminal/IDE completely (not just the command prompt) +7. Run build again ### NSIS Issues If installer creation fails: @@ -188,6 +275,45 @@ python -m pytest tests/ 2. Add build dependencies to `requirements-build.txt` 3. Update `setup.py` for runtime dependencies +### Dependency Management + +1. Keep dependencies organized: + - requirements.txt: Runtime dependencies + - requirements-build.txt: Build-time dependencies + - package.json: Web interface dependencies + +2. Version constraints: + - Use >= for minimum version requirements + - Test thoroughly with latest versions + - Document any version-specific issues + +3. System dependencies: + - Document clearly in README.md + - Provide detailed installation instructions + - Include version requirements + +### Testing + +1. Test installation scenarios: + - Clean Windows installation + - Various Python versions + - Different Npcap versions + - With/without admin rights + +2. Test dependency checks: + - Missing Python + - Missing Npcap + - Missing packages + - Version conflicts + +### Error Handling + +Implement graceful fallbacks and clear error messages for: +1. Missing system dependencies +2. Package installation failures +3. Permission issues +4. Version compatibility problems + ## Releasing 1. Update version in: @@ -202,6 +328,31 @@ python build.py 3. Test the installer from `dist` directory +## Release Process + +1. Update version numbers: + - pyproject.toml + - installer.nsi + - package.json + +2. Build release artifacts: + ```bash + python build.py + ``` + +3. Test installation package: + - Fresh Windows installation + - Different Python versions + - Verify dependency handling + - Check error messages + +4. Create release checklist: + - Version numbers updated + - Changelog updated + - Dependencies documented + - Installation tested + - Release notes complete + ## Troubleshooting ### Build Environment Issues @@ -217,4 +368,19 @@ python build.py ### Runtime Issues - Check logs in `networkmonitor.log` - Run with `--debug` flag for verbose output -- Verify all dependencies are installed \ No newline at end of file +- Verify all dependencies are installed + +## Project Structure + +``` +networkmonitor/ +├── __init__.py # Package initialization +├── cli.py # Command-line interface +├── dependency_check.py # Dependency verification +├── launcher.py # Application launcher +├── monitor.py # Core monitoring functionality +├── npcap_helper.py # Windows Npcap support +├── server.py # Web server component +├── splash.py # Splash screen UI +└── web/ # Web interface files +``` \ No newline at end of file diff --git a/README.md b/README.md index 16cd14d..8233fa3 100644 --- a/README.md +++ b/README.md @@ -1,128 +1,92 @@ -# Network Monitor - -A powerful network monitoring and control tool with ARP protection capabilities. - -## Features -- Discover all devices on your network -- Monitor network traffic and bandwidth usage -- Block unwanted devices -- Protect devices from ARP spoofing attacks -- Control device bandwidth -- RESTful API for integration +# NetworkMonitor -## Quick Install +A powerful network monitoring and analysis tool. -### Windows -1. Download the latest installer from Releases -2. Run the installer as Administrator -3. Launch Network Monitor from the Start Menu or Desktop shortcut +## Prerequisites -### Ubuntu/Linux -```bash -# Install dependencies -sudo apt update -sudo apt install -y python3-pip python3-dev libcairo2-dev net-tools iptables - -# Install Network Monitor -pip3 install networkmonitor +Before installing NetworkMonitor, ensure you have the following prerequisites installed: -# Run with admin privileges -sudo networkmonitor -``` +### System Requirements +1. Windows 10 or later (64-bit) +2. Python 3.9 or later + - Download from: https://python.org + - During installation, check "Add Python to PATH" +3. Npcap (Windows only) + - Download from: https://npcap.com + - Install with "WinPcap API-compatible Mode" option -### macOS -```bash -# Install Homebrew if needed -/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +### Administrator Privileges +NetworkMonitor requires administrator privileges to capture network traffic. -# Install dependencies -brew install cairo python3 +## Installation -# Install Network Monitor -pip3 install networkmonitor +1. Download the latest NetworkMonitor installer from the releases page. -# Run with admin privileges -sudo networkmonitor -``` +2. Run the installer with administrator privileges. -## Manual Installation -If you prefer to install from source or need the latest development version: +3. After installation, open a command prompt with administrator privileges and install the required Python packages: + ``` + pip install -r "C:\Program Files\NetworkMonitor\requirements.txt" + ``` -### Prerequisites -- Python 3.8 or higher -- Administrator privileges (required for network monitoring) -- Platform-specific dependencies: - - Windows: Visual C++ Redistributable - - Linux: net-tools, iptables - - macOS: cairo library -- See [DEVELOPER.md](DEVELOPER.md) for complete build requirements +## Running NetworkMonitor -### Install from Source -```bash -# Clone repository -git clone https://github.com/yourorg/networkmonitor.git -cd networkmonitor +1. Launch NetworkMonitor from the Start Menu or desktop shortcut. + - Ensure you run it as administrator + - The application will open in your default web browser -# Create virtual environment -python -m venv venv -source venv/bin/activate # Linux/Mac -venv\Scripts\activate # Windows +2. If you see any dependency warnings: + - Verify that all prerequisites are installed + - Check that Python packages are installed correctly + - Refer to the troubleshooting section below -# Install dependencies -pip install -r requirements.txt +## Troubleshooting -# Run the application (with admin privileges) -# Windows: Run as Administrator -python -m networkmonitor +### Common Issues -# Linux/Mac: -sudo python -m networkmonitor -``` +1. "Npcap not found" error: + - Ensure Npcap is installed from https://npcap.com + - Try reinstalling Npcap with "WinPcap API-compatible Mode" checked -For detailed build instructions and development setup, see [DEVELOPER.md](DEVELOPER.md). +2. Python package errors: + - Open an administrator command prompt + - Run: `pip install -r "C:\Program Files\NetworkMonitor\requirements.txt"` -## Usage -1. Start Network Monitor (requires Administrator/root privileges) -2. Access web interface at http://localhost:5000 -3. View connected devices and monitor network activity -4. Use protection features as needed +3. "Administrator privileges required": + - Right-click NetworkMonitor shortcut + - Select "Run as administrator" -### Using the API -Network Monitor provides a RESTful API for automation: +### Getting Help -```bash -# Get network status -curl http://localhost:5000/api/status +If you encounter issues: +1. Check the application logs at `%LOCALAPPDATA%\NetworkMonitor\logs` +2. Open an issue on our GitHub repository +3. Include error messages and logs when reporting issues -# List connected devices -curl http://localhost:5000/api/devices +## Development Setup -# Protect a device -curl -X POST http://localhost:5000/api/device/protect -d '{"ip":"192.168.1.100"}' -``` - -Full API documentation available at http://localhost:5000/api/docs when running. - -## Platform Support - -### Windows -- Windows 10 or higher recommended -- Requires Administrator privileges -- Uses Npcap for packet capture +1. Clone the repository: + ``` + git clone https://github.com/networkmonitor/networkmonitor.git + ``` -### Linux -- Ubuntu 20.04 or higher recommended -- Debian, Fedora, and other major distributions supported -- Requires root privileges +2. Install development dependencies: + ``` + pip install -r requirements.txt + pip install -r requirements-build.txt + ``` -### macOS -- macOS 11 (Big Sur) or higher recommended -- Requires root privileges +3. Install Node.js dependencies for the web interface: + ``` + cd networkmonitor/web + npm install + ``` -## Security Notes -- Run as Administrator/root for full functionality -- Use device protection features responsibly -- Keep the software updated for security fixes +4. Build the application: + ``` + python build.py + ``` ## License -MIT License - See LICENSE file for details + +[Add license information here] diff --git a/build.py b/build.py index ec7bd32..3759236 100644 --- a/build.py +++ b/build.py @@ -1,261 +1,61 @@ +""" +Build script for NetworkMonitor +Creates standalone executable with optimized size +""" import os -import platform +import sys import shutil -import subprocess +import platform from pathlib import Path -import sys - -# Configuration -APP_NAME = "NetworkMonitor" -APP_VERSION = "0.1.0" -ENTRY_POINT = "networkmonitor/cli.py" -ICON_PATH = "assets/icon.svg" # SVG icon file -OUTPUT_DIR = "dist" +import PyInstaller.__main__ -def clean_previous_builds(): - """Remove previous build artifacts""" - print("Cleaning previous builds...") - dirs_to_clean = ['build', 'dist', f'{APP_NAME}.egg-info'] +def clean_build(): + """Clean previous build artifacts""" + dirs_to_clean = ['build', 'dist'] for dir_name in dirs_to_clean: if os.path.exists(dir_name): - try: - shutil.rmtree(dir_name) - print(f"Removed {dir_name}/") - except Exception as e: - print(f"Error removing {dir_name}: {e}") - -def convert_icon(): - """Convert SVG icon to platform-specific format""" - if not os.path.exists(ICON_PATH): - print(f"Warning: Icon file not found at {ICON_PATH}") - return None - - # For Windows, we need ICO - if platform.system() == "Windows": - try: - # Check if Cairo is installed - try: - import cairosvg - from PIL import Image - except ImportError: - print("Warning: Cairo and/or Pillow libraries not found.") - print("To enable icon conversion, install GTK3 runtime and required Python packages:") - print("1. Download GTK3 runtime from: https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases") - print("2. Install Python packages: pip install cairosvg Pillow") - print("Skipping icon conversion - using default icon") - return None - - print("Converting SVG icon to ICO...") - ico_path = "assets/icon.ico" - - # First convert to PNG - png_path = "assets/icon.png" - cairosvg.svg2png(url=ICON_PATH, write_to=png_path, output_width=256, output_height=256) - - # Load PNG and convert to ICO - with Image.open(png_path) as png_image: - # Create multiple sizes - sizes = [(16, 16), (32, 32), (48, 48), (64, 64), (128, 128), (256, 256)] - icon_images = [] - - for size in sizes: - resized_img = png_image.resize(size, Image.LANCZOS) - icon_images.append(resized_img) - - # Save as ICO - icon_images[0].save( - ico_path, - format="ICO", - sizes=[(img.width, img.height) for img in icon_images], - append_images=icon_images[1:] - ) - - # Clean up temporary PNG - os.remove(png_path) - - print(f"Icon converted and saved to {ico_path}") - return ico_path - - except Exception as e: - print(f"Error converting icon: {e}") - print("Icon conversion skipped - using default icon") - return None - - # For other platforms, return the original icon - return ICON_PATH + shutil.rmtree(dir_name) + print(f"Cleaned {dir_name} directory") + +def check_environment(): + """Check if build environment is properly configured""" + if sys.version_info >= (3, 12): + print("\nWARNING: You are using Python 3.12 or higher.") + print("This version may have compatibility issues with PyInstaller.") + print("Recommended: Use Python 3.9-3.11 for more reliable builds.") + if input("\nContinue with build anyway? (y/n): ").lower() != 'y': + return False + return True -def build_binary(): - """Build binary using PyInstaller""" - print(f"Building {APP_NAME} for {platform.system()}...") - - # Convert icon for the platform - icon_path = convert_icon() - - # Base PyInstaller command - cmd = [ - "pyinstaller", - "--name", APP_NAME, - "--onefile", - "--clean", - "--noconfirm", - ] - - # Add icon if exists - if icon_path and os.path.exists(icon_path): - cmd.extend(["--icon", icon_path]) - - # Add platform-specific options - if platform.system() == "Windows": - cmd.append("--noconsole") - cmd.append("--uac-admin") # Request admin privileges on Windows - - # Add required files - if os.path.exists("networkmonitor/requirements.txt"): - cmd.extend(["--add-data", "networkmonitor/requirements.txt;networkmonitor"]) - if os.path.exists("assets"): - cmd.extend(["--add-data", "assets;assets"]) - - # Add entry point - cmd.append(ENTRY_POINT) - - try: - # Run PyInstaller - subprocess.check_call(cmd) - print("Binary build complete") - return True - except subprocess.CalledProcessError as e: - print(f"Error building binary: {e}") +def build_executable(): + """Build the executable using PyInstaller with size optimizations""" + if not check_environment(): return False - -def _find_nsis(): - """Find NSIS installation directory""" - possible_paths = [ - r"C:\Program Files (x86)\NSIS", - r"C:\Program Files\NSIS", - os.path.expandvars(r"%ProgramFiles(x86)%\NSIS"), - os.path.expandvars(r"%ProgramFiles%\NSIS"), - ] + + # Clean previous builds + clean_build() - # Check if makensis is in PATH try: - subprocess.run(["makensis", "/VERSION"], capture_output=True, check=True) - return True - except (subprocess.CalledProcessError, FileNotFoundError): - # Check known installation paths - for path in possible_paths: - makensis = os.path.join(path, "makensis.exe") - if os.path.exists(makensis): - os.environ["PATH"] = os.environ["PATH"] + ";" + path - return True - return False - -def create_windows_installer(): - """Create Windows installer using NSIS""" - print("Creating installer for Windows...") - try: - # Check if NSIS is installed - if not _find_nsis(): - print("NSIS not found in PATH or standard locations.") - print("Please install NSIS:") - print("1. Download from https://nsis.sourceforge.io/Download") - print("2. Run the installer") - print("3. Add NSIS installation directory to PATH") - print("4. Restart your terminal/IDE") - return False - - # Generate NSIS script (without requiring EnvVarUpdate) - nsis_script = f""" - !include "MUI2.nsh" - - !define APP_NAME "{APP_NAME}" - !define APP_VERSION "{APP_VERSION}" - !define EXE_NAME "{APP_NAME}.exe" - - Name "${{APP_NAME}} ${{APP_VERSION}}" - OutFile "dist\\{APP_NAME}_Setup_${{APP_VERSION}}.exe" - InstallDir "$PROGRAMFILES\\{APP_NAME}" - - RequestExecutionLevel admin - - # Modern UI - !insertmacro MUI_PAGE_WELCOME - !insertmacro MUI_PAGE_DIRECTORY - !insertmacro MUI_PAGE_INSTFILES - !insertmacro MUI_PAGE_FINISH - - !insertmacro MUI_UNPAGE_CONFIRM - !insertmacro MUI_UNPAGE_INSTFILES - - !insertmacro MUI_LANGUAGE "English" - - # Default section - Section - SetOutPath "$INSTDIR" - - # Copy main executable - File "dist\\${{EXE_NAME}}" - - # Create shortcuts - CreateDirectory "$SMPROGRAMS\\${{APP_NAME}}" - CreateShortCut "$SMPROGRAMS\\${{APP_NAME}}\\${{APP_NAME}}.lnk" "$INSTDIR\\${{EXE_NAME}}" - CreateShortCut "$DESKTOP\\${{APP_NAME}}.lnk" "$INSTDIR\\${{EXE_NAME}}" - - # Write uninstaller - WriteUninstaller "$INSTDIR\\Uninstall.exe" - - # Add to PATH (basic method without EnvVarUpdate) - ExecWait 'cmd.exe /c setx PATH "%PATH%;$INSTDIR" /M' - - # Add uninstall information to Add/Remove Programs - WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${{APP_NAME}}" "DisplayName" "${{APP_NAME}}" - WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${{APP_NAME}}" "UninstallString" "$\\"$INSTDIR\\Uninstall.exe$\\"" - WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${{APP_NAME}}" "DisplayVersion" "${{APP_VERSION}}" - WriteRegStr HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${{APP_NAME}}" "Publisher" "Network Monitor Team" - SectionEnd - - # Uninstaller section - Section "Uninstall" - Delete "$INSTDIR\\${{EXE_NAME}}" - Delete "$INSTDIR\\Uninstall.exe" - Delete "$SMPROGRAMS\\${{APP_NAME}}\\${{APP_NAME}}.lnk" - Delete "$DESKTOP\\${{APP_NAME}}.lnk" - - RMDir "$SMPROGRAMS\\${{APP_NAME}}" - RMDir "$INSTDIR" - - # Remove uninstall information - DeleteRegKey HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${{APP_NAME}}" - SectionEnd - """ - - # Write NSIS script - with open("installer.nsi", "w") as f: - f.write(nsis_script) - - # Run NSIS compiler - subprocess.run(["makensis", "installer.nsi"], check=True) - print(f"Windows installer created successfully in dist/{APP_NAME}_Setup_{APP_VERSION}.exe") + # Run PyInstaller using spec file + print("\nBuilding executable with optimized settings...") + PyInstaller.__main__.run([ + 'NetworkMonitor.spec', + '--clean', + '--noconfirm' + ]) + + print("\nBuild completed successfully!") return True except Exception as e: - print(f"Error creating Windows installer: {e}") + print(f"\nError during build: {str(e)}") + print("\nTroubleshooting tips:") + print("1. Use Python 3.9-3.11 instead of 3.12+") + print("2. Run 'pip install -r requirements.txt' to update dependencies") + print("3. Delete build and dist directories, then try again") + print("4. Check if all required dependencies are installed") return False -def main(): - """Main build function""" - os.makedirs(OUTPUT_DIR, exist_ok=True) - - # Clean previous builds - clean_previous_builds() - - # Build binary - if build_binary(): - # Create installer for current platform - if platform.system() == "Windows": - create_windows_installer() - - print(f"Build complete. Files available in the '{OUTPUT_DIR}' directory.") - return 0 - -if __name__ == "__main__": - sys.exit(main()) \ No newline at end of file +if __name__ == '__main__': + success = build_executable() + sys.exit(0 if success else 1) \ No newline at end of file diff --git a/debug.py b/debug.py new file mode 100644 index 0000000..95255b3 --- /dev/null +++ b/debug.py @@ -0,0 +1,159 @@ +""" +NetworkMonitor Debug Script +This script helps diagnose startup issues with NetworkMonitor +""" + +import os +import sys +import platform +import logging +import traceback + +# Configure verbose logging +logging.basicConfig( + level=logging.DEBUG, # Set to DEBUG for maximum detail + format='%(asctime)s - %(levelname)s - %(name)s - %(message)s', + handlers=[ + logging.FileHandler('networkmonitor_debug.log'), + logging.StreamHandler() + ] +) + +logger = logging.getLogger("NetworkMonitorDebug") + +def run_diagnostic(): + """Run diagnostic checks and attempt to start the application with detailed logging""" + logger.info("=" * 50) + logger.info("NetworkMonitor Diagnostics") + logger.info("=" * 50) + + # Log system information + logger.info(f"Python version: {sys.version}") + logger.info(f"Platform: {platform.platform()}") + logger.info(f"System: {platform.system()} {platform.release()}") + logger.info(f"Working directory: {os.getcwd()}") + + # Check admin privileges + try: + if platform.system() == "Windows": + import ctypes + is_admin = ctypes.windll.shell32.IsUserAnAdmin() != 0 + logger.info(f"Running with admin privileges: {is_admin}") + if not is_admin: + logger.error("NetworkMonitor requires administrator privileges") + print("Please run this script as Administrator") + return + except Exception as e: + logger.error(f"Error checking admin privileges: {e}") + + # Check Npcap installation + logger.info("Checking Npcap installation...") + try: + # Add the networkmonitor module to path + if os.path.exists("networkmonitor"): + sys.path.insert(0, os.path.abspath(".")) + + from networkmonitor.npcap_helper import initialize_npcap, get_npcap_info + + npcap_initialized = initialize_npcap() + npcap_info = get_npcap_info() + + logger.info(f"Npcap initialized: {npcap_initialized}") + logger.info(f"Npcap info: {npcap_info}") + except Exception as e: + logger.error(f"Error initializing Npcap: {e}") + traceback.print_exc() + + # Check dependencies + logger.info("Checking dependencies...") + try: + from networkmonitor.dependency_check import DependencyChecker + + checker = DependencyChecker() + all_ok, missing, warnings = checker.check_all_dependencies() + + logger.info(f"All dependencies OK: {all_ok}") + if missing: + logger.error(f"Missing dependencies: {missing}") + if warnings: + logger.warning(f"Dependency warnings: {warnings}") + except Exception as e: + logger.error(f"Error checking dependencies: {e}") + traceback.print_exc() + + # Try to create splash screen + logger.info("Testing splash screen...") + try: + from networkmonitor.splash import SplashScreen + + splash = SplashScreen() + splash.show() + splash.update_status("Splash screen test", 50) + import time + time.sleep(2) + splash.close() + logger.info("Splash screen test completed") + except Exception as e: + logger.error(f"Error creating splash screen: {e}") + traceback.print_exc() + + # Attempt to create network controller + logger.info("Testing network controller initialization...") + try: + from networkmonitor.monitor import NetworkController + + controller = NetworkController() + logger.info("NetworkController initialized successfully") + except Exception as e: + logger.error(f"Error initializing network controller: {e}") + traceback.print_exc() + + # Test Flask server initialization + logger.info("Testing Flask server initialization...") + try: + from networkmonitor.server import create_app + + app = create_app() + logger.info("Flask app created successfully") + except Exception as e: + logger.error(f"Error creating Flask app: {e}") + traceback.print_exc() + + # Test Tkinter UI + logger.info("Testing Tkinter UI...") + try: + import tkinter as tk + root = tk.Tk() + root.withdraw() # Hide window + logger.info(f"Tkinter initialized successfully: {tk.TkVersion}") + root.destroy() + except Exception as e: + logger.error(f"Error initializing Tkinter: {e}") + traceback.print_exc() + + # Try explicit launcher start + logger.info("Testing launcher...") + try: + from networkmonitor.launcher import create_console_window + + console_window = create_console_window() + if console_window: + logger.info("Console window created successfully") + console_window.after(5000, lambda: console_window.destroy()) + console_window.mainloop() + else: + logger.error("Failed to create console window") + except Exception as e: + logger.error(f"Error in launcher: {e}") + traceback.print_exc() + + logger.info("=" * 50) + logger.info("Diagnostic complete") + logger.info("=" * 50) + +if __name__ == "__main__": + try: + run_diagnostic() + except Exception as e: + logger.critical(f"Unhandled exception in diagnostic: {e}") + traceback.print_exc() \ No newline at end of file diff --git a/file_version_info.txt b/file_version_info.txt new file mode 100644 index 0000000..424dd94 --- /dev/null +++ b/file_version_info.txt @@ -0,0 +1,27 @@ +VSVersionInfo( + ffi=FixedFileInfo( + filevers=(0, 1, 0, 0), + prodvers=(0, 1, 0, 0), + mask=0x3f, + flags=0x0, + OS=0x40004, + fileType=0x1, + subtype=0x0, + date=(0, 0) + ), + kids=[ + StringFileInfo([ + StringTable( + u'040904B0', + [StringStruct(u'CompanyName', u'NetworkMonitor'), + StringStruct(u'FileDescription', u'Network Monitoring and Protection Tool'), + StringStruct(u'FileVersion', u'0.1.0'), + StringStruct(u'InternalName', u'networkmonitor'), + StringStruct(u'LegalCopyright', u'© 2024 NetworkMonitor. All rights reserved.'), + StringStruct(u'OriginalFilename', u'NetworkMonitor.exe'), + StringStruct(u'ProductName', u'NetworkMonitor'), + StringStruct(u'ProductVersion', u'0.1.0')]) + ]), + VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) + ] +) \ No newline at end of file diff --git a/install.py b/install.py index a765c8d..ac13252 100644 --- a/install.py +++ b/install.py @@ -1,395 +1,144 @@ +""" +Network Monitor Installation Script +This script handles installation of dependencies for Network Monitor +""" import os import sys import platform import subprocess -import ctypes -import shutil -from pathlib import Path import logging -import urllib.request import tempfile -import json +import shutil +import ctypes +import requests +from pathlib import Path -# Configure logging +# Setup logging logging.basicConfig( level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s', handlers=[ - logging.FileHandler('install.log'), - logging.StreamHandler() + logging.FileHandler('networkmonitor_install.log'), + logging.StreamHandler() ] ) +logger = logging.getLogger(__name__) + def is_admin(): - """Check if the script has admin privileges""" + """Check if script is running with admin privileges""" try: + if platform.system() == "Windows": + return ctypes.windll.shell32.IsUserAnAdmin() != 0 return os.geteuid() == 0 - except AttributeError: # Windows - try: - return ctypes.windll.shell32.IsUserAnAdmin() - except: - return False - -def run_as_admin(): - """Re-run the script with admin privileges""" - if platform.system() != 'Windows': - print("Please run this script with sudo") - sys.exit(1) - - script = os.path.abspath(sys.argv[0]) - params = ' '.join([script] + sys.argv[1:]) - - try: - print("Requesting administrator privileges...") - ret = ctypes.windll.shell32.ShellExecuteW( - None, - "runas", - sys.executable, - params, - None, - 1 - ) - if ret > 32: # Success - sys.exit(0) # Exit the current instance - else: - print("Failed to elevate privileges") - return False - except Exception as e: - print(f"Error requesting admin rights: {e}") + except: return False -def run_command(command, check=True, shell=True, capture_output=True): - """Run a shell command and handle errors""" - try: - print(f"Running: {command}") - kwargs = { - 'shell': shell, - 'check': check, - 'text': True, - } - if capture_output: - kwargs['capture_output'] = True - - # Add CREATE_NO_WINDOW flag for Windows - if platform.system() == 'Windows': - kwargs['creationflags'] = subprocess.CREATE_NO_WINDOW - - result = subprocess.run(command, **kwargs) - if capture_output and result.stdout: - print(result.stdout) +def install_bundled_npcap(): + """Install Npcap using bundled installer""" + if platform.system() != "Windows": return True - except subprocess.CalledProcessError as e: - print(f"Error running command: {command}") - print(f"Error: {str(e)}") - if capture_output: - if e.stdout: - print("Output:", e.stdout) - if e.stderr: - print("Error output:", e.stderr) - return False -def download_file(url, filename): - """Download a file with progress indicator""" - try: - print(f"Downloading {filename}...") - # Make sure any existing file is removed first - if os.path.exists(filename): - try: - os.remove(filename) - except: - pass - - urllib.request.urlretrieve( - url, - filename, - reporthook=lambda count, block_size, total_size: print( - f"Progress: {count * block_size * 100 / total_size:.1f}%", - end='\r' - ) - ) - print("\nDownload complete!") - return True - except Exception as e: - print(f"Error downloading file: {e}") + npcap_installer = Path('bundled_resources/Npcap/npcap-installer.exe') + if not npcap_installer.exists(): + logger.error("Bundled Npcap installer not found") return False -def install_npcap(): - """Install Npcap with user interaction""" try: - # Check if Npcap is already installed - if os.path.exists("C:\\Windows\\System32\\Npcap"): - print("Npcap is already installed.") - return True - - print("\nNpcap installation:") - npcap_url = "https://nmap.org/npcap/dist/npcap-1.75.exe" - npcap_installer = "npcap-installer.exe" - - download_file(npcap_url, npcap_installer) - print("1. The Npcap installer will open") - print("2. Follow the installation wizard") - print("3. Use default settings when asked") - - # Run installer - if platform.system() == "Windows": - os.startfile(npcap_installer) - input("\nPress Enter after completing Npcap installation...") - else: - print("Npcap is only required on Windows") - - # Clean up installer - if os.path.exists(npcap_installer): - try: - os.remove(npcap_installer) - except: - pass - - # Verify installation - if os.path.exists("C:\\Windows\\System32\\Npcap"): - print("Npcap installation verified successfully.") - return True - else: - print("Npcap installation could not be verified.") - return False - + # Run installer silently with WinPcap compatibility mode + logger.info("Installing Npcap...") + subprocess.run([ + str(npcap_installer), + '/S', # Silent install + '/npf_startup=yes', # Start NPF service at boot + '/winpcap_mode=yes' # WinPcap compatibility mode + ], check=True) + logger.info("Npcap installed successfully") + return True except Exception as e: - print(f"Error during Npcap installation: {e}") + logger.error(f"Failed to install Npcap: {e}") return False -def fix_pip_permissions(): - """Fix pip permissions issues on Windows""" - if platform.system() == "Windows": - try: - import site - site_packages = site.getsitepackages()[0] - os.chmod(site_packages, 0o777) - return True - except Exception as e: - print(f"Warning: Could not fix pip permissions: {e}") - return False - return True - -def setup_virtual_environment(): - """Create and activate virtual environment""" - print("Setting up virtual environment...") - venv_path = Path("venv") - - # Clean up existing venv if present - if venv_path.exists(): - try: - shutil.rmtree(venv_path) - except PermissionError: - print("Unable to remove existing virtual environment. Please close any applications using it.") - return False - - try: - # Create virtual environment - run_command(f'"{sys.executable}" -m venv venv') - - # Get the correct pip path - if platform.system() == "Windows": - pip_path = venv_path / "Scripts" / "pip.exe" - python_path = venv_path / "Scripts" / "python.exe" - else: - pip_path = venv_path / "bin" / "pip" - python_path = venv_path / "bin" / "python" - - if not pip_path.exists(): - print("Virtual environment creation failed") - return False - - print("Installing Python dependencies...") - - # Upgrade pip first - run_command(f'"{python_path}" -m pip install --upgrade pip') - - # Fix permissions if needed - fix_pip_permissions() - - # Install wheel and setuptools first - run_command(f'"{python_path}" -m pip install wheel setuptools charset-normalizer') - - # Install the package in editable mode - run_command(f'"{python_path}" -m pip install -e .') - +def install_vcruntime(): + """Install Visual C++ Runtime""" + if platform.system() != "Windows": return True - - except Exception as e: - print(f"Error setting up virtual environment: {e}") + + vcruntime_installer = Path('bundled_resources/vcruntime/vc_redist.x64.exe') + if not vcruntime_installer.exists(): + logger.error("VC++ Runtime installer not found") return False -def create_shortcut(): - """Create desktop shortcut""" try: - desktop = Path.home() / "Desktop" - - # Create directory for our app if it doesn't exist - app_dir = Path.home() / ".networkmonitor" - app_dir.mkdir(exist_ok=True) - - # Create config file if it doesn't exist - config_file = app_dir / "config.json" - if not config_file.exists(): - config = { - "interface": None, - "port": 5000, - "dark_mode": False, - "scan_interval": 5 - } - with open(config_file, "w") as f: - json.dump(config, f, indent=2) - - # Create shortcut based on platform - if platform.system() == "Windows": - shortcut_path = desktop / "Network Monitor.lnk" - - # Create .bat file in the app directory - bat_path = app_dir / "launch.bat" - with open(bat_path, "w") as f: - f.write('@echo off\n') - - # If running from source install - venv_path = os.path.abspath("venv") - if os.path.exists(venv_path): - activate_path = os.path.join(venv_path, "Scripts", "activate.bat") - f.write(f'cd /d "%~dp0"\n') # Change to script directory - f.write(f'call "{activate_path}"\n') - f.write('networkmonitor launch\n') - else: - # For packaged install - f.write('networkmonitor launch\n') - - f.write('pause\n') - - # Create Windows shortcut - try: - import win32com.client - shell = win32com.client.Dispatch("WScript.Shell") - shortcut = shell.CreateShortCut(str(shortcut_path)) - shortcut.TargetPath = str(bat_path) - shortcut.WorkingDirectory = str(app_dir) - shortcut.IconLocation = f"{os.path.abspath(os.path.dirname(sys.executable))}\\python.exe,0" - shortcut.save() - except: - # Fallback if pywin32 is not installed - with open(desktop / "Network Monitor.bat", "w") as f: - f.write('@echo off\n') - f.write(f'start "" "{bat_path}"\n') - - elif platform.system() == "Linux": - shortcut_path = desktop / "networkmonitor.desktop" - with open(shortcut_path, "w") as f: - f.write("[Desktop Entry]\n") - f.write("Type=Application\n") - f.write("Name=Network Monitor\n") - f.write("Comment=Monitor and control your network\n") - - # If running from source install - venv_path = os.path.abspath("venv") - if os.path.exists(venv_path): - f.write(f"Exec={venv_path}/bin/networkmonitor launch\n") - else: - # For packaged install - f.write("Exec=networkmonitor launch\n") - - f.write("Terminal=false\n") - f.write("Categories=Network;Utility;\n") - - # Make executable - os.chmod(shortcut_path, 0o755) - - elif platform.system() == "Darwin": # macOS - shortcut_path = desktop / "Network Monitor.command" - with open(shortcut_path, "w") as f: - f.write("#!/bin/bash\n") - - # If running from source install - venv_path = os.path.abspath("venv") - if os.path.exists(venv_path): - f.write(f"source {venv_path}/bin/activate\n") - f.write("networkmonitor launch\n") - else: - # For packaged install - f.write("networkmonitor launch\n") - - # Make executable - os.chmod(shortcut_path, 0o755) - - print(f"Created shortcut at: {shortcut_path}") + logger.info("Installing Visual C++ Runtime...") + subprocess.run([ + str(vcruntime_installer), + '/quiet', + '/norestart' + ], check=True) + logger.info("Visual C++ Runtime installed successfully") return True except Exception as e: - print(f"Failed to create shortcut: {e}") + logger.error(f"Failed to install VC++ Runtime: {e}") return False -def install_system_dependencies(): - """Install system-level dependencies""" +def install_python_packages(): + """Install required Python packages""" try: - if platform.system() == "Linux": - # Check if we have sudo - has_sudo = subprocess.call(["which", "sudo"], stdout=subprocess.PIPE) == 0 - - if has_sudo: - # Install Linux dependencies - commands = [ - "apt-get update", - "apt-get install -y libpcap-dev python3-dev", - "apt-get install -y net-tools", - ] - for cmd in commands: - if not run_command(f"sudo {cmd}"): - return False - else: - print("Warning: 'sudo' not found. System dependencies must be installed manually.") - print("Please install libpcap-dev, python3-dev, and net-tools.") - - # Install Windows specific dependencies - elif platform.system() == "Windows": - if not install_npcap(): - print("Failed to install Npcap. Please install it manually.") - return False - + logger.info("Installing Python packages...") + requirements_file = Path('requirements.txt') + if not requirements_file.exists(): + logger.error("requirements.txt not found") + return False + + subprocess.run([ + sys.executable, + '-m', + 'pip', + 'install', + '-r', + str(requirements_file) + ], check=True) + logger.info("Python packages installed successfully") return True except Exception as e: - print(f"Error installing system dependencies: {e}") + logger.error(f"Failed to install Python packages: {e}") return False def main(): - print("Starting Network Monitor installation...") - - # Check for admin privileges + """Main installation function""" if not is_admin(): - print("This installation requires administrative privileges.") - run_as_admin() - sys.exit() + logger.error("This installation requires administrator privileges") + print("Please run this installer as administrator") + return 1 + + # Check Windows version + if platform.system() == "Windows" and not platform.release() >= "10": + logger.error("Windows 10 or later required") + print("NetworkMonitor requires Windows 10 or later") + return 1 + + print("Installing NetworkMonitor components...") - try: - # Install system dependencies - if not install_system_dependencies(): - print("Failed to install system dependencies") - return - - # Setup virtual environment and install dependencies - # Skip for packaged version - if os.path.isfile('setup.py'): - if not setup_virtual_environment(): - print("Virtual environment setup failed") - return - - # Create shortcut - if not create_shortcut(): - print("Shortcut creation failed") - - print("\nInstallation complete!") - print("\nYou can start Network Monitor by:") - print("1. Running 'networkmonitor launch' in terminal") - print("2. Using the desktop shortcut") - - input("\nPress Enter to exit...") - - except Exception as e: - print(f"Installation failed: {str(e)}") - input("\nPress Enter to exit...") - sys.exit(1) + # Install Npcap first on Windows + if platform.system() == "Windows": + if not install_bundled_npcap(): + print("Failed to install Npcap") + return 1 + + # Install VC++ Runtime on Windows + if platform.system() == "Windows": + if not install_vcruntime(): + print("Failed to install Visual C++ Runtime") + return 1 + + # Install Python dependencies + if not install_python_packages(): + print("Failed to install Python packages") + return 1 + + print("Installation completed successfully!") + return 0 if __name__ == "__main__": - main() \ No newline at end of file + sys.exit(main()) \ No newline at end of file diff --git a/networkmonitor.log b/networkmonitor.log index a773adb..175088c 100644 --- a/networkmonitor.log +++ b/networkmonitor.log @@ -1,8294 +1,133 @@ -2025-03-02 02:36:25,457 - WARNING - Npcap seems installed but Scapy cannot use it: cannot import name 'get_windows_if_list' from 'scapy.all' (F:\networkmonitor\venv\Lib\site-packages\scapy\all.py) -2025-03-02 02:36:25,458 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 02:36:25,458 - ERROR - Missing dependency: Npcap packet capture library -2025-03-02 02:36:25,459 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 02:36:25,468 - WARNING - Npcap seems installed but Scapy cannot use it: cannot import name 'get_windows_if_list' from 'scapy.all' (F:\networkmonitor\venv\Lib\site-packages\scapy\all.py) -2025-03-02 02:36:25,469 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 02:36:25,470 - ERROR - Missing dependency: Npcap packet capture library -2025-03-02 02:36:25,471 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 02:36:25,487 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 02:36:25,488 - INFO - Press CTRL+C to quit -2025-03-02 02:36:25,578 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:36:27,205 - INFO - 127.0.0.1 - - [02/Mar/2025 02:36:27] "GET / HTTP/1.1" 200 - -2025-03-02 02:36:33,887 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:36:40,632 - INFO - 127.0.0.1 - - [02/Mar/2025 02:36:40] "GET / HTTP/1.1" 200 - -2025-03-02 02:36:42,118 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:36:50,363 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:36:58,598 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:37:06,829 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:37:15,088 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:37:15,089 - ERROR - Error scanning network: Error opening adapter: The system cannot find the path specified. (3) -2025-03-02 02:37:20,179 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:37:20,180 - ERROR - Error scanning network: Error opening adapter: The system cannot find the path specified. (3) -2025-03-02 02:37:25,253 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:37:33,492 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:37:34,530 - WARNING - Npcap seems installed but Scapy cannot use it: cannot import name 'get_windows_if_list' from 'scapy.all' (F:\networkmonitor\venv\Lib\site-packages\scapy\all.py) -2025-03-02 02:37:34,533 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:34] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:34,628 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:34] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:36,649 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:36] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:37,383 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:37] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:37,811 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:37] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:38,176 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:38] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:38,543 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:38] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:38,958 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:38] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:39,332 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:39] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:39,653 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:39] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:41,738 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:37:41,841 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:41] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:42,252 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:42] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:42,662 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:42] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:47,147 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:47] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:47,742 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:47] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:49,972 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:37:55,612 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:55] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:57,391 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:57] "GET / HTTP/1.1" 200 - -2025-03-02 02:37:57,423 - INFO - 127.0.0.1 - - [02/Mar/2025 02:37:57] "GET /favicon.ico HTTP/1.1" 404 - -2025-03-02 02:37:58,228 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:38:06,460 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:38:14,693 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:38:22,930 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:38:31,169 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:38:39,405 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:38:47,633 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:38:55,877 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:39:04,114 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:39:12,362 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:39:20,603 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:39:28,857 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:39:37,100 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:39:45,341 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:39:53,622 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:40:01,868 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:40:10,155 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:40:18,420 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:40:26,662 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:40:34,913 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:40:43,159 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:40:51,401 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:40:59,639 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:41:07,889 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:41:16,152 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:41:24,405 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:41:32,711 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:41:41,050 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:41:49,298 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:41:57,564 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:42:05,827 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:42:14,096 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:42:22,336 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:42:30,589 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:42:38,848 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:42:47,102 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:42:55,364 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:43:03,616 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:43:11,882 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:43:20,138 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:43:28,403 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:43:36,650 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:43:44,910 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:43:53,218 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:44:01,469 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:44:06,901 - WARNING - Npcap seems installed but Scapy cannot use it: cannot import name 'get_windows_if_list' from 'scapy.all' (F:\networkmonitor\venv\Lib\site-packages\scapy\all.py) -2025-03-02 02:44:06,912 - INFO - 127.0.0.1 - - [02/Mar/2025 02:44:06] "GET / HTTP/1.1" 200 - -2025-03-02 02:44:09,723 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:44:18,001 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:44:26,266 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:44:34,526 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:44:42,767 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:44:51,044 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:44:59,296 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:45:07,562 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:45:15,813 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:45:24,069 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:45:32,328 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:45:40,577 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:45:48,833 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:45:57,075 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:46:05,334 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:46:13,610 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:46:21,874 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:46:30,159 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:46:38,411 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:46:46,657 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:46:54,898 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:47:03,147 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:47:11,408 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:47:19,660 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:47:27,905 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:47:36,166 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:47:44,419 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:47:52,677 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:48:00,934 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:48:09,197 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:48:17,462 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:48:25,717 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:48:34,013 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:48:42,279 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:48:50,521 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:48:58,764 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:49:07,002 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:49:15,248 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:49:23,482 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:49:31,712 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:49:39,947 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:49:48,185 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:49:56,418 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:50:04,652 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:50:12,886 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:50:21,129 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:50:29,367 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:50:37,607 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:50:45,863 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:50:54,103 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:51:02,353 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:51:10,593 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:51:29,680 - INFO - Initializing Npcap support -2025-03-02 02:51:29,706 - INFO - Initializing Npcap... -2025-03-02 02:51:29,706 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:51:29,707 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:51:29,707 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:51:30,352 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:51:30,352 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 02:56:05,066 - INFO - Initializing Npcap support -2025-03-02 02:56:05,078 - INFO - Initializing Npcap... -2025-03-02 02:56:05,079 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:56:05,079 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:56:05,079 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:56:05,560 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:56:05,561 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 02:56:06,074 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 02:56:06,074 - ERROR - Missing dependency: pywin32 -2025-03-02 02:56:06,075 - INFO - Initializing Npcap... -2025-03-02 02:56:06,075 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:56:06,075 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:56:06,077 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:56:06,447 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:56:06,447 - INFO - Npcap initialized successfully -2025-03-02 02:56:06,448 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 02:56:06,470 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 02:56:06,471 - ERROR - Missing dependency: pywin32 -2025-03-02 02:56:06,471 - INFO - Initializing Npcap... -2025-03-02 02:56:06,472 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:56:06,472 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:56:06,473 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:56:06,867 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:56:06,868 - INFO - Npcap initialized successfully -2025-03-02 02:56:06,869 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 02:56:06,875 - INFO - Initializing Npcap... -2025-03-02 02:56:06,876 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:56:06,877 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:56:06,877 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:56:07,301 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:56:07,302 - INFO - Npcap initialized successfully -2025-03-02 02:56:07,310 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 02:56:07,310 - INFO - Press CTRL+C to quit -2025-03-02 02:56:07,392 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:56:07,392 - ERROR - Error scanning network: -2025-03-02 02:56:08,968 - INFO - 127.0.0.1 - - [02/Mar/2025 02:56:08] "GET / HTTP/1.1" 200 - -2025-03-02 02:56:11,689 - INFO - 127.0.0.1 - - [02/Mar/2025 02:56:11] "GET / HTTP/1.1" 200 - -2025-03-02 02:56:12,326 - INFO - 127.0.0.1 - - [02/Mar/2025 02:56:12] "GET / HTTP/1.1" 200 - -2025-03-02 02:56:12,503 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:56:12,504 - ERROR - Error scanning network: -2025-03-02 02:56:12,688 - INFO - 127.0.0.1 - - [02/Mar/2025 02:56:12] "GET / HTTP/1.1" 200 - -2025-03-02 02:56:12,909 - INFO - 127.0.0.1 - - [02/Mar/2025 02:56:12] "GET / HTTP/1.1" 200 - -2025-03-02 02:56:17,596 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:56:17,597 - ERROR - Error scanning network: -2025-03-02 02:57:03,532 - INFO - Initializing Npcap support -2025-03-02 02:57:03,543 - INFO - Initializing Npcap... -2025-03-02 02:57:03,543 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:57:03,544 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:57:03,545 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:57:04,007 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:57:04,007 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 02:57:04,489 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 02:57:04,489 - ERROR - Missing dependency: pywin32 -2025-03-02 02:57:04,490 - INFO - Initializing Npcap... -2025-03-02 02:57:04,491 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:57:04,491 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:57:04,492 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:57:04,950 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:57:04,951 - INFO - Npcap initialized successfully -2025-03-02 02:57:04,951 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 02:57:04,978 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 02:57:04,979 - ERROR - Missing dependency: pywin32 -2025-03-02 02:57:04,981 - INFO - Initializing Npcap... -2025-03-02 02:57:04,981 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:57:04,981 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:57:04,981 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:57:05,502 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:57:05,502 - INFO - Npcap initialized successfully -2025-03-02 02:57:05,503 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 02:57:05,512 - INFO - Initializing Npcap... -2025-03-02 02:57:05,513 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:57:05,514 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:57:05,514 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:57:06,061 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:57:06,061 - INFO - Npcap initialized successfully -2025-03-02 02:57:06,070 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 02:57:06,071 - INFO - Press CTRL+C to quit -2025-03-02 02:57:06,151 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:57:06,152 - ERROR - Error scanning network: -2025-03-02 02:57:07,709 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:07] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:11,238 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:57:11,239 - ERROR - Error scanning network: -2025-03-02 02:57:16,324 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:57:16,325 - ERROR - Error scanning network: -2025-03-02 02:57:21,421 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:57:21,422 - ERROR - Error scanning network: -2025-03-02 02:57:26,513 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:57:26,514 - ERROR - Error scanning network: -2025-03-02 02:57:29,987 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:29] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:30,618 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:30] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:31,061 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:31] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:31,246 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:31] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:31,412 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:31] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:31,572 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:31] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:31,613 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:57:31,614 - ERROR - Error scanning network: -2025-03-02 02:57:31,741 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:31] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:31,899 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:31] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:32,056 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:32] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:32,215 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:32] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:32,380 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:32] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:36,701 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:57:36,709 - ERROR - Error scanning network: -2025-03-02 02:57:41,800 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:57:41,801 - ERROR - Error scanning network: -2025-03-02 02:57:44,115 - INFO - 127.0.0.1 - - [02/Mar/2025 02:57:44] "GET / HTTP/1.1" 200 - -2025-03-02 02:57:46,907 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:57:46,907 - ERROR - Error scanning network: -2025-03-02 02:58:15,205 - INFO - Initializing Npcap support -2025-03-02 02:58:15,217 - INFO - Initializing Npcap... -2025-03-02 02:58:15,218 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:58:15,219 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:58:15,219 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:58:15,630 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:58:15,631 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 02:58:16,023 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 02:58:16,024 - ERROR - Missing dependency: pywin32 -2025-03-02 02:58:16,024 - INFO - Initializing Npcap... -2025-03-02 02:58:16,025 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:58:16,026 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:58:16,026 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:58:16,365 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:58:16,366 - INFO - Npcap initialized successfully -2025-03-02 02:58:16,366 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 02:58:16,388 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 02:58:16,389 - ERROR - Missing dependency: pywin32 -2025-03-02 02:58:16,389 - INFO - Initializing Npcap... -2025-03-02 02:58:16,390 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:58:16,390 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:58:16,391 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:58:16,750 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:58:16,751 - INFO - Npcap initialized successfully -2025-03-02 02:58:16,751 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 02:58:16,759 - INFO - Initializing Npcap... -2025-03-02 02:58:16,760 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 02:58:16,761 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 02:58:16,761 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 02:58:17,131 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 02:58:17,131 - INFO - Npcap initialized successfully -2025-03-02 02:58:17,145 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 02:58:17,145 - INFO - Press CTRL+C to quit -2025-03-02 02:58:17,215 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:58:17,215 - ERROR - Error scanning network: -2025-03-02 02:58:18,805 - INFO - 127.0.0.1 - - [02/Mar/2025 02:58:18] "GET / HTTP/1.1" 200 - -2025-03-02 02:58:22,300 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:58:22,301 - ERROR - Error scanning network: -2025-03-02 02:58:27,386 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:58:27,387 - ERROR - Error scanning network: -2025-03-02 02:58:32,475 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:58:32,476 - ERROR - Error scanning network: -2025-03-02 02:58:37,585 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:58:37,586 - ERROR - Error scanning network: -2025-03-02 02:58:42,667 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:58:42,668 - ERROR - Error scanning network: -2025-03-02 02:58:47,758 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:58:47,759 - ERROR - Error scanning network: -2025-03-02 02:58:52,858 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:58:52,858 - ERROR - Error scanning network: -2025-03-02 02:58:57,944 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:58:57,945 - ERROR - Error scanning network: -2025-03-02 02:59:03,033 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:03,034 - ERROR - Error scanning network: -2025-03-02 02:59:08,132 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:08,132 - ERROR - Error scanning network: -2025-03-02 02:59:13,215 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:13,216 - ERROR - Error scanning network: -2025-03-02 02:59:18,306 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:18,307 - ERROR - Error scanning network: -2025-03-02 02:59:23,391 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:23,392 - ERROR - Error scanning network: -2025-03-02 02:59:28,479 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:28,480 - ERROR - Error scanning network: -2025-03-02 02:59:33,589 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:33,590 - ERROR - Error scanning network: -2025-03-02 02:59:38,675 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:38,675 - ERROR - Error scanning network: -2025-03-02 02:59:43,762 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:43,762 - ERROR - Error scanning network: -2025-03-02 02:59:48,848 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:48,848 - ERROR - Error scanning network: -2025-03-02 02:59:53,933 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:53,934 - ERROR - Error scanning network: -2025-03-02 02:59:59,018 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 02:59:59,019 - ERROR - Error scanning network: -2025-03-02 03:00:04,104 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:00:04,105 - ERROR - Error scanning network: -2025-03-02 03:00:09,190 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:00:09,191 - ERROR - Error scanning network: -2025-03-02 03:00:14,291 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:00:14,291 - ERROR - Error scanning network: -2025-03-02 03:00:19,383 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:00:19,383 - ERROR - Error scanning network: -2025-03-02 03:00:24,489 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:00:24,489 - ERROR - Error scanning network: -2025-03-02 03:00:29,578 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:00:29,578 - ERROR - Error scanning network: -2025-03-02 03:00:34,668 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:00:34,669 - ERROR - Error scanning network: -2025-03-02 03:00:39,769 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:00:39,769 - ERROR - Error scanning network: -2025-03-02 03:04:01,445 - INFO - Initializing Npcap support -2025-03-02 03:04:01,458 - INFO - Initializing Npcap... -2025-03-02 03:04:01,459 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:04:01,459 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:04:01,460 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:04:01,964 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:04:01,965 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 03:04:02,551 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:04:02,552 - ERROR - Missing dependency: pywin32 -2025-03-02 03:04:02,553 - INFO - Initializing Npcap... -2025-03-02 03:04:02,553 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:04:02,554 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:04:02,554 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:04:02,947 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:04:02,948 - INFO - Npcap initialized successfully -2025-03-02 03:04:02,948 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 03:04:02,973 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:04:02,973 - ERROR - Missing dependency: pywin32 -2025-03-02 03:04:02,974 - INFO - Initializing Npcap... -2025-03-02 03:04:02,975 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:04:02,975 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:04:02,976 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:04:03,380 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:04:03,381 - INFO - Npcap initialized successfully -2025-03-02 03:04:03,381 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 03:04:03,388 - INFO - Initializing Npcap... -2025-03-02 03:04:03,388 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:04:03,389 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:04:03,390 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:04:03,800 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:04:03,800 - INFO - Npcap initialized successfully -2025-03-02 03:04:03,808 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 03:04:03,808 - INFO - Press CTRL+C to quit -2025-03-02 03:04:03,887 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:04:03,896 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:04:05,464 - INFO - 127.0.0.1 - - [02/Mar/2025 03:04:05] "GET / HTTP/1.1" 200 - -2025-03-02 03:04:07,795 - INFO - 127.0.0.1 - - [02/Mar/2025 03:04:07] "GET / HTTP/1.1" 200 - -2025-03-02 03:04:08,462 - INFO - 127.0.0.1 - - [02/Mar/2025 03:04:08] "GET / HTTP/1.1" 200 - -2025-03-02 03:04:08,882 - INFO - 127.0.0.1 - - [02/Mar/2025 03:04:08] "GET / HTTP/1.1" 200 - -2025-03-02 03:04:09,005 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:04:09,014 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:04:09,173 - INFO - 127.0.0.1 - - [02/Mar/2025 03:04:09] "GET / HTTP/1.1" 200 - -2025-03-02 03:04:09,346 - INFO - 127.0.0.1 - - [02/Mar/2025 03:04:09] "GET / HTTP/1.1" 200 - -2025-03-02 03:04:09,511 - INFO - 127.0.0.1 - - [02/Mar/2025 03:04:09] "GET / HTTP/1.1" 200 - -2025-03-02 03:04:09,652 - INFO - 127.0.0.1 - - [02/Mar/2025 03:04:09] "GET / HTTP/1.1" 200 - -2025-03-02 03:04:09,825 - INFO - 127.0.0.1 - - [02/Mar/2025 03:04:09] "GET / HTTP/1.1" 200 - -2025-03-02 03:04:14,107 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:04:14,117 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:04:19,209 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:04:19,218 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:06:54,206 - INFO - Initializing Npcap support -2025-03-02 03:06:54,218 - INFO - Initializing Npcap... -2025-03-02 03:06:54,219 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:06:54,219 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:06:54,219 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:06:54,714 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:06:54,714 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 03:06:55,194 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:06:55,195 - ERROR - Missing dependency: pywin32 -2025-03-02 03:06:55,195 - INFO - Initializing Npcap... -2025-03-02 03:06:55,196 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:06:55,196 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:06:55,196 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:06:55,571 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:06:55,572 - INFO - Npcap initialized successfully -2025-03-02 03:06:55,572 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 03:06:55,595 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:06:55,596 - ERROR - Missing dependency: pywin32 -2025-03-02 03:06:55,597 - INFO - Initializing Npcap... -2025-03-02 03:06:55,597 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:06:55,597 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:06:55,598 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:06:55,992 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:06:55,992 - INFO - Npcap initialized successfully -2025-03-02 03:06:55,993 - WARNING - Network monitoring not started due to missing dependencies -2025-03-02 03:06:55,999 - INFO - Initializing Npcap... -2025-03-02 03:06:56,000 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:06:56,001 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:06:56,001 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:06:56,419 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:06:56,420 - INFO - Npcap initialized successfully -2025-03-02 03:06:56,427 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 03:06:56,428 - INFO - Press CTRL+C to quit -2025-03-02 03:06:56,528 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:06:56,606 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:06:58,082 - INFO - 127.0.0.1 - - [02/Mar/2025 03:06:58] "GET / HTTP/1.1" 200 - -2025-03-02 03:07:01,697 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:07:01,776 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:07:06,875 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:07:06,964 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:07:12,056 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:07:12,139 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:07:17,233 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:07:17,313 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:11:25,012 - INFO - Initializing Npcap support -2025-03-02 03:11:25,023 - INFO - Initializing Npcap... -2025-03-02 03:11:25,023 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:11:25,024 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:11:25,025 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:11:25,624 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:11:25,625 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 03:11:26,228 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:11:26,229 - INFO - Initializing Npcap... -2025-03-02 03:11:26,229 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:11:26,230 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:11:26,230 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:11:26,744 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:11:26,744 - INFO - Npcap initialized successfully -2025-03-02 03:11:26,746 - INFO - Network monitoring started -2025-03-02 03:11:26,777 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:11:26,778 - INFO - Initializing Npcap... -2025-03-02 03:11:26,778 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:11:26,779 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:11:26,779 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:11:26,861 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:26,862 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:27,304 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:11:27,305 - INFO - Npcap initialized successfully -2025-03-02 03:11:27,305 - INFO - Network monitoring started -2025-03-02 03:11:27,314 - INFO - Initializing Npcap... -2025-03-02 03:11:27,315 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:11:27,315 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:11:27,316 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:11:27,418 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:27,418 - ERROR - Error scanning network: Error during network scan: -2025-03-02 03:11:27,775 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:11:27,775 - INFO - Npcap initialized successfully -2025-03-02 03:11:27,781 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 03:11:27,782 - INFO - Press CTRL+C to quit -2025-03-02 03:11:27,902 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:27,903 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:29,429 - INFO - 127.0.0.1 - - [02/Mar/2025 03:11:29] "GET / HTTP/1.1" 404 - -2025-03-02 03:11:31,958 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:31,959 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:32,513 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:32,514 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:33,000 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:33,001 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:37,048 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:37,049 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:37,606 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:37,606 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:38,104 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:38,104 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:42,137 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:42,138 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:42,697 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:42,698 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:43,210 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:43,211 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:47,227 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:47,236 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:47,788 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:47,789 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:48,302 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:48,303 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:52,326 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:52,327 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:52,877 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:52,877 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:53,407 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:53,408 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:57,418 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:57,419 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:57,965 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:57,965 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:11:58,504 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:11:58,505 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:12:02,514 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:12:02,514 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:12:03,060 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:12:03,061 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:12:03,678 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:12:03,679 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:12:07,604 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:12:07,604 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:12:08,766 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:12:08,767 - ERROR - Error scanning network: Error during network scan: name 'warnings' is not defined -2025-03-02 03:14:57,914 - INFO - Initializing Npcap support -2025-03-02 03:14:57,927 - INFO - Initializing Npcap... -2025-03-02 03:14:57,928 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:14:57,928 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:14:57,929 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:14:58,463 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:14:58,464 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 03:14:58,993 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:14:58,994 - INFO - Initializing Npcap... -2025-03-02 03:14:58,995 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:14:58,995 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:14:58,996 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:14:59,393 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:14:59,393 - INFO - Npcap initialized successfully -2025-03-02 03:14:59,394 - INFO - Network monitoring started -2025-03-02 03:14:59,419 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:14:59,419 - INFO - Initializing Npcap... -2025-03-02 03:14:59,420 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:14:59,420 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:14:59,420 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:14:59,487 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:14:59,488 - ERROR - Error scanning network: Error during network scan: Interface 'Ethernet' not found ! -2025-03-02 03:14:59,865 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:14:59,865 - INFO - Npcap initialized successfully -2025-03-02 03:14:59,866 - INFO - Network monitoring started -2025-03-02 03:14:59,873 - INFO - Initializing Npcap... -2025-03-02 03:14:59,874 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:14:59,874 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:14:59,875 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:14:59,960 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:14:59,961 - ERROR - Error scanning network: Error during network scan: -2025-03-02 03:15:00,319 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:15:00,319 - INFO - Npcap initialized successfully -2025-03-02 03:15:00,329 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 03:15:00,330 - INFO - Press CTRL+C to quit -2025-03-02 03:15:00,417 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:15:00,464 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:15:02,015 - INFO - 127.0.0.1 - - [02/Mar/2025 03:15:02] "GET / HTTP/1.1" 404 - -2025-03-02 03:15:04,580 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:15:04,624 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:15:05,051 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:15:05,098 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:15:05,554 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:15:05,601 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:15:09,715 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:15:09,759 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:15:10,689 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:15:10,735 - ERROR - Error scanning network: Error during network scan: maximum recursion depth exceeded -2025-03-02 03:17:18,735 - INFO - Initializing Npcap support -2025-03-02 03:17:18,746 - INFO - Initializing Npcap... -2025-03-02 03:17:18,747 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:17:18,747 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:17:18,748 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:17:19,165 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:17:19,165 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 03:17:19,579 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:17:19,580 - INFO - Initializing Npcap... -2025-03-02 03:17:19,581 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:17:19,581 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:17:19,582 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:17:19,918 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:17:19,919 - INFO - Npcap initialized successfully -2025-03-02 03:17:19,920 - INFO - Network monitoring started -2025-03-02 03:17:19,946 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:17:19,946 - INFO - Initializing Npcap... -2025-03-02 03:17:19,948 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:17:19,948 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:17:19,948 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:17:20,107 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:20,196 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:20,282 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:20,423 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:17:20,424 - INFO - Npcap initialized successfully -2025-03-02 03:17:20,424 - INFO - Network monitoring started -2025-03-02 03:17:20,434 - INFO - Initializing Npcap... -2025-03-02 03:17:20,435 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:17:20,435 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:17:20,435 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:17:20,567 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:20,632 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:20,776 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:20,949 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:17:20,949 - INFO - Npcap initialized successfully -2025-03-02 03:17:20,960 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 03:17:20,961 - INFO - Press CTRL+C to quit -2025-03-02 03:17:21,110 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:21,171 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:21,277 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:22,656 - INFO - 127.0.0.1 - - [02/Mar/2025 03:17:22] "GET / HTTP/1.1" 404 - -2025-03-02 03:17:25,433 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:25,479 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:25,563 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:25,943 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:25,992 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:26,074 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:26,446 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:26,583 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:26,667 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:30,721 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:30,765 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:30,844 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:31,226 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:31,273 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:31,349 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:31,810 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:31,855 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:31,931 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:35,993 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:36,038 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:36,113 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:36,501 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:36,554 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:36,634 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:37,092 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:37,141 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:37,228 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:41,263 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:41,308 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:41,382 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:42,393 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:42,441 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:42,524 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:53,546 - INFO - Initializing Npcap support -2025-03-02 03:17:53,557 - INFO - Initializing Npcap... -2025-03-02 03:17:53,557 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:17:53,558 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:17:53,558 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:17:53,992 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:17:53,992 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 03:17:54,431 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:17:54,431 - INFO - Initializing Npcap... -2025-03-02 03:17:54,432 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:17:54,432 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:17:54,433 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:17:54,814 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:17:54,814 - INFO - Npcap initialized successfully -2025-03-02 03:17:54,815 - INFO - Network monitoring started -2025-03-02 03:17:54,848 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:17:54,848 - INFO - Initializing Npcap... -2025-03-02 03:17:54,849 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:17:54,849 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:17:54,850 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:17:54,997 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:55,058 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:55,160 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:55,459 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:17:55,460 - INFO - Npcap initialized successfully -2025-03-02 03:17:55,460 - INFO - Network monitoring started -2025-03-02 03:17:55,470 - INFO - Initializing Npcap... -2025-03-02 03:17:55,470 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:17:55,471 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:17:55,471 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:17:55,626 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:55,693 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:55,857 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:56,061 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:17:56,062 - INFO - Npcap initialized successfully -2025-03-02 03:17:56,069 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 03:17:56,069 - INFO - Press CTRL+C to quit -2025-03-02 03:17:56,224 - INFO - Found active interface: Wi-Fi -2025-03-02 03:17:56,306 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:17:56,403 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:17:57,700 - INFO - 127.0.0.1 - - [02/Mar/2025 03:17:57] "GET / HTTP/1.1" 404 - -2025-03-02 03:18:00,325 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:00,372 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:00,452 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:01,018 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:01,064 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:01,148 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:01,556 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:01,601 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:01,678 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:05,622 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:05,671 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:05,750 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:06,313 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:06,362 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:06,439 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:06,847 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:06,897 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:06,981 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:10,909 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:10,969 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:11,046 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:11,589 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:11,634 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:11,707 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:12,137 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:12,188 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:12,266 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:16,193 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:16,237 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:16,311 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:16,855 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:16,899 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:16,972 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:17,424 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:17,473 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:17,553 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:21,590 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:21,651 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:21,748 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:22,326 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:22,440 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:22,597 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:22,828 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:22,920 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:23,136 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:26,898 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:26,943 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:27,017 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:27,752 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:27,818 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:27,894 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:28,309 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:28,357 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:28,439 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:32,184 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:32,236 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:32,318 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:33,066 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:33,119 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:33,206 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:33,621 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:33,671 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:33,752 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:37,482 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:37,530 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:37,608 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:38,379 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:38,434 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:38,521 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:38,904 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:38,949 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:39,023 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:42,764 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:42,813 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:42,896 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:43,668 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:43,728 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:43,802 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:44,168 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:44,212 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:44,285 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:48,066 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:48,110 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:48,185 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:48,951 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:48,994 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:49,069 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:49,443 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:49,486 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:49,561 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:53,328 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:53,371 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:53,446 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:54,230 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:54,274 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:54,349 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:54,718 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:54,764 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:54,839 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:58,603 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:58,651 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:58,727 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:59,502 - INFO - Found active interface: Wi-Fi -2025-03-02 03:18:59,552 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:18:59,632 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:18:59,996 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:00,044 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:00,120 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:03,893 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:03,944 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:04,041 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:04,789 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:04,837 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:04,917 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:05,309 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:05,360 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:05,442 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:09,219 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:09,273 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:09,355 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:10,065 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:10,110 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:10,188 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:10,618 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:10,663 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:10,744 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:14,525 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:14,571 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:14,649 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:15,363 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:15,416 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:15,503 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:15,960 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:16,023 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:16,125 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:19,813 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:19,861 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:19,939 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:20,654 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:20,698 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:20,772 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:21,277 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:21,323 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:21,398 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:25,091 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:25,138 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:25,233 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:25,921 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:25,967 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:26,046 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:26,598 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:26,647 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:26,731 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:28,140 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:28,141 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:28] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:19:28,395 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 03:19:28,396 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:28] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 03:19:28,670 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:28] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:19:28,764 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:28,765 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:28] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:19:28,844 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 03:19:28,845 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:28] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 03:19:29,062 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:29] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:19:29,236 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:29,236 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:29] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:19:30,428 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:30,485 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:30,577 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:31,209 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:31,260 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:31,356 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:31,898 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:32,030 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:32,126 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:33,571 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:33] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:19:33,676 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:33] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:19:35,740 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:35,784 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:35,856 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:36,504 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:36,547 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:36,621 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:37,286 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:37,335 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:37,416 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:38,272 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:38] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:19:38,658 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:38] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:19:41,002 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:41,053 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:41,135 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:41,777 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:41,827 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:41,905 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:42,557 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:42,600 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:42,679 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:43,571 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:43] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:19:43,691 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:43] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:19:46,282 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:46,326 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:46,403 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:47,056 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:47,103 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:47,181 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:47,829 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:47,872 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:47,946 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:48,270 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:48] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:19:48,679 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:48] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:19:51,549 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:51,593 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:51,668 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:52,355 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:52,408 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:52,490 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:53,092 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:53,136 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:53,212 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:53,572 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:53] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:19:53,683 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:53] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:19:56,919 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:56,969 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:57,053 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:57,635 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:57,694 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:57,770 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:58,271 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:58] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:19:58,375 - INFO - Found active interface: Wi-Fi -2025-03-02 03:19:58,426 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:19:58,510 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:19:58,661 - INFO - 127.0.0.1 - - [02/Mar/2025 03:19:58] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:20:02,224 - INFO - Found active interface: Wi-Fi -2025-03-02 03:20:02,269 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:20:02,346 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:20:03,659 - INFO - Found active interface: Wi-Fi -2025-03-02 03:20:03,707 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:20:03,784 - ERROR - Error scanning network: maximum recursion depth exceeded -2025-03-02 03:24:11,289 - INFO - Initializing Npcap support -2025-03-02 03:24:11,301 - INFO - Initializing Npcap... -2025-03-02 03:24:11,303 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:24:11,303 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:24:11,304 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:24:11,728 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:24:11,729 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 03:24:12,147 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:24:12,148 - INFO - Initializing Npcap... -2025-03-02 03:24:12,148 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:24:12,149 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:24:12,149 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:24:12,480 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:24:12,480 - INFO - Npcap initialized successfully -2025-03-02 03:24:12,482 - INFO - Network monitoring started -2025-03-02 03:24:12,511 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:24:12,511 - INFO - Initializing Npcap... -2025-03-02 03:24:12,512 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:24:12,512 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:24:12,513 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:24:12,635 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:12,702 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:12,710 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:12,719 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:12,727 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:12,736 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:12,793 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:12,803 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:12,812 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:12,833 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:12,842 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:12,851 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:12,860 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:12,863 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:13,012 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:24:13,013 - INFO - Npcap initialized successfully -2025-03-02 03:24:13,014 - INFO - Network monitoring started -2025-03-02 03:24:13,022 - INFO - Initializing Npcap... -2025-03-02 03:24:13,023 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:24:13,024 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:24:13,024 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:24:13,162 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:13,276 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:13,285 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:13,296 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:13,306 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:13,317 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:13,326 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:13,336 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:13,345 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:13,361 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:13,370 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:13,380 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:13,392 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:13,392 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:13,557 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:24:13,557 - INFO - Npcap initialized successfully -2025-03-02 03:24:13,563 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 03:24:13,563 - INFO - Press CTRL+C to quit -2025-03-02 03:24:13,573 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:13] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:24:13,699 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:13] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:13,751 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:13,818 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:13,826 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:13,836 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:13,845 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:13,856 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:13,865 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:13,875 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:13,886 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:13,897 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:13,906 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:13,916 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:13,926 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:13,926 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:15,265 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:15] "GET / HTTP/1.1" 404 - -2025-03-02 03:24:18,026 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:18,072 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:18,081 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:18,090 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:18,098 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:18,107 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:18,192 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:18,201 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:18,209 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:18,218 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:18,227 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:18,236 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:18,246 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:18,246 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:18,564 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:18,617 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:18,626 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:18,636 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:18,645 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:18,654 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:18,665 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:18,676 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:18] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:24:18,678 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:18,692 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:18,714 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:18,750 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:18,763 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:18,782 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:18,783 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:19,062 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:19] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:19,091 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:19,158 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:19,167 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:19,178 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:19,188 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:19,199 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:19,209 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:19,219 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:19,229 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:19,238 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:19,248 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:19,259 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:19,269 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:19,269 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:23,410 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:23,474 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:23,483 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:23,491 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:23,500 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:23,509 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:23,518 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:23,527 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:23,536 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:23,545 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:23,554 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:23,563 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:23,572 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:23,572 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:23,573 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:23] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:24:23,671 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:23] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:23,944 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:23,990 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:23,999 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:24,008 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:24,017 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:24,026 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:24,034 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:24,043 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:24,051 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:24,060 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:24,069 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:24,077 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:24,086 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:24,087 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:24,424 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:24,472 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:24,481 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:24,490 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:24,499 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:24,507 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:24,517 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:24,525 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:24,534 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:24,543 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:24,552 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:24,561 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:24,569 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:24,570 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:28,271 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:28] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:24:28,709 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:28] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:28,790 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:28,846 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:28,856 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:28,867 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:28,876 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:28,886 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:28,896 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:28,905 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:28,915 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:28,925 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:28,935 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:28,947 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:28,957 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:28,957 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:29,276 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:29,329 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:29,338 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:29,348 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:29,357 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:29,366 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:29,376 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:29,386 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:29,395 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:29,405 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:29,414 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:29,424 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:29,436 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:29,437 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:29,855 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:29,925 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:29,936 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:29,947 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:29,957 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:29,968 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:29,977 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:29,986 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:29,995 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:30,004 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:30,014 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:30,023 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:30,032 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:30,032 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:30,379 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:30,380 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:30] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:24:30,601 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 03:24:30,602 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:30] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 03:24:30,871 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:30] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:30,948 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:30,949 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:30] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:24:31,017 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 03:24:31,017 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:31] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 03:24:31,259 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:31] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:31,410 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:31,411 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:31] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:24:34,114 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:34,158 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:34,166 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:34,174 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:34,182 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:34,190 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:34,198 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:34,206 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:34,214 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:34,222 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:34,230 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:34,239 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:34,247 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:34,248 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:34,611 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:34,662 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:34,672 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:34,682 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:34,692 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:34,702 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:34,711 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:34,721 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:34,730 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:34,739 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:34,748 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:34,757 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:34,765 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:34,766 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:35,195 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:35,243 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:35,252 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:35,260 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:35,269 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:35,278 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:35,287 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:35,296 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:35,306 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:35,315 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:35,324 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:35,333 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:35,342 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:35,343 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:35,780 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:35] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:24:35,875 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:35] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:39,396 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:39,441 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:39,449 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:39,459 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:39,468 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:39,477 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:39,486 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:39,495 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:39,503 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:39,512 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:39,520 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:39,529 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:39,537 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:39,538 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:39,915 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:39,975 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:39,983 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:39,992 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:40,001 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:40,010 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:40,019 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:40,028 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:40,037 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:40,046 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:40,055 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:40,064 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:40,073 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:40,073 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:40,479 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:40] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:24:40,499 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:40,547 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:40,557 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:40,568 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:40,581 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:40,591 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:40,602 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:40,612 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:40,622 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:40,633 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:40,644 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:40,654 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:40,667 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:40,667 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:40,872 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:40] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:44,690 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:44,736 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:44,744 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:44,753 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:44,765 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:44,774 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:44,782 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:44,792 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:44,801 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:44,810 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:44,818 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:44,827 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:44,835 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:44,836 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:45,254 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:45,325 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:45,334 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:45,343 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:45,352 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:45,361 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:45,370 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:45,378 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:45,387 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:45,396 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:45,405 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:45,414 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:45,423 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:45,424 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:45,780 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:45] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:24:45,877 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:45,909 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:45] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:45,957 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:45,967 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:45,976 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:45,985 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:45,994 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:46,003 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:46,012 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:46,021 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:46,030 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:46,042 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:46,052 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:46,061 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:46,061 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:49,987 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:50,032 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:50,040 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:50,049 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:50,058 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:50,067 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:50,076 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:50,086 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:50,094 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:50,104 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:50,113 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:50,122 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:50,131 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:50,132 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:50,478 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:50] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:24:50,592 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:50,640 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:50,649 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:50,658 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:50,667 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:50,677 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:50,685 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:50,695 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:50,709 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:50,725 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:50,735 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:50,747 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:50,758 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:50,759 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:50,892 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:50] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:51,234 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:51,300 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:51,309 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:51,319 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:51,329 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:51,339 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:51,350 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:51,360 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:51,371 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:51,381 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:51,391 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:51,400 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:51,410 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:51,411 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:55,282 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:55,329 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:55,337 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:55,346 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:55,355 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:55,364 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:55,373 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:55,382 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:55,390 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:55,399 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:55,409 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:55,417 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:55,426 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:55,426 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:55,780 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:55] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:24:55,886 - INFO - 127.0.0.1 - - [02/Mar/2025 03:24:55] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:24:55,935 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:55,984 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:55,992 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:56,001 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:56,010 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:56,020 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:56,028 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:56,038 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:56,048 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:56,057 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:56,066 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:56,076 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:56,085 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:56,085 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:24:56,573 - INFO - Found active interface: Wi-Fi -2025-03-02 03:24:56,640 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:24:56,651 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:24:56,662 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:24:56,673 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:24:56,684 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:24:56,694 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:24:56,706 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:24:56,716 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:24:56,727 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:24:56,738 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:24:56,748 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:24:56,762 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:24:56,763 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:25:00,478 - INFO - 127.0.0.1 - - [02/Mar/2025 03:25:00] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:25:00,599 - INFO - Found active interface: Wi-Fi -2025-03-02 03:25:00,646 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:25:00,654 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:25:00,664 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:25:00,673 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:25:00,682 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:25:00,691 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:25:00,700 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:25:00,763 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:25:00,771 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:25:00,781 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:25:00,790 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:25:00,801 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:25:00,801 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:25:00,885 - INFO - 127.0.0.1 - - [02/Mar/2025 03:25:00] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:25:01,241 - INFO - Found active interface: Wi-Fi -2025-03-02 03:25:01,287 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:25:01,295 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:25:01,305 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:25:01,315 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:25:01,324 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:25:01,334 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:25:01,343 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:25:01,352 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:25:01,361 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:25:01,370 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:25:01,379 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:25:01,388 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:25:01,388 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:25:01,922 - INFO - Found active interface: Wi-Fi -2025-03-02 03:25:01,984 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:25:01,993 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:25:02,002 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:25:02,011 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:25:02,021 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:25:02,030 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:25:02,040 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:25:02,049 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:25:02,058 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:25:02,067 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:25:02,077 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:25:02,086 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:25:02,086 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:25:05,952 - INFO - Found active interface: Wi-Fi -2025-03-02 03:25:05,997 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:25:06,005 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:25:06,014 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:25:06,023 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:25:06,032 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:25:06,041 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:25:06,049 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:25:06,058 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:25:06,067 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:25:06,076 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:25:06,084 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:25:06,098 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:25:06,099 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:25:07,236 - INFO - Found active interface: Wi-Fi -2025-03-02 03:25:07,282 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:25:07,290 - WARNING - Error scanning chunk 0-25: maximum recursion depth exceeded -2025-03-02 03:25:07,298 - WARNING - Error scanning chunk 25-50: maximum recursion depth exceeded -2025-03-02 03:25:07,306 - WARNING - Error scanning chunk 50-75: maximum recursion depth exceeded -2025-03-02 03:25:07,316 - WARNING - Error scanning chunk 75-100: maximum recursion depth exceeded -2025-03-02 03:25:07,325 - WARNING - Error scanning chunk 100-125: maximum recursion depth exceeded -2025-03-02 03:25:07,333 - WARNING - Error scanning chunk 125-150: maximum recursion depth exceeded -2025-03-02 03:25:07,342 - WARNING - Error scanning chunk 150-175: maximum recursion depth exceeded -2025-03-02 03:25:07,351 - WARNING - Error scanning chunk 175-200: maximum recursion depth exceeded -2025-03-02 03:25:07,361 - WARNING - Error scanning chunk 200-225: maximum recursion depth exceeded -2025-03-02 03:25:07,372 - WARNING - Error scanning chunk 225-250: maximum recursion depth exceeded -2025-03-02 03:25:07,381 - WARNING - Error scanning chunk 250-275: maximum recursion depth exceeded -2025-03-02 03:25:07,382 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:27:43,491 - INFO - Initializing Npcap support -2025-03-02 03:27:43,503 - INFO - Initializing Npcap... -2025-03-02 03:27:43,504 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:27:43,504 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:27:43,504 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:27:43,919 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:27:43,920 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 03:27:44,340 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:27:44,341 - INFO - Initializing Npcap... -2025-03-02 03:27:44,341 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:27:44,342 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:27:44,342 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:27:44,672 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:27:44,673 - INFO - Npcap initialized successfully -2025-03-02 03:27:44,674 - INFO - Network monitoring started -2025-03-02 03:27:44,700 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:27:44,701 - INFO - Initializing Npcap... -2025-03-02 03:27:44,702 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:27:44,702 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:27:44,703 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:27:44,849 - INFO - Found active interface: Wi-Fi -2025-03-02 03:27:44,900 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:27:47,049 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:27:47,102 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:27:47,103 - INFO - Npcap initialized successfully -2025-03-02 03:27:47,104 - INFO - Network monitoring started -2025-03-02 03:27:47,118 - INFO - Initializing Npcap... -2025-03-02 03:27:47,118 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:27:47,119 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:27:47,119 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:27:47,244 - INFO - Found active interface: Wi-Fi -2025-03-02 03:27:47,324 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:27:47,337 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:27:47,539 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:27:47,540 - INFO - Npcap initialized successfully -2025-03-02 03:27:47,550 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 03:27:47,551 - INFO - Press CTRL+C to quit -2025-03-02 03:27:47,690 - INFO - Found active interface: Wi-Fi -2025-03-02 03:27:47,739 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:27:49,783 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:27:49,945 - INFO - 127.0.0.1 - - [02/Mar/2025 03:27:49] "GET / HTTP/1.1" 404 - -2025-03-02 03:27:52,220 - INFO - Found active interface: Wi-Fi -2025-03-02 03:27:52,283 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:27:52,555 - INFO - Found active interface: Wi-Fi -2025-03-02 03:27:52,688 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:27:53,894 - INFO - Found active interface: Wi-Fi -2025-03-02 03:27:53,917 - INFO - 127.0.0.1 - - [02/Mar/2025 03:27:53] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:27:54,277 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 03:27:54,305 - INFO - 127.0.0.1 - - [02/Mar/2025 03:27:54] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 03:27:54,642 - INFO - Found active interface: Wi-Fi -2025-03-02 03:27:54,663 - INFO - 127.0.0.1 - - [02/Mar/2025 03:27:54] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:27:54,825 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 03:27:54,854 - INFO - 127.0.0.1 - - [02/Mar/2025 03:27:54] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 03:27:54,927 - INFO - 127.0.0.1 - - [02/Mar/2025 03:27:54] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:27:55,124 - INFO - Found active interface: Wi-Fi -2025-03-02 03:27:55,268 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:27:55,335 - INFO - Found active interface: Wi-Fi -2025-03-02 03:27:55,351 - INFO - 127.0.0.1 - - [02/Mar/2025 03:27:55] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:27:55,780 - INFO - 127.0.0.1 - - [02/Mar/2025 03:27:55] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:27:57,250 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:27:58,132 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:27:59,300 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:27:59,370 - INFO - 127.0.0.1 - - [02/Mar/2025 03:27:59] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:27:59,464 - INFO - 127.0.0.1 - - [02/Mar/2025 03:27:59] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:02,431 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:02,479 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:03,374 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:03,492 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:04,071 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:04] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:04,588 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:04,754 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:04,892 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:04] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:05,951 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:08,212 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:09,171 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:09,370 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:09] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:09,465 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:09] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:11,117 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:11,163 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:13,120 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:13,387 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:13,431 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:14,074 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:14] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:14,372 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:14,560 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:14,769 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:14] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:16,571 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:17,898 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:18,281 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:18,333 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:19,394 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:19] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:19,673 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:19] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:20,895 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:21,743 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:21,792 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:23,196 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:23,332 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:24,070 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:24] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:24,713 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:24,746 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:24] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:26,096 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:26,222 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:26,222 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:28,442 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:29,371 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:29] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:29,464 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:29] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:29,888 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:29,951 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:31,430 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:31,561 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:32,282 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:33,673 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:33,806 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:34,073 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:34] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:34,608 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:34,715 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:34] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:36,579 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:37,442 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:37,489 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:39,396 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:39] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:39,630 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:39,639 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:39] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:39,796 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:39,848 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:41,835 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:41,948 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:42,492 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:44,073 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:44] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:44,405 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:44,502 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:44] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:44,787 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:44,835 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:47,019 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:47,662 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:47,709 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:49,387 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:49] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:49,677 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:49,704 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:49] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:49,825 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:49,930 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:52,051 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:52,186 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:52,232 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:54,074 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:54] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:54,288 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:54,451 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:54] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:55,109 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:55,159 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:57,256 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:57,362 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:28:57,468 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:59,387 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:59] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:28:59,491 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:28:59,516 - INFO - Found active interface: Wi-Fi -2025-03-02 03:28:59,562 - INFO - 127.0.0.1 - - [02/Mar/2025 03:28:59] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:28:59,591 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:29:01,785 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:29:02,628 - INFO - Found active interface: Wi-Fi -2025-03-02 03:29:02,674 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:29:04,075 - INFO - 127.0.0.1 - - [02/Mar/2025 03:29:04] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:29:04,630 - INFO - 127.0.0.1 - - [02/Mar/2025 03:29:04] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:29:04,664 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:29:04,707 - INFO - Found active interface: Wi-Fi -2025-03-02 03:29:04,762 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:29:06,978 - INFO - Found active interface: Wi-Fi -2025-03-02 03:29:07,038 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:29:07,086 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:29:09,015 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:29:09,371 - INFO - 127.0.0.1 - - [02/Mar/2025 03:29:09] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:29:09,472 - INFO - 127.0.0.1 - - [02/Mar/2025 03:29:09] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:29:09,822 - INFO - Found active interface: Wi-Fi -2025-03-02 03:29:09,869 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:29:11,803 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:29:12,184 - INFO - Found active interface: Wi-Fi -2025-03-02 03:29:12,230 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:29:14,072 - INFO - 127.0.0.1 - - [02/Mar/2025 03:29:14] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:29:14,180 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:29:16,951 - INFO - Found active interface: Wi-Fi -2025-03-02 03:29:16,997 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:29:18,976 - INFO - Scan complete. Found 0 active devices -2025-03-02 03:32:39,480 - INFO - Initializing Npcap support -2025-03-02 03:32:39,496 - INFO - Initializing Npcap... -2025-03-02 03:32:39,497 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:32:39,497 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:32:39,498 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:32:40,102 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:32:40,103 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 03:32:40,674 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:32:40,675 - INFO - Initializing Npcap... -2025-03-02 03:32:40,676 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:32:40,676 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:32:40,677 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:32:41,205 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:32:41,205 - INFO - Npcap initialized successfully -2025-03-02 03:32:41,206 - INFO - Network monitoring started -2025-03-02 03:32:41,242 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 03:32:41,243 - INFO - Initializing Npcap... -2025-03-02 03:32:41,244 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:32:41,244 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:32:41,245 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:32:41,426 - INFO - Found active interface: Wi-Fi -2025-03-02 03:32:41,502 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:32:41,768 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:32:41,769 - INFO - Npcap initialized successfully -2025-03-02 03:32:41,770 - INFO - Network monitoring started -2025-03-02 03:32:41,777 - INFO - Initializing Npcap... -2025-03-02 03:32:41,778 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 03:32:41,779 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 03:32:41,779 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 03:32:41,928 - INFO - Found active interface: Wi-Fi -2025-03-02 03:32:41,984 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:32:42,197 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 03:32:42,198 - INFO - Npcap initialized successfully -2025-03-02 03:32:42,201 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 03:32:42,201 - INFO - Press CTRL+C to quit -2025-03-02 03:32:42,325 - INFO - Found active interface: Wi-Fi -2025-03-02 03:32:42,370 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:32:43,850 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:43] "GET / HTTP/1.1" 404 - -2025-03-02 03:32:44,829 - ERROR - 127.0.0.1 - - [02/Mar/2025 03:32:44] Request timed out: TimeoutError('timed out') -2025-03-02 03:32:45,227 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:45] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:32:45,335 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:45] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:32:46,478 - ERROR - 127.0.0.1 - - [02/Mar/2025 03:32:46] Request timed out: TimeoutError('timed out') -2025-03-02 03:32:47,951 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 03:32:47,963 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:32:47,964 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 03:32:47,965 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:32:48,369 - INFO - Found active interface: Wi-Fi -2025-03-02 03:32:48,369 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:48] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:32:48,592 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 03:32:48,593 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:48] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 03:32:48,756 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 03:32:48,757 - WARNING - Error in primary ARP scan: super(type, obj): obj must be an instance or subtype of type -2025-03-02 03:32:48,757 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 03:32:48,758 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:32:48,864 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:48] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:32:48,976 - INFO - Found active interface: Wi-Fi -2025-03-02 03:32:48,977 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:48] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:32:49,028 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 03:32:49,029 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:49] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 03:32:49,253 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:49] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:32:49,455 - INFO - Found active interface: Wi-Fi -2025-03-02 03:32:49,456 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:49] "GET /api/status HTTP/1.1" 200 - -2025-03-02 03:32:53,111 - INFO - Found active interface: Wi-Fi -2025-03-02 03:32:53,117 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 03:32:53,127 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:32:53,127 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 03:32:53,127 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:32:53,171 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:32:53,770 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:53] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:32:53,884 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:53] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:32:53,952 - INFO - Found active interface: Wi-Fi -2025-03-02 03:32:54,013 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:32:55,020 - ERROR - 127.0.0.1 - - [02/Mar/2025 03:32:55] Request timed out: TimeoutError('timed out') -2025-03-02 03:32:58,275 - INFO - Found active interface: Wi-Fi -2025-03-02 03:32:58,322 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:32:58,770 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:58] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:32:58,867 - INFO - 127.0.0.1 - - [02/Mar/2025 03:32:58] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:33:00,019 - ERROR - 127.0.0.1 - - [02/Mar/2025 03:33:00] Request timed out: TimeoutError('timed out') -2025-03-02 03:33:00,979 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:33:00,980 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:33:03,695 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:33:03,696 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:33:03,769 - INFO - 127.0.0.1 - - [02/Mar/2025 03:33:03] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:33:03,885 - INFO - 127.0.0.1 - - [02/Mar/2025 03:33:03] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:33:04,424 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:33:04,425 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:33:06,137 - INFO - Found active interface: Wi-Fi -2025-03-02 03:33:06,186 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:33:08,467 - INFO - 127.0.0.1 - - [02/Mar/2025 03:33:08] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:33:08,882 - INFO - 127.0.0.1 - - [02/Mar/2025 03:33:08] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:33:08,912 - INFO - Found active interface: Wi-Fi -2025-03-02 03:33:08,961 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:33:09,590 - INFO - Found active interface: Wi-Fi -2025-03-02 03:33:09,640 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:33:11,863 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:33:11,864 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:33:13,770 - INFO - 127.0.0.1 - - [02/Mar/2025 03:33:13] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:33:13,869 - INFO - 127.0.0.1 - - [02/Mar/2025 03:33:13] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 03:33:14,600 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:33:14,601 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:33:15,281 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:33:15,282 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:33:17,031 - INFO - Found active interface: Wi-Fi -2025-03-02 03:33:17,076 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:33:18,467 - INFO - 127.0.0.1 - - [02/Mar/2025 03:33:18] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 03:33:19,760 - INFO - Found active interface: Wi-Fi -2025-03-02 03:33:19,809 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:33:20,432 - INFO - Found active interface: Wi-Fi -2025-03-02 03:33:20,491 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 03:33:22,678 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:33:22,678 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:33:25,403 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:33:25,404 - INFO - Scan complete. Found 2 active devices -2025-03-02 03:33:26,097 - WARNING - Error in primary ARP scan: maximum recursion depth exceeded -2025-03-02 03:33:26,098 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:17:41,240 - INFO - Initializing Npcap support -2025-03-02 04:17:41,250 - INFO - Initializing Npcap... -2025-03-02 04:17:41,251 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:17:41,251 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:17:41,252 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:17:41,680 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:17:41,680 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 04:17:42,094 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 04:17:42,095 - INFO - Initializing Npcap... -2025-03-02 04:17:42,096 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:17:42,096 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:17:42,097 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:17:42,433 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:17:42,434 - INFO - Npcap initialized successfully -2025-03-02 04:17:42,435 - INFO - Network monitoring started -2025-03-02 04:17:42,465 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 04:17:42,466 - INFO - Initializing Npcap... -2025-03-02 04:17:42,466 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:17:42,467 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:17:42,467 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:17:42,594 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:42,629 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:17:42,866 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:17:42,866 - INFO - Npcap initialized successfully -2025-03-02 04:17:42,867 - INFO - Network monitoring started -2025-03-02 04:17:42,872 - INFO - Initializing Npcap... -2025-03-02 04:17:42,874 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:17:42,874 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:17:42,876 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:17:43,041 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:43,088 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:17:43,326 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:17:43,327 - INFO - Npcap initialized successfully -2025-03-02 04:17:43,332 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 04:17:43,333 - INFO - Press CTRL+C to quit -2025-03-02 04:17:43,499 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:43,540 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:17:43,798 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:17:43,799 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:17:43,800 - ERROR - Error in ARP scan: -2025-03-02 04:17:43,800 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:17:44,246 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:17:44,247 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:17:44,247 - ERROR - Error in ARP scan: -2025-03-02 04:17:44,248 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:17:44,323 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:17:44,324 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:17:44,324 - ERROR - Error in ARP scan: -2025-03-02 04:17:44,325 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:17:45,047 - INFO - 127.0.0.1 - - [02/Mar/2025 04:17:45] "GET / HTTP/1.1" 404 - -2025-03-02 04:17:48,971 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:49,006 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:17:49,415 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:49,450 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:17:49,506 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:49,546 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:17:49,889 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:17:49,890 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:17:49,890 - ERROR - Error in ARP scan: -2025-03-02 04:17:49,891 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:17:50,158 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:17:50,158 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:17:50,158 - ERROR - Error in ARP scan: -2025-03-02 04:17:50,159 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:17:50,227 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:17:50,227 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:17:50,227 - ERROR - Error in ARP scan: -2025-03-02 04:17:50,227 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:17:52,183 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:52,183 - INFO - 127.0.0.1 - - [02/Mar/2025 04:17:52] "GET /api/status HTTP/1.1" 200 - -2025-03-02 04:17:52,425 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 04:17:52,425 - INFO - 127.0.0.1 - - [02/Mar/2025 04:17:52] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 04:17:52,694 - INFO - 127.0.0.1 - - [02/Mar/2025 04:17:52] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:17:52,822 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:52,822 - INFO - 127.0.0.1 - - [02/Mar/2025 04:17:52] "GET /api/status HTTP/1.1" 200 - -2025-03-02 04:17:52,870 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 04:17:52,871 - INFO - 127.0.0.1 - - [02/Mar/2025 04:17:52] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 04:17:53,098 - INFO - 127.0.0.1 - - [02/Mar/2025 04:17:53] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:17:53,303 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:53,304 - INFO - 127.0.0.1 - - [02/Mar/2025 04:17:53] "GET /api/status HTTP/1.1" 200 - -2025-03-02 04:17:55,053 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:55,084 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:17:55,318 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:55,352 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:17:55,375 - INFO - Found active interface: Wi-Fi -2025-03-02 04:17:55,412 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:17:55,774 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:17:55,774 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:17:55,775 - ERROR - Error in ARP scan: -2025-03-02 04:17:55,775 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:17:56,037 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:17:56,037 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:17:56,038 - ERROR - Error in ARP scan: -2025-03-02 04:17:56,038 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:17:56,095 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:17:56,096 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:17:56,096 - ERROR - Error in ARP scan: -2025-03-02 04:17:56,096 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:00,934 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:00,968 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:01,177 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:01,212 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:01,258 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:01,295 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:01,656 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:01,657 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:01,658 - ERROR - Error in ARP scan: -2025-03-02 04:18:01,658 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:01,920 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:01,920 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:01,921 - ERROR - Error in ARP scan: -2025-03-02 04:18:01,921 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:01,971 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:01,971 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:01,971 - ERROR - Error in ARP scan: -2025-03-02 04:18:01,972 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:03,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:03] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:18:03,692 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:03] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:18:06,805 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:06,837 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:07,080 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:07,117 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:07,123 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:07,158 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:07,522 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:07,523 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:07,523 - ERROR - Error in ARP scan: -2025-03-02 04:18:07,523 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:07,801 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:07,802 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:07,802 - ERROR - Error in ARP scan: -2025-03-02 04:18:07,803 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:07,857 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:07,858 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:07,859 - ERROR - Error in ARP scan: -2025-03-02 04:18:07,859 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:12,668 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:12,715 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:12,956 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:12,991 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:13,017 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:13,054 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:13,391 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:13,391 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:13,392 - ERROR - Error in ARP scan: -2025-03-02 04:18:13,392 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:13,681 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:13,683 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:13,683 - ERROR - Error in ARP scan: -2025-03-02 04:18:13,683 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:13,756 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:13,757 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:13,758 - ERROR - Error in ARP scan: -2025-03-02 04:18:13,758 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:14,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:14] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:18:14,679 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:14] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:18:18,539 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:18,573 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:18,828 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:18,876 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:18,915 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:18,953 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:19,249 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:19,250 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:19,250 - ERROR - Error in ARP scan: -2025-03-02 04:18:19,250 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:19,564 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:19,565 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:19,566 - ERROR - Error in ARP scan: -2025-03-02 04:18:19,566 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:19,633 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:19,633 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:19,634 - ERROR - Error in ARP scan: -2025-03-02 04:18:19,635 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:24,396 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:24,428 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:24,713 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:24,748 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:24,799 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:24,838 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:25,125 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:25,126 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:25,126 - ERROR - Error in ARP scan: -2025-03-02 04:18:25,127 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:25,428 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:25,428 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:25,429 - ERROR - Error in ARP scan: -2025-03-02 04:18:25,429 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:25,522 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:25,523 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:25,523 - ERROR - Error in ARP scan: -2025-03-02 04:18:25,523 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:25,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:25] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:18:25,692 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:25] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:18:30,274 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:30,306 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:30,568 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:30,601 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:30,683 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:30,719 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:31,003 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:31,004 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:31,005 - ERROR - Error in ARP scan: -2025-03-02 04:18:31,005 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:31,314 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:31,315 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:31,315 - ERROR - Error in ARP scan: -2025-03-02 04:18:31,316 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:31,414 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:31,414 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:31,415 - ERROR - Error in ARP scan: -2025-03-02 04:18:31,415 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:36,150 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:36,183 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:36,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:36] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:18:36,475 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:36,511 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:36,587 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:36,636 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:36,728 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:36] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:18:36,861 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:36,862 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:36,862 - ERROR - Error in ARP scan: -2025-03-02 04:18:36,862 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:37,225 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:37,225 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:37,226 - ERROR - Error in ARP scan: -2025-03-02 04:18:37,226 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:37,356 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:37,356 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:37,356 - ERROR - Error in ARP scan: -2025-03-02 04:18:37,356 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:42,015 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:42,049 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:42,378 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:42,413 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:42,539 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:42,571 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:42,729 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:42,729 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:42,730 - ERROR - Error in ARP scan: -2025-03-02 04:18:42,730 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:43,083 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:43,083 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:43,084 - ERROR - Error in ARP scan: -2025-03-02 04:18:43,085 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:43,252 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:43,252 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:43,253 - ERROR - Error in ARP scan: -2025-03-02 04:18:43,253 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:47,599 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:47] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:18:47,694 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:47] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:18:47,873 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:47,906 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:48,242 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:48,275 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:48,416 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:48,449 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:48,868 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:48,869 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:48,869 - ERROR - Error in ARP scan: -2025-03-02 04:18:48,870 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:48,973 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:48,974 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:48,974 - ERROR - Error in ARP scan: -2025-03-02 04:18:48,975 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:49,136 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:49,137 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:49,137 - ERROR - Error in ARP scan: -2025-03-02 04:18:49,137 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:54,025 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:54,060 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:54,141 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:54,179 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:54,316 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:54,349 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:18:54,740 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:54,741 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:54,741 - ERROR - Error in ARP scan: -2025-03-02 04:18:54,741 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:54,860 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:54,860 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:54,861 - ERROR - Error in ARP scan: -2025-03-02 04:18:54,861 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:55,018 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:18:55,018 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:18:55,019 - ERROR - Error in ARP scan: -2025-03-02 04:18:55,019 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:18:58,294 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:58] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:18:58,683 - INFO - 127.0.0.1 - - [02/Mar/2025 04:18:58] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:18:59,894 - INFO - Found active interface: Wi-Fi -2025-03-02 04:18:59,927 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:00,031 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:00,065 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:00,178 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:00,210 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:00,607 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:00,608 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:00,608 - ERROR - Error in ARP scan: -2025-03-02 04:19:00,609 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:00,745 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:00,746 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:00,746 - ERROR - Error in ARP scan: -2025-03-02 04:19:00,747 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:00,909 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:00,909 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:00,910 - ERROR - Error in ARP scan: -2025-03-02 04:19:00,910 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:05,755 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:05,790 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:05,913 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:05,946 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:06,063 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:06,094 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:06,501 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:06,501 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:06,502 - ERROR - Error in ARP scan: -2025-03-02 04:19:06,502 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:06,627 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:06,628 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:06,628 - ERROR - Error in ARP scan: -2025-03-02 04:19:06,628 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:06,772 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:06,773 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:06,773 - ERROR - Error in ARP scan: -2025-03-02 04:19:06,773 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:09,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:19:09] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:19:09,706 - INFO - 127.0.0.1 - - [02/Mar/2025 04:19:09] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:19:11,658 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:11,692 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:11,783 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:11,820 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:11,962 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:11,996 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:12,428 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:12,428 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:12,429 - ERROR - Error in ARP scan: -2025-03-02 04:19:12,429 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:12,499 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:12,500 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:12,500 - ERROR - Error in ARP scan: -2025-03-02 04:19:12,501 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:12,672 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:12,673 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:12,673 - ERROR - Error in ARP scan: -2025-03-02 04:19:12,674 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:17,581 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:17,616 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:17,663 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:17,722 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:17,833 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:17,865 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:18,313 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:18,314 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:18,315 - ERROR - Error in ARP scan: -2025-03-02 04:19:18,315 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:18,391 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:18,391 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:18,392 - ERROR - Error in ARP scan: -2025-03-02 04:19:18,393 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:19,062 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:19,063 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:19,063 - ERROR - Error in ARP scan: -2025-03-02 04:19:19,064 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:20,297 - INFO - 127.0.0.1 - - [02/Mar/2025 04:19:20] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:19:20,682 - INFO - 127.0.0.1 - - [02/Mar/2025 04:19:20] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:19:23,487 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:23,520 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:23,556 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:23,595 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:24,223 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:24,223 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:24,223 - ERROR - Error in ARP scan: -2025-03-02 04:19:24,223 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:24,232 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:24,266 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:24,269 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:24,269 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:24,269 - ERROR - Error in ARP scan: -2025-03-02 04:19:24,270 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:25,439 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:25,440 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:25,440 - ERROR - Error in ARP scan: -2025-03-02 04:19:25,441 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:29,381 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:29,417 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:29,439 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:29,475 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:30,126 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:30,126 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:30,127 - ERROR - Error in ARP scan: -2025-03-02 04:19:30,127 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:30,167 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:30,167 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:30,168 - ERROR - Error in ARP scan: -2025-03-02 04:19:30,168 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:30,586 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:30,618 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:31,306 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:31,306 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:31,307 - ERROR - Error in ARP scan: -2025-03-02 04:19:31,307 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:31,599 - INFO - 127.0.0.1 - - [02/Mar/2025 04:19:31] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:19:31,693 - INFO - 127.0.0.1 - - [02/Mar/2025 04:19:31] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:19:35,292 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:35,313 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:35,328 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:35,349 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:36,012 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:36,012 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:36,013 - ERROR - Error in ARP scan: -2025-03-02 04:19:36,014 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:36,043 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:36,043 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:36,044 - ERROR - Error in ARP scan: -2025-03-02 04:19:36,044 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:36,454 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:36,501 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:37,191 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:37,192 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:37,192 - ERROR - Error in ARP scan: -2025-03-02 04:19:37,192 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:41,163 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:41,203 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:41,204 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:41,242 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:41,919 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:41,920 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:41,921 - ERROR - Error in ARP scan: -2025-03-02 04:19:41,921 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:41,930 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:41,931 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:41,932 - ERROR - Error in ARP scan: -2025-03-02 04:19:41,932 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:42,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:19:42] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:19:42,351 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:42,385 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:42,681 - INFO - 127.0.0.1 - - [02/Mar/2025 04:19:42] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:19:43,078 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:43,079 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:43,079 - ERROR - Error in ARP scan: -2025-03-02 04:19:43,080 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:47,069 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:47,077 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:47,106 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:47,114 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:47,789 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:47,789 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:47,789 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:47,790 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:47,791 - ERROR - Error in ARP scan: -2025-03-02 04:19:47,791 - ERROR - Error in ARP scan: -2025-03-02 04:19:47,792 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:47,793 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:48,224 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:48,255 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:49,129 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:49,130 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:49,130 - ERROR - Error in ARP scan: -2025-03-02 04:19:49,131 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:52,934 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:52,942 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:52,975 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:52,982 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:53,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:19:53] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:19:53,673 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:53,673 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:53,674 - ERROR - Error in ARP scan: -2025-03-02 04:19:53,674 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:53,690 - INFO - 127.0.0.1 - - [02/Mar/2025 04:19:53] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:19:53,696 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:53,696 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:53,697 - ERROR - Error in ARP scan: -2025-03-02 04:19:53,697 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:54,285 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:54,319 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:55,021 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:55,022 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:55,022 - ERROR - Error in ARP scan: -2025-03-02 04:19:55,023 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:58,816 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:58,852 - INFO - Found active interface: Wi-Fi -2025-03-02 04:19:58,868 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:58,888 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:19:59,564 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:59,564 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:59,565 - ERROR - Error in ARP scan: -2025-03-02 04:19:59,566 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:19:59,575 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:19:59,576 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:19:59,576 - ERROR - Error in ARP scan: -2025-03-02 04:19:59,577 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:00,166 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:00,200 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:00,901 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:00,902 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:00,903 - ERROR - Error in ARP scan: -2025-03-02 04:20:00,903 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:04,297 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:04] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:20:04,694 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:04] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:20:04,741 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:04,775 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:04,798 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:04,818 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:05,492 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:05,493 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:05,493 - ERROR - Error in ARP scan: -2025-03-02 04:20:05,493 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:05,505 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:05,505 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:05,506 - ERROR - Error in ARP scan: -2025-03-02 04:20:05,506 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:06,043 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:06,076 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:07,239 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:07,240 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:07,241 - ERROR - Error in ARP scan: -2025-03-02 04:20:07,241 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:10,652 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:10,653 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:10,691 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:10,692 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:11,371 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:11,372 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:11,372 - ERROR - Error in ARP scan: -2025-03-02 04:20:11,373 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:11,391 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:11,391 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:11,392 - ERROR - Error in ARP scan: -2025-03-02 04:20:11,392 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:12,387 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:12,419 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:13,102 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:13,103 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:13,103 - ERROR - Error in ARP scan: -2025-03-02 04:20:13,104 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:15,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:15] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:20:15,687 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:15] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:20:16,517 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:16,555 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:16,572 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:16,592 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:17,276 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:17,278 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:17,278 - ERROR - Error in ARP scan: -2025-03-02 04:20:17,279 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:17,288 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:17,289 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:17,289 - ERROR - Error in ARP scan: -2025-03-02 04:20:17,290 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:18,250 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:18,283 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:18,987 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:18,988 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:18,988 - ERROR - Error in ARP scan: -2025-03-02 04:20:18,989 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:22,422 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:22,431 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:22,459 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:22,467 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:23,285 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:23,286 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:23,287 - ERROR - Error in ARP scan: -2025-03-02 04:20:23,287 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:23,312 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:23,312 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:23,314 - ERROR - Error in ARP scan: -2025-03-02 04:20:23,314 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:24,152 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:24,184 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:24,907 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:24,908 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:24,909 - ERROR - Error in ARP scan: -2025-03-02 04:20:24,909 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:26,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:26] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:20:26,694 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:26] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:20:28,429 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:28,467 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:28,468 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:28,506 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:29,168 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:29,169 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:29,169 - ERROR - Error in ARP scan: -2025-03-02 04:20:29,170 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:29,200 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:29,200 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:29,200 - ERROR - Error in ARP scan: -2025-03-02 04:20:29,200 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:30,054 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:30,086 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:30,788 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:30,789 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:30,789 - ERROR - Error in ARP scan: -2025-03-02 04:20:30,790 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:34,333 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:34,337 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:34,369 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:34,372 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:35,067 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:35,068 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:35,069 - ERROR - Error in ARP scan: -2025-03-02 04:20:35,069 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:35,079 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:35,079 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:35,080 - ERROR - Error in ARP scan: -2025-03-02 04:20:35,080 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:35,945 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:35,977 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:36,662 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:36,663 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:36,663 - ERROR - Error in ARP scan: -2025-03-02 04:20:36,664 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:37,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:37] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:20:37,681 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:37] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:20:40,225 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:40,226 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:40,265 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:40,265 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:40,952 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:40,953 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:40,954 - ERROR - Error in ARP scan: -2025-03-02 04:20:40,954 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:40,965 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:40,966 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:40,967 - ERROR - Error in ARP scan: -2025-03-02 04:20:40,967 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:41,804 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:41,838 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:42,529 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:42,530 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:42,530 - ERROR - Error in ARP scan: -2025-03-02 04:20:42,531 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:46,100 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:46,124 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:46,134 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:46,159 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:46,809 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:46,810 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:46,811 - ERROR - Error in ARP scan: -2025-03-02 04:20:46,811 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:46,853 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:46,854 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:46,854 - ERROR - Error in ARP scan: -2025-03-02 04:20:46,855 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:47,675 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:47,723 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:48,404 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:48,404 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:48,405 - ERROR - Error in ARP scan: -2025-03-02 04:20:48,405 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:48,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:48] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:20:48,698 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:48] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:20:51,960 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:51,994 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:52,016 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:52,070 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:52,842 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:52,845 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:52,845 - ERROR - Error in ARP scan: -2025-03-02 04:20:52,846 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:52,859 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:52,860 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:52,860 - ERROR - Error in ARP scan: -2025-03-02 04:20:52,861 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:53,549 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:53,583 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:54,285 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:54,286 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:54,286 - ERROR - Error in ARP scan: -2025-03-02 04:20:54,286 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:58,006 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:58,008 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:58,045 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:58,045 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:58,744 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:58,744 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:20:58,744 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:58,745 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:20:58,745 - ERROR - Error in ARP scan: -2025-03-02 04:20:58,746 - ERROR - Error in ARP scan: -2025-03-02 04:20:58,747 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:58,747 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:20:59,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:59] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:20:59,444 - INFO - Found active interface: Wi-Fi -2025-03-02 04:20:59,476 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:20:59,678 - INFO - 127.0.0.1 - - [02/Mar/2025 04:20:59] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:21:00,173 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:00,174 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:00,174 - ERROR - Error in ARP scan: -2025-03-02 04:21:00,175 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:03,887 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:03,894 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:03,922 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:03,927 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:04,600 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:04,601 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:04,601 - ERROR - Error in ARP scan: -2025-03-02 04:21:04,602 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:04,638 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:04,639 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:04,639 - ERROR - Error in ARP scan: -2025-03-02 04:21:04,640 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:05,318 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:05,350 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:06,060 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:06,060 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:06,060 - ERROR - Error in ARP scan: -2025-03-02 04:21:06,061 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:09,751 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:09,784 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:09,797 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:09,831 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:10,473 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:10,474 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:10,475 - ERROR - Error in ARP scan: -2025-03-02 04:21:10,475 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:10,515 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:10,516 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:10,516 - ERROR - Error in ARP scan: -2025-03-02 04:21:10,517 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:10,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:21:10] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:21:10,690 - INFO - 127.0.0.1 - - [02/Mar/2025 04:21:10] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:21:11,211 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:11,258 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:11,966 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:11,967 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:11,968 - ERROR - Error in ARP scan: -2025-03-02 04:21:11,968 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:15,626 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:15,658 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:15,661 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:15,693 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:16,361 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:16,362 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:16,363 - ERROR - Error in ARP scan: -2025-03-02 04:21:16,363 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:16,372 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:16,372 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:16,373 - ERROR - Error in ARP scan: -2025-03-02 04:21:16,373 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:17,124 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:17,157 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:17,911 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:17,911 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:17,912 - ERROR - Error in ARP scan: -2025-03-02 04:21:17,912 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:21,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:21:21] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:21:21,506 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:21,522 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:21,557 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:21,560 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:21,708 - INFO - 127.0.0.1 - - [02/Mar/2025 04:21:21] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:21:22,278 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:22,279 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:22,279 - ERROR - Error in ARP scan: -2025-03-02 04:21:22,279 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:22,298 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:22,299 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:22,299 - ERROR - Error in ARP scan: -2025-03-02 04:21:22,300 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:23,051 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:23,083 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:23,776 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:23,777 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:23,777 - ERROR - Error in ARP scan: -2025-03-02 04:21:23,778 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:27,425 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:27,459 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:27,473 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:27,508 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:28,139 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:28,140 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:28,140 - ERROR - Error in ARP scan: -2025-03-02 04:21:28,141 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:28,182 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:28,183 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:28,184 - ERROR - Error in ARP scan: -2025-03-02 04:21:28,184 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:28,922 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:28,956 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:29,673 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:29,674 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:29,674 - ERROR - Error in ARP scan: -2025-03-02 04:21:29,674 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:32,600 - INFO - 127.0.0.1 - - [02/Mar/2025 04:21:32] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:21:32,717 - INFO - 127.0.0.1 - - [02/Mar/2025 04:21:32] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:21:33,288 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:33,324 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:33,326 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:33,364 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:34,047 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:34,047 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:34,047 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:34,048 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:34,048 - ERROR - Error in ARP scan: -2025-03-02 04:21:34,049 - ERROR - Error in ARP scan: -2025-03-02 04:21:34,049 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:34,049 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:34,820 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:34,853 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:35,544 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:35,545 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:35,546 - ERROR - Error in ARP scan: -2025-03-02 04:21:35,546 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:39,199 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:39,210 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:39,245 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:39,251 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:39,935 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:39,936 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:39,936 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:39,937 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:39,938 - ERROR - Error in ARP scan: -2025-03-02 04:21:39,938 - ERROR - Error in ARP scan: -2025-03-02 04:21:39,939 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:39,939 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:40,690 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:40,723 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:41,412 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:41,412 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:41,412 - ERROR - Error in ARP scan: -2025-03-02 04:21:41,413 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:43,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:21:43] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:21:43,694 - INFO - 127.0.0.1 - - [02/Mar/2025 04:21:43] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:21:45,079 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:45,094 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:45,115 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:45,131 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:45,796 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:45,797 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:45,797 - ERROR - Error in ARP scan: -2025-03-02 04:21:45,798 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:45,843 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:45,843 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:45,844 - ERROR - Error in ARP scan: -2025-03-02 04:21:45,844 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:46,567 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:46,599 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:47,288 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:47,289 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:47,290 - ERROR - Error in ARP scan: -2025-03-02 04:21:47,290 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:50,956 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:50,987 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:50,990 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:51,045 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:51,722 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:51,723 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:51,723 - ERROR - Error in ARP scan: -2025-03-02 04:21:51,724 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:52,230 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:52,231 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:52,231 - ERROR - Error in ARP scan: -2025-03-02 04:21:52,232 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:52,439 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:52,471 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:53,329 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:53,329 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:53,330 - ERROR - Error in ARP scan: -2025-03-02 04:21:53,331 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:54,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:21:54] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:21:54,703 - INFO - 127.0.0.1 - - [02/Mar/2025 04:21:54] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:21:56,874 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:56,908 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:57,381 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:57,413 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:57,598 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:57,598 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:57,599 - ERROR - Error in ARP scan: -2025-03-02 04:21:57,599 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:58,094 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:58,095 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:58,096 - ERROR - Error in ARP scan: -2025-03-02 04:21:58,096 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:21:58,478 - INFO - Found active interface: Wi-Fi -2025-03-02 04:21:58,510 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:21:59,202 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:21:59,204 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:21:59,204 - ERROR - Error in ARP scan: -2025-03-02 04:21:59,204 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:02,758 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:02,790 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:03,245 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:03,278 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:03,463 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:03,463 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:03,464 - ERROR - Error in ARP scan: -2025-03-02 04:22:03,464 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:03,973 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:03,974 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:03,974 - ERROR - Error in ARP scan: -2025-03-02 04:22:03,975 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:04,368 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:04,400 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:05,093 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:05,094 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:05,095 - ERROR - Error in ARP scan: -2025-03-02 04:22:05,095 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:05,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:22:05] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:22:05,680 - INFO - 127.0.0.1 - - [02/Mar/2025 04:22:05] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:22:08,608 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:08,640 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:09,135 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:09,169 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:09,327 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:09,328 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:09,328 - ERROR - Error in ARP scan: -2025-03-02 04:22:09,328 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:09,855 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:09,855 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:09,856 - ERROR - Error in ARP scan: -2025-03-02 04:22:09,856 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:10,239 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:10,272 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:10,953 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:10,954 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:10,954 - ERROR - Error in ARP scan: -2025-03-02 04:22:10,955 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:14,485 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:14,518 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:15,004 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:15,038 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:15,210 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:15,211 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:15,211 - ERROR - Error in ARP scan: -2025-03-02 04:22:15,211 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:15,704 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:15,706 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:15,706 - ERROR - Error in ARP scan: -2025-03-02 04:22:15,707 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:16,108 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:16,155 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:16,596 - INFO - 127.0.0.1 - - [02/Mar/2025 04:22:16] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:22:16,693 - INFO - 127.0.0.1 - - [02/Mar/2025 04:22:16] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:22:16,844 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:16,845 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:16,845 - ERROR - Error in ARP scan: -2025-03-02 04:22:16,845 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:20,358 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:20,390 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:20,862 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:20,894 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:21,077 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:21,077 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:21,078 - ERROR - Error in ARP scan: -2025-03-02 04:22:21,078 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:21,569 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:21,569 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:21,570 - ERROR - Error in ARP scan: -2025-03-02 04:22:21,571 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:21,988 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:22,021 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:22,715 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:22,716 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:22,716 - ERROR - Error in ARP scan: -2025-03-02 04:22:22,717 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:26,219 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:26,266 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:26,726 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:26,757 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:26,938 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:26,938 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:26,939 - ERROR - Error in ARP scan: -2025-03-02 04:22:26,939 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:27,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:22:27] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:22:27,433 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:27,433 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:27,434 - ERROR - Error in ARP scan: -2025-03-02 04:22:27,434 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:27,681 - INFO - 127.0.0.1 - - [02/Mar/2025 04:22:27] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:22:27,882 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:27,915 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:28,612 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:28,613 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:28,613 - ERROR - Error in ARP scan: -2025-03-02 04:22:28,614 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:32,084 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:32,117 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:32,578 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:32,625 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:32,788 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:32,789 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:32,789 - ERROR - Error in ARP scan: -2025-03-02 04:22:32,789 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:33,314 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:33,316 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:33,316 - ERROR - Error in ARP scan: -2025-03-02 04:22:33,317 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:33,763 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:33,796 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:34,488 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:34,489 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:34,489 - ERROR - Error in ARP scan: -2025-03-02 04:22:34,490 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:37,933 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:37,966 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:38,461 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:38,496 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:38,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:22:38] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:22:38,660 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:38,661 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:38,661 - ERROR - Error in ARP scan: -2025-03-02 04:22:38,661 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:38,694 - INFO - 127.0.0.1 - - [02/Mar/2025 04:22:38] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:22:39,208 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:39,208 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:39,209 - ERROR - Error in ARP scan: -2025-03-02 04:22:39,209 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:39,642 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:39,676 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:40,382 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:40,383 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:40,383 - ERROR - Error in ARP scan: -2025-03-02 04:22:40,384 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:43,811 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:43,858 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:44,351 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:44,383 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:44,603 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:44,605 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:44,605 - ERROR - Error in ARP scan: -2025-03-02 04:22:44,606 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:45,076 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:45,077 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:45,077 - ERROR - Error in ARP scan: -2025-03-02 04:22:45,078 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:45,531 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:45,564 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:46,279 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:46,280 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:46,280 - ERROR - Error in ARP scan: -2025-03-02 04:22:46,281 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:49,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:22:49] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:22:49,688 - INFO - 127.0.0.1 - - [02/Mar/2025 04:22:49] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:22:49,781 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:49,816 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:50,226 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:50,260 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:50,498 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:50,499 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:50,499 - ERROR - Error in ARP scan: -2025-03-02 04:22:50,499 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:50,931 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:50,931 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:50,932 - ERROR - Error in ARP scan: -2025-03-02 04:22:50,932 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:51,429 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:51,476 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:52,175 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:52,176 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:52,176 - ERROR - Error in ARP scan: -2025-03-02 04:22:52,177 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:55,648 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:55,696 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:56,080 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:56,112 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:56,456 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:56,456 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:56,457 - ERROR - Error in ARP scan: -2025-03-02 04:22:56,457 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:57,010 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:57,011 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:57,012 - ERROR - Error in ARP scan: -2025-03-02 04:22:57,012 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:22:57,321 - INFO - Found active interface: Wi-Fi -2025-03-02 04:22:57,353 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:22:58,044 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:22:58,045 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:22:58,045 - ERROR - Error in ARP scan: -2025-03-02 04:22:58,046 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:00,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:00] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:23:00,688 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:00] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:23:01,619 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:01,655 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:02,160 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:02,196 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:02,318 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:02,319 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:02,319 - ERROR - Error in ARP scan: -2025-03-02 04:23:02,320 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:02,857 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:02,857 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:02,858 - ERROR - Error in ARP scan: -2025-03-02 04:23:02,858 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:03,192 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:03,239 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:03,971 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:03,971 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:03,971 - ERROR - Error in ARP scan: -2025-03-02 04:23:03,972 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:07,461 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:07,494 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:08,008 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:08,038 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:08,164 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:08,165 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:08,165 - ERROR - Error in ARP scan: -2025-03-02 04:23:08,166 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:08,737 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:08,738 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:08,738 - ERROR - Error in ARP scan: -2025-03-02 04:23:08,739 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:09,118 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:09,152 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:09,835 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:09,836 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:09,836 - ERROR - Error in ARP scan: -2025-03-02 04:23:09,837 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:11,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:11] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:23:11,683 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:11] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:23:13,318 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:13,365 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:13,880 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:13,912 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:14,039 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:14,040 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:14,040 - ERROR - Error in ARP scan: -2025-03-02 04:23:14,040 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:14,595 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:14,596 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:14,596 - ERROR - Error in ARP scan: -2025-03-02 04:23:14,597 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:14,983 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:15,015 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:15,714 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:15,715 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:15,715 - ERROR - Error in ARP scan: -2025-03-02 04:23:15,716 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:19,192 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:19,224 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:19,741 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:19,772 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:19,910 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:19,911 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:19,911 - ERROR - Error in ARP scan: -2025-03-02 04:23:19,912 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:20,473 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:20,474 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:20,474 - ERROR - Error in ARP scan: -2025-03-02 04:23:20,475 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:20,867 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:20,898 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:21,592 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:21,593 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:21,593 - ERROR - Error in ARP scan: -2025-03-02 04:23:21,594 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:22,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:22] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:23:22,689 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:22] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:23:25,057 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:25,091 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:25,622 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:25,654 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:25,789 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:25,790 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:25,790 - ERROR - Error in ARP scan: -2025-03-02 04:23:25,791 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:26,333 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:26,334 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:26,334 - ERROR - Error in ARP scan: -2025-03-02 04:23:26,335 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:26,744 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:26,776 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:27,484 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:27,485 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:27,485 - ERROR - Error in ARP scan: -2025-03-02 04:23:27,486 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:30,936 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:30,968 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:31,478 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:31,510 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:31,652 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:31,652 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:31,652 - ERROR - Error in ARP scan: -2025-03-02 04:23:31,652 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:32,179 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:32,179 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:32,179 - ERROR - Error in ARP scan: -2025-03-02 04:23:32,180 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:32,643 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:32,677 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:33,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:33] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:23:33,370 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:33,371 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:33,372 - ERROR - Error in ARP scan: -2025-03-02 04:23:33,372 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:33,682 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:33] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:23:36,793 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:36,827 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:37,327 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:37,360 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:37,518 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:37,519 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:37,520 - ERROR - Error in ARP scan: -2025-03-02 04:23:37,520 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:38,049 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:38,050 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:38,050 - ERROR - Error in ARP scan: -2025-03-02 04:23:38,051 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:38,514 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:38,546 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:39,249 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:39,249 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:39,250 - ERROR - Error in ARP scan: -2025-03-02 04:23:39,250 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:42,678 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:42,710 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:43,199 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:43,231 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:43,381 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:43,382 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:43,382 - ERROR - Error in ARP scan: -2025-03-02 04:23:43,383 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:43,913 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:43,913 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:43,914 - ERROR - Error in ARP scan: -2025-03-02 04:23:43,914 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:44,412 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:44,444 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:44,596 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:44] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:23:44,688 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:44] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:23:45,294 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:45,294 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:45,295 - ERROR - Error in ARP scan: -2025-03-02 04:23:45,296 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:48,527 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:48,559 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:49,069 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:49,104 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:49,411 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:49,411 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:49,412 - ERROR - Error in ARP scan: -2025-03-02 04:23:49,412 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:49,790 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:49,791 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:49,791 - ERROR - Error in ARP scan: -2025-03-02 04:23:49,792 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:50,441 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:50,474 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:51,155 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:51,156 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:51,157 - ERROR - Error in ARP scan: -2025-03-02 04:23:51,157 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:54,572 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:54,604 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:54,926 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:54,960 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:55,284 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:55,285 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:55,285 - ERROR - Error in ARP scan: -2025-03-02 04:23:55,286 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:55,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:55] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:23:55,652 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:55,653 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:55,653 - ERROR - Error in ARP scan: -2025-03-02 04:23:55,653 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:23:55,684 - INFO - 127.0.0.1 - - [02/Mar/2025 04:23:55] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:23:56,321 - INFO - Found active interface: Wi-Fi -2025-03-02 04:23:56,354 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:23:57,053 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:23:57,054 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:23:57,055 - ERROR - Error in ARP scan: -2025-03-02 04:23:57,055 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:00,436 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:00,469 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:00,816 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:00,848 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:01,173 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:01,173 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:01,174 - ERROR - Error in ARP scan: -2025-03-02 04:24:01,175 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:01,534 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:01,535 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:01,535 - ERROR - Error in ARP scan: -2025-03-02 04:24:01,536 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:02,198 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:02,233 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:02,928 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:02,929 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:02,929 - ERROR - Error in ARP scan: -2025-03-02 04:24:02,930 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:06,324 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:06,373 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:06,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:24:06] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:24:06,727 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:06,746 - INFO - 127.0.0.1 - - [02/Mar/2025 04:24:06] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:24:06,765 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:07,049 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:07,049 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:07,050 - ERROR - Error in ARP scan: -2025-03-02 04:24:07,050 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:07,454 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:07,454 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:07,455 - ERROR - Error in ARP scan: -2025-03-02 04:24:07,455 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:08,091 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:08,124 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:09,301 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:09,301 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:09,302 - ERROR - Error in ARP scan: -2025-03-02 04:24:09,302 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:12,198 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:12,231 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:12,600 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:12,647 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:12,912 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:12,913 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:12,914 - ERROR - Error in ARP scan: -2025-03-02 04:24:12,914 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:13,354 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:13,355 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:13,355 - ERROR - Error in ARP scan: -2025-03-02 04:24:13,355 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:14,445 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:14,477 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:15,171 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:15,171 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:15,172 - ERROR - Error in ARP scan: -2025-03-02 04:24:15,174 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:17,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:24:17] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:24:17,684 - INFO - 127.0.0.1 - - [02/Mar/2025 04:24:17] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:24:18,079 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:18,112 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:18,500 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:18,535 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:18,790 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:18,790 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:18,790 - ERROR - Error in ARP scan: -2025-03-02 04:24:18,791 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:19,208 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:19,208 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:19,209 - ERROR - Error in ARP scan: -2025-03-02 04:24:19,209 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:20,316 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:20,363 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:21,069 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:21,069 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:21,069 - ERROR - Error in ARP scan: -2025-03-02 04:24:21,071 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:23,939 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:23,973 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:24,348 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:24,382 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:25,088 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:25,088 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:25,089 - ERROR - Error in ARP scan: -2025-03-02 04:24:25,089 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:25,137 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:25,138 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:25,138 - ERROR - Error in ARP scan: -2025-03-02 04:24:25,139 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:26,214 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:26,246 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:26,934 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:26,935 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:26,935 - ERROR - Error in ARP scan: -2025-03-02 04:24:26,936 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:28,596 - INFO - 127.0.0.1 - - [02/Mar/2025 04:24:28] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:24:28,694 - INFO - 127.0.0.1 - - [02/Mar/2025 04:24:28] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:24:30,259 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:30,272 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:30,294 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:30,306 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:30,995 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:30,996 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:30,996 - ERROR - Error in ARP scan: -2025-03-02 04:24:30,997 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:31,010 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:31,010 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:31,011 - ERROR - Error in ARP scan: -2025-03-02 04:24:31,011 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:32,082 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:32,115 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:32,828 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:32,829 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:32,829 - ERROR - Error in ARP scan: -2025-03-02 04:24:32,830 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:36,135 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:36,152 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:36,173 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:36,189 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:36,856 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:36,857 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:36,857 - ERROR - Error in ARP scan: -2025-03-02 04:24:36,858 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:36,894 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:36,894 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:36,895 - ERROR - Error in ARP scan: -2025-03-02 04:24:36,895 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:37,971 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:38,004 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:38,690 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:38,691 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:38,691 - ERROR - Error in ARP scan: -2025-03-02 04:24:38,692 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:39,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:24:39] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:24:39,683 - INFO - 127.0.0.1 - - [02/Mar/2025 04:24:39] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:24:42,010 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:42,044 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:42,060 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:42,096 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:42,719 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:42,720 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:42,720 - ERROR - Error in ARP scan: -2025-03-02 04:24:42,721 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:42,765 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:42,766 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:42,766 - ERROR - Error in ARP scan: -2025-03-02 04:24:42,767 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:43,841 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:43,872 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:44,570 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:44,571 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:44,572 - ERROR - Error in ARP scan: -2025-03-02 04:24:44,572 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:47,867 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:47,901 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:47,920 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:47,958 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:48,595 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:48,596 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:48,596 - ERROR - Error in ARP scan: -2025-03-02 04:24:48,597 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:48,635 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:48,636 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:48,636 - ERROR - Error in ARP scan: -2025-03-02 04:24:48,637 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:49,733 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:49,778 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:50,599 - INFO - 127.0.0.1 - - [02/Mar/2025 04:24:50] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:24:50,642 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:50,642 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:50,642 - ERROR - Error in ARP scan: -2025-03-02 04:24:50,643 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:50,704 - INFO - 127.0.0.1 - - [02/Mar/2025 04:24:50] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:24:53,746 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:53,779 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:53,801 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:53,815 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:54,486 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:54,487 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:54,487 - ERROR - Error in ARP scan: -2025-03-02 04:24:54,488 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:54,502 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:54,503 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:54,503 - ERROR - Error in ARP scan: -2025-03-02 04:24:54,504 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:55,791 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:55,824 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:56,500 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:24:56,501 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:24:56,501 - ERROR - Error in ARP scan: -2025-03-02 04:24:56,502 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:24:59,650 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:59,651 - INFO - Found active interface: Wi-Fi -2025-03-02 04:24:59,689 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:24:59,690 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:00,392 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:00,393 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:00,393 - ERROR - Error in ARP scan: -2025-03-02 04:25:00,394 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:00,403 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:00,403 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:00,404 - ERROR - Error in ARP scan: -2025-03-02 04:25:00,405 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:01,297 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:01] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:25:01,655 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:01,689 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:01,709 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:25:02,392 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:02,392 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:02,393 - ERROR - Error in ARP scan: -2025-03-02 04:25:02,393 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:05,534 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:05,543 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:05,568 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:05,595 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:06,249 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:06,250 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:06,250 - ERROR - Error in ARP scan: -2025-03-02 04:25:06,251 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:06,298 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:06,299 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:06,299 - ERROR - Error in ARP scan: -2025-03-02 04:25:06,300 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:07,547 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:07,581 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:08,282 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:08,283 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:08,283 - ERROR - Error in ARP scan: -2025-03-02 04:25:08,283 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:11,415 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:11,455 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:11,456 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:11,495 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:12,167 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:12,167 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:12,167 - ERROR - Error in ARP scan: -2025-03-02 04:25:12,168 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:12,180 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:12,181 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:12,181 - ERROR - Error in ARP scan: -2025-03-02 04:25:12,182 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:12,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:12] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:25:12,696 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:12] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:25:13,439 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:13,474 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:14,162 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:14,162 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:14,163 - ERROR - Error in ARP scan: -2025-03-02 04:25:14,163 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:17,316 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:17,323 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:17,352 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:17,360 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:18,043 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:18,044 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:18,045 - ERROR - Error in ARP scan: -2025-03-02 04:25:18,045 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:18,067 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:18,068 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:18,069 - ERROR - Error in ARP scan: -2025-03-02 04:25:18,069 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:19,308 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:19,342 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:20,039 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:20,039 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:20,040 - ERROR - Error in ARP scan: -2025-03-02 04:25:20,040 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:23,207 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:23,218 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:23,243 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:23,253 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:23,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:23] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:25:23,682 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:23] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:25:23,942 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:23,943 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:23,943 - ERROR - Error in ARP scan: -2025-03-02 04:25:23,943 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:23,974 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:23,974 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:23,975 - ERROR - Error in ARP scan: -2025-03-02 04:25:23,975 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:25,204 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:25,236 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:25,923 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:25,924 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:25,924 - ERROR - Error in ARP scan: -2025-03-02 04:25:25,925 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:29,108 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:29,126 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:29,148 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:29,165 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:29,838 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:29,839 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:29,839 - ERROR - Error in ARP scan: -2025-03-02 04:25:29,840 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:29,879 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:29,880 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:29,880 - ERROR - Error in ARP scan: -2025-03-02 04:25:29,881 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:31,071 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:31,104 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:31,788 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:31,788 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:31,789 - ERROR - Error in ARP scan: -2025-03-02 04:25:31,789 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:34,599 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:34] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:25:34,689 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:34] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:25:35,004 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:35,024 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:35,041 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:35,062 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:35,737 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:35,738 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:35,738 - ERROR - Error in ARP scan: -2025-03-02 04:25:35,739 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:35,763 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:35,764 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:35,765 - ERROR - Error in ARP scan: -2025-03-02 04:25:35,765 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:36,934 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:36,981 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:37,668 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:37,669 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:37,669 - ERROR - Error in ARP scan: -2025-03-02 04:25:37,670 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:40,881 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:40,916 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:40,922 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:40,955 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:41,618 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:41,618 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:41,619 - ERROR - Error in ARP scan: -2025-03-02 04:25:41,620 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:41,639 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:41,640 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:41,640 - ERROR - Error in ARP scan: -2025-03-02 04:25:41,640 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:42,812 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:42,846 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:43,528 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:43,529 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:43,529 - ERROR - Error in ARP scan: -2025-03-02 04:25:43,530 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:45,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:45] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:25:45,682 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:45] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:25:46,786 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:46,789 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:46,822 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:46,824 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:47,522 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:47,523 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:47,523 - ERROR - Error in ARP scan: -2025-03-02 04:25:47,524 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:47,532 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:47,533 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:47,534 - ERROR - Error in ARP scan: -2025-03-02 04:25:47,534 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:48,677 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:48,707 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:49,403 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:49,405 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:49,405 - ERROR - Error in ARP scan: -2025-03-02 04:25:49,406 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:52,669 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:52,678 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:52,708 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:52,716 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:53,549 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:53,551 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:53,551 - ERROR - Error in ARP scan: -2025-03-02 04:25:53,551 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:53,566 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:53,566 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:53,567 - ERROR - Error in ARP scan: -2025-03-02 04:25:53,567 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:54,546 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:54,578 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:55,270 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:55,271 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:55,271 - ERROR - Error in ARP scan: -2025-03-02 04:25:55,272 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:56,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:56] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:25:56,691 - INFO - 127.0.0.1 - - [02/Mar/2025 04:25:56] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:25:58,707 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:58,739 - INFO - Found active interface: Wi-Fi -2025-03-02 04:25:58,743 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:58,778 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:25:59,426 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:59,427 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:59,427 - ERROR - Error in ARP scan: -2025-03-02 04:25:59,428 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:25:59,463 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:25:59,463 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:25:59,463 - ERROR - Error in ARP scan: -2025-03-02 04:25:59,463 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:00,417 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:00,449 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:01,145 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:01,146 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:01,147 - ERROR - Error in ARP scan: -2025-03-02 04:26:01,147 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:04,570 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:04,605 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:04,614 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:04,652 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:05,289 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:05,290 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:05,291 - ERROR - Error in ARP scan: -2025-03-02 04:26:05,291 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:05,353 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:05,354 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:05,354 - ERROR - Error in ARP scan: -2025-03-02 04:26:05,355 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:06,309 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:06,341 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:07,023 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:07,024 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:07,024 - ERROR - Error in ARP scan: -2025-03-02 04:26:07,025 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:07,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:26:07] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:26:07,680 - INFO - 127.0.0.1 - - [02/Mar/2025 04:26:07] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:26:10,439 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:10,475 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:10,519 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:10,556 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:11,180 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:11,180 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:11,181 - ERROR - Error in ARP scan: -2025-03-02 04:26:11,181 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:11,230 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:11,230 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:11,231 - ERROR - Error in ARP scan: -2025-03-02 04:26:11,231 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:12,166 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:12,198 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:12,877 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:12,878 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:12,878 - ERROR - Error in ARP scan: -2025-03-02 04:26:12,879 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:16,353 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:16,385 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:16,387 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:16,441 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:17,056 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:17,058 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:17,058 - ERROR - Error in ARP scan: -2025-03-02 04:26:17,059 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:17,120 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:17,120 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:17,121 - ERROR - Error in ARP scan: -2025-03-02 04:26:17,121 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:18,045 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:18,080 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:18,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:26:18] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:26:18,690 - INFO - 127.0.0.1 - - [02/Mar/2025 04:26:18] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:26:18,771 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:18,771 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:18,772 - ERROR - Error in ARP scan: -2025-03-02 04:26:18,772 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:22,216 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:22,253 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:22,272 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:22,309 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:22,961 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:22,963 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:22,963 - ERROR - Error in ARP scan: -2025-03-02 04:26:22,964 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:22,994 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:22,994 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:22,995 - ERROR - Error in ARP scan: -2025-03-02 04:26:22,996 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:23,914 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:23,949 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:24,638 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:24,638 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:24,639 - ERROR - Error in ARP scan: -2025-03-02 04:26:24,639 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:28,121 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:28,144 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:28,158 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:28,180 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:28,865 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:28,866 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:28,866 - ERROR - Error in ARP scan: -2025-03-02 04:26:28,867 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:29,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:26:29] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:26:29,312 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:29,312 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:29,313 - ERROR - Error in ARP scan: -2025-03-02 04:26:29,313 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:29,685 - INFO - 127.0.0.1 - - [02/Mar/2025 04:26:29] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:26:29,813 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:29,846 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:30,537 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:30,538 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:30,538 - ERROR - Error in ARP scan: -2025-03-02 04:26:30,539 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:34,011 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:34,043 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:34,468 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:34,500 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:34,716 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:34,717 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:34,717 - ERROR - Error in ARP scan: -2025-03-02 04:26:34,717 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:35,185 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:35,185 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:35,186 - ERROR - Error in ARP scan: -2025-03-02 04:26:35,186 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:35,683 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:35,716 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:36,399 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:36,400 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:36,400 - ERROR - Error in ARP scan: -2025-03-02 04:26:36,401 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:39,861 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:39,909 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:40,339 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:40,372 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:40,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:26:40] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:26:40,604 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:40,605 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:40,605 - ERROR - Error in ARP scan: -2025-03-02 04:26:40,606 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:40,694 - INFO - 127.0.0.1 - - [02/Mar/2025 04:26:40] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:26:41,051 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:41,052 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:41,052 - ERROR - Error in ARP scan: -2025-03-02 04:26:41,052 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:41,563 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:41,598 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:42,283 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:42,284 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:42,284 - ERROR - Error in ARP scan: -2025-03-02 04:26:42,285 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:45,752 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:45,785 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:46,196 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:46,242 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:46,448 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:46,449 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:46,450 - ERROR - Error in ARP scan: -2025-03-02 04:26:46,450 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:46,917 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:46,918 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:46,918 - ERROR - Error in ARP scan: -2025-03-02 04:26:46,919 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:47,424 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:47,458 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:48,138 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:48,138 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:48,139 - ERROR - Error in ARP scan: -2025-03-02 04:26:48,140 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:51,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:26:51] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:26:51,596 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:51,636 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:51,696 - INFO - 127.0.0.1 - - [02/Mar/2025 04:26:51] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:26:52,070 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:52,106 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:52,327 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:52,328 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:52,328 - ERROR - Error in ARP scan: -2025-03-02 04:26:52,329 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:52,796 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:52,797 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:52,797 - ERROR - Error in ARP scan: -2025-03-02 04:26:52,798 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:53,282 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:53,330 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:54,203 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:54,205 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:54,205 - ERROR - Error in ARP scan: -2025-03-02 04:26:54,206 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:57,475 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:57,507 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:57,944 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:57,977 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:26:58,193 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:58,194 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:58,195 - ERROR - Error in ARP scan: -2025-03-02 04:26:58,195 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:58,693 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:26:58,694 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:26:58,694 - ERROR - Error in ARP scan: -2025-03-02 04:26:58,695 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:26:59,346 - INFO - Found active interface: Wi-Fi -2025-03-02 04:26:59,379 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:00,069 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:00,070 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:00,070 - ERROR - Error in ARP scan: -2025-03-02 04:27:00,071 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:02,600 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:02] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:27:02,695 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:02] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:27:03,337 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:03,385 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:03,837 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:03,871 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:04,060 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:04,061 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:04,061 - ERROR - Error in ARP scan: -2025-03-02 04:27:04,062 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:04,550 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:04,550 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:04,550 - ERROR - Error in ARP scan: -2025-03-02 04:27:04,550 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:05,217 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:05,250 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:06,265 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:06,265 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:06,266 - ERROR - Error in ARP scan: -2025-03-02 04:27:06,266 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:09,215 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:09,245 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:09,700 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:09,732 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:09,930 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:09,930 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:09,931 - ERROR - Error in ARP scan: -2025-03-02 04:27:09,931 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:10,431 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:10,432 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:10,432 - ERROR - Error in ARP scan: -2025-03-02 04:27:10,433 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:11,414 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:11,446 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:12,135 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:12,137 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:12,137 - ERROR - Error in ARP scan: -2025-03-02 04:27:12,137 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:13,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:13] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:27:13,680 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:13] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:27:15,085 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:15,117 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:15,580 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:15,613 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:15,810 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:15,811 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:15,811 - ERROR - Error in ARP scan: -2025-03-02 04:27:15,812 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:16,309 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:16,309 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:16,311 - ERROR - Error in ARP scan: -2025-03-02 04:27:16,311 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:17,278 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:17,311 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:18,005 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:18,006 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:18,007 - ERROR - Error in ARP scan: -2025-03-02 04:27:18,007 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:20,955 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:20,988 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:21,455 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:21,487 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:21,663 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:21,663 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:21,664 - ERROR - Error in ARP scan: -2025-03-02 04:27:21,664 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:22,150 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:22,151 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:22,152 - ERROR - Error in ARP scan: -2025-03-02 04:27:22,152 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:23,164 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:23,196 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:23,881 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:23,883 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:23,883 - ERROR - Error in ARP scan: -2025-03-02 04:27:23,884 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:24,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:24] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:27:24,697 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:24] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:27:26,805 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:26,837 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:27,299 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:27,332 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:27,535 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:27,536 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:27,536 - ERROR - Error in ARP scan: -2025-03-02 04:27:27,536 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:28,021 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:28,022 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:28,022 - ERROR - Error in ARP scan: -2025-03-02 04:27:28,023 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:29,026 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:29,057 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:29,751 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:29,752 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:29,752 - ERROR - Error in ARP scan: -2025-03-02 04:27:29,753 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:32,697 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:32,729 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:33,171 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:33,204 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:33,407 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:33,408 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:33,409 - ERROR - Error in ARP scan: -2025-03-02 04:27:33,409 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:33,886 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:33,887 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:33,887 - ERROR - Error in ARP scan: -2025-03-02 04:27:33,888 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:34,911 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:34,944 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:35,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:35] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:27:35,616 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:35,617 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:35,617 - ERROR - Error in ARP scan: -2025-03-02 04:27:35,617 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:35,681 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:35] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:27:38,554 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:38,587 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:39,031 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:39,062 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:39,269 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:39,270 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:39,270 - ERROR - Error in ARP scan: -2025-03-02 04:27:39,270 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:39,751 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:39,752 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:39,752 - ERROR - Error in ARP scan: -2025-03-02 04:27:39,753 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:40,775 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:40,807 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:41,482 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:41,482 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:41,483 - ERROR - Error in ARP scan: -2025-03-02 04:27:41,483 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:44,418 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:44,451 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:44,910 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:44,943 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:45,141 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:45,142 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:45,142 - ERROR - Error in ARP scan: -2025-03-02 04:27:45,143 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:45,627 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:45,627 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:45,628 - ERROR - Error in ARP scan: -2025-03-02 04:27:45,628 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:46,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:46] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:27:46,664 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:46,713 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:46,737 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:46] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:27:47,401 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:47,402 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:47,402 - ERROR - Error in ARP scan: -2025-03-02 04:27:47,402 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:50,297 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:50,333 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:50,776 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:50,808 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:51,020 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:51,020 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:51,020 - ERROR - Error in ARP scan: -2025-03-02 04:27:51,021 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:51,507 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:51,507 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:51,508 - ERROR - Error in ARP scan: -2025-03-02 04:27:51,508 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:52,564 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:52,597 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:53,270 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:53,270 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:53,271 - ERROR - Error in ARP scan: -2025-03-02 04:27:53,271 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:56,166 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:56,199 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:56,664 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:56,710 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:57,144 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:57,145 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:57,145 - ERROR - Error in ARP scan: -2025-03-02 04:27:57,146 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:57,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:57] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:27:57,405 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:57,406 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:57,406 - ERROR - Error in ARP scan: -2025-03-02 04:27:57,406 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:27:57,683 - INFO - 127.0.0.1 - - [02/Mar/2025 04:27:57] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:27:58,417 - INFO - Found active interface: Wi-Fi -2025-03-02 04:27:58,450 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:27:59,139 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:27:59,140 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:27:59,141 - ERROR - Error in ARP scan: -2025-03-02 04:27:59,141 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:02,308 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:02,341 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:02,551 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:02,585 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:03,022 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:03,022 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:03,023 - ERROR - Error in ARP scan: -2025-03-02 04:28:03,023 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:03,268 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:03,270 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:03,271 - ERROR - Error in ARP scan: -2025-03-02 04:28:03,271 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:04,286 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:04,335 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:05,016 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:05,017 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:05,018 - ERROR - Error in ARP scan: -2025-03-02 04:28:05,018 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:08,165 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:08,197 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:08,415 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:08,449 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:08,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:28:08] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:28:08,690 - INFO - 127.0.0.1 - - [02/Mar/2025 04:28:08] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:28:08,861 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:08,861 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:08,861 - ERROR - Error in ARP scan: -2025-03-02 04:28:08,861 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:09,148 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:09,149 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:09,149 - ERROR - Error in ARP scan: -2025-03-02 04:28:09,150 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:10,171 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:10,206 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:10,882 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:10,883 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:10,884 - ERROR - Error in ARP scan: -2025-03-02 04:28:10,885 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:14,007 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:14,054 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:14,291 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:14,324 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:15,001 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:15,002 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:15,002 - ERROR - Error in ARP scan: -2025-03-02 04:28:15,003 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:15,229 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:15,230 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:15,231 - ERROR - Error in ARP scan: -2025-03-02 04:28:15,231 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:16,033 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:16,066 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:16,761 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:16,762 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:16,762 - ERROR - Error in ARP scan: -2025-03-02 04:28:16,763 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:19,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:28:19] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:28:19,683 - INFO - 127.0.0.1 - - [02/Mar/2025 04:28:19] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:28:20,149 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:20,185 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:20,392 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:20,440 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:20,863 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:20,864 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:20,864 - ERROR - Error in ARP scan: -2025-03-02 04:28:20,864 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:21,113 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:21,113 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:21,115 - ERROR - Error in ARP scan: -2025-03-02 04:28:21,115 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:21,903 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:21,938 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:22,616 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:22,616 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:22,616 - ERROR - Error in ARP scan: -2025-03-02 04:28:22,617 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:26,013 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:26,045 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:26,262 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:26,295 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:26,754 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:26,755 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:26,755 - ERROR - Error in ARP scan: -2025-03-02 04:28:26,756 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:26,978 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:26,980 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:26,980 - ERROR - Error in ARP scan: -2025-03-02 04:28:26,980 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:27,760 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:27,792 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:28,476 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:28,478 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:28,478 - ERROR - Error in ARP scan: -2025-03-02 04:28:28,479 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:30,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:28:30] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:28:30,691 - INFO - 127.0.0.1 - - [02/Mar/2025 04:28:30] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:28:31,911 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:31,942 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:32,132 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:32,163 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:32,623 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:32,624 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:32,624 - ERROR - Error in ARP scan: -2025-03-02 04:28:32,625 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:32,865 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:32,866 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:32,866 - ERROR - Error in ARP scan: -2025-03-02 04:28:32,867 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:33,624 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:33,657 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:34,325 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:34,326 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:34,326 - ERROR - Error in ARP scan: -2025-03-02 04:28:34,327 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:37,770 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:37,802 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:38,009 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:38,043 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:38,500 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:38,500 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:38,500 - ERROR - Error in ARP scan: -2025-03-02 04:28:38,502 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:38,726 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:38,727 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:38,727 - ERROR - Error in ARP scan: -2025-03-02 04:28:38,728 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:39,469 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:39,501 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:40,171 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:40,172 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:40,173 - ERROR - Error in ARP scan: -2025-03-02 04:28:40,173 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:41,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:28:41] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:28:41,697 - INFO - 127.0.0.1 - - [02/Mar/2025 04:28:41] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:28:43,645 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:43,678 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:43,875 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:43,906 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:44,453 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:44,454 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:44,454 - ERROR - Error in ARP scan: -2025-03-02 04:28:44,455 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:44,727 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:44,728 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:44,729 - ERROR - Error in ARP scan: -2025-03-02 04:28:44,729 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:45,318 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:45,351 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:46,097 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:46,099 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:46,099 - ERROR - Error in ARP scan: -2025-03-02 04:28:46,099 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:49,599 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:49,631 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:49,883 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:49,916 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:50,305 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:50,306 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:50,306 - ERROR - Error in ARP scan: -2025-03-02 04:28:50,306 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:50,595 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:50,596 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:50,596 - ERROR - Error in ARP scan: -2025-03-02 04:28:50,597 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:51,251 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:51,284 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:51,950 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:51,950 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:51,951 - ERROR - Error in ARP scan: -2025-03-02 04:28:51,951 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:52,599 - INFO - 127.0.0.1 - - [02/Mar/2025 04:28:52] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:28:52,738 - INFO - 127.0.0.1 - - [02/Mar/2025 04:28:52] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:28:55,448 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:55,479 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:55,734 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:55,768 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:56,153 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:56,154 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:56,154 - ERROR - Error in ARP scan: -2025-03-02 04:28:56,155 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:56,454 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:56,455 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:56,455 - ERROR - Error in ARP scan: -2025-03-02 04:28:56,456 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:28:57,108 - INFO - Found active interface: Wi-Fi -2025-03-02 04:28:57,140 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:28:57,998 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:28:57,999 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:28:58,000 - ERROR - Error in ARP scan: -2025-03-02 04:28:58,001 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:01,300 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:01,334 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:01,605 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:01,639 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:02,008 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:02,009 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:02,009 - ERROR - Error in ARP scan: -2025-03-02 04:29:02,009 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:02,311 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:02,312 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:02,312 - ERROR - Error in ARP scan: -2025-03-02 04:29:02,313 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:03,147 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:03,184 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:03,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:03] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:29:03,685 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:03] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:29:03,880 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:03,881 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:03,881 - ERROR - Error in ARP scan: -2025-03-02 04:29:03,882 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:07,170 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:07,203 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:07,447 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:07,479 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:07,868 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:07,868 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:07,869 - ERROR - Error in ARP scan: -2025-03-02 04:29:07,870 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:08,161 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:08,162 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:08,163 - ERROR - Error in ARP scan: -2025-03-02 04:29:08,163 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:09,043 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:09,076 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:09,762 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:09,762 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:09,762 - ERROR - Error in ARP scan: -2025-03-02 04:29:09,763 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:13,019 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:13,053 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:13,296 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:13,343 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:13,731 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:13,732 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:13,732 - ERROR - Error in ARP scan: -2025-03-02 04:29:13,733 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:14,022 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:14,022 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:14,023 - ERROR - Error in ARP scan: -2025-03-02 04:29:14,023 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:14,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:14] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:29:14,693 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:14] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:29:14,909 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:14,942 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:15,618 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:15,618 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:15,619 - ERROR - Error in ARP scan: -2025-03-02 04:29:15,619 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:18,892 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:18,925 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:19,171 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:19,204 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:19,605 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:19,606 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:19,606 - ERROR - Error in ARP scan: -2025-03-02 04:29:19,607 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:19,892 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:19,892 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:19,892 - ERROR - Error in ARP scan: -2025-03-02 04:29:19,892 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:20,771 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:20,818 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:21,499 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:21,500 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:21,500 - ERROR - Error in ARP scan: -2025-03-02 04:29:21,501 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:24,756 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:24,790 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:25,032 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:25,062 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:25,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:25] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:29:25,478 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:25,479 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:25,480 - ERROR - Error in ARP scan: -2025-03-02 04:29:25,480 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:25,680 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:25] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:29:25,974 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:25,975 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:25,975 - ERROR - Error in ARP scan: -2025-03-02 04:29:25,976 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:26,652 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:26,686 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:27,358 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:27,358 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:27,358 - ERROR - Error in ARP scan: -2025-03-02 04:29:27,359 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:30,623 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:30,671 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:31,118 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:31,151 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:31,350 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:31,351 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:31,351 - ERROR - Error in ARP scan: -2025-03-02 04:29:31,352 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:31,849 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:31,850 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:31,850 - ERROR - Error in ARP scan: -2025-03-02 04:29:31,851 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:32,504 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:32,537 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:33,231 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:33,232 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:33,232 - ERROR - Error in ARP scan: -2025-03-02 04:29:33,233 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:36,496 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:36,529 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:36,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:36] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:29:36,696 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:36] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:29:37,003 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:37,050 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:37,198 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:37,199 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:37,199 - ERROR - Error in ARP scan: -2025-03-02 04:29:37,200 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:37,734 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:37,735 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:37,735 - ERROR - Error in ARP scan: -2025-03-02 04:29:37,735 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:38,378 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:38,411 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:39,093 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:39,094 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:39,095 - ERROR - Error in ARP scan: -2025-03-02 04:29:39,095 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:42,345 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:42,376 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:42,881 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:42,914 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:43,055 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:43,056 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:43,057 - ERROR - Error in ARP scan: -2025-03-02 04:29:43,057 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:43,597 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:43,598 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:43,598 - ERROR - Error in ARP scan: -2025-03-02 04:29:43,599 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:44,247 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:44,279 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:44,967 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:44,968 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:44,968 - ERROR - Error in ARP scan: -2025-03-02 04:29:44,969 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:47,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:47] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:29:47,682 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:47] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:29:48,209 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:48,241 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:48,747 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:48,780 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:48,922 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:48,922 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:48,923 - ERROR - Error in ARP scan: -2025-03-02 04:29:48,923 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:49,472 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:49,473 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:49,473 - ERROR - Error in ARP scan: -2025-03-02 04:29:49,474 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:50,152 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:50,192 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:50,911 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:50,911 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:50,912 - ERROR - Error in ARP scan: -2025-03-02 04:29:50,912 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:54,066 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:54,098 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:54,614 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:54,648 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:54,790 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:54,791 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:54,791 - ERROR - Error in ARP scan: -2025-03-02 04:29:54,792 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:55,328 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:55,329 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:55,329 - ERROR - Error in ARP scan: -2025-03-02 04:29:55,330 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:56,057 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:56,090 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:29:56,767 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:29:56,768 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:29:56,768 - ERROR - Error in ARP scan: -2025-03-02 04:29:56,768 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:29:58,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:58] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:29:58,710 - INFO - 127.0.0.1 - - [02/Mar/2025 04:29:58] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:29:59,938 - INFO - Found active interface: Wi-Fi -2025-03-02 04:29:59,971 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:00,486 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:00,520 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:00,911 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:00,911 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:00,912 - ERROR - Error in ARP scan: -2025-03-02 04:30:00,912 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:01,662 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:01,663 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:01,663 - ERROR - Error in ARP scan: -2025-03-02 04:30:01,664 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:01,907 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:01,939 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:02,618 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:02,619 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:02,620 - ERROR - Error in ARP scan: -2025-03-02 04:30:02,621 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:06,056 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:06,088 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:06,775 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:06,775 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:06,776 - ERROR - Error in ARP scan: -2025-03-02 04:30:06,776 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:06,817 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:06,850 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:07,538 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:07,539 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:07,540 - ERROR - Error in ARP scan: -2025-03-02 04:30:07,540 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:07,767 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:07,799 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:08,482 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:08,484 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:08,484 - ERROR - Error in ARP scan: -2025-03-02 04:30:08,484 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:09,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:30:09] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:30:09,698 - INFO - 127.0.0.1 - - [02/Mar/2025 04:30:09] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:30:11,921 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:11,953 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:12,620 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:12,621 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:12,622 - ERROR - Error in ARP scan: -2025-03-02 04:30:12,622 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:12,691 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:12,723 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:13,399 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:13,400 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:13,400 - ERROR - Error in ARP scan: -2025-03-02 04:30:13,400 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:13,643 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:13,674 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:14,352 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:14,353 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:14,353 - ERROR - Error in ARP scan: -2025-03-02 04:30:14,354 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:17,778 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:17,811 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:18,477 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:18,478 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:18,478 - ERROR - Error in ARP scan: -2025-03-02 04:30:18,479 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:18,548 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:18,582 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:19,281 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:19,282 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:19,282 - ERROR - Error in ARP scan: -2025-03-02 04:30:19,284 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:19,507 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:19,538 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:20,211 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:20,212 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:20,212 - ERROR - Error in ARP scan: -2025-03-02 04:30:20,213 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:20,596 - INFO - 127.0.0.1 - - [02/Mar/2025 04:30:20] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:30:20,692 - INFO - 127.0.0.1 - - [02/Mar/2025 04:30:20] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:30:23,621 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:23,653 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:24,325 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:24,325 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:24,326 - ERROR - Error in ARP scan: -2025-03-02 04:30:24,326 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:24,447 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:24,479 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:25,148 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:25,148 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:25,149 - ERROR - Error in ARP scan: -2025-03-02 04:30:25,150 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:25,364 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:25,395 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:26,092 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:26,094 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:26,094 - ERROR - Error in ARP scan: -2025-03-02 04:30:26,095 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:29,487 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:29,521 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:30,183 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:30,183 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:30,184 - ERROR - Error in ARP scan: -2025-03-02 04:30:30,184 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:30,297 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:30,330 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:31,020 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:31,021 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:31,021 - ERROR - Error in ARP scan: -2025-03-02 04:30:31,022 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:31,241 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:31,287 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:31,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:30:31] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:30:31,685 - INFO - 127.0.0.1 - - [02/Mar/2025 04:30:31] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:30:31,970 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:31,971 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:31,971 - ERROR - Error in ARP scan: -2025-03-02 04:30:31,971 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:35,329 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:35,361 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:36,037 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:36,037 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:36,038 - ERROR - Error in ARP scan: -2025-03-02 04:30:36,039 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:36,183 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:36,215 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:36,883 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:36,884 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:36,885 - ERROR - Error in ARP scan: -2025-03-02 04:30:36,885 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:37,120 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:37,153 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:37,839 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:37,840 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:37,840 - ERROR - Error in ARP scan: -2025-03-02 04:30:37,841 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:41,188 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:41,237 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:41,915 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:41,915 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:41,916 - ERROR - Error in ARP scan: -2025-03-02 04:30:41,916 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:42,031 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:42,063 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:42,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:30:42] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:30:42,693 - INFO - 127.0.0.1 - - [02/Mar/2025 04:30:42] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:30:42,746 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:42,746 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:42,747 - ERROR - Error in ARP scan: -2025-03-02 04:30:42,747 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:42,999 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:43,033 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:43,727 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:43,728 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:43,728 - ERROR - Error in ARP scan: -2025-03-02 04:30:43,729 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:47,063 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:47,097 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:47,771 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:47,771 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:47,772 - ERROR - Error in ARP scan: -2025-03-02 04:30:47,772 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:47,894 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:47,941 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:48,619 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:48,620 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:48,620 - ERROR - Error in ARP scan: -2025-03-02 04:30:48,621 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:48,876 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:48,909 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:49,588 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:49,588 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:49,589 - ERROR - Error in ARP scan: -2025-03-02 04:30:49,589 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:52,919 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:52,952 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:53,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:30:53] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:30:53,634 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:53,634 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:53,635 - ERROR - Error in ARP scan: -2025-03-02 04:30:53,635 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:53,685 - INFO - 127.0.0.1 - - [02/Mar/2025 04:30:53] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:30:53,780 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:53,816 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:54,486 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:54,486 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:54,487 - ERROR - Error in ARP scan: -2025-03-02 04:30:54,487 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:54,737 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:54,785 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:55,464 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:55,465 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:55,465 - ERROR - Error in ARP scan: -2025-03-02 04:30:55,466 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:58,777 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:58,811 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:30:59,473 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:30:59,474 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:30:59,474 - ERROR - Error in ARP scan: -2025-03-02 04:30:59,474 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:30:59,637 - INFO - Found active interface: Wi-Fi -2025-03-02 04:30:59,670 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:00,615 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:00,649 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:00,832 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:00,833 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:00,833 - ERROR - Error in ARP scan: -2025-03-02 04:31:00,835 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:01,970 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:01,971 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:01,971 - ERROR - Error in ARP scan: -2025-03-02 04:31:01,972 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:04,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:04] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:31:04,632 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:04,676 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:04,725 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:04] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:31:05,363 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:05,364 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:05,364 - ERROR - Error in ARP scan: -2025-03-02 04:31:05,364 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:05,974 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:06,009 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:06,698 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:06,698 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:06,699 - ERROR - Error in ARP scan: -2025-03-02 04:31:06,699 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:07,117 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:07,150 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:07,851 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:07,852 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:07,853 - ERROR - Error in ARP scan: -2025-03-02 04:31:07,853 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:10,511 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:10,543 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:11,232 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:11,232 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:11,233 - ERROR - Error in ARP scan: -2025-03-02 04:31:11,233 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:11,842 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:11,876 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:12,573 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:12,574 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:12,574 - ERROR - Error in ARP scan: -2025-03-02 04:31:12,575 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:12,996 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:13,028 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:13,704 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:13,705 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:13,705 - ERROR - Error in ARP scan: -2025-03-02 04:31:13,706 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:15,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:15] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:31:15,681 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:15] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:31:16,382 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:16,415 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:17,112 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:17,113 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:17,113 - ERROR - Error in ARP scan: -2025-03-02 04:31:17,114 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:17,728 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:17,759 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:18,441 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:18,443 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:18,443 - ERROR - Error in ARP scan: -2025-03-02 04:31:18,444 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:18,852 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:18,884 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:19,573 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:19,574 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:19,574 - ERROR - Error in ARP scan: -2025-03-02 04:31:19,575 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:22,266 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:22,299 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:22,962 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:22,963 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:22,964 - ERROR - Error in ARP scan: -2025-03-02 04:31:22,964 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:23,591 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:23,622 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:24,290 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:24,291 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:24,291 - ERROR - Error in ARP scan: -2025-03-02 04:31:24,292 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:24,730 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:24,762 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:25,451 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:25,452 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:25,452 - ERROR - Error in ARP scan: -2025-03-02 04:31:25,453 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:26,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:26] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:31:26,693 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:26] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:31:28,116 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:28,148 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:28,834 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:28,835 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:28,836 - ERROR - Error in ARP scan: -2025-03-02 04:31:28,836 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:29,433 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:29,467 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:30,154 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:30,154 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:30,154 - ERROR - Error in ARP scan: -2025-03-02 04:31:30,155 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:30,593 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:30,626 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:31,303 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:31,304 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:31,304 - ERROR - Error in ARP scan: -2025-03-02 04:31:31,305 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:33,993 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:34,026 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:34,715 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:34,716 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:34,716 - ERROR - Error in ARP scan: -2025-03-02 04:31:34,717 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:35,300 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:35,332 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:36,003 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:36,004 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:36,004 - ERROR - Error in ARP scan: -2025-03-02 04:31:36,005 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:36,464 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:36,495 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:37,170 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:37,171 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:37,171 - ERROR - Error in ARP scan: -2025-03-02 04:31:37,172 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:37,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:37] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:31:37,684 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:37] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:31:39,860 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:39,891 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:40,562 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:40,563 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:40,563 - ERROR - Error in ARP scan: -2025-03-02 04:31:40,564 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:41,161 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:41,193 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:41,868 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:41,869 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:41,869 - ERROR - Error in ARP scan: -2025-03-02 04:31:41,870 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:42,315 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:42,347 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:43,028 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:43,029 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:43,029 - ERROR - Error in ARP scan: -2025-03-02 04:31:43,030 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:45,721 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:45,754 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:46,425 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:46,425 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:46,426 - ERROR - Error in ARP scan: -2025-03-02 04:31:46,426 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:47,011 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:47,045 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:47,726 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:47,726 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:47,727 - ERROR - Error in ARP scan: -2025-03-02 04:31:47,727 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:48,172 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:48,219 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:48,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:48] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:31:48,687 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:48] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:31:48,882 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:48,882 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:48,883 - ERROR - Error in ARP scan: -2025-03-02 04:31:48,883 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:51,574 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:51,607 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:52,295 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:52,296 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:52,296 - ERROR - Error in ARP scan: -2025-03-02 04:31:52,296 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:52,885 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:52,917 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:53,601 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:53,601 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:53,602 - ERROR - Error in ARP scan: -2025-03-02 04:31:53,602 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:54,027 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:54,060 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:54,730 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:54,731 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:54,731 - ERROR - Error in ARP scan: -2025-03-02 04:31:54,731 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:57,455 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:57,488 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:58,185 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:58,186 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:58,187 - ERROR - Error in ARP scan: -2025-03-02 04:31:58,187 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:58,748 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:58,782 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:31:59,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:59] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:31:59,457 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:31:59,458 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:31:59,458 - ERROR - Error in ARP scan: -2025-03-02 04:31:59,459 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:31:59,685 - INFO - 127.0.0.1 - - [02/Mar/2025 04:31:59] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:31:59,885 - INFO - Found active interface: Wi-Fi -2025-03-02 04:31:59,918 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:00,601 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:00,601 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:00,602 - ERROR - Error in ARP scan: -2025-03-02 04:32:00,602 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:03,334 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:03,364 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:04,230 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:04,231 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:04,231 - ERROR - Error in ARP scan: -2025-03-02 04:32:04,232 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:04,617 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:04,651 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:05,328 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:05,329 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:05,329 - ERROR - Error in ARP scan: -2025-03-02 04:32:05,329 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:05,747 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:05,780 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:06,454 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:06,455 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:06,456 - ERROR - Error in ARP scan: -2025-03-02 04:32:06,456 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:09,381 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:09,415 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:10,106 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:10,107 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:10,107 - ERROR - Error in ARP scan: -2025-03-02 04:32:10,108 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:10,468 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:10,514 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:10,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:32:10] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:32:10,691 - INFO - 127.0.0.1 - - [02/Mar/2025 04:32:10] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:32:11,188 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:11,189 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:11,189 - ERROR - Error in ARP scan: -2025-03-02 04:32:11,190 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:11,607 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:11,642 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:12,322 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:12,323 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:12,323 - ERROR - Error in ARP scan: -2025-03-02 04:32:12,324 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:15,270 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:15,303 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:15,978 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:15,978 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:15,979 - ERROR - Error in ARP scan: -2025-03-02 04:32:15,979 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:16,351 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:16,385 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:17,059 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:17,060 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:17,060 - ERROR - Error in ARP scan: -2025-03-02 04:32:17,061 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:17,470 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:17,517 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:18,198 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:18,198 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:18,198 - ERROR - Error in ARP scan: -2025-03-02 04:32:18,199 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:21,125 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:21,158 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:21,294 - INFO - 127.0.0.1 - - [02/Mar/2025 04:32:21] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:32:21,682 - INFO - 127.0.0.1 - - [02/Mar/2025 04:32:21] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:32:21,840 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:21,841 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:21,841 - ERROR - Error in ARP scan: -2025-03-02 04:32:21,842 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:22,231 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:22,264 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:22,930 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:22,931 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:22,931 - ERROR - Error in ARP scan: -2025-03-02 04:32:22,932 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:23,347 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:23,380 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:24,517 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:24,517 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:24,517 - ERROR - Error in ARP scan: -2025-03-02 04:32:24,518 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:26,993 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:27,038 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:27,716 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:27,717 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:27,717 - ERROR - Error in ARP scan: -2025-03-02 04:32:27,718 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:28,075 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:28,106 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:28,783 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:28,785 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:28,785 - ERROR - Error in ARP scan: -2025-03-02 04:32:28,785 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:29,663 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:29,694 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:30,381 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:30,381 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:30,383 - ERROR - Error in ARP scan: -2025-03-02 04:32:30,383 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:32,599 - INFO - 127.0.0.1 - - [02/Mar/2025 04:32:32] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:32:32,698 - INFO - 127.0.0.1 - - [02/Mar/2025 04:32:32] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:32:32,883 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:32,918 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:33,603 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:33,604 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:33,605 - ERROR - Error in ARP scan: -2025-03-02 04:32:33,605 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:33,938 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:33,986 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:34,661 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:34,662 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:34,662 - ERROR - Error in ARP scan: -2025-03-02 04:32:34,663 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:35,531 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:35,563 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:36,245 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:36,245 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:36,246 - ERROR - Error in ARP scan: -2025-03-02 04:32:36,246 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:38,753 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:38,785 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:39,458 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:39,460 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:39,460 - ERROR - Error in ARP scan: -2025-03-02 04:32:39,461 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:39,807 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:39,838 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:40,546 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:40,547 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:40,548 - ERROR - Error in ARP scan: -2025-03-02 04:32:40,548 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:41,397 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:41,430 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:42,122 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:42,123 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:42,123 - ERROR - Error in ARP scan: -2025-03-02 04:32:42,124 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:43,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:32:43] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:32:43,683 - INFO - 127.0.0.1 - - [02/Mar/2025 04:32:43] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:32:44,618 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:44,666 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:45,351 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:45,352 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:45,352 - ERROR - Error in ARP scan: -2025-03-02 04:32:45,352 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:45,699 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:45,733 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:46,404 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:46,405 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:46,406 - ERROR - Error in ARP scan: -2025-03-02 04:32:46,406 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:47,267 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:47,311 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:48,012 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:48,014 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:48,014 - ERROR - Error in ARP scan: -2025-03-02 04:32:48,015 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:50,503 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:50,535 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:51,222 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:51,223 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:51,223 - ERROR - Error in ARP scan: -2025-03-02 04:32:51,224 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:51,556 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:51,589 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:52,282 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:52,283 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:52,283 - ERROR - Error in ARP scan: -2025-03-02 04:32:52,284 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:53,159 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:53,191 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:53,863 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:53,864 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:53,864 - ERROR - Error in ARP scan: -2025-03-02 04:32:53,865 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:54,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:32:54] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:32:54,692 - INFO - 127.0.0.1 - - [02/Mar/2025 04:32:54] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:32:56,363 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:56,395 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:57,144 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:57,144 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:57,144 - ERROR - Error in ARP scan: -2025-03-02 04:32:57,145 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:57,433 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:57,465 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:58,166 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:58,166 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:58,166 - ERROR - Error in ARP scan: -2025-03-02 04:32:58,167 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:32:59,011 - INFO - Found active interface: Wi-Fi -2025-03-02 04:32:59,043 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:32:59,737 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:32:59,738 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:32:59,738 - ERROR - Error in ARP scan: -2025-03-02 04:32:59,739 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:02,291 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:02,323 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:02,994 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:02,995 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:02,995 - ERROR - Error in ARP scan: -2025-03-02 04:33:02,996 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:03,310 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:03,342 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:04,205 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:04,205 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:04,206 - ERROR - Error in ARP scan: -2025-03-02 04:33:04,206 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:04,885 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:04,918 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:05,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:33:05] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:33:05,588 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:05,588 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:05,589 - ERROR - Error in ARP scan: -2025-03-02 04:33:05,589 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:05,686 - INFO - 127.0.0.1 - - [02/Mar/2025 04:33:05] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:33:08,140 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:08,174 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:08,863 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:08,864 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:08,864 - ERROR - Error in ARP scan: -2025-03-02 04:33:08,865 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:09,348 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:09,382 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:10,054 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:10,055 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:10,055 - ERROR - Error in ARP scan: -2025-03-02 04:33:10,056 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:10,736 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:10,767 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:11,454 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:11,455 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:11,455 - ERROR - Error in ARP scan: -2025-03-02 04:33:11,456 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:14,012 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:14,045 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:14,716 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:14,717 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:14,717 - ERROR - Error in ARP scan: -2025-03-02 04:33:14,719 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:15,201 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:15,235 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:15,909 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:15,910 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:15,911 - ERROR - Error in ARP scan: -2025-03-02 04:33:15,911 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:16,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:33:16] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:33:16,626 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:16,670 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:16,708 - INFO - 127.0.0.1 - - [02/Mar/2025 04:33:16] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:33:17,407 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:17,407 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:17,408 - ERROR - Error in ARP scan: -2025-03-02 04:33:17,408 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:19,870 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:19,902 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:20,588 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:20,589 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:20,590 - ERROR - Error in ARP scan: -2025-03-02 04:33:20,590 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:21,054 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:21,087 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:21,775 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:21,776 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:21,778 - ERROR - Error in ARP scan: -2025-03-02 04:33:21,778 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:22,553 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:22,586 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:23,267 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:23,268 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:23,268 - ERROR - Error in ARP scan: -2025-03-02 04:33:23,269 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:25,753 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:25,785 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:26,457 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:26,458 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:26,458 - ERROR - Error in ARP scan: -2025-03-02 04:33:26,459 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:26,925 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:26,958 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:27,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:33:27] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:33:27,640 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:27,640 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:27,641 - ERROR - Error in ARP scan: -2025-03-02 04:33:27,641 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:27,699 - INFO - 127.0.0.1 - - [02/Mar/2025 04:33:27] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:33:28,427 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:28,460 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:29,141 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:29,142 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:29,142 - ERROR - Error in ARP scan: -2025-03-02 04:33:29,143 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:31,603 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:31,635 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:32,334 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:32,334 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:32,335 - ERROR - Error in ARP scan: -2025-03-02 04:33:32,336 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:32,803 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:32,834 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:33,502 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:33,503 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:33,503 - ERROR - Error in ARP scan: -2025-03-02 04:33:33,503 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:34,289 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:34,322 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:34,993 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:34,994 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:34,994 - ERROR - Error in ARP scan: -2025-03-02 04:33:34,995 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:37,494 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:37,526 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:38,199 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:38,200 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:38,200 - ERROR - Error in ARP scan: -2025-03-02 04:33:38,201 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:38,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:33:38] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:33:38,664 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:38,706 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:38,709 - INFO - 127.0.0.1 - - [02/Mar/2025 04:33:38] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:33:39,403 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:39,404 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:39,404 - ERROR - Error in ARP scan: -2025-03-02 04:33:39,405 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:40,166 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:40,199 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:40,875 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:40,877 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:40,877 - ERROR - Error in ARP scan: -2025-03-02 04:33:40,877 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:43,344 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:43,377 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:44,060 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:44,060 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:44,061 - ERROR - Error in ARP scan: -2025-03-02 04:33:44,061 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:44,566 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:44,598 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:45,270 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:45,271 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:45,271 - ERROR - Error in ARP scan: -2025-03-02 04:33:45,272 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:46,022 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:46,057 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:46,739 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:46,740 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:46,741 - ERROR - Error in ARP scan: -2025-03-02 04:33:46,741 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:49,242 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:49,291 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:49,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:33:49] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:33:49,680 - INFO - 127.0.0.1 - - [02/Mar/2025 04:33:49] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:33:49,979 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:49,980 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:49,981 - ERROR - Error in ARP scan: -2025-03-02 04:33:49,981 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:50,423 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:50,456 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:51,138 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:51,138 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:51,139 - ERROR - Error in ARP scan: -2025-03-02 04:33:51,140 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:51,900 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:51,933 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:52,608 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:52,609 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:52,609 - ERROR - Error in ARP scan: -2025-03-02 04:33:52,610 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:55,128 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:55,161 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:55,852 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:55,853 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:55,854 - ERROR - Error in ARP scan: -2025-03-02 04:33:55,854 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:56,287 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:56,334 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:57,080 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:57,081 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:57,081 - ERROR - Error in ARP scan: -2025-03-02 04:33:57,082 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:33:57,760 - INFO - Found active interface: Wi-Fi -2025-03-02 04:33:57,793 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:33:58,490 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:33:58,490 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:33:58,491 - ERROR - Error in ARP scan: -2025-03-02 04:33:58,491 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:00,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:00] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:34:00,692 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:00] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:34:01,020 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:01,053 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:01,735 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:01,736 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:01,736 - ERROR - Error in ARP scan: -2025-03-02 04:34:01,736 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:02,232 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:02,266 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:03,439 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:03,440 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:03,440 - ERROR - Error in ARP scan: -2025-03-02 04:34:03,441 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:03,633 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:03,681 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:04,523 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:04,523 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:04,524 - ERROR - Error in ARP scan: -2025-03-02 04:34:04,524 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:06,882 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:06,915 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:07,580 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:07,580 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:07,581 - ERROR - Error in ARP scan: -2025-03-02 04:34:07,581 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:08,583 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:08,614 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:09,306 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:09,307 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:09,307 - ERROR - Error in ARP scan: -2025-03-02 04:34:09,307 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:09,674 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:09,706 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:10,381 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:10,382 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:10,383 - ERROR - Error in ARP scan: -2025-03-02 04:34:10,383 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:11,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:11] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:34:11,684 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:11] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:34:12,735 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:12,782 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:13,449 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:13,450 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:13,451 - ERROR - Error in ARP scan: -2025-03-02 04:34:13,451 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:14,453 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:14,487 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:15,178 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:15,179 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:15,179 - ERROR - Error in ARP scan: -2025-03-02 04:34:15,180 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:15,527 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:15,560 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:16,258 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:16,259 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:16,259 - ERROR - Error in ARP scan: -2025-03-02 04:34:16,260 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:18,603 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:18,635 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:19,304 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:19,305 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:19,305 - ERROR - Error in ARP scan: -2025-03-02 04:34:19,306 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:20,324 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:20,356 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:21,059 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:21,060 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:21,060 - ERROR - Error in ARP scan: -2025-03-02 04:34:21,061 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:21,406 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:21,438 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:22,119 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:22,119 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:22,120 - ERROR - Error in ARP scan: -2025-03-02 04:34:22,120 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:22,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:22] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:34:22,697 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:22] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:34:24,453 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:24,486 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:25,180 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:25,181 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:25,181 - ERROR - Error in ARP scan: -2025-03-02 04:34:25,182 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:26,209 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:26,240 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:26,917 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:26,918 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:26,918 - ERROR - Error in ARP scan: -2025-03-02 04:34:26,918 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:27,264 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:27,296 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:27,985 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:27,986 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:27,986 - ERROR - Error in ARP scan: -2025-03-02 04:34:27,986 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:30,330 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:30,362 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:31,042 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:31,042 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:31,043 - ERROR - Error in ARP scan: -2025-03-02 04:34:31,043 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:32,060 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:32,092 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:32,785 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:32,786 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:32,787 - ERROR - Error in ARP scan: -2025-03-02 04:34:32,787 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:33,150 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:33,184 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:33,294 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:33] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:34:33,683 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:33] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:34:33,858 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:33,858 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:33,859 - ERROR - Error in ARP scan: -2025-03-02 04:34:33,859 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:36,194 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:36,226 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:36,915 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:36,915 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:36,916 - ERROR - Error in ARP scan: -2025-03-02 04:34:36,916 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:37,935 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:37,968 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:38,656 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:38,657 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:38,657 - ERROR - Error in ARP scan: -2025-03-02 04:34:38,658 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:39,004 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:39,036 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:39,732 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:39,733 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:39,733 - ERROR - Error in ARP scan: -2025-03-02 04:34:39,734 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:42,073 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:42,106 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:42,782 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:42,783 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:42,783 - ERROR - Error in ARP scan: -2025-03-02 04:34:42,783 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:43,800 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:43,833 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:44,529 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:44,530 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:44,531 - ERROR - Error in ARP scan: -2025-03-02 04:34:44,531 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:44,596 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:44] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:34:44,705 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:44] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:34:44,882 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:44,916 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:45,591 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:45,591 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:45,592 - ERROR - Error in ARP scan: -2025-03-02 04:34:45,592 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:47,929 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:47,961 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:48,633 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:48,634 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:48,635 - ERROR - Error in ARP scan: -2025-03-02 04:34:48,635 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:49,690 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:49,732 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:50,424 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:50,425 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:50,425 - ERROR - Error in ARP scan: -2025-03-02 04:34:50,426 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:50,733 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:50,766 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:51,459 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:51,460 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:51,460 - ERROR - Error in ARP scan: -2025-03-02 04:34:51,460 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:53,800 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:53,832 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:54,511 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:54,511 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:54,512 - ERROR - Error in ARP scan: -2025-03-02 04:34:54,513 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:55,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:55] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:34:55,577 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:55,612 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:55,695 - INFO - 127.0.0.1 - - [02/Mar/2025 04:34:55] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:34:56,311 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:56,312 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:56,312 - ERROR - Error in ARP scan: -2025-03-02 04:34:56,313 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:56,624 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:56,660 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:34:57,338 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:34:57,339 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:34:57,339 - ERROR - Error in ARP scan: -2025-03-02 04:34:57,340 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:34:59,659 - INFO - Found active interface: Wi-Fi -2025-03-02 04:34:59,691 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:00,373 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:00,374 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:00,374 - ERROR - Error in ARP scan: -2025-03-02 04:35:00,375 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:01,467 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:01,499 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:02,189 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:02,190 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:02,190 - ERROR - Error in ARP scan: -2025-03-02 04:35:02,191 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:02,482 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:02,515 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:03,180 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:03,180 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:03,181 - ERROR - Error in ARP scan: -2025-03-02 04:35:03,181 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:05,519 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:05,572 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:06,528 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:06,528 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:06,528 - ERROR - Error in ARP scan: -2025-03-02 04:35:06,530 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:06,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:35:06] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:35:06,719 - INFO - 127.0.0.1 - - [02/Mar/2025 04:35:06] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:35:07,347 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:07,381 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:08,057 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:08,057 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:08,058 - ERROR - Error in ARP scan: -2025-03-02 04:35:08,058 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:08,323 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:08,356 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:09,034 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:09,035 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:09,035 - ERROR - Error in ARP scan: -2025-03-02 04:35:09,036 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:11,694 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:11,727 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:12,404 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:12,404 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:12,405 - ERROR - Error in ARP scan: -2025-03-02 04:35:12,405 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:13,201 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:13,236 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:13,909 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:13,910 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:13,911 - ERROR - Error in ARP scan: -2025-03-02 04:35:13,911 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:14,179 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:14,226 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:14,905 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:14,906 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:14,906 - ERROR - Error in ARP scan: -2025-03-02 04:35:14,907 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:17,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:35:17] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:35:17,554 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:17,586 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:17,692 - INFO - 127.0.0.1 - - [02/Mar/2025 04:35:17] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:35:18,286 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:18,286 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:18,287 - ERROR - Error in ARP scan: -2025-03-02 04:35:18,287 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:19,066 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:19,100 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:19,794 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:19,795 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:19,796 - ERROR - Error in ARP scan: -2025-03-02 04:35:19,796 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:20,051 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:20,084 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:20,790 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:20,791 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:20,791 - ERROR - Error in ARP scan: -2025-03-02 04:35:20,791 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:23,430 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:23,478 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:24,148 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:24,148 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:24,149 - ERROR - Error in ARP scan: -2025-03-02 04:35:24,150 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:24,944 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:24,978 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:25,656 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:25,657 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:25,657 - ERROR - Error in ARP scan: -2025-03-02 04:35:25,658 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:25,929 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:25,960 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:26,643 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:26,643 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:26,644 - ERROR - Error in ARP scan: -2025-03-02 04:35:26,644 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:28,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:35:28] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:35:28,694 - INFO - 127.0.0.1 - - [02/Mar/2025 04:35:28] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:35:29,301 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:29,335 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:30,005 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:30,006 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:30,007 - ERROR - Error in ARP scan: -2025-03-02 04:35:30,007 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:30,801 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:30,849 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:31,531 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:31,532 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:31,532 - ERROR - Error in ARP scan: -2025-03-02 04:35:31,533 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:31,793 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:31,825 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:32,498 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:32,498 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:32,499 - ERROR - Error in ARP scan: -2025-03-02 04:35:32,499 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:35,150 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:35,183 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:35,872 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:35,873 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:35,874 - ERROR - Error in ARP scan: -2025-03-02 04:35:35,874 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:36,683 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:36,717 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:37,401 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:37,402 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:37,403 - ERROR - Error in ARP scan: -2025-03-02 04:35:37,403 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:37,635 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:37,667 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:38,357 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:38,358 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:38,358 - ERROR - Error in ARP scan: -2025-03-02 04:35:38,359 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:39,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:35:39] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:35:39,681 - INFO - 127.0.0.1 - - [02/Mar/2025 04:35:39] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:35:41,023 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:41,054 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:41,730 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:41,730 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:41,731 - ERROR - Error in ARP scan: -2025-03-02 04:35:41,731 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:42,550 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:42,582 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:43,297 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:43,298 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:43,298 - ERROR - Error in ARP scan: -2025-03-02 04:35:43,299 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:43,507 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:43,539 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:44,205 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:44,206 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:44,207 - ERROR - Error in ARP scan: -2025-03-02 04:35:44,207 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:46,874 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:46,905 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:47,607 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:47,607 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:47,608 - ERROR - Error in ARP scan: -2025-03-02 04:35:47,608 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:48,447 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:48,481 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:49,147 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:49,147 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:49,147 - ERROR - Error in ARP scan: -2025-03-02 04:35:49,147 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:49,395 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:49,432 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:50,111 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:50,112 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:50,112 - ERROR - Error in ARP scan: -2025-03-02 04:35:50,112 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:50,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:35:50] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:35:50,716 - INFO - 127.0.0.1 - - [02/Mar/2025 04:35:50] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:35:52,758 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:52,791 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:53,467 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:53,468 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:53,468 - ERROR - Error in ARP scan: -2025-03-02 04:35:53,469 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:54,298 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:54,331 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:55,039 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:55,040 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:55,041 - ERROR - Error in ARP scan: -2025-03-02 04:35:55,041 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:55,255 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:55,286 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:55,962 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:55,962 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:55,963 - ERROR - Error in ARP scan: -2025-03-02 04:35:55,963 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:35:58,612 - INFO - Found active interface: Wi-Fi -2025-03-02 04:35:58,645 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:35:59,311 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:35:59,312 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:35:59,312 - ERROR - Error in ARP scan: -2025-03-02 04:35:59,313 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:00,203 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:00,235 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:00,900 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:00,900 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:00,901 - ERROR - Error in ARP scan: -2025-03-02 04:36:00,901 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:01,104 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:01,136 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:01,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:01] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:36:01,700 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:36:01,811 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:01,811 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:01,812 - ERROR - Error in ARP scan: -2025-03-02 04:36:01,812 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:04,463 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:04,495 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:05,170 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:05,171 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:05,171 - ERROR - Error in ARP scan: -2025-03-02 04:36:05,172 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:06,046 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:06,077 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:06,939 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:06,940 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:06,940 - ERROR - Error in ARP scan: -2025-03-02 04:36:06,941 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:06,982 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:07,015 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:07,684 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:07,684 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:07,685 - ERROR - Error in ARP scan: -2025-03-02 04:36:07,685 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:10,320 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:10,353 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:11,043 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:11,044 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:11,045 - ERROR - Error in ARP scan: -2025-03-02 04:36:11,045 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:12,098 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:12,131 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:12,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:12] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:36:12,691 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:12] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:36:12,796 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:12,797 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:12,797 - ERROR - Error in ARP scan: -2025-03-02 04:36:12,798 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:12,844 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:12,876 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:13,551 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:13,552 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:13,552 - ERROR - Error in ARP scan: -2025-03-02 04:36:13,553 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:16,205 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:16,237 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:16,913 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:16,914 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:16,914 - ERROR - Error in ARP scan: -2025-03-02 04:36:16,915 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:17,949 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:17,982 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:18,653 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:18,654 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:18,655 - ERROR - Error in ARP scan: -2025-03-02 04:36:18,655 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:18,716 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:18,747 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:19,412 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:19,413 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:19,413 - ERROR - Error in ARP scan: -2025-03-02 04:36:19,413 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:22,077 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:22,108 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:22,801 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:22,802 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:22,802 - ERROR - Error in ARP scan: -2025-03-02 04:36:22,803 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:23,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:23] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:36:23,683 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:23] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:36:23,817 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:23,849 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:24,535 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:24,536 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:24,536 - ERROR - Error in ARP scan: -2025-03-02 04:36:24,537 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:24,577 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:24,609 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:25,288 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:25,289 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:25,289 - ERROR - Error in ARP scan: -2025-03-02 04:36:25,290 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:27,950 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:27,985 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:28,675 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:28,676 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:28,677 - ERROR - Error in ARP scan: -2025-03-02 04:36:28,677 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:29,696 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:29,729 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:30,411 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:30,412 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:30,412 - ERROR - Error in ARP scan: -2025-03-02 04:36:30,413 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:30,443 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:30,475 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:31,141 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:31,142 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:31,143 - ERROR - Error in ARP scan: -2025-03-02 04:36:31,143 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:33,838 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:33,870 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:34,545 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:34,546 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:34,546 - ERROR - Error in ARP scan: -2025-03-02 04:36:34,547 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:34,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:34] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:36:34,693 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:34] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:36:35,560 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:35,593 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:36,269 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:36,270 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:36,270 - ERROR - Error in ARP scan: -2025-03-02 04:36:36,271 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:36,309 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:36,341 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:37,017 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:37,017 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:37,018 - ERROR - Error in ARP scan: -2025-03-02 04:36:37,018 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:39,695 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:39,729 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:40,405 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:40,405 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:40,406 - ERROR - Error in ARP scan: -2025-03-02 04:36:40,406 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:41,428 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:41,461 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:42,165 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:42,198 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:42,212 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:42,213 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:42,213 - ERROR - Error in ARP scan: -2025-03-02 04:36:42,213 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:42,949 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:42,949 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:42,950 - ERROR - Error in ARP scan: -2025-03-02 04:36:42,950 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:45,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:45] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:36:45,560 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:45,609 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:45,692 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:45] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:36:46,305 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:46,306 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:46,307 - ERROR - Error in ARP scan: -2025-03-02 04:36:46,307 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:47,357 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:47,391 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:48,083 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:48,084 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:48,084 - ERROR - Error in ARP scan: -2025-03-02 04:36:48,085 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:48,117 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:48,150 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:48,841 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:48,842 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:48,842 - ERROR - Error in ARP scan: -2025-03-02 04:36:48,843 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:51,449 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:51,484 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:52,637 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:52,638 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:52,638 - ERROR - Error in ARP scan: -2025-03-02 04:36:52,639 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:53,233 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:53,280 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:53,952 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:53,952 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:53,954 - ERROR - Error in ARP scan: -2025-03-02 04:36:53,954 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:53,996 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:54,028 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:54,699 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:54,700 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:54,700 - ERROR - Error in ARP scan: -2025-03-02 04:36:54,700 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:56,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:56] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:36:56,695 - INFO - 127.0.0.1 - - [02/Mar/2025 04:36:56] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:36:57,804 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:57,837 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:58,525 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:58,526 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:58,527 - ERROR - Error in ARP scan: -2025-03-02 04:36:58,527 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:59,106 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:59,142 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:36:59,825 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:36:59,825 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:36:59,826 - ERROR - Error in ARP scan: -2025-03-02 04:36:59,827 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:36:59,851 - INFO - Found active interface: Wi-Fi -2025-03-02 04:36:59,899 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:00,599 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:00,600 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:00,600 - ERROR - Error in ARP scan: -2025-03-02 04:37:00,601 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:03,669 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:03,700 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:04,366 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:04,367 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:04,368 - ERROR - Error in ARP scan: -2025-03-02 04:37:04,368 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:04,976 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:05,007 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:05,690 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:05,690 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:05,691 - ERROR - Error in ARP scan: -2025-03-02 04:37:05,691 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:05,749 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:05,782 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:06,461 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:06,461 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:06,462 - ERROR - Error in ARP scan: -2025-03-02 04:37:06,462 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:07,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:37:07] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:37:07,681 - INFO - 127.0.0.1 - - [02/Mar/2025 04:37:07] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:37:09,512 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:09,545 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:10,389 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:10,390 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:10,391 - ERROR - Error in ARP scan: -2025-03-02 04:37:10,391 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:10,839 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:10,886 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:11,581 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:11,581 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:11,582 - ERROR - Error in ARP scan: -2025-03-02 04:37:11,582 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:11,623 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:11,658 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:12,339 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:12,340 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:12,340 - ERROR - Error in ARP scan: -2025-03-02 04:37:12,341 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:15,536 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:15,568 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:16,279 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:16,279 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:16,280 - ERROR - Error in ARP scan: -2025-03-02 04:37:16,281 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:16,736 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:16,767 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:17,444 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:17,445 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:17,445 - ERROR - Error in ARP scan: -2025-03-02 04:37:17,445 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:17,490 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:17,522 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:18,217 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:18,218 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:18,218 - ERROR - Error in ARP scan: -2025-03-02 04:37:18,219 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:18,598 - INFO - 127.0.0.1 - - [02/Mar/2025 04:37:18] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:37:18,691 - INFO - 127.0.0.1 - - [02/Mar/2025 04:37:18] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:37:21,427 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:21,460 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:22,135 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:22,136 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:22,136 - ERROR - Error in ARP scan: -2025-03-02 04:37:22,137 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:22,596 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:22,629 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:23,339 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:23,339 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:23,340 - ERROR - Error in ARP scan: -2025-03-02 04:37:23,340 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:23,368 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:23,400 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:24,077 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:24,078 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:24,078 - ERROR - Error in ARP scan: -2025-03-02 04:37:24,079 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:27,277 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:27,310 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:28,005 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:28,007 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:28,007 - ERROR - Error in ARP scan: -2025-03-02 04:37:28,007 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:28,486 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:28,518 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:29,198 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:29,198 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:29,199 - ERROR - Error in ARP scan: -2025-03-02 04:37:29,199 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:29,239 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:29,271 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:29,295 - INFO - 127.0.0.1 - - [02/Mar/2025 04:37:29] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:37:29,699 - INFO - 127.0.0.1 - - [02/Mar/2025 04:37:29] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:37:29,975 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:29,976 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:29,976 - ERROR - Error in ARP scan: -2025-03-02 04:37:29,976 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:33,155 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:33,187 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:33,869 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:33,870 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:33,870 - ERROR - Error in ARP scan: -2025-03-02 04:37:33,871 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:34,341 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:34,375 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:35,080 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:35,080 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:35,080 - ERROR - Error in ARP scan: -2025-03-02 04:37:35,080 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:35,130 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:35,162 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:35,831 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:35,832 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:35,832 - ERROR - Error in ARP scan: -2025-03-02 04:37:35,832 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:39,019 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:39,050 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:39,727 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:39,728 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:39,728 - ERROR - Error in ARP scan: -2025-03-02 04:37:39,728 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:40,241 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:40,274 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:40,597 - INFO - 127.0.0.1 - - [02/Mar/2025 04:37:40] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:37:40,696 - INFO - 127.0.0.1 - - [02/Mar/2025 04:37:40] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:37:40,964 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:40,964 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:40,965 - ERROR - Error in ARP scan: -2025-03-02 04:37:40,965 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:40,978 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:41,012 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:41,696 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:41,697 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:41,697 - ERROR - Error in ARP scan: -2025-03-02 04:37:41,698 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:44,877 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:44,908 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:45,574 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:45,575 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:45,575 - ERROR - Error in ARP scan: -2025-03-02 04:37:45,576 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:46,111 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:46,144 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:46,835 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:46,835 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:46,835 - ERROR - Error in ARP scan: -2025-03-02 04:37:46,836 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:46,857 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:46,889 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:47,578 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:47,578 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:47,579 - ERROR - Error in ARP scan: -2025-03-02 04:37:47,579 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:50,718 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:50,750 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:51,296 - INFO - 127.0.0.1 - - [02/Mar/2025 04:37:51] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:37:51,432 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:51,433 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:51,433 - ERROR - Error in ARP scan: -2025-03-02 04:37:51,433 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:51,694 - INFO - 127.0.0.1 - - [02/Mar/2025 04:37:51] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:37:51,974 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:52,008 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:52,713 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:52,745 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:52,783 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:52,783 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:52,783 - ERROR - Error in ARP scan: -2025-03-02 04:37:52,783 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:53,415 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:53,416 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:53,417 - ERROR - Error in ARP scan: -2025-03-02 04:37:53,417 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:56,588 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:56,622 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:57,297 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:57,298 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:57,298 - ERROR - Error in ARP scan: -2025-03-02 04:37:57,299 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:57,919 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:57,953 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:58,565 - INFO - Found active interface: Wi-Fi -2025-03-02 04:37:58,598 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:37:58,626 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:58,627 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:58,628 - ERROR - Error in ARP scan: -2025-03-02 04:37:58,628 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:37:59,265 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:37:59,266 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:37:59,267 - ERROR - Error in ARP scan: -2025-03-02 04:37:59,267 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:02,433 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:02,466 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:03,151 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:03,152 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:03,152 - ERROR - Error in ARP scan: -2025-03-02 04:38:03,153 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:03,227 - INFO - 127.0.0.1 - - [02/Mar/2025 04:38:03] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:38:03,323 - INFO - 127.0.0.1 - - [02/Mar/2025 04:38:03] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:38:03,776 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:03,808 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:04,403 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:04,436 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:04,485 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:04,485 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:04,486 - ERROR - Error in ARP scan: -2025-03-02 04:38:04,486 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:05,134 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:05,134 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:05,135 - ERROR - Error in ARP scan: -2025-03-02 04:38:05,135 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:08,306 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:08,338 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:09,017 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:09,017 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:09,018 - ERROR - Error in ARP scan: -2025-03-02 04:38:09,018 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:09,621 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:09,653 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:10,269 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:10,317 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:10,608 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:10,609 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:10,610 - ERROR - Error in ARP scan: -2025-03-02 04:38:10,610 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:10,984 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:10,987 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:10,988 - ERROR - Error in ARP scan: -2025-03-02 04:38:10,988 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:13,925 - INFO - 127.0.0.1 - - [02/Mar/2025 04:38:13] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:38:14,149 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:14,181 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:14,315 - INFO - 127.0.0.1 - - [02/Mar/2025 04:38:14] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:38:14,874 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:14,876 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:14,876 - ERROR - Error in ARP scan: -2025-03-02 04:38:14,877 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:15,759 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:15,791 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:16,119 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:16,151 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:16,478 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:16,478 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:16,479 - ERROR - Error in ARP scan: -2025-03-02 04:38:16,480 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:16,823 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:16,825 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:16,825 - ERROR - Error in ARP scan: -2025-03-02 04:38:16,826 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:20,014 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:20,061 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:20,755 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:20,755 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:20,756 - ERROR - Error in ARP scan: -2025-03-02 04:38:20,756 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:21,613 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:21,646 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:21,961 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:21,994 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:22,335 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:22,336 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:22,336 - ERROR - Error in ARP scan: -2025-03-02 04:38:22,337 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:22,683 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:22,684 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:22,685 - ERROR - Error in ARP scan: -2025-03-02 04:38:22,685 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:25,230 - INFO - 127.0.0.1 - - [02/Mar/2025 04:38:25] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:38:25,316 - INFO - 127.0.0.1 - - [02/Mar/2025 04:38:25] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:38:25,889 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:25,923 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:26,595 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:26,595 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:26,596 - ERROR - Error in ARP scan: -2025-03-02 04:38:26,596 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:27,475 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:27,522 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:27,811 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:27,842 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:28,212 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:28,213 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:28,214 - ERROR - Error in ARP scan: -2025-03-02 04:38:28,214 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:28,533 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:28,534 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:28,534 - ERROR - Error in ARP scan: -2025-03-02 04:38:28,535 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:31,731 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:31,763 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:32,446 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:32,447 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:32,447 - ERROR - Error in ARP scan: -2025-03-02 04:38:32,447 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:33,349 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:33,381 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:33,664 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:33,695 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:34,059 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:34,059 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:34,059 - ERROR - Error in ARP scan: -2025-03-02 04:38:34,059 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:34,385 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:34,385 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:34,386 - ERROR - Error in ARP scan: -2025-03-02 04:38:34,386 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:35,926 - INFO - 127.0.0.1 - - [02/Mar/2025 04:38:35] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:38:36,310 - INFO - 127.0.0.1 - - [02/Mar/2025 04:38:36] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:38:37,583 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:37,614 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:38,301 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:38,302 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:38,303 - ERROR - Error in ARP scan: -2025-03-02 04:38:38,303 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:39,195 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:39,227 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:39,513 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:39,545 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:39,909 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:39,909 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:39,909 - ERROR - Error in ARP scan: -2025-03-02 04:38:39,910 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:40,241 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:40,242 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:40,242 - ERROR - Error in ARP scan: -2025-03-02 04:38:40,243 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:43,437 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:43,470 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:44,156 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:44,157 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:44,157 - ERROR - Error in ARP scan: -2025-03-02 04:38:44,158 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:45,046 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:45,081 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:45,370 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:45,403 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:45,753 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:45,754 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:45,754 - ERROR - Error in ARP scan: -2025-03-02 04:38:45,755 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:46,067 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:46,068 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:46,068 - ERROR - Error in ARP scan: -2025-03-02 04:38:46,069 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:47,228 - INFO - 127.0.0.1 - - [02/Mar/2025 04:38:47] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:38:47,337 - INFO - 127.0.0.1 - - [02/Mar/2025 04:38:47] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:38:49,324 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:49,356 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:50,116 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:50,117 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:50,117 - ERROR - Error in ARP scan: -2025-03-02 04:38:50,118 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:50,896 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:50,929 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:51,197 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:51,229 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:51,616 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:51,617 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:51,618 - ERROR - Error in ARP scan: -2025-03-02 04:38:51,618 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:51,921 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:51,922 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:51,923 - ERROR - Error in ARP scan: -2025-03-02 04:38:51,923 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:55,252 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:55,284 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:55,962 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:55,962 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:55,963 - ERROR - Error in ARP scan: -2025-03-02 04:38:55,963 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:56,766 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:56,798 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:57,054 - INFO - Found active interface: Wi-Fi -2025-03-02 04:38:57,086 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:38:57,466 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:57,468 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:57,468 - ERROR - Error in ARP scan: -2025-03-02 04:38:57,468 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:38:57,765 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:38:57,766 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:38:57,766 - ERROR - Error in ARP scan: -2025-03-02 04:38:57,766 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:00,927 - INFO - 127.0.0.1 - - [02/Mar/2025 04:39:00] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:39:01,107 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:01,138 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:01,309 - INFO - 127.0.0.1 - - [02/Mar/2025 04:39:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:39:01,823 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:01,824 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:01,825 - ERROR - Error in ARP scan: -2025-03-02 04:39:01,825 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:02,606 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:02,639 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:02,906 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:02,939 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:03,316 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:03,317 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:03,317 - ERROR - Error in ARP scan: -2025-03-02 04:39:03,318 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:03,618 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:03,618 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:03,618 - ERROR - Error in ARP scan: -2025-03-02 04:39:03,619 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:06,961 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:06,992 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:07,665 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:07,666 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:07,666 - ERROR - Error in ARP scan: -2025-03-02 04:39:07,667 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:08,463 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:08,498 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:08,751 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:08,784 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:09,174 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:09,175 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:09,176 - ERROR - Error in ARP scan: -2025-03-02 04:39:09,176 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:09,462 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:09,463 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:09,464 - ERROR - Error in ARP scan: -2025-03-02 04:39:09,464 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:12,806 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:12,853 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:13,716 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:13,717 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:13,717 - ERROR - Error in ARP scan: -2025-03-02 04:39:13,718 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:14,309 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:14,342 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:14,590 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:14,621 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:15,013 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:15,013 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:15,013 - ERROR - Error in ARP scan: -2025-03-02 04:39:15,014 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:15,340 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:15,340 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:15,341 - ERROR - Error in ARP scan: -2025-03-02 04:39:15,341 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:18,852 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:18,884 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:19,580 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:19,581 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:19,582 - ERROR - Error in ARP scan: -2025-03-02 04:39:19,582 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:20,149 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:20,181 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:20,470 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:20,502 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:20,878 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:20,879 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:20,879 - ERROR - Error in ARP scan: -2025-03-02 04:39:20,880 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:21,191 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:21,191 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:21,192 - ERROR - Error in ARP scan: -2025-03-02 04:39:21,192 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:24,718 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:24,749 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:25,450 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:25,451 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:25,451 - ERROR - Error in ARP scan: -2025-03-02 04:39:25,452 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:26,030 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:26,062 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:26,321 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:26,353 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:26,731 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:26,732 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:26,732 - ERROR - Error in ARP scan: -2025-03-02 04:39:26,733 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:27,031 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:27,031 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:27,032 - ERROR - Error in ARP scan: -2025-03-02 04:39:27,033 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:30,587 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:30,618 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:31,292 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:31,293 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:31,293 - ERROR - Error in ARP scan: -2025-03-02 04:39:31,294 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:31,884 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:31,915 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:32,162 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:32,195 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:32,590 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:32,591 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:32,591 - ERROR - Error in ARP scan: -2025-03-02 04:39:32,592 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:32,891 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:32,892 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:32,893 - ERROR - Error in ARP scan: -2025-03-02 04:39:32,893 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:36,432 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:36,477 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:37,152 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:37,153 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:37,153 - ERROR - Error in ARP scan: -2025-03-02 04:39:37,154 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:37,725 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:37,757 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:38,020 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:38,052 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:38,440 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:38,440 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:38,441 - ERROR - Error in ARP scan: -2025-03-02 04:39:38,441 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:38,746 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:38,746 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:38,746 - ERROR - Error in ARP scan: -2025-03-02 04:39:38,747 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:42,289 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:42,320 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:42,997 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:42,998 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:42,998 - ERROR - Error in ARP scan: -2025-03-02 04:39:42,999 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:43,577 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:43,611 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:43,877 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:43,909 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:44,326 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:44,327 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:44,327 - ERROR - Error in ARP scan: -2025-03-02 04:39:44,328 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:44,591 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:44,592 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:44,592 - ERROR - Error in ARP scan: -2025-03-02 04:39:44,593 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:48,134 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:48,167 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:48,848 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:48,849 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:48,849 - ERROR - Error in ARP scan: -2025-03-02 04:39:48,850 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:49,478 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:49,511 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:49,733 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:49,763 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:50,230 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:50,230 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:50,231 - ERROR - Error in ARP scan: -2025-03-02 04:39:50,231 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:50,438 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:50,439 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:50,439 - ERROR - Error in ARP scan: -2025-03-02 04:39:50,439 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:54,000 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:54,033 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:54,717 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:54,718 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:54,719 - ERROR - Error in ARP scan: -2025-03-02 04:39:54,719 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:55,370 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:55,405 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:55,577 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:55,623 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:39:56,241 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:56,242 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:56,242 - ERROR - Error in ARP scan: -2025-03-02 04:39:56,243 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:56,297 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:39:56,298 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:39:56,298 - ERROR - Error in ARP scan: -2025-03-02 04:39:56,298 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:39:59,854 - INFO - Found active interface: Wi-Fi -2025-03-02 04:39:59,887 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:00,580 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:00,581 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:00,581 - ERROR - Error in ARP scan: -2025-03-02 04:40:00,582 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:01,228 - INFO - 127.0.0.1 - - [02/Mar/2025 04:40:01] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:40:01,323 - INFO - 127.0.0.1 - - [02/Mar/2025 04:40:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:40:01,416 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:01,446 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:01,450 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:01,481 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:02,142 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:02,142 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:02,143 - ERROR - Error in ARP scan: -2025-03-02 04:40:02,143 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:02,164 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:02,164 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:02,165 - ERROR - Error in ARP scan: -2025-03-02 04:40:02,165 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:05,718 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:05,765 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:06,466 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:06,467 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:06,467 - ERROR - Error in ARP scan: -2025-03-02 04:40:06,468 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:07,287 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:07,308 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:07,325 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:07,344 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:08,086 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:08,087 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:08,087 - ERROR - Error in ARP scan: -2025-03-02 04:40:08,088 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:08,099 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:08,100 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:08,100 - ERROR - Error in ARP scan: -2025-03-02 04:40:08,100 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:11,604 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:11,635 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:12,313 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:12,313 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:12,314 - ERROR - Error in ARP scan: -2025-03-02 04:40:12,314 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:13,229 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:13,236 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:13,271 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:13,281 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:14,130 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:14,131 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:14,132 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:14,132 - ERROR - Error in ARP scan: -2025-03-02 04:40:14,133 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:14,133 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:14,134 - ERROR - Error in ARP scan: -2025-03-02 04:40:14,141 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:17,452 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:17,484 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:18,164 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:18,165 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:18,165 - ERROR - Error in ARP scan: -2025-03-02 04:40:18,166 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:19,277 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:19,287 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:19,314 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:19,324 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:19,993 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:19,994 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:19,994 - ERROR - Error in ARP scan: -2025-03-02 04:40:19,994 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:20,016 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:20,017 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:20,017 - ERROR - Error in ARP scan: -2025-03-02 04:40:20,018 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:23,316 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:23,348 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:24,020 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:24,021 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:24,022 - ERROR - Error in ARP scan: -2025-03-02 04:40:24,023 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:25,140 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:25,162 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:25,175 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:25,196 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:25,891 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:25,891 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:25,892 - ERROR - Error in ARP scan: -2025-03-02 04:40:25,892 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:26,340 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:26,341 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:26,342 - ERROR - Error in ARP scan: -2025-03-02 04:40:26,342 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:29,163 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:29,197 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:29,902 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:29,903 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:29,903 - ERROR - Error in ARP scan: -2025-03-02 04:40:29,904 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:31,030 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:31,064 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:31,478 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:31,510 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:31,775 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:31,776 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:31,777 - ERROR - Error in ARP scan: -2025-03-02 04:40:31,777 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:32,219 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:32,220 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:32,220 - ERROR - Error in ARP scan: -2025-03-02 04:40:32,220 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:35,042 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:35,076 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:35,758 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:35,759 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:35,760 - ERROR - Error in ARP scan: -2025-03-02 04:40:35,760 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:36,912 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:36,944 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:37,352 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:37,383 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:37,638 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:37,638 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:37,638 - ERROR - Error in ARP scan: -2025-03-02 04:40:37,638 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:38,064 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:38,065 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:38,065 - ERROR - Error in ARP scan: -2025-03-02 04:40:38,066 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:40,915 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:40,947 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:41,624 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:41,625 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:41,625 - ERROR - Error in ARP scan: -2025-03-02 04:40:41,626 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:42,777 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:42,808 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:43,216 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:43,247 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:43,487 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:43,488 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:43,488 - ERROR - Error in ARP scan: -2025-03-02 04:40:43,489 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:43,936 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:43,937 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:43,937 - ERROR - Error in ARP scan: -2025-03-02 04:40:43,938 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:46,760 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:46,794 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:47,456 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:47,457 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:47,457 - ERROR - Error in ARP scan: -2025-03-02 04:40:47,457 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:48,622 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:48,668 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:49,079 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:49,110 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:49,359 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:49,359 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:49,360 - ERROR - Error in ARP scan: -2025-03-02 04:40:49,360 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:49,780 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:49,781 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:49,781 - ERROR - Error in ARP scan: -2025-03-02 04:40:49,782 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:52,596 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:52,628 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:53,411 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:53,412 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:53,412 - ERROR - Error in ARP scan: -2025-03-02 04:40:53,413 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:54,495 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:54,528 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:54,918 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:54,951 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:55,212 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:55,213 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:55,213 - ERROR - Error in ARP scan: -2025-03-02 04:40:55,213 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:55,657 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:55,657 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:55,658 - ERROR - Error in ARP scan: -2025-03-02 04:40:55,658 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:40:58,545 - INFO - Found active interface: Wi-Fi -2025-03-02 04:40:58,577 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:40:59,269 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:40:59,271 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:40:59,271 - ERROR - Error in ARP scan: -2025-03-02 04:40:59,271 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:00,345 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:00,377 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:00,811 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:00,842 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:00,926 - INFO - 127.0.0.1 - - [02/Mar/2025 04:41:00] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:41:01,064 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:01,064 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:01,065 - ERROR - Error in ARP scan: -2025-03-02 04:41:01,065 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:01,312 - INFO - 127.0.0.1 - - [02/Mar/2025 04:41:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:41:01,530 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:01,531 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:01,531 - ERROR - Error in ARP scan: -2025-03-02 04:41:01,532 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:04,410 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:04,443 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:05,627 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:05,628 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:05,629 - ERROR - Error in ARP scan: -2025-03-02 04:41:05,630 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:06,202 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:06,233 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:06,670 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:06,703 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:06,920 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:06,920 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:06,921 - ERROR - Error in ARP scan: -2025-03-02 04:41:06,921 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:07,388 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:07,388 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:07,389 - ERROR - Error in ARP scan: -2025-03-02 04:41:07,390 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:10,778 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:10,810 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:11,491 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:11,492 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:11,492 - ERROR - Error in ARP scan: -2025-03-02 04:41:11,493 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:12,054 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:12,086 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:12,542 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:12,575 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:12,766 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:12,767 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:12,767 - ERROR - Error in ARP scan: -2025-03-02 04:41:12,767 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:13,257 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:13,257 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:13,258 - ERROR - Error in ARP scan: -2025-03-02 04:41:13,258 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:16,626 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:16,659 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:17,521 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:17,522 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:17,522 - ERROR - Error in ARP scan: -2025-03-02 04:41:17,522 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:17,900 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:17,946 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:18,396 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:18,429 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:18,630 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:18,631 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:18,631 - ERROR - Error in ARP scan: -2025-03-02 04:41:18,631 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:19,104 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:19,104 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:19,104 - ERROR - Error in ARP scan: -2025-03-02 04:41:19,105 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:22,659 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:22,691 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:23,387 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:23,388 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:23,389 - ERROR - Error in ARP scan: -2025-03-02 04:41:23,389 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:23,765 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:23,797 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:24,241 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:24,274 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:24,463 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:24,464 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:24,464 - ERROR - Error in ARP scan: -2025-03-02 04:41:24,465 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:24,966 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:24,966 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:24,967 - ERROR - Error in ARP scan: -2025-03-02 04:41:24,968 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:28,525 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:28,556 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:29,246 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:29,247 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:29,247 - ERROR - Error in ARP scan: -2025-03-02 04:41:29,249 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:29,603 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:29,633 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:30,116 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:30,151 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:30,325 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:30,326 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:30,326 - ERROR - Error in ARP scan: -2025-03-02 04:41:30,327 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:30,821 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:30,822 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:30,823 - ERROR - Error in ARP scan: -2025-03-02 04:41:30,823 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:34,386 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:34,418 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:35,101 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:35,102 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:35,102 - ERROR - Error in ARP scan: -2025-03-02 04:41:35,103 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:35,475 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:35,507 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:35,954 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:35,987 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:36,182 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:36,183 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:36,183 - ERROR - Error in ARP scan: -2025-03-02 04:41:36,184 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:36,968 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:36,969 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:36,969 - ERROR - Error in ARP scan: -2025-03-02 04:41:36,970 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:40,236 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:40,268 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:40,944 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:40,944 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:40,945 - ERROR - Error in ARP scan: -2025-03-02 04:41:40,945 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:41,318 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:41,365 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:42,043 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:42,044 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:42,044 - ERROR - Error in ARP scan: -2025-03-02 04:41:42,045 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:42,110 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:42,143 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:42,826 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:42,827 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:42,828 - ERROR - Error in ARP scan: -2025-03-02 04:41:42,828 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:46,085 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:46,116 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:46,798 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:46,799 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:46,799 - ERROR - Error in ARP scan: -2025-03-02 04:41:46,800 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:47,188 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:47,221 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:47,901 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:47,902 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:47,902 - ERROR - Error in ARP scan: -2025-03-02 04:41:47,903 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:47,972 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:48,005 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:48,689 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:48,690 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:48,690 - ERROR - Error in ARP scan: -2025-03-02 04:41:48,691 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:51,935 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:51,967 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:52,637 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:52,638 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:52,638 - ERROR - Error in ARP scan: -2025-03-02 04:41:52,638 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:53,038 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:53,070 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:53,736 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:53,736 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:53,737 - ERROR - Error in ARP scan: -2025-03-02 04:41:53,737 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:53,840 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:53,872 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:54,579 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:54,580 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:54,580 - ERROR - Error in ARP scan: -2025-03-02 04:41:54,580 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:57,776 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:57,809 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:58,490 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:58,491 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:58,491 - ERROR - Error in ARP scan: -2025-03-02 04:41:58,491 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:58,876 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:58,907 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:41:59,600 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:41:59,601 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:41:59,602 - ERROR - Error in ARP scan: -2025-03-02 04:41:59,602 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:41:59,727 - INFO - Found active interface: Wi-Fi -2025-03-02 04:41:59,759 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:00,446 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:00,447 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:00,448 - ERROR - Error in ARP scan: -2025-03-02 04:42:00,448 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:01,228 - INFO - 127.0.0.1 - - [02/Mar/2025 04:42:01] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:42:01,316 - INFO - 127.0.0.1 - - [02/Mar/2025 04:42:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:42:03,626 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:03,657 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:04,338 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:04,338 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:04,339 - ERROR - Error in ARP scan: -2025-03-02 04:42:04,339 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:04,751 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:04,783 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:05,459 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:05,459 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:05,460 - ERROR - Error in ARP scan: -2025-03-02 04:42:05,460 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:05,586 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:05,618 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:06,295 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:06,296 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:06,297 - ERROR - Error in ARP scan: -2025-03-02 04:42:06,297 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:09,490 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:09,521 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:10,201 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:10,202 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:10,203 - ERROR - Error in ARP scan: -2025-03-02 04:42:10,203 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:10,596 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:10,629 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:11,301 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:11,302 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:11,303 - ERROR - Error in ARP scan: -2025-03-02 04:42:11,304 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:11,437 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:11,483 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:12,162 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:12,163 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:12,163 - ERROR - Error in ARP scan: -2025-03-02 04:42:12,164 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:15,339 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:15,371 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:16,057 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:16,058 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:16,058 - ERROR - Error in ARP scan: -2025-03-02 04:42:16,059 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:16,438 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:16,471 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:17,250 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:17,250 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:17,251 - ERROR - Error in ARP scan: -2025-03-02 04:42:17,251 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:17,304 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:17,336 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:18,186 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:18,187 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:18,187 - ERROR - Error in ARP scan: -2025-03-02 04:42:18,188 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:21,197 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:21,228 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:21,935 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:21,936 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:21,936 - ERROR - Error in ARP scan: -2025-03-02 04:42:21,937 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:22,392 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:22,423 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:23,109 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:23,109 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:23,110 - ERROR - Error in ARP scan: -2025-03-02 04:42:23,110 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:23,319 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:23,351 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:24,193 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:24,194 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:24,195 - ERROR - Error in ARP scan: -2025-03-02 04:42:24,195 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:27,084 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:27,114 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:27,792 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:27,792 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:27,793 - ERROR - Error in ARP scan: -2025-03-02 04:42:27,793 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:28,249 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:28,281 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:28,958 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:28,959 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:28,959 - ERROR - Error in ARP scan: -2025-03-02 04:42:28,960 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:29,343 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:29,374 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:30,041 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:30,042 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:30,043 - ERROR - Error in ARP scan: -2025-03-02 04:42:30,043 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:32,931 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:32,965 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:33,645 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:33,646 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:33,646 - ERROR - Error in ARP scan: -2025-03-02 04:42:33,647 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:34,094 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:34,141 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:34,822 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:34,822 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:34,822 - ERROR - Error in ARP scan: -2025-03-02 04:42:34,823 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:35,178 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:35,210 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:35,883 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:35,884 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:35,884 - ERROR - Error in ARP scan: -2025-03-02 04:42:35,885 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:38,783 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:38,814 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:39,511 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:39,512 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:39,513 - ERROR - Error in ARP scan: -2025-03-02 04:42:39,513 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:39,959 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:39,990 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:40,668 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:40,669 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:40,670 - ERROR - Error in ARP scan: -2025-03-02 04:42:40,670 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:41,019 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:41,051 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:41,752 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:41,753 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:41,753 - ERROR - Error in ARP scan: -2025-03-02 04:42:41,754 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:44,648 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:44,681 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:45,362 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:45,362 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:45,363 - ERROR - Error in ARP scan: -2025-03-02 04:42:45,363 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:45,805 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:45,837 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:46,508 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:46,509 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:46,509 - ERROR - Error in ARP scan: -2025-03-02 04:42:46,509 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:46,904 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:46,935 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:47,614 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:47,615 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:47,616 - ERROR - Error in ARP scan: -2025-03-02 04:42:47,616 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:50,516 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:50,547 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:51,245 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:51,246 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:51,247 - ERROR - Error in ARP scan: -2025-03-02 04:42:51,248 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:51,642 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:51,675 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:52,344 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:52,345 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:52,345 - ERROR - Error in ARP scan: -2025-03-02 04:42:52,346 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:52,761 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:52,794 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:53,462 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:53,463 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:53,464 - ERROR - Error in ARP scan: -2025-03-02 04:42:53,464 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:56,388 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:56,421 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:57,089 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:57,090 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:57,091 - ERROR - Error in ARP scan: -2025-03-02 04:42:57,091 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:57,479 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:57,525 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:58,199 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:58,200 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:58,200 - ERROR - Error in ARP scan: -2025-03-02 04:42:58,201 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:42:58,601 - INFO - Found active interface: Wi-Fi -2025-03-02 04:42:58,648 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:42:59,323 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:42:59,324 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:42:59,324 - ERROR - Error in ARP scan: -2025-03-02 04:42:59,325 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:00,927 - INFO - 127.0.0.1 - - [02/Mar/2025 04:43:00] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:43:01,314 - INFO - 127.0.0.1 - - [02/Mar/2025 04:43:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:43:02,241 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:02,274 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:02,947 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:02,948 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:02,948 - ERROR - Error in ARP scan: -2025-03-02 04:43:02,949 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:03,338 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:03,369 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:04,058 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:04,059 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:04,059 - ERROR - Error in ARP scan: -2025-03-02 04:43:04,060 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:04,472 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:04,505 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:05,186 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:05,187 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:05,187 - ERROR - Error in ARP scan: -2025-03-02 04:43:05,188 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:08,102 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:08,133 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:08,807 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:08,807 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:08,808 - ERROR - Error in ARP scan: -2025-03-02 04:43:08,809 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:09,200 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:09,233 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:09,914 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:09,914 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:09,915 - ERROR - Error in ARP scan: -2025-03-02 04:43:09,915 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:10,319 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:10,366 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:11,052 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:11,053 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:11,053 - ERROR - Error in ARP scan: -2025-03-02 04:43:11,054 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:13,947 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:13,980 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:14,660 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:14,661 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:14,661 - ERROR - Error in ARP scan: -2025-03-02 04:43:14,662 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:15,050 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:15,082 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:15,767 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:15,768 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:15,768 - ERROR - Error in ARP scan: -2025-03-02 04:43:15,768 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:16,193 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:16,225 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:16,902 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:16,903 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:16,903 - ERROR - Error in ARP scan: -2025-03-02 04:43:16,904 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:19,797 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:19,829 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:20,698 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:20,698 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:20,699 - ERROR - Error in ARP scan: -2025-03-02 04:43:20,699 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:20,899 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:20,931 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:21,607 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:21,608 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:21,608 - ERROR - Error in ARP scan: -2025-03-02 04:43:21,609 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:22,039 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:22,072 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:22,746 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:22,747 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:22,747 - ERROR - Error in ARP scan: -2025-03-02 04:43:22,748 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:25,846 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:25,878 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:26,561 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:26,562 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:26,562 - ERROR - Error in ARP scan: -2025-03-02 04:43:26,563 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:26,746 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:26,778 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:27,451 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:27,452 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:27,452 - ERROR - Error in ARP scan: -2025-03-02 04:43:27,453 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:27,898 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:27,930 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:28,603 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:28,603 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:28,604 - ERROR - Error in ARP scan: -2025-03-02 04:43:28,604 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:31,700 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:31,734 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:32,404 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:32,404 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:32,405 - ERROR - Error in ARP scan: -2025-03-02 04:43:32,405 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:32,586 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:32,632 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:33,316 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:33,317 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:33,317 - ERROR - Error in ARP scan: -2025-03-02 04:43:33,318 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:33,737 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:33,770 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:34,457 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:34,458 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:34,459 - ERROR - Error in ARP scan: -2025-03-02 04:43:34,460 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:37,541 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:37,572 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:38,267 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:38,268 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:38,268 - ERROR - Error in ARP scan: -2025-03-02 04:43:38,269 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:38,449 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:38,482 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:39,159 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:39,160 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:39,160 - ERROR - Error in ARP scan: -2025-03-02 04:43:39,161 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:39,596 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:39,628 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:40,310 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:40,311 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:40,311 - ERROR - Error in ARP scan: -2025-03-02 04:43:40,312 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:43,403 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:43,435 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:44,112 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:44,112 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:44,112 - ERROR - Error in ARP scan: -2025-03-02 04:43:44,113 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:44,288 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:44,320 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:44,996 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:44,996 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:44,996 - ERROR - Error in ARP scan: -2025-03-02 04:43:44,997 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:45,458 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:45,489 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:46,188 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:46,189 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:46,189 - ERROR - Error in ARP scan: -2025-03-02 04:43:46,190 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:49,258 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:49,288 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:49,969 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:49,970 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:49,970 - ERROR - Error in ARP scan: -2025-03-02 04:43:49,971 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:50,134 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:50,174 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:50,880 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:50,881 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:50,882 - ERROR - Error in ARP scan: -2025-03-02 04:43:50,883 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:51,323 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:51,359 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:52,035 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:52,037 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:52,037 - ERROR - Error in ARP scan: -2025-03-02 04:43:52,038 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:55,108 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:55,142 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:55,806 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:55,807 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:55,808 - ERROR - Error in ARP scan: -2025-03-02 04:43:55,808 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:56,015 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:56,061 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:56,737 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:56,738 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:56,738 - ERROR - Error in ARP scan: -2025-03-02 04:43:56,739 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:43:57,173 - INFO - Found active interface: Wi-Fi -2025-03-02 04:43:57,206 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:43:57,883 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:43:57,884 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:43:57,885 - ERROR - Error in ARP scan: -2025-03-02 04:43:57,885 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:00,947 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:00,981 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:01,228 - INFO - 127.0.0.1 - - [02/Mar/2025 04:44:01] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:44:01,317 - INFO - 127.0.0.1 - - [02/Mar/2025 04:44:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:44:01,683 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:01,683 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:01,684 - ERROR - Error in ARP scan: -2025-03-02 04:44:01,685 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:01,873 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:01,907 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:02,602 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:02,603 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:02,604 - ERROR - Error in ARP scan: -2025-03-02 04:44:02,604 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:03,021 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:03,068 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:03,741 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:03,741 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:03,742 - ERROR - Error in ARP scan: -2025-03-02 04:44:03,742 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:06,823 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:06,854 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:07,531 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:07,532 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:07,532 - ERROR - Error in ARP scan: -2025-03-02 04:44:07,533 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:07,736 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:07,768 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:08,462 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:08,463 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:08,463 - ERROR - Error in ARP scan: -2025-03-02 04:44:08,464 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:08,881 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:08,928 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:09,611 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:09,612 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:09,612 - ERROR - Error in ARP scan: -2025-03-02 04:44:09,613 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:12,667 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:12,700 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:13,387 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:13,388 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:13,388 - ERROR - Error in ARP scan: -2025-03-02 04:44:13,389 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:13,596 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:13,629 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:14,304 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:14,304 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:14,305 - ERROR - Error in ARP scan: -2025-03-02 04:44:14,305 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:14,743 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:14,776 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:15,466 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:15,466 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:15,467 - ERROR - Error in ARP scan: -2025-03-02 04:44:15,467 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:18,537 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:18,568 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:19,263 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:19,263 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:19,264 - ERROR - Error in ARP scan: -2025-03-02 04:44:19,264 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:19,441 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:19,474 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:20,175 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:20,177 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:20,177 - ERROR - Error in ARP scan: -2025-03-02 04:44:20,178 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:20,620 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:20,653 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:21,603 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:21,603 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:21,604 - ERROR - Error in ARP scan: -2025-03-02 04:44:21,605 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:24,402 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:24,435 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:25,115 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:25,115 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:25,116 - ERROR - Error in ARP scan: -2025-03-02 04:44:25,116 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:25,306 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:25,354 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:26,052 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:26,053 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:26,053 - ERROR - Error in ARP scan: -2025-03-02 04:44:26,054 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:26,739 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:26,772 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:27,500 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:27,500 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:27,501 - ERROR - Error in ARP scan: -2025-03-02 04:44:27,501 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:30,255 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:30,287 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:31,039 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:31,040 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:31,041 - ERROR - Error in ARP scan: -2025-03-02 04:44:31,041 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:31,190 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:31,221 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:31,999 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:32,000 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:32,000 - ERROR - Error in ARP scan: -2025-03-02 04:44:32,001 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:32,635 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:32,667 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:33,420 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:33,421 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:33,422 - ERROR - Error in ARP scan: -2025-03-02 04:44:33,422 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:36,177 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:36,210 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:36,892 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:36,892 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:36,892 - ERROR - Error in ARP scan: -2025-03-02 04:44:36,892 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:37,130 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:37,163 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:37,890 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:37,890 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:37,891 - ERROR - Error in ARP scan: -2025-03-02 04:44:37,891 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:38,570 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:38,602 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:39,278 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:39,279 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:39,279 - ERROR - Error in ARP scan: -2025-03-02 04:44:39,280 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:42,029 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:42,061 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:42,739 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:42,740 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:42,740 - ERROR - Error in ARP scan: -2025-03-02 04:44:42,740 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:43,039 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:43,071 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:43,813 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:43,814 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:43,814 - ERROR - Error in ARP scan: -2025-03-02 04:44:43,815 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:44,417 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:44,450 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:45,136 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:45,136 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:45,137 - ERROR - Error in ARP scan: -2025-03-02 04:44:45,137 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:47,877 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:47,924 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:48,620 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:48,621 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:48,621 - ERROR - Error in ARP scan: -2025-03-02 04:44:48,622 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:48,954 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:48,985 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:49,662 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:49,663 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:49,663 - ERROR - Error in ARP scan: -2025-03-02 04:44:49,664 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:50,274 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:50,305 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:50,995 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:50,995 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:50,996 - ERROR - Error in ARP scan: -2025-03-02 04:44:50,996 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:53,754 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:53,786 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:54,463 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:54,463 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:54,464 - ERROR - Error in ARP scan: -2025-03-02 04:44:54,464 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:54,800 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:54,832 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:55,536 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:55,536 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:55,537 - ERROR - Error in ARP scan: -2025-03-02 04:44:55,537 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:56,131 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:56,163 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:44:56,840 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:44:56,841 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:44:56,842 - ERROR - Error in ARP scan: -2025-03-02 04:44:56,842 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:44:59,603 - INFO - Found active interface: Wi-Fi -2025-03-02 04:44:59,633 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:00,319 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:00,319 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:00,320 - ERROR - Error in ARP scan: -2025-03-02 04:45:00,320 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:00,702 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:00,734 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:00,925 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:00] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:45:01,311 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:45:01,427 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:01,428 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:01,428 - ERROR - Error in ARP scan: -2025-03-02 04:45:01,429 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:01,981 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:02,012 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:02,705 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:02,706 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:02,706 - ERROR - Error in ARP scan: -2025-03-02 04:45:02,707 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:05,459 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:05,490 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:06,169 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:06,170 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:06,170 - ERROR - Error in ARP scan: -2025-03-02 04:45:06,170 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:06,565 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:06,597 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:07,269 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:07,270 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:07,270 - ERROR - Error in ARP scan: -2025-03-02 04:45:07,271 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:07,854 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:07,884 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:08,581 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:08,582 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:08,582 - ERROR - Error in ARP scan: -2025-03-02 04:45:08,583 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:11,323 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:11,356 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:12,054 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:12,055 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:12,056 - ERROR - Error in ARP scan: -2025-03-02 04:45:12,056 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:12,407 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:12,438 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:13,151 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:13,151 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:13,152 - ERROR - Error in ARP scan: -2025-03-02 04:45:13,152 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:13,734 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:13,766 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:14,455 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:14,456 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:14,456 - ERROR - Error in ARP scan: -2025-03-02 04:45:14,457 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:17,210 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:17,242 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:17,912 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:17,912 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:17,912 - ERROR - Error in ARP scan: -2025-03-02 04:45:17,913 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:18,289 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:18,322 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:18,987 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:18,987 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:18,987 - ERROR - Error in ARP scan: -2025-03-02 04:45:18,988 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:19,592 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:19,637 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:20,855 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:20,855 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:20,856 - ERROR - Error in ARP scan: -2025-03-02 04:45:20,857 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:23,048 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:23,094 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:23,949 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:23,950 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:23,951 - ERROR - Error in ARP scan: -2025-03-02 04:45:23,951 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:24,123 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:24,154 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:24,823 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:24,824 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:24,824 - ERROR - Error in ARP scan: -2025-03-02 04:45:24,825 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:25,794 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:25] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:45:25,894 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:25] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:45:26,044 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:26,078 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:26,759 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:26,759 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:26,760 - ERROR - Error in ARP scan: -2025-03-02 04:45:26,760 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:29,095 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:29,133 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:29,815 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:29,815 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:29,816 - ERROR - Error in ARP scan: -2025-03-02 04:45:29,817 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:29,966 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:30,017 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:30,703 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:30,703 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:30,704 - ERROR - Error in ARP scan: -2025-03-02 04:45:30,704 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:31,854 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:31,855 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:31] "GET /api/status HTTP/1.1" 200 - -2025-03-02 04:45:31,945 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:31,990 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:32,396 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:32] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:45:32,419 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 04:45:32,420 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:32] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 04:45:32,470 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:32,471 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:32] "GET /api/status HTTP/1.1" 200 - -2025-03-02 04:45:32,604 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:32] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:45:32,750 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:32,750 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:32,751 - ERROR - Error in ARP scan: -2025-03-02 04:45:32,751 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:32,811 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 04:45:32,812 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:32] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 04:45:32,904 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:32,905 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:32] "GET /api/status HTTP/1.1" 200 - -2025-03-02 04:45:35,010 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:35,066 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:35,739 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:35,739 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:35,740 - ERROR - Error in ARP scan: -2025-03-02 04:45:35,740 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:35,858 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:35,891 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:36,582 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:36,583 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:36,583 - ERROR - Error in ARP scan: -2025-03-02 04:45:36,584 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:37,912 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:37,945 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:38,625 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:38,625 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:38,626 - ERROR - Error in ARP scan: -2025-03-02 04:45:38,626 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:40,889 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:40,923 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:41,608 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:41,608 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:41,609 - ERROR - Error in ARP scan: -2025-03-02 04:45:41,609 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:42,983 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:42] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:45:43,783 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:43,816 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:44,488 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:44,489 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:44,489 - ERROR - Error in ARP scan: -2025-03-02 04:45:44,490 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:54,197 - INFO - Initializing Npcap support -2025-03-02 04:45:54,208 - INFO - Initializing Npcap... -2025-03-02 04:45:54,209 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:45:54,209 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:45:54,210 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:45:54,628 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:45:54,629 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 04:45:55,030 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 04:45:55,031 - INFO - Initializing Npcap... -2025-03-02 04:45:55,032 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:45:55,032 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:45:55,033 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:45:55,395 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:45:55,395 - INFO - Npcap initialized successfully -2025-03-02 04:45:55,395 - INFO - Network monitoring started -2025-03-02 04:45:55,423 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 04:45:55,424 - INFO - Initializing Npcap... -2025-03-02 04:45:55,424 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:45:55,425 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:45:55,425 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:45:55,557 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:55,595 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:55,851 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:45:55,852 - INFO - Npcap initialized successfully -2025-03-02 04:45:55,852 - INFO - Network monitoring started -2025-03-02 04:45:55,860 - INFO - Initializing Npcap... -2025-03-02 04:45:55,860 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:45:55,861 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:45:55,861 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:45:56,006 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:56,041 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:56,289 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:45:56,290 - INFO - Npcap initialized successfully -2025-03-02 04:45:56,297 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 04:45:56,298 - INFO - Press CTRL+C to quit -2025-03-02 04:45:56,336 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:56,337 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:56,338 - ERROR - Error in ARP scan: -2025-03-02 04:45:56,340 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:56,483 - INFO - Found active interface: Wi-Fi -2025-03-02 04:45:56,514 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:45:56,793 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:56,794 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:56,794 - ERROR - Error in ARP scan: -2025-03-02 04:45:56,795 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:57,205 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:45:57,205 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:45:57,206 - ERROR - Error in ARP scan: -2025-03-02 04:45:57,207 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:45:57,957 - INFO - 127.0.0.1 - - [02/Mar/2025 04:45:57] "GET / HTTP/1.1" 404 - -2025-03-02 04:46:01,360 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:01,360 - INFO - 127.0.0.1 - - [02/Mar/2025 04:46:01] "GET /api/status HTTP/1.1" 200 - -2025-03-02 04:46:01,558 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:01,598 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:01,891 - INFO - 127.0.0.1 - - [02/Mar/2025 04:46:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:46:01,951 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 04:46:01,953 - INFO - 127.0.0.1 - - [02/Mar/2025 04:46:01] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 04:46:01,975 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:02,001 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:02,002 - INFO - 127.0.0.1 - - [02/Mar/2025 04:46:02] "GET /api/status HTTP/1.1" 200 - -2025-03-02 04:46:02,018 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:02,135 - INFO - 127.0.0.1 - - [02/Mar/2025 04:46:02] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:46:02,295 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:02,296 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:02,296 - ERROR - Error in ARP scan: -2025-03-02 04:46:02,297 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:46:02,348 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 04:46:02,349 - INFO - 127.0.0.1 - - [02/Mar/2025 04:46:02] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 04:46:02,433 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:02,473 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:02,478 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:02,479 - INFO - 127.0.0.1 - - [02/Mar/2025 04:46:02] "GET /api/status HTTP/1.1" 200 - -2025-03-02 04:46:02,728 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:02,729 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:02,729 - ERROR - Error in ARP scan: -2025-03-02 04:46:02,729 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:46:03,173 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:03,173 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:03,174 - ERROR - Error in ARP scan: -2025-03-02 04:46:03,174 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:46:07,460 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:07,494 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:07,880 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:07,916 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:08,173 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:08,174 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:08,174 - ERROR - Error in ARP scan: -2025-03-02 04:46:08,175 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:46:08,335 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:08,367 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:08,612 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:08,613 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:08,613 - ERROR - Error in ARP scan: -2025-03-02 04:46:08,613 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:46:09,050 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:09,051 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:09,051 - ERROR - Error in ARP scan: -2025-03-02 04:46:09,052 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:46:12,490 - INFO - 127.0.0.1 - - [02/Mar/2025 04:46:12] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:46:12,879 - INFO - 127.0.0.1 - - [02/Mar/2025 04:46:12] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:46:13,316 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:13,348 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:13,760 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:13,795 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:14,040 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:14,040 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:14,040 - ERROR - Error in ARP scan: -2025-03-02 04:46:14,041 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:46:14,194 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:14,227 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:14,475 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:14,475 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:14,475 - ERROR - Error in ARP scan: -2025-03-02 04:46:14,475 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:46:14,922 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:14,923 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:14,924 - ERROR - Error in ARP scan: -2025-03-02 04:46:14,924 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:46:19,189 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:19,221 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:19,900 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:19,901 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:19,901 - ERROR - Error in ARP scan: -2025-03-02 04:46:19,902 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:46:20,070 - INFO - Found active interface: Wi-Fi -2025-03-02 04:46:20,103 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 04:46:20,787 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 04:46:20,788 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 04:46:20,789 - ERROR - Error in ARP scan: -2025-03-02 04:46:20,789 - INFO - Scan complete. Found 2 active devices -2025-03-02 04:54:28,229 - INFO - Initializing Npcap support -2025-03-02 04:54:28,245 - INFO - Initializing Npcap... -2025-03-02 04:54:28,246 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:54:28,246 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:54:28,247 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:54:28,883 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:54:28,883 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 04:54:29,504 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 04:54:29,539 - INFO - Windows network monitor initialized -2025-03-02 04:54:29,540 - INFO - Initializing Npcap... -2025-03-02 04:54:29,540 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:54:29,541 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:54:29,541 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:54:30,111 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:54:30,111 - INFO - Npcap initialized successfully -2025-03-02 04:54:30,112 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:30,112 - INFO - Network monitoring started -2025-03-02 04:54:30,112 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:30,149 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 04:54:30,155 - INFO - Windows network monitor initialized -2025-03-02 04:54:30,156 - INFO - Initializing Npcap... -2025-03-02 04:54:30,157 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:54:30,157 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:54:30,157 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:54:30,551 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:54:30,551 - INFO - Npcap initialized successfully -2025-03-02 04:54:30,552 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:30,552 - INFO - Network monitoring started -2025-03-02 04:54:30,552 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:30,575 - INFO - Windows network monitor initialized -2025-03-02 04:54:30,575 - INFO - Initializing Npcap... -2025-03-02 04:54:30,576 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 04:54:30,577 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 04:54:30,577 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 04:54:30,958 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 04:54:30,959 - INFO - Npcap initialized successfully -2025-03-02 04:54:30,961 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:30,961 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:30,976 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 04:54:30,976 - INFO - Press CTRL+C to quit -2025-03-02 04:54:32,634 - INFO - 127.0.0.1 - - [02/Mar/2025 04:54:32] "GET / HTTP/1.1" 404 - -2025-03-02 04:54:35,130 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:35,130 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:35,570 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:35,570 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:35,972 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:35,972 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:39,229 - INFO - 127.0.0.1 - - [02/Mar/2025 04:54:39] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 04:54:39,230 - ERROR - Error getting gateway info: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:39,231 - INFO - 127.0.0.1 - - [02/Mar/2025 04:54:39] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 04:54:40,139 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:40,139 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:40,578 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:40,579 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:40,981 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:40,981 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:45,148 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:45,148 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:45,990 - ERROR - Error getting default interface: 'NetworkController' object has no attribute 'ipconfig_path' -2025-03-02 04:54:45,990 - ERROR - Error in network scan: No valid network interface found -2025-03-02 04:54:49,925 - INFO - 127.0.0.1 - - [02/Mar/2025 04:54:49] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:01:24,564 - INFO - Initializing Npcap support -2025-03-02 05:01:24,576 - INFO - Initializing Npcap... -2025-03-02 05:01:24,576 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:01:24,577 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:01:24,577 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:01:24,993 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:01:24,993 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 05:01:25,447 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 05:01:25,455 - INFO - Windows network monitor initialized -2025-03-02 05:01:25,456 - INFO - Initializing Npcap... -2025-03-02 05:01:25,456 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:01:25,457 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:01:25,457 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:01:25,847 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:01:25,848 - INFO - Npcap initialized successfully -2025-03-02 05:01:25,849 - INFO - Network monitoring started -2025-03-02 05:01:25,878 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 05:01:25,886 - INFO - Windows network monitor initialized -2025-03-02 05:01:25,886 - INFO - Initializing Npcap... -2025-03-02 05:01:25,887 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:01:25,888 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:01:25,888 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:01:26,030 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:26,100 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:26,453 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:01:26,453 - INFO - Npcap initialized successfully -2025-03-02 05:01:26,454 - INFO - Network monitoring started -2025-03-02 05:01:26,470 - INFO - Windows network monitor initialized -2025-03-02 05:01:26,470 - INFO - Initializing Npcap... -2025-03-02 05:01:26,471 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:01:26,471 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:01:26,472 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:01:26,646 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:26,701 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:27,086 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:01:27,086 - INFO - Npcap initialized successfully -2025-03-02 05:01:27,098 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 05:01:27,099 - INFO - Press CTRL+C to quit -2025-03-02 05:01:27,287 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:27,342 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:28,743 - INFO - 127.0.0.1 - - [02/Mar/2025 05:01:28] "GET / HTTP/1.1" 404 - -2025-03-02 05:01:31,251 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:31,303 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:31,847 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:31,886 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:32,497 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:32,552 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:36,454 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:36,492 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:37,030 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:37,068 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:37,696 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:37,735 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:41,640 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:41,680 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:42,215 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:42,253 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:42,895 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:42,933 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:46,837 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:46,889 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:01:48,073 - INFO - Found active interface: Wi-Fi -2025-03-02 05:01:48,111 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:07:59,119 - INFO - Initializing Npcap support -2025-03-02 05:07:59,134 - INFO - Initializing Npcap... -2025-03-02 05:07:59,134 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:07:59,135 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:07:59,136 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:07:59,798 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:07:59,799 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 05:08:00,362 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 05:08:00,369 - INFO - Windows network monitor initialized -2025-03-02 05:08:00,369 - INFO - Initializing Npcap... -2025-03-02 05:08:00,370 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:08:00,371 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:08:00,371 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:08:00,717 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:08:00,717 - INFO - Npcap initialized successfully -2025-03-02 05:08:00,718 - INFO - Network monitoring started -2025-03-02 05:08:00,747 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 05:08:00,754 - INFO - Windows network monitor initialized -2025-03-02 05:08:00,754 - INFO - Initializing Npcap... -2025-03-02 05:08:00,754 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:08:00,755 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:08:00,755 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:08:00,872 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:08:00,872 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:08:00,910 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:08:00,911 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:08:01,164 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:08:01,165 - INFO - Npcap initialized successfully -2025-03-02 05:08:01,165 - INFO - Network monitoring started -2025-03-02 05:08:01,181 - INFO - Windows network monitor initialized -2025-03-02 05:08:01,182 - INFO - Initializing Npcap... -2025-03-02 05:08:01,183 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:08:01,183 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:08:01,184 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:08:01,313 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:08:01,315 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:08:01,354 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:08:01,358 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:08:01,604 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:08:01,605 - INFO - Npcap initialized successfully -2025-03-02 05:08:01,610 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 05:08:01,610 - INFO - Press CTRL+C to quit -2025-03-02 05:08:01,729 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:01] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:08:01,774 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:08:01,775 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:08:01,819 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:08:01,819 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:08:01,831 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:08:02,401 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:08:02,454 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:08:02,558 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:08:02,606 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:08:02,961 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:08:03,032 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:08:03,254 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:03] "GET / HTTP/1.1" 404 - -2025-03-02 05:08:04,233 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:08:04] Request timed out: TimeoutError('timed out') -2025-03-02 05:08:07,778 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:07] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:08:08,174 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:08] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:08:08,757 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:08:08,758 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:08:09,214 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:08:09,215 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:08:09,256 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:08:09,257 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:09] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:08:09,699 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:08:09,699 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:08:09,771 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:09] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:08:09,813 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:08:09,814 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:09] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 05:08:09,886 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:08:09,886 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:09] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:08:10,002 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:10] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:08:10,180 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:08:10,181 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:10] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 05:08:10,273 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:08:10,274 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:10] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:08:20,368 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:20] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:08:20,762 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:20] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:08:23,184 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:08:23,185 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:23] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:08:23,435 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:08:23,436 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:23] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 05:08:23,693 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:23] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:08:23,799 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:08:23,800 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:23] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:08:23,857 - ERROR - Error getting WiFi interfaces: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:08:23,858 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:23] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 05:08:24,096 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:24] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:08:24,285 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:08:24,286 - INFO - 127.0.0.1 - - [02/Mar/2025 05:08:24] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:10:17,907 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:17,908 - INFO - Found new device: 192.168.100.46 (unknown) -2025-03-02 05:10:18,464 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:18,465 - INFO - Found new device: 192.168.100.46 (unknown) -2025-03-02 05:10:19,017 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:19,017 - INFO - Found new device: 192.168.100.46 (unknown) -2025-03-02 05:10:24,204 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:24,204 - INFO - Found new device: 192.168.100.79 (unknown) -2025-03-02 05:10:24,715 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:24,715 - INFO - Found new device: 192.168.100.79 (unknown) -2025-03-02 05:10:25,278 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:25,278 - INFO - Found new device: 192.168.100.79 (unknown) -2025-03-02 05:10:30,405 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:30,406 - INFO - Found new device: 192.168.100.121 (unknown) -2025-03-02 05:10:30,968 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:30,969 - INFO - Found new device: 192.168.100.121 (unknown) -2025-03-02 05:10:31,481 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:31,481 - INFO - Found new device: 192.168.100.121 (unknown) -2025-03-02 05:10:36,656 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:36,657 - INFO - Found new device: 192.168.100.123 (unknown) -2025-03-02 05:10:37,199 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:37,199 - INFO - Found new device: 192.168.100.123 (unknown) -2025-03-02 05:10:37,775 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:37,776 - INFO - Found new device: 192.168.100.123 (unknown) -2025-03-02 05:10:42,861 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:42,861 - INFO - Found new device: 192.168.100.138 (unknown) -2025-03-02 05:10:43,437 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:43,437 - INFO - Found new device: 192.168.100.138 (unknown) -2025-03-02 05:10:43,797 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:43,798 - INFO - Found new device: 192.168.100.138 (unknown) -2025-03-02 05:10:49,045 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:49,045 - INFO - Found new device: 192.168.100.149 (unknown) -2025-03-02 05:10:49,551 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:49,552 - INFO - Found new device: 192.168.100.149 (unknown) -2025-03-02 05:10:50,064 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:50,065 - INFO - Found new device: 192.168.100.149 (unknown) -2025-03-02 05:10:55,267 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:55,268 - INFO - Found new device: 192.168.100.225 (unknown) -2025-03-02 05:10:55,805 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:55,806 - INFO - Found new device: 192.168.100.225 (unknown) -2025-03-02 05:10:56,310 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:56,310 - INFO - Found new device: 192.168.100.225 (unknown) -2025-03-02 05:10:58,030 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:10:58,031 - INFO - Found new device: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:11:00,487 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:00,488 - INFO - Found new device: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:11:02,031 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:02,032 - INFO - Found new device: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:11:04,235 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:04,236 - INFO - Found new device: 192.168.100.232 (unknown) -2025-03-02 05:11:04,236 - INFO - Scan complete. Found 12 active devices -2025-03-02 05:11:06,150 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:06,151 - INFO - Found new device: 192.168.100.232 (unknown) -2025-03-02 05:11:06,151 - INFO - Scan complete. Found 12 active devices -2025-03-02 05:11:07,677 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:07,677 - INFO - Found new device: 192.168.100.232 (unknown) -2025-03-02 05:11:07,677 - INFO - Scan complete. Found 12 active devices -2025-03-02 05:11:09,427 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:11:09,436 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:11:09,474 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:11:09,475 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:11:10,194 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:11:10,253 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:11:11,335 - INFO - Found active interface: Connection-specific DNS Suffix . -2025-03-02 05:11:11,335 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:11:11,370 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:11:11,371 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:11:12,053 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:11:12,117 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:11:16,010 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:16,011 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:11:17,995 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:17,995 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:11:21,804 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:21,805 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:11:24,004 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:24,004 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:11:28,111 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:28,112 - INFO - Found device from ARP: 192.168.100.121 (unknown) -2025-03-02 05:11:30,314 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:30,315 - INFO - Found device from ARP: 192.168.100.121 (unknown) -2025-03-02 05:11:34,690 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:34,691 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:11:36,683 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:36,684 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:11:41,117 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:41,117 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:11:42,673 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:42,673 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:11:47,043 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:47,044 - INFO - Found device from ARP: 192.168.100.149 (unknown) -2025-03-02 05:11:48,529 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:48,529 - INFO - Found device from ARP: 192.168.100.149 (unknown) -2025-03-02 05:11:52,831 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:52,832 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:11:54,205 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:54,206 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:11:55,543 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:55,544 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:11:59,847 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:11:59,847 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:12:01,291 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:12:01,292 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:12:05,537 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:12:05,538 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:18:57,265 - INFO - Initializing Npcap support -2025-03-02 05:18:57,276 - INFO - Initializing Npcap... -2025-03-02 05:18:57,276 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:18:57,277 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:18:57,277 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:18:57,708 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:18:57,708 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 05:18:58,150 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 05:18:58,171 - INFO - Windows network monitor initialized -2025-03-02 05:18:58,171 - INFO - Initializing Npcap... -2025-03-02 05:18:58,171 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:18:58,172 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:18:58,172 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:18:58,525 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:18:58,525 - INFO - Npcap initialized successfully -2025-03-02 05:18:58,526 - INFO - Network monitoring started -2025-03-02 05:18:58,551 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 05:18:58,559 - INFO - Windows network monitor initialized -2025-03-02 05:18:58,559 - INFO - Initializing Npcap... -2025-03-02 05:18:58,560 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:18:58,560 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:18:58,560 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:18:58,580 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:18:58,618 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:18:58,619 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:18:58,981 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:18:58,982 - INFO - Npcap initialized successfully -2025-03-02 05:18:58,982 - INFO - Network monitoring started -2025-03-02 05:18:58,995 - INFO - Windows network monitor initialized -2025-03-02 05:18:58,996 - INFO - Initializing Npcap... -2025-03-02 05:18:58,996 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:18:58,997 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:18:58,997 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:18:59,024 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:18:59,060 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:18:59,065 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:18:59,422 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:18:59,422 - INFO - Npcap initialized successfully -2025-03-02 05:18:59,427 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 05:18:59,428 - INFO - Press CTRL+C to quit -2025-03-02 05:18:59,456 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:18:59,488 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:18:59,489 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:18:59,902 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:18:59,959 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:19:00,010 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:19:00,078 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:19:00,465 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:19:00,526 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:19:01,081 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:01] "GET / HTTP/1.1" 200 - -2025-03-02 05:19:01,228 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:01] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:19:01,373 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:19:02,060 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:19:02] Request timed out: TimeoutError('timed out') -2025-03-02 05:19:02,479 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:19:02] Request timed out: TimeoutError('timed out') -2025-03-02 05:19:05,793 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:05,793 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:19:06,305 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:06,306 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:19:06,457 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:06,458 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:19:11,505 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:11,506 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:19:12,075 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:12,076 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:19:12,203 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:12,203 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:19:15,192 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:15] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:19:15,309 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:15] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:19:15,971 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:15] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:19:16,389 - WARNING - Not running with admin privileges - some WiFi features may be limited -2025-03-02 05:19:16,468 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:16] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:19:16,521 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:16] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:19:16,598 - WARNING - Error running netsh command: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:16,637 - INFO - Found WiFi interfaces through ipconfig: ['Wi-Fi'] -2025-03-02 05:19:16,637 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:16] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 05:19:16,719 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:16] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:19:16,825 - WARNING - Not running with admin privileges - some WiFi features may be limited -2025-03-02 05:19:16,860 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:16] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:19:16,966 - WARNING - Error running netsh command: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:16,993 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:16] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:19:17,002 - INFO - Found WiFi interfaces through ipconfig: ['Wi-Fi'] -2025-03-02 05:19:17,003 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:17] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 05:19:17,120 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:17] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:19:17,165 - WARNING - Not running with admin privileges - some WiFi features may be limited -2025-03-02 05:19:17,201 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:17,202 - INFO - Found device from ARP: 192.168.100.121 (unknown) -2025-03-02 05:19:17,320 - WARNING - Error running netsh command: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:17,354 - INFO - Found WiFi interfaces through ipconfig: ['Wi-Fi'] -2025-03-02 05:19:17,355 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:17] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 05:19:17,881 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:17,882 - INFO - Found device from ARP: 192.168.100.121 (unknown) -2025-03-02 05:19:18,208 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:18,209 - INFO - Found device from ARP: 192.168.100.121 (unknown) -2025-03-02 05:19:18,306 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:19:18] Request timed out: TimeoutError('timed out') -2025-03-02 05:19:22,899 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:22,899 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:19:23,578 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:23,579 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:19:24,397 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:24,397 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:19:27,999 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:19:28,000 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:28] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:19:28,054 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:19:28,055 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:28] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:19:28,123 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:28] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:19:28,603 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:28,604 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:19:29,279 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:29,280 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:19:30,054 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:30,054 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:19:34,287 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:34,288 - INFO - Found device from ARP: 192.168.100.149 (unknown) -2025-03-02 05:19:34,995 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:34,995 - INFO - Found device from ARP: 192.168.100.149 (unknown) -2025-03-02 05:19:35,704 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:35,704 - INFO - Found device from ARP: 192.168.100.149 (unknown) -2025-03-02 05:19:38,696 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:38] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:19:38,997 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:19:39,045 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:19:39,046 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:39] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:19:39,129 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:39] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:19:40,130 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:40,131 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:19:40,711 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:40,712 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:19:41,328 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:41,328 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:19:42,126 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:42,126 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:19:44,917 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:44,917 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:19:46,999 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:46,999 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:19:47,804 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:47,804 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:19:49,998 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:49] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:19:49,998 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:19:50,049 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:19:50,050 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:50] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:19:50,120 - INFO - 127.0.0.1 - - [02/Mar/2025 05:19:50] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:19:50,552 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:50,552 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:19:52,629 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:52,630 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:19:53,479 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:53,480 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:19:56,186 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:56,187 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:19:58,248 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:19:58,248 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:20:00,697 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:00] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:20:00,999 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:20:01,052 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:20:01,053 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:01] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:20:01,134 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:01] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:20:11,999 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:20:12,000 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:12] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:20:12,043 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:20:12,044 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:12] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:20:12,108 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:12] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:20:23,001 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:23] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:20:23,001 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:20:23,061 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:20:23,062 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:23] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:20:23,152 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:23] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:20:33,696 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:33] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:20:33,998 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:20:34,063 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:20:34,064 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:34] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:20:34,111 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:34] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:20:44,999 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:44] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:20:45,000 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:20:45,064 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:20:45,065 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:45] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:20:45,125 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:45] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:20:55,697 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:55] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:20:55,998 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:20:56,046 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:20:56,047 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:56] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:20:56,118 - INFO - 127.0.0.1 - - [02/Mar/2025 05:20:56] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:21:06,998 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:06] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:21:06,999 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:21:07,044 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:21:07,044 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:07] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:21:07,154 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:07] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:21:17,696 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:17] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:21:17,997 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:21:18,043 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:21:18,044 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:18] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:21:18,105 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:18] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:21:28,998 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:28] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:21:28,999 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:21:29,047 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:21:29,047 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:29] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:21:29,120 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:29] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:21:39,696 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:39] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:21:39,998 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:21:40,064 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:21:40,065 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:40] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:21:40,114 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:40] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:21:51,000 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:51] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:21:51,001 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:21:51,049 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:21:51,049 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:51] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:21:51,121 - INFO - 127.0.0.1 - - [02/Mar/2025 05:21:51] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:22:01,507 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:01,508 - INFO - Found new device: 192.168.100.97 (unknown) -2025-03-02 05:22:01,700 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:01] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:22:02,001 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:22:02,048 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:22:02,049 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:02] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:22:02,121 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:02] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:22:02,639 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:02,640 - INFO - Found new device: 192.168.100.97 (unknown) -2025-03-02 05:22:04,662 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:04,663 - INFO - Found new device: 192.168.100.97 (unknown) -2025-03-02 05:22:07,188 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:07,189 - INFO - Found new device: 192.168.100.125 (unknown) -2025-03-02 05:22:08,342 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:08,343 - INFO - Found new device: 192.168.100.125 (unknown) -2025-03-02 05:22:10,319 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:10,320 - INFO - Found new device: 192.168.100.125 (unknown) -2025-03-02 05:22:12,998 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:12] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:22:12,998 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:22:13,047 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:22:13,048 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:13] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:22:13,117 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:13] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:22:13,384 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:13,384 - INFO - Found new device: 192.168.100.136 (unknown) -2025-03-02 05:22:14,004 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:14,004 - INFO - Found new device: 192.168.100.136 (unknown) -2025-03-02 05:22:15,945 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:15,946 - INFO - Found new device: 192.168.100.136 (unknown) -2025-03-02 05:22:19,547 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:19,547 - INFO - Found new device: 192.168.100.152 (unknown) -2025-03-02 05:22:19,547 - INFO - Scan complete. Found 16 active devices -2025-03-02 05:22:20,069 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:20,070 - INFO - Found new device: 192.168.100.152 (unknown) -2025-03-02 05:22:20,070 - INFO - Scan complete. Found 16 active devices -2025-03-02 05:22:21,588 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:21,589 - INFO - Found new device: 192.168.100.152 (unknown) -2025-03-02 05:22:21,589 - INFO - Scan complete. Found 16 active devices -2025-03-02 05:22:23,697 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:23] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:22:23,997 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:22:24,040 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:22:24,041 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:24] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:22:24,106 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:24] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:22:24,594 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:22:24,635 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:22:24,635 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:22:25,129 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:22:25,165 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:22:25,166 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:22:25,314 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:22:25,382 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:22:25,860 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:22:25,916 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:22:26,629 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:22:26,662 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:22:26,662 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:22:27,371 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:22:27,437 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:22:31,178 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:31,179 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:22:31,740 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:31,740 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:22:33,441 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:33,441 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:22:34,998 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:34] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:22:34,998 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:22:35,047 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:22:35,048 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:35] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:22:35,110 - INFO - 127.0.0.1 - - [02/Mar/2025 05:22:35] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:22:36,248 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:22:36] Request timed out: TimeoutError('timed out') -2025-03-02 05:22:37,392 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:37,392 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:22:37,909 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:37,910 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:22:39,544 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:39,544 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:22:43,606 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:43,606 - INFO - Found device from ARP: 192.168.100.97 (unknown) -2025-03-02 05:22:44,064 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:44,064 - INFO - Found device from ARP: 192.168.100.97 (unknown) -2025-03-02 05:22:45,376 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:45,376 - INFO - Found device from ARP: 192.168.100.97 (unknown) -2025-03-02 05:22:49,393 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:49,393 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:22:49,850 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:22:49,851 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:24:09,362 - INFO - Initializing Npcap support -2025-03-02 05:24:09,374 - INFO - Initializing Npcap... -2025-03-02 05:24:09,375 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:24:09,376 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:24:09,377 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:24:09,796 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:24:09,797 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['wpcap.dll', 'Packet.dll'], 'registry': {}} -2025-03-02 05:24:10,274 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 05:24:10,299 - INFO - Windows network monitor initialized -2025-03-02 05:24:10,300 - INFO - Initializing Npcap... -2025-03-02 05:24:10,300 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:24:10,301 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:24:10,301 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:24:10,766 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:24:10,767 - INFO - Npcap initialized successfully -2025-03-02 05:24:10,768 - INFO - Network monitoring started -2025-03-02 05:24:10,799 - WARNING - Network Monitor is not running with administrative privileges. Some features may not work. -2025-03-02 05:24:10,807 - INFO - Windows network monitor initialized -2025-03-02 05:24:10,807 - INFO - Initializing Npcap... -2025-03-02 05:24:10,808 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:24:10,808 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:24:10,809 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:24:10,822 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:24:10,881 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:24:10,882 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:24:11,411 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:24:11,412 - INFO - Npcap initialized successfully -2025-03-02 05:24:11,412 - INFO - Network monitoring started -2025-03-02 05:24:11,431 - INFO - Windows network monitor initialized -2025-03-02 05:24:11,432 - INFO - Initializing Npcap... -2025-03-02 05:24:11,432 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 05:24:11,433 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 05:24:11,433 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 05:24:11,467 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:24:11,516 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:24:11,516 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:24:11,891 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:24:11,969 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:24:12,125 - INFO - Successfully accessed 63 network interfaces via Scapy/Npcap -2025-03-02 05:24:12,126 - INFO - Npcap initialized successfully -2025-03-02 05:24:12,130 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - * Running on http://127.0.0.1:5000 -2025-03-02 05:24:12,131 - INFO - Press CTRL+C to quit -2025-03-02 05:24:12,179 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:24:12,229 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:24:12,229 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:24:12,246 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:24:12,339 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:24:12,984 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:24:13,181 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:24:13,815 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:13] "GET / HTTP/1.1" 200 - -2025-03-02 05:24:13,825 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:13] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:24:14,006 - WARNING - Not running with admin privileges - some WiFi features may be limited -2025-03-02 05:24:14,181 - WARNING - Error running netsh command: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:14,223 - INFO - Found WiFi interfaces through ipconfig: ['Wi-Fi'] -2025-03-02 05:24:14,224 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:14] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 05:24:14,366 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:14] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:24:14,413 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:14] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:24:14,527 - WARNING - Not running with admin privileges - some WiFi features may be limited -2025-03-02 05:24:14,679 - WARNING - Error running netsh command: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:14,732 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:14] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:24:14,742 - INFO - Found WiFi interfaces through ipconfig: ['Wi-Fi'] -2025-03-02 05:24:14,743 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:14] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 05:24:14,791 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:24:14] Request timed out: TimeoutError('timed out') -2025-03-02 05:24:14,836 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:14] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:24:15,048 - WARNING - Not running with admin privileges - some WiFi features may be limited -2025-03-02 05:24:15,092 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:15] "GET /api/status HTTP/1.1" 200 - -2025-03-02 05:24:15,201 - WARNING - Error running netsh command: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:15,238 - INFO - Found WiFi interfaces through ipconfig: ['Wi-Fi'] -2025-03-02 05:24:15,238 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:15] "GET /api/wifi/interfaces HTTP/1.1" 200 - -2025-03-02 05:24:15,240 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:15] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:24:17,717 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:17,717 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:24:18,131 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:18,132 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:24:19,016 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:19,024 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:24:23,478 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:23,478 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:24:23,810 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:23,811 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:24:24,671 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:24,671 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:24:25,597 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:25] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:24:25,598 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:24:25,672 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:24:25,673 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:25] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:24:25,722 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:25] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:24:26,851 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:24:26] Request timed out: TimeoutError('timed out') -2025-03-02 05:24:29,125 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:29,126 - INFO - Found device from ARP: 192.168.100.97 (unknown) -2025-03-02 05:24:29,509 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:29,510 - INFO - Found device from ARP: 192.168.100.97 (unknown) -2025-03-02 05:24:30,355 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:30,355 - INFO - Found device from ARP: 192.168.100.97 (unknown) -2025-03-02 05:24:34,823 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:34,823 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:24:35,198 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:35,198 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:24:35,983 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:35,984 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:24:36,598 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:36] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:24:36,599 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:24:36,648 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:24:36,649 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:36] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:24:36,733 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:36] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:24:37,849 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:24:37] Request timed out: TimeoutError('timed out') -2025-03-02 05:24:40,507 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:40,508 - INFO - Found device from ARP: 192.168.100.125 (unknown) -2025-03-02 05:24:40,876 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:40,876 - INFO - Found device from ARP: 192.168.100.125 (unknown) -2025-03-02 05:24:41,603 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:41,603 - INFO - Found device from ARP: 192.168.100.125 (unknown) -2025-03-02 05:24:46,197 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:46,198 - INFO - Found device from ARP: 192.168.100.136 (unknown) -2025-03-02 05:24:46,565 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:46,565 - INFO - Found device from ARP: 192.168.100.136 (unknown) -2025-03-02 05:24:47,288 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:47,288 - INFO - Found device from ARP: 192.168.100.136 (unknown) -2025-03-02 05:24:47,599 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:47] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:24:47,600 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:24:47,648 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:24:47,649 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:47] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:24:47,710 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:47] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:24:48,848 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:24:48] Request timed out: TimeoutError('timed out') -2025-03-02 05:24:51,909 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:51,909 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:24:52,273 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:52,274 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:24:52,976 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:52,977 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:24:57,585 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:57,585 - INFO - Found device from ARP: 192.168.100.152 (unknown) -2025-03-02 05:24:57,931 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:57,932 - INFO - Found device from ARP: 192.168.100.152 (unknown) -2025-03-02 05:24:58,599 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:58] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:24:58,599 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:24:58,650 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:24:58,651 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:58] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:24:58,659 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:24:58,660 - INFO - Found device from ARP: 192.168.100.152 (unknown) -2025-03-02 05:24:58,720 - INFO - 127.0.0.1 - - [02/Mar/2025 05:24:58] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:24:59,850 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:24:59] Request timed out: TimeoutError('timed out') -2025-03-02 05:25:03,289 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:03,290 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:25:03,622 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:03,622 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:25:04,336 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:04,337 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:25:05,553 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:05,554 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:25:07,813 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:07,813 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:25:09,598 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:09] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:25:09,599 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:25:09,647 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:25:09,648 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:09] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:25:09,711 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:09] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:25:10,084 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:10,084 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:25:11,243 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:11,243 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:25:13,838 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:13,838 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:25:15,717 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:15,718 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:25:16,932 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:16,933 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:25:19,459 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:19,460 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:25:20,296 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:20] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:25:20,597 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:25:20,649 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:25:20,650 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:20] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:25:20,735 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:20] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:25:21,366 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:25:21,374 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:25:31,598 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:31] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:25:31,599 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:25:31,645 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:25:31,646 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:31] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:25:31,708 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:31] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:25:42,296 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:42] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:25:42,597 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:25:42,642 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:25:42,642 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:42] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:25:42,708 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:42] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:25:53,599 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:53] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:25:53,600 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:25:53,647 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:25:53,648 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:53] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:25:53,719 - INFO - 127.0.0.1 - - [02/Mar/2025 05:25:53] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:26:04,296 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:04] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:26:04,598 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:26:04,641 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:26:04,642 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:04] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:26:04,727 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:04] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:26:15,597 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:15] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:26:15,598 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:26:15,650 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:26:15,651 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:15] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:26:15,727 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:15] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:26:26,926 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:26] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:26:27,226 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:26:27,273 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:26:27,274 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:27] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:26:27,335 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:27] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:26:38,228 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:38] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:26:38,228 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:26:38,276 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:26:38,276 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:38] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:26:38,339 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:38] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:26:39,738 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:39] "GET / HTTP/1.1" 200 - -2025-03-02 05:26:48,296 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:48] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:26:48,597 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:26:48,640 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:26:48,640 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:48] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:26:48,722 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:48] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:26:59,597 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:59] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:26:59,598 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:26:59,671 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:26:59,672 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:59] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:26:59,753 - INFO - 127.0.0.1 - - [02/Mar/2025 05:26:59] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:27:10,298 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:10] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:27:10,598 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:27:10,648 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:27:10,649 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:10] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:27:10,716 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:10] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:27:18,011 - INFO - Scan complete. Found 14 active devices -2025-03-02 05:27:20,498 - INFO - Scan complete. Found 14 active devices -2025-03-02 05:27:21,599 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:21] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:27:21,599 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:27:21,647 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:27:21,648 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:21] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:27:21,724 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:21] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:27:22,000 - INFO - Scan complete. Found 14 active devices -2025-03-02 05:27:23,055 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:27:23,088 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:27:23,089 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:27:23,941 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:27:24,022 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:27:25,545 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:27:25,579 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:27:25,579 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:27:26,280 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:27:26,348 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:27:27,040 - INFO - Getting IP for Windows interface: Connection-specific DNS Suffix . -2025-03-02 05:27:27,074 - INFO - Found IP 192.168.100.8 for interface Connection-specific DNS Suffix . -2025-03-02 05:27:27,075 - INFO - Scanning subnet: 192.168.100.0/24 -2025-03-02 05:27:27,751 - INFO - Gateway device found: 192.168.100.1 -2025-03-02 05:27:27,809 - INFO - Added this device: 192.168.100.8 (DESKTOP-02UC32Q) -2025-03-02 05:27:29,794 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:29,795 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:27:32,042 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:32,043 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:27:32,296 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:32] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:27:32,598 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:27:32,642 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:27:32,643 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:32] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:27:32,711 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:32] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:27:33,508 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:33,508 - INFO - Found device from ARP: 192.168.100.46 (unknown) -2025-03-02 05:27:35,484 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:35,484 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:27:37,708 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:37,709 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:27:39,633 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:39,634 - INFO - Found device from ARP: 192.168.100.79 (unknown) -2025-03-02 05:27:41,167 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:41,167 - INFO - Found device from ARP: 192.168.100.97 (unknown) -2025-03-02 05:27:43,340 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:43,341 - INFO - Found device from ARP: 192.168.100.97 (unknown) -2025-03-02 05:27:43,600 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:43] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:27:43,600 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:27:43,649 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:27:43,650 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:43] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:27:43,727 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:43] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:27:44,850 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:27:44] Request timed out: TimeoutError('timed out') -2025-03-02 05:27:45,261 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:45,262 - INFO - Found device from ARP: 192.168.100.97 (unknown) -2025-03-02 05:27:46,859 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:46,859 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:27:48,974 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:48,975 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:27:50,911 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:50,912 - INFO - Found device from ARP: 192.168.100.123 (unknown) -2025-03-02 05:27:52,535 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:52,535 - INFO - Found device from ARP: 192.168.100.125 (unknown) -2025-03-02 05:27:54,596 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:54] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:27:54,596 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:27:54,603 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:54,603 - INFO - Found device from ARP: 192.168.100.125 (unknown) -2025-03-02 05:27:54,642 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:27:54,643 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:54] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:27:54,709 - INFO - 127.0.0.1 - - [02/Mar/2025 05:27:54] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:27:55,848 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:27:55] Request timed out: TimeoutError('timed out') -2025-03-02 05:27:56,547 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:56,548 - INFO - Found device from ARP: 192.168.100.125 (unknown) -2025-03-02 05:27:58,239 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:27:58,240 - INFO - Found device from ARP: 192.168.100.136 (unknown) -2025-03-02 05:28:00,244 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:00,244 - INFO - Found device from ARP: 192.168.100.136 (unknown) -2025-03-02 05:28:02,203 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:02,204 - INFO - Found device from ARP: 192.168.100.136 (unknown) -2025-03-02 05:28:03,936 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:03,937 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:28:05,598 - INFO - 127.0.0.1 - - [02/Mar/2025 05:28:05] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:28:05,599 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:28:05,649 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:28:05,650 - INFO - 127.0.0.1 - - [02/Mar/2025 05:28:05] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:28:05,713 - INFO - 127.0.0.1 - - [02/Mar/2025 05:28:05] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:28:05,904 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:05,904 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:28:07,863 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:07,864 - INFO - Found device from ARP: 192.168.100.138 (unknown) -2025-03-02 05:28:09,619 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:09,619 - INFO - Found device from ARP: 192.168.100.152 (unknown) -2025-03-02 05:28:11,521 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:11,521 - INFO - Found device from ARP: 192.168.100.152 (unknown) -2025-03-02 05:28:13,498 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:13,499 - INFO - Found device from ARP: 192.168.100.152 (unknown) -2025-03-02 05:28:15,340 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:15,340 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:28:16,297 - INFO - 127.0.0.1 - - [02/Mar/2025 05:28:16] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:28:16,598 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:28:16,642 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:28:16,643 - INFO - 127.0.0.1 - - [02/Mar/2025 05:28:16] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:28:16,710 - INFO - 127.0.0.1 - - [02/Mar/2025 05:28:16] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:28:17,171 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:17,172 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:28:18,058 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:18,058 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:28:19,179 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:19,179 - INFO - Found device from ARP: 192.168.100.225 (unknown) -2025-03-02 05:28:19,953 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:19,953 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:28:23,755 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:23,756 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:28:25,101 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:25,101 - INFO - Found device from ARP: 192.168.100.231 (MACBOOKPRO-8C6F) -2025-03-02 05:28:25,579 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:25,580 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:28:27,598 - INFO - 127.0.0.1 - - [02/Mar/2025 05:28:27] "GET /api/stats/bandwidth HTTP/1.1" 200 - -2025-03-02 05:28:27,599 - INFO - Getting IP for Windows interface: Wi-Fi -2025-03-02 05:28:27,656 - ERROR - Error in network scan: Could not get IP for interface Wi-Fi -2025-03-02 05:28:27,657 - INFO - 127.0.0.1 - - [02/Mar/2025 05:28:27] "GET /api/devices?interface=Wi-Fi HTTP/1.1" 200 - -2025-03-02 05:28:27,723 - INFO - 127.0.0.1 - - [02/Mar/2025 05:28:27] "GET /api/network/gateway HTTP/1.1" 200 - -2025-03-02 05:28:28,848 - ERROR - 127.0.0.1 - - [02/Mar/2025 05:28:28] Request timed out: TimeoutError('timed out') -2025-03-02 05:28:29,454 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:29,455 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:28:30,750 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:30,751 - INFO - Found device from ARP: 192.168.100.232 (unknown) -2025-03-02 05:28:31,226 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:31,226 - INFO - Found device from ARP: 172.17.160.153 (unknown) -2025-03-02 05:28:36,383 - ERROR - Error getting WiFi signal strength: Command '['C:\\WINDOWS\\System32\\netsh.exe', 'wlan', 'show', 'interfaces']' returned non-zero exit status 1. -2025-03-02 05:28:36,384 - INFO - Found device from ARP: 172.17.160.153 (unknown) +2025-03-02 17:23:29,467 - INFO - Initializing Npcap support +2025-03-02 17:23:29,478 - INFO - Initializing Npcap... +2025-03-02 17:23:29,479 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-02 17:23:29,479 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-02 17:23:29,479 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-02 17:23:29,479 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-02 17:23:29,479 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-02 17:23:29,479 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-02 17:23:29,480 - ERROR - Failed to import Scapy modules: No module named 'scapy' +2025-03-02 17:23:29,480 - ERROR - Try reinstalling Npcap and check if WinPcap is also installed (they might conflict) +2025-03-02 17:23:29,480 - WARNING - Failed to initialize Npcap - some features may not work correctly +2025-03-02 17:23:29,480 - ERROR - Missing dependency: No module named 'flask' +2025-03-02 17:23:29,514 - INFO - Starting Network Monitor... +2025-03-02 17:23:29,514 - INFO - Python version: 3.13.1 (tags/v3.13.1:0671451, Dec 3 2024, 19:06:28) [MSC v.1942 64 bit (AMD64)] +2025-03-02 17:23:29,540 - INFO - Platform: Windows-11-10.0.26100-SP0 +2025-03-02 17:23:29,541 - INFO - Executable: C:\Python313\python.exe +2025-03-02 17:23:29,541 - INFO - Is frozen executable: False +2025-03-02 17:23:29,541 - INFO - Working directory: F:\networkmonitor +2025-03-02 17:23:29,541 - INFO - Log file: C:\Users\Umer Farooq\AppData\Local\NetworkMonitor\networkmonitor.log +2025-03-02 17:23:29,635 - INFO - Running with admin privileges +2025-03-02 17:23:29,637 - INFO - Network Monitor will be available at http://127.0.0.1:5000 +2025-03-02 17:23:29,731 - INFO - Application is running with console window +2025-03-02 17:23:30,736 - ERROR - Error starting server: No module named 'flask' +2025-03-02 18:47:55,544 - INFO - Initializing Npcap support +2025-03-02 18:47:55,545 - INFO - Initializing Npcap... +2025-03-02 18:47:55,546 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-02 18:47:55,546 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-02 18:47:55,546 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-02 18:47:55,547 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-02 18:47:55,547 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-02 18:47:55,547 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-02 18:47:55,554 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-02 18:47:55,555 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-02 20:15:25,500 - INFO - Initializing Npcap support +2025-03-02 20:15:25,501 - INFO - Initializing Npcap... +2025-03-02 20:15:25,502 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-02 20:15:25,502 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-02 20:15:25,503 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-02 20:15:25,503 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-02 20:15:25,503 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-02 20:15:25,504 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-02 20:15:25,512 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-02 20:15:25,512 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-02 21:02:39,824 - INFO - Initializing Npcap support +2025-03-02 21:02:39,825 - INFO - Initializing Npcap... +2025-03-02 21:02:39,825 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-02 21:02:39,825 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-02 21:02:39,826 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-02 21:02:39,826 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-02 21:02:39,826 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-02 21:02:39,834 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-02 21:02:39,842 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-02 21:02:39,842 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-02 21:12:26,526 - INFO - Initializing Npcap support +2025-03-02 21:12:26,527 - INFO - Initializing Npcap... +2025-03-02 21:12:26,528 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-02 21:12:26,528 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-02 21:12:26,528 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-02 21:12:26,529 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-02 21:12:26,529 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-02 21:12:26,529 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-02 21:12:26,536 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-02 21:12:26,536 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-02 21:21:24,811 - INFO - Initializing Npcap support +2025-03-02 21:21:24,812 - INFO - Initializing Npcap... +2025-03-02 21:21:24,812 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-02 21:21:24,812 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-02 21:21:24,812 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-02 21:21:24,813 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-02 21:21:24,813 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-02 21:21:24,814 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-02 21:21:24,821 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-02 21:21:24,822 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-02 21:23:47,574 - INFO - Initializing Npcap support +2025-03-02 21:23:47,581 - INFO - Initializing Npcap... +2025-03-02 21:23:47,582 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-02 21:23:47,582 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-02 21:23:47,583 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-02 21:23:47,583 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-02 21:23:47,583 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-02 21:23:47,583 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-02 21:23:47,803 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-02 21:23:47,804 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-03 01:56:27,958 - INFO - Initializing Npcap support +2025-03-03 01:56:27,959 - INFO - Initializing Npcap... +2025-03-03 01:56:27,960 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-03 01:56:27,960 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-03 01:56:27,960 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-03 01:56:27,960 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-03 01:56:27,961 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-03 01:56:27,961 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-03 01:56:27,970 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-03 01:56:27,971 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-03 02:01:08,330 - INFO - Initializing Npcap support +2025-03-03 02:01:08,331 - INFO - Initializing Npcap... +2025-03-03 02:01:08,331 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-03 02:01:08,332 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-03 02:01:08,340 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-03 02:01:08,340 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-03 02:01:08,340 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-03 02:01:08,341 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-03 02:01:08,348 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-03 02:01:08,349 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-03 02:06:05,736 - INFO - Initializing Npcap support +2025-03-03 02:06:05,737 - INFO - Initializing Npcap... +2025-03-03 02:06:05,738 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-03 02:06:05,738 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-03 02:06:05,738 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-03 02:06:05,739 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-03 02:06:05,739 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-03 02:06:05,739 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-03 02:06:05,746 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-03 02:06:05,746 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-03 20:44:32,231 - INFO - Initializing Npcap support +2025-03-03 20:44:32,232 - INFO - Initializing Npcap... +2025-03-03 20:44:32,233 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-03 20:44:32,234 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-03 20:44:32,234 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-03 20:44:32,234 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-03 20:44:32,235 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-03 20:44:32,235 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-03 20:44:32,245 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-03 20:44:32,246 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-03 22:21:06,074 - INFO - Initializing Npcap support +2025-03-03 22:21:06,075 - INFO - Initializing Npcap... +2025-03-03 22:21:06,075 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-03 22:21:06,076 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-03 22:21:06,076 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-03 22:21:06,076 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-03 22:21:06,077 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-03 22:21:06,077 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-03 22:21:06,097 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-03 22:21:06,097 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} diff --git a/networkmonitor/__init__.py b/networkmonitor/__init__.py index 970c3f6..e3e09d4 100644 --- a/networkmonitor/__init__.py +++ b/networkmonitor/__init__.py @@ -1,4 +1,6 @@ -"""Network Monitor Package""" +""" +Network Monitor - A network monitoring and control tool +""" import logging import sys import platform @@ -6,8 +8,9 @@ from pathlib import Path __version__ = "0.1.0" +__author__ = "Network Monitor Team" -# Setup logging first +# Setup basic logging configuration logging.basicConfig( level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s', @@ -19,7 +22,7 @@ logger = logging.getLogger(__name__) -# Initialize Npcap early if on Windows +# Initialize platform-specific modules if platform.system() == "Windows": try: logger.info("Initializing Npcap support") diff --git a/networkmonitor/cli.py b/networkmonitor/cli.py index 1e5715a..b88715c 100644 --- a/networkmonitor/cli.py +++ b/networkmonitor/cli.py @@ -1,129 +1,142 @@ -import click -import webbrowser -import time -from pathlib import Path -import sys +""" +Network Monitor CLI Entry Point +This module provides the command-line interface for NetworkMonitor +""" import os +import sys +import logging import platform -from .server import create_app -from .monitor import NetworkController +import click +from pathlib import Path -def get_controller(): - """Get or create NetworkController instance""" - if not hasattr(get_controller, 'instance'): - get_controller.instance = NetworkController() - return get_controller.instance +# Fix import issues when running as executable or directly +if __package__ is None or __package__ == '': + # Add parent directory to path for direct script execution + sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) + from networkmonitor import dependency_check + from networkmonitor.dependency_check import DependencyChecker + from networkmonitor.launcher import main as launcher_main +else: + # Normal relative imports for package imports + from . import dependency_check + from .dependency_check import DependencyChecker + from .launcher import main as launcher_main -@click.group() -def main(): - """Network Monitor CLI""" - pass +# Configure logging +logging.basicConfig( + level=logging.INFO, + format='%(asctime)s - %(levelname)s - %(message)s', + handlers=[ + logging.FileHandler('networkmonitor.log'), + logging.StreamHandler() + ] +) -@main.command() -@click.option('--host', default='127.0.0.1', help='Host to bind to') -@click.option('--port', default=5000, help='Port to bind to') -@click.option('--no-browser', is_flag=True, help='Do not open browser automatically') -def start(host, port, no_browser): - """Start the Network Monitor server""" - # Create Flask app - app = create_app() - controller = get_controller() - - click.echo(f"Starting Network Monitor on http://{host}:{port}") - - # Start the monitoring in background +logger = logging.getLogger(__name__) + +@click.group(invoke_without_command=True) +@click.version_option(package_name='networkmonitor') +@click.pass_context +def cli(ctx): + """Network Monitor - A tool for monitoring and protecting your network.""" + # If no subcommand is specified, run the GUI command + if ctx.invoked_subcommand is None: + logger.info("No command specified, starting GUI") + ctx.invoke(gui) + +@cli.command('gui') +@click.option('--port', default=5000, help='Port to run the server on') +@click.option('--host', default='127.0.0.1', help='Host to bind the server to') +def gui(port, host): + """Start the Network Monitor GUI.""" + # Before launching, check dependencies try: - controller.start_monitoring() - click.echo("Network monitoring started successfully") - except Exception as e: - click.echo(f"Error starting monitoring: {e}", err=True) - sys.exit(1) - - # Open browser after a short delay - if not no_browser: - def open_browser(): - time.sleep(1.5) # Wait for server to start - webbrowser.open(f'http://{host}:{port}') + checker = DependencyChecker() + all_ok, missing, warnings = checker.check_all_dependencies() - from threading import Thread - Thread(target=open_browser, daemon=True).start() - - # Start the Flask server - try: - app.run(host=host, port=port) + if missing: + click.echo("Missing required dependencies:") + for dep in missing: + click.echo(f"- {dep}") + + click.echo("\nPlease install missing dependencies:") + instructions = checker.get_installation_instructions() + for dep in missing: + if dep in instructions: + click.echo(f"\n{dep}:") + click.echo(instructions[dep]) + + if not click.confirm("Continue anyway?"): + return except Exception as e: - click.echo(f"Error starting server: {e}", err=True) - controller.stop_monitoring() - sys.exit(1) - -@main.command() -def install(): - """Install required dependencies""" - from .install import main as install_main - install_main() - -@main.command() -def stop(): - """Stop the Network Monitor server and monitoring""" - controller = get_controller() - controller.stop_monitoring() - click.echo("Network Monitor stopped") + logger.error(f"Error checking dependencies: {e}") + # Continue anyway to show the UI with error message + + # Launch the GUI + launcher_main() -@main.command() -def status(): - """Check the status of Network Monitor""" - controller = get_controller() - if controller.monitoring_thread and controller.monitoring_thread.is_alive(): - click.echo("Network Monitor is running") +@cli.command('check') +def check_dependencies(): + """Check if all dependencies are installed.""" + click.echo("Checking dependencies...") + checker = DependencyChecker() + all_ok, missing, warnings = checker.check_all_dependencies() + + if all_ok: + click.echo("✅ All required dependencies are installed.") else: - click.echo("Network Monitor is not running") - -@main.command() -def launch(): - """Launch the Network Monitor application (GUI mode)""" - try: - from .launcher import main as launch_main - sys.exit(launch_main()) - except ImportError: - click.echo("Launcher module not found. Using standard CLI.") - start.callback(host='127.0.0.1', port=5000, no_browser=False) - -def check_admin_privileges(): - """Check if running with admin/root privileges""" - try: - if platform.system() == "Windows": - import ctypes - return ctypes.windll.shell32.IsUserAnAdmin() - else: - return os.geteuid() == 0 - except: - return False + click.echo("❌ Some dependencies are missing:") + for dep in missing: + click.echo(f"- {dep}") + + if warnings: + click.echo("\nWarnings:") + for warning in warnings: + click.echo(f"- {warning}") -def startup_checks(): - """Perform startup checks before running""" - # Check for admin privileges - if not check_admin_privileges(): - click.echo("WARNING: Network Monitor requires administrator privileges for some features.") - click.echo("Consider running this application as Administrator (Windows) or with sudo (Linux/Mac).") +@cli.command('install') +def install(): + """Install required system dependencies.""" + if platform.system() == 'Windows': + # Windows needs admin privileges + import ctypes + if not ctypes.windll.shell32.IsUserAnAdmin(): + click.echo("❌ This command needs to be run as Administrator.") + return - # Check Python version - if sys.version_info < (3, 8): - click.echo("ERROR: Python 3.8 or higher is required.") - sys.exit(1) + click.echo("Installing dependencies...") - return True + # Import the install module and run installation + try: + # Try to find the install script + install_script = Path(__file__).parent.parent / "install.py" + if install_script.exists(): + # Run the install script + sys.path.insert(0, str(install_script.parent)) + import install + result = install.main() + if result == 0: + click.echo("✅ Dependencies installed successfully.") + else: + click.echo("❌ Failed to install dependencies.") + else: + click.echo("❌ Installation script not found.") + except Exception as e: + click.echo(f"❌ Error during installation: {e}") -# Entry point with startup checks def entry_point(): - """Entry point for the application with startup checks""" - startup_checks() - - # If no arguments, default to GUI launch - if len(sys.argv) == 1: - sys.argv.append('launch') - - # Run the CLI - main() + """Entry point for console_script.""" + try: + cli() + except Exception as e: + logger.exception(f"Error in CLI: {e}") + click.echo(f"Error: {e}", err=True) + + # Keep the window open if there's an error + if getattr(sys, 'frozen', False): + click.echo("\nPress Enter to exit...") + input() + sys.exit(1) if __name__ == '__main__': entry_point() \ No newline at end of file diff --git a/networkmonitor/dependency_check.py b/networkmonitor/dependency_check.py index 0ecb3d5..943dcde 100644 --- a/networkmonitor/dependency_check.py +++ b/networkmonitor/dependency_check.py @@ -1,308 +1,164 @@ -""" -Network Monitor Dependency Checker -""" - +"""Dependency checking module for NetworkMonitor""" +import os import sys -import platform -import subprocess import logging -import importlib.util -import os -import ctypes -from typing import List, Dict, Tuple, Optional, Any +import subprocess +import pkg_resources +import platform logger = logging.getLogger(__name__) -# Required dependencies by platform -DEPENDENCIES = { - "common": ["flask", "click", "scapy", "psutil", "ifaddr"], - "Windows": ["wmi", "win32com", "pywin32"], - "Linux": ["iptc"], # python-iptables - "Darwin": ["netifaces"] # For macOS -} - -# Npcap paths to check on Windows -NPCAP_PATHS = [ - r"C:\Windows\System32\Npcap", - r"C:\Program Files\Npcap", - r"C:\Program Files (x86)\Npcap" -] - - class DependencyChecker: - """Class for checking and managing dependencies for Network Monitor""" + """Class for checking and managing NetworkMonitor dependencies""" def __init__(self): - self.current_os = platform.system() - self.logger = logging.getLogger(__name__) + """Initialize the dependency checker""" + self.checks = [ + ("Python Version", self._check_python_version), + ] + + if platform.system() == "Windows": + self.checks.append(("Npcap", self._check_npcap)) + + self.checks.append(("Python Packages", self._check_pip_packages)) - def is_admin(self) -> bool: - """Check if the application is running with administrative privileges.""" - try: - if platform.system() == "Windows": - return ctypes.windll.shell32.IsUserAnAdmin() != 0 - else: - return os.geteuid() == 0 - except Exception: - return False - - def check_all_dependencies(self) -> Tuple[bool, List[str], List[str]]: + def check_all_dependencies(self): """ Check all dependencies and return status Returns: - Tuple of (is_ready, missing_dependencies, warnings) - """ - missing, warnings = self.check_dependencies() - return len(missing) == 0, missing, warnings - - def check_dependencies(self) -> Tuple[List[str], List[str]]: - """ - Check for required dependencies based on the platform. - - Returns: - Tuple containing lists of missing dependencies and warnings + Tuple[bool, List[str], List[str]]: (passed, missing_deps, warnings) """ - missing = [] + all_passed = True + missing_deps = [] warnings = [] - # Check admin privileges - if not self.is_admin(): - warnings.append("Network Monitor is not running with administrative privileges. Some features may not work.") - - # Check common dependencies - for dep in DEPENDENCIES["common"]: - if not importlib.util.find_spec(dep): - missing.append(dep) - - # Check OS-specific dependencies - if self.current_os in DEPENDENCIES: - for dep in DEPENDENCIES[self.current_os]: - if dep == "pywin32": - try: - import win32com - import win32api - import win32con - except ImportError: - missing.append(dep) - else: - if not importlib.util.find_spec(dep): - missing.append(dep) - - # Special checks for Windows - if self.current_os == "Windows": - # Check Npcap - npcap_status = self.check_npcap() - if not npcap_status.get('scapy_compatible', False): - missing.append("Npcap packet capture library") - warning_msg = npcap_status.get('error') or "Npcap not properly configured" - warnings.append(warning_msg) - - # Specific checks for Linux - elif self.current_os == "Linux": - # Check if we have permission to use raw sockets - if not self.can_use_raw_sockets(): - warnings.append("Cannot use raw sockets. Some monitoring features may not work.") - - return missing, warnings - - def check_npcap(self) -> Dict[str, Any]: - """ - Check Npcap installation and configuration status - - Returns: - Dict containing Npcap status information - """ - status = { - 'installed': False, - 'scapy_compatible': False, - 'path': None, - 'status': 'not_installed', - 'error': None, - 'dll_files': [] - } + for name, check_func in self.checks: + passed, message = check_func() + if not passed: + all_passed = False + missing_deps.append(f"{name}: {message}") + logger.error(f"Dependency check failed - {name}: {message}") + else: + logger.info(f"Dependency check passed - {name}") + return all_passed, missing_deps, warnings + + def _check_python_version(self): + """Check if Python version meets requirements""" + required_version = (3, 9) + current_version = sys.version_info[:2] + + if current_version < required_version: + return False, f"Python {required_version[0]}.{required_version[1]} or higher required (current: {current_version[0]}.{current_version[1]})" + return True, None + + def _check_npcap(self): + """Check if Npcap is installed (Windows only)""" + if platform.system() != "Windows": + return True, None + # Check for Npcap installation - for path in NPCAP_PATHS: - if os.path.exists(path): - status['installed'] = True - status['path'] = path - status['status'] = 'installed' - - # Check for critical DLLs - wpcap_dll = os.path.join(path, "wpcap.dll") - packet_dll = os.path.join(path, "Packet.dll") - - if os.path.exists(wpcap_dll): - status['dll_files'].append("wpcap.dll") - - if os.path.exists(packet_dll): - status['dll_files'].append("Packet.dll") - - break + npcap_paths = [ + "C:\\Windows\\System32\\Npcap", + "C:\\Program Files\\Npcap", + "C:\\Program Files (x86)\\Npcap" + ] - # If installed, check Scapy compatibility - if status['installed']: - try: - # First check if we can import Scapy - import scapy.all + for path in npcap_paths: + if os.path.exists(path): + return True, None - # Try to import and use the Windows-specific module - try: - from scapy.arch.windows import get_windows_if_list - interfaces = get_windows_if_list() - - # If we got here without an exception, Npcap is working with Scapy - status['scapy_compatible'] = True - except ImportError as e: - status['status'] = 'import_error' - status['error'] = f"Scapy Windows module not available: {str(e)}" - except Exception as e: - status['status'] = 'config_error' - status['error'] = f"Scapy cannot use Npcap: {str(e)}" - - except Exception as e: - status['error'] = f"Error checking Scapy compatibility: {str(e)}" - - return status - - def fix_npcap(self) -> Tuple[bool, str]: - """ - Attempt to fix Npcap integration with Scapy - - Returns: - Tuple of (success, message) - """ - if platform.system() != "Windows": - return False, "Npcap fix is only applicable on Windows" - + return False, "Npcap is not installed. Please download and install from https://npcap.com" + + def _check_pip_packages(self): + """Check if required pip packages are installed""" try: - # Try to import the npcap_helper module - from .npcap_helper import initialize_npcap, get_npcap_info - - # Run initialization - success = initialize_npcap() + with open(os.path.join(os.path.dirname(__file__), '..', 'requirements.txt'), 'r') as f: + required = [line.strip() for line in f if line.strip() and not line.startswith('#')] - if success: - npcap_info = get_npcap_info() - return True, f"Npcap initialized successfully: {npcap_info}" + # Filter platform-specific requirements + if platform.system() == "Windows": + required = [req for req in required if "sys_platform == 'linux'" not in req] else: - return False, "Failed to initialize Npcap" - + required = [req for req in required if "sys_platform == 'win32'" not in req] + + # Clean up conditional markers + required = [req.split(';')[0].strip() for req in required] + + pkg_resources.require(required) + return True, None + except pkg_resources.DistributionNotFound as e: + return False, f"Missing Python package: {e.req}" + except pkg_resources.VersionConflict as e: + return False, f"Version conflict: {e.req}" except Exception as e: - return False, f"Error fixing Npcap: {str(e)}" - - def can_use_raw_sockets(self) -> bool: - """Check if the application can use raw sockets (needed for packet capture)""" - try: - import socket - s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_ICMP) - s.close() - return True - except Exception: - return False - - def get_installation_instructions(self) -> Dict[str, str]: - """ - Get installation instructions for missing dependencies - - Returns: - Dict mapping dependency name to installation instructions - """ - return { - "flask": "Install with: pip install flask", - "click": "Install with: pip install click", - "scapy": "Install with: pip install scapy", - "psutil": "Install with: pip install psutil", - "ifaddr": "Install with: pip install ifaddr", - "wmi": "Install with: pip install wmi", - "win32com": "Install with: pip install pywin32", - "pywin32": "Install with: pip install pywin32", - "iptc": "Install with: pip install python-iptables", - "netifaces": "Install with: pip install netifaces", - "Npcap packet capture library": "Download and install from https://npcap.com/#download. Be sure to check the 'Install Npcap in WinPcap API-compatible Mode' option during installation." - } - - def check_all(self) -> Dict: - """ - Run all dependency checks and return a detailed report - - Returns: - Dict containing dependency check results - """ - missing, warnings = self.check_dependencies() - - result = { - "missingDeps": missing, - "warnings": warnings, - "isAdmin": self.is_admin(), - "instructions": self.get_installation_instructions(), + return False, f"Error checking Python packages: {str(e)}" + + def get_installation_instructions(self): + """Get detailed installation instructions for missing dependencies""" + instructions = { + "Python Version": """ +Python 3.9 or later is required. +Download and install from https://python.org +""", + "Npcap": """ +Npcap is required for network packet capture. +1. Download from https://npcap.com +2. Run the installer as administrator +3. Select "Install Npcap in WinPcap API-compatible Mode" +""", + "Python Packages": """ +Required Python packages are missing. +Run the following command to install them: +pip install -r requirements.txt +""" } - - # Add Npcap status for Windows - if platform.system() == "Windows": - result["npcapStatus"] = self.check_npcap() - - return result + return instructions +# For backwards compatibility, keep the standalone functions +def check_python_version(): + """Check if Python version meets requirements""" + return DependencyChecker()._check_python_version() -# Keep the function-based API for backward compatibility -def is_admin() -> bool: - """Check if the application is running with administrative privileges.""" - checker = DependencyChecker() - return checker.is_admin() +def check_npcap(): + """Check if Npcap is installed (Windows only)""" + return DependencyChecker()._check_npcap() -def check_dependencies() -> Tuple[List[str], List[str]]: - """Check for required dependencies based on the platform.""" - checker = DependencyChecker() - return checker.check_dependencies() +def check_pip_packages(): + """Check if required pip packages are installed""" + return DependencyChecker()._check_pip_packages() -def check_npcap() -> Dict[str, Any]: - """Check Npcap installation and configuration status""" +def check_system_requirements(): + """Check system requirements and dependencies""" checker = DependencyChecker() - return checker.check_npcap() + all_passed, missing_deps, _ = checker.check_all_dependencies() + + message = "" + if not all_passed: + installation_guide = """ +Please install the missing requirements: -def fix_npcap() -> Tuple[bool, str]: - """Attempt to fix Npcap integration with Scapy""" - checker = DependencyChecker() - return checker.fix_npcap() +1. Python 3.9 or later: + - Download from https://python.org -def can_use_raw_sockets() -> bool: - """Check if the application can use raw sockets""" - checker = DependencyChecker() - return checker.can_use_raw_sockets() +2. Npcap (Windows only): + - Download from https://npcap.com + - Install with "WinPcap API-compatible Mode" option -def get_missing_dependency_info() -> Dict[str, str]: - """Get installation instructions for missing dependencies""" - checker = DependencyChecker() - return checker.get_installation_instructions() - -def check_all() -> Dict: - """Run all dependency checks and return a detailed report""" - checker = DependencyChecker() - return checker.check_all() +3. Python packages: + - Run: pip install -r requirements.txt +For detailed installation instructions, please refer to the documentation. +""" + message = "\n".join(missing_deps) + "\n" + installation_guide + + return all_passed, message if __name__ == "__main__": - # Configure basic logging logging.basicConfig(level=logging.INFO) - - # Create a checker instance - checker = DependencyChecker() - - # Check dependencies - missing, warnings = checker.check_dependencies() - - # Print results - if missing: - logger.error(f"Missing dependencies: {', '.join(missing)}") - else: - logger.info("All required dependencies are installed") - - for warning in warnings: - logger.warning(warning) - - # Special checks for Windows - if platform.system() == "Windows": - npcap_status = checker.check_npcap() - logger.info(f"Npcap status: {npcap_status}") \ No newline at end of file + passed, message = check_system_requirements() + if not passed: + print(message) + sys.exit(1) + print("All dependency checks passed!") \ No newline at end of file diff --git a/networkmonitor/launcher.py b/networkmonitor/launcher.py index 902a531..9256410 100644 --- a/networkmonitor/launcher.py +++ b/networkmonitor/launcher.py @@ -1,100 +1,656 @@ -#!/usr/bin/env python """ Network Monitor Application Launcher This script launches both the backend server and opens the web interface """ -import sys import os +import sys import time -import logging +import platform import threading import webbrowser -import platform -import subprocess -import signal +import logging +import traceback +import tempfile +import ctypes +import requests +import socket +import tkinter as tk from pathlib import Path +from .dependency_check import check_system_requirements + +# Setup consistent logging across all modules +def setup_logging(): + """Configure logging to write to both file and console with proper formatting""" + if getattr(sys, 'frozen', False): + # We're running in a PyInstaller bundle + base_dir = os.path.dirname(sys.executable) + else: + # We're running in a normal Python environment + base_dir = os.path.dirname(os.path.abspath(__file__)) + + # Setup log directory + if platform.system() == 'Windows': + log_dir = os.path.join(os.environ.get('LOCALAPPDATA', ''), 'NetworkMonitor', 'logs') + else: + log_dir = os.path.join(os.path.expanduser('~'), '.networkmonitor', 'logs') + + os.makedirs(log_dir, exist_ok=True) + log_file = os.path.join(log_dir, 'networkmonitor.log') + + # Configure root logger + root_logger = logging.getLogger() + root_logger.setLevel(logging.DEBUG) # Set to DEBUG for development + + # Create formatters + file_formatter = logging.Formatter( + '%(asctime)s - %(levelname)s - %(name)s - %(message)s' + ) + console_formatter = logging.Formatter( + '%(asctime)s - %(levelname)s - %(message)s' + ) + + # File handler + try: + file_handler = logging.FileHandler(log_file) + file_handler.setLevel(logging.DEBUG) + file_handler.setFormatter(file_formatter) + root_logger.addHandler(file_handler) + except Exception as e: + print(f"Warning: Could not create log file at {log_file}: {e}") + + # Console handler + console_handler = logging.StreamHandler(sys.stdout) + console_handler.setLevel(logging.INFO) + console_handler.setFormatter(console_formatter) + root_logger.addHandler(console_handler) -# Configure logging -logging.basicConfig( - level=logging.INFO, - format='%(asctime)s - %(levelname)s - %(message)s', - handlers=[ - logging.FileHandler('networkmonitor_launcher.log'), - logging.StreamHandler() - ] -) - -def is_port_in_use(port): + return log_file + +# Initialize logging first thing +log_file = setup_logging() +logger = logging.getLogger(__name__) + +# Log startup information +logger.info("="*50) +logger.info("Network Monitor Starting") +logger.info("="*50) +logger.info(f"Python version: {sys.version}") +logger.info(f"Platform: {platform.platform()}") +logger.info(f"Working directory: {os.getcwd()}") +logger.info(f"Log file: {log_file}") + +def is_admin(): + """Check if the application is running with admin privileges""" + try: + if platform.system() == "Windows": + return ctypes.windll.shell32.IsUserAnAdmin() != 0 + else: + return os.geteuid() == 0 + except Exception as e: + logger.error(f"Error checking admin privileges: {e}") + return False + +def restart_as_admin(): + """Restart the current script with admin privileges""" + if platform.system() == "Windows": + script = sys.argv[0] + try: + ctypes.windll.shell32.ShellExecuteW(None, "runas", sys.executable, script, None, 1) + except Exception as e: + logger.error(f"Failed to restart as admin: {e}") + print(f"Error requesting admin privileges: {e}") + sys.exit() + else: + # For Linux/Mac, suggest using sudo + print("Please run this application with sudo privileges") + sys.exit(1) + +def is_port_in_use(port, host='127.0.0.1'): """Check if a port is already in use""" - import socket with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: - return s.connect_ex(('localhost', port)) == 0 + try: + s.bind((host, port)) + return False + except socket.error: + return True + +def wait_for_server(url, max_retries=30, retry_delay=1): + """ + Wait for server to be available + + Args: + url (str): URL to check + max_retries (int): Maximum number of retries + retry_delay (float): Delay between retries in seconds + + Returns: + bool: True if server is available, False otherwise + """ + logger.info(f"Waiting for server at {url}") + + for i in range(max_retries): + try: + response = requests.get(url, timeout=2) + if response.status_code == 200: + logger.info(f"Server is available at {url}") + return True + else: + logger.debug(f"Server returned status {response.status_code}") + except requests.RequestException: + pass + + # Wait before retrying + if i < max_retries - 1: + time.sleep(retry_delay) + + logger.error(f"Server not available after {max_retries} attempts") + return False + +def open_browser(url): + """Open web browser to specified URL""" + try: + logger.info(f"Opening web browser to {url}") + webbrowser.open(url) + return True + except Exception as e: + logger.error(f"Failed to open web browser: {e}") + return False -def start_backend(host='127.0.0.1', port=5000): - """Start the backend server""" - from .server import create_app - from .monitor import NetworkController +def create_console_window(): + """Create a simple console window to display logs and status""" + if platform.system() == "Windows": + try: + from tkinter import scrolledtext + import threading + + # Configure font sizes based on screen resolution + try: + root = tk.Tk() + screen_width = root.winfo_screenwidth() + font_size = 10 if screen_width > 1920 else 9 + button_font_size = 10 if screen_width > 1920 else 9 + root.destroy() + except: + font_size = 9 + button_font_size = 9 + + console_root = tk.Tk() + console_root.title("Network Monitor") + console_root.geometry("800x400") + console_root.minsize(640, 300) + + # Set window icon if available + try: + if getattr(sys, 'frozen', False): + base_path = os.path.dirname(sys.executable) + else: + base_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + + icon_path = os.path.join(base_path, "assets", "icon.ico") + if os.path.exists(icon_path): + console_root.iconbitmap(icon_path) + except Exception as e: + logger.debug(f"Could not set window icon: {e}") + + # Prevent closing with X button (use Exit button instead) + console_root.protocol("WM_DELETE_WINDOW", lambda: None) + + # Main content frame + main_frame = tk.Frame(console_root) + main_frame.pack(fill=tk.BOTH, expand=True, padx=10, pady=5) + + # Status frame (top) + status_frame = tk.Frame(main_frame) + status_frame.pack(fill=tk.X, pady=(0, 5)) + + status_label = tk.Label(status_frame, text="Status: Starting...", font=("Arial", font_size)) + status_label.pack(side=tk.LEFT, padx=5) + + # Create a variable to track server status + server_running = tk.BooleanVar(value=False) + + # Function to update status display + def update_status_display(is_running=None, message=None): + if is_running is not None: + server_running.set(is_running) + + if server_running.get(): + status_label.config(text="Status: Running", fg="green") + open_button.config(state=tk.NORMAL) + else: + status_msg = message if message else "Not Running" + status_label.config(text=f"Status: {status_msg}", fg="red") + open_button.config(state=tk.DISABLED) + + console_root.update_idletasks() + + # URL display + url_frame = tk.Frame(main_frame) + url_frame.pack(fill=tk.X, pady=5) + + url_label = tk.Label(url_frame, text="Web Interface:", font=("Arial", font_size)) + url_label.pack(side=tk.LEFT, padx=5) + + url_var = tk.StringVar(value="http://localhost:5000") + url_entry = tk.Entry(url_frame, textvariable=url_var, width=40, font=("Arial", font_size)) + url_entry.pack(side=tk.LEFT, padx=5, fill=tk.X, expand=True) + + # Create text area for logs + log_frame = tk.Frame(main_frame) + log_frame.pack(fill=tk.BOTH, expand=True, pady=5) + + log_label = tk.Label(log_frame, text="Application Log:", font=("Arial", font_size)) + log_label.pack(anchor=tk.W, padx=5) + + log_display = scrolledtext.ScrolledText(log_frame, height=15, font=("Consolas", font_size)) + log_display.pack(fill=tk.BOTH, expand=True, padx=5, pady=(0, 5)) + log_display.insert(tk.END, f"Network Monitor started\nLogs available at: {log_file}\n\n") + + # Button frame (bottom) + button_frame = tk.Frame(main_frame) + button_frame.pack(fill=tk.X, pady=(5, 10)) + + open_button = tk.Button(button_frame, text="Open in Browser", + command=lambda: webbrowser.open(url_var.get()), + state=tk.DISABLED, font=("Arial", button_font_size)) + open_button.pack(side=tk.LEFT, padx=5) + + restart_button = tk.Button(button_frame, text="Restart Service", + command=lambda: restart_server(), + font=("Arial", button_font_size)) + restart_button.pack(side=tk.LEFT, padx=5) + + exit_button = tk.Button(button_frame, text="Exit", + command=lambda: os._exit(0), + font=("Arial", button_font_size)) + exit_button.pack(side=tk.RIGHT, padx=5) + + # Server controller reference + server_controller = {"instance": None, "url": None, "thread": None} + + # Function to restart the server + def restart_server(): + nonlocal server_controller + try: + update_status_display(False, "Restarting...") + log_display.insert(tk.END, "\nRestarting server...\n") + log_display.see(tk.END) + + # Stop existing controller if running + if server_controller["instance"] is not None: + try: + server_controller["instance"].stop_monitoring() + log_display.insert(tk.END, "Stopped previous monitoring.\n") + except Exception as e: + log_display.insert(tk.END, f"Error stopping previous monitor: {e}\n") + + # Wait for previous thread to finish + if server_controller["thread"] is not None and server_controller["thread"].is_alive(): + server_controller["thread"].join(timeout=5) + + # Start new server + log_display.insert(tk.END, "Starting new server...\n") + + # Get host and port from URL + url = url_var.get() + host = "127.0.0.1" # Default + port = 5000 # Default + + if "://" in url: + url_parts = url.split("://")[1].split(":") + if len(url_parts) > 0: + host_part = url_parts[0] + if host_part: + host = host_part + if len(url_parts) > 1: + port_part = url_parts[1].split("/")[0] + if port_part.isdigit(): + port = int(port_part) + + # Create thread to start server + server_thread = threading.Thread( + target=lambda: start_server_with_feedback(host, port, update_status_display, log_display), + daemon=True + ) + server_thread.start() + server_controller["thread"] = server_thread + + except Exception as e: + log_display.insert(tk.END, f"Error restarting server: {e}\n") + log_display.see(tk.END) + + # Function to update log display + def update_logs(): + try: + with open(log_file, 'r') as f: + # Start from the end of the file if it's large + if f.seek(0, 2) > 10000: # If file is > 10KB + f.seek(-10000, 2) # Read last 10KB + f.readline() # Skip partial line + else: + f.seek(0) # Otherwise read from start + log_text = f.read() + + log_display.delete(1.0, tk.END) + log_display.insert(tk.END, log_text) + log_display.see(tk.END) + except Exception as e: + log_display.insert(tk.END, f"\nError reading log: {e}\n") + + # Schedule next update + console_root.after(2000, update_logs) + + # Function to start server with UI feedback + def start_server_with_feedback(host, port, update_status_fn, log_widget): + nonlocal server_controller + try: + log_widget.insert(tk.END, f"Starting server on {host}:{port}...\n") + log_widget.see(tk.END) + + # Start the server and store controller reference + success, controller = start_server(host, port) + server_controller["instance"] = controller + server_controller["url"] = f"http://{host}:{port}" + + if success: + log_widget.insert(tk.END, "Server started successfully.\n") + # Update URL if it was changed + if server_controller["url"] != url_var.get(): + url_var.set(server_controller["url"]) + update_status_fn(True) + else: + log_widget.insert(tk.END, "Failed to start server.\n") + update_status_fn(False, "Failed") + + log_widget.see(tk.END) + except Exception as e: + log_widget.insert(tk.END, f"Error starting server: {e}\n") + log_widget.see(tk.END) + update_status_fn(False, "Error") + + # Set up periodic log updates + update_logs() + + # Start server automatically + console_root.after(1000, restart_server) + + return console_root + except Exception as e: + logger.error(f"Failed to create console window: {e}") + return None + + return None - # Initialize controller - controller = NetworkController() +def start_server(host='127.0.0.1', port=5000): + """ + Start the Flask server with proper error handling + + Returns: + Tuple[bool, NetworkController]: Success flag and the controller instance if successful + """ + # First try relative imports and then fall back to absolute imports + controller = None + + # Define SplashScreen class first to ensure it's available in all code paths + class SimpleSplashScreen: + def update_status(self, msg, progress=None): + logger.info(msg) + def close(self): + pass + + # Create a splash instance that will be available throughout this function + splash = SimpleSplashScreen() try: - # Start monitoring - controller.start_monitoring() - logging.info("Network monitoring started") + # Try importing the proper splash screen + try: + from .splash import SplashScreen + splash = SplashScreen() + except ImportError: + try: + from networkmonitor.splash import SplashScreen + splash = SplashScreen() + except ImportError: + # We're already using the SimpleSplashScreen defined above + pass - # Create and start Flask app - app = create_app() - app.run(host=host, port=port) + # Show the splash if it has a show method + if hasattr(splash, 'show'): + splash.show() + + # Try to import server components + try: + # Try relative import first + from .server import create_app + from .monitor import NetworkController + splash.update_status("Imported server modules", 30) + except ImportError: + # Try absolute import if relative fails + try: + import networkmonitor.server + import networkmonitor.monitor + from networkmonitor.server import create_app + from networkmonitor.monitor import NetworkController + splash.update_status("Imported server modules", 30) + except ImportError as e: + logger.error(f"ImportError: Failed to import server modules: {e}") + splash.update_status(f"Error: Failed to import server modules. {e}", 100) + return False, None + except Exception as e: + logger.error(f"Critical error importing server components: {e}") + splash.update_status(f"Error importing modules: {e}", 100) + return False, None + + try: + # Initialize controller + logger.info("Initializing network controller") + splash.update_status("Initializing network controller", 40) + controller = NetworkController() + + # Start monitoring + logger.info("Starting network monitoring") + splash.update_status("Starting network monitoring", 50) + controller.start_monitoring() + logger.info("Network monitoring started") + except Exception as e: + logger.warning(f"Error setting up network monitoring: {e}") + splash.update_status(f"Error setting up network monitoring: {e}", 60) + # Continue anyway to try to start the web interface + + try: + # Create and start Flask app + logger.info(f"Starting Flask server on {host}:{port}") + splash.update_status("Starting web server", 70) + app = create_app(host=host, port=port) + + # Start Flask app in a separate thread to avoid blocking + server_thread = threading.Thread( + target=lambda: app.run(host=host, port=port, debug=False, use_reloader=False), + daemon=False # Changed to non-daemon so it keeps running + ) + server_thread.start() + + # Wait for server to come online + splash.update_status("Waiting for server to start", 80) + server_url = f"http://{host}:{port}" + if wait_for_server(server_url): + # Server started successfully, open browser + splash.update_status("Opening web browser", 90) + open_browser(server_url) + splash.update_status("Application started successfully", 100) + time.sleep(1) # Give time to see the success message + return True, controller + else: + # Server failed to start + splash.update_status("Server failed to start", 100) + logger.error("Server failed to start in time") + if controller: + controller.stop_monitoring() + time.sleep(3) # Show error message for a while + return False, None + except Exception as e: + logger.error(f"Error starting web server: {e}") + splash.update_status(f"Error starting web server: {e}", 100) + if controller: + controller.stop_monitoring() + return False, None + except Exception as e: - logging.error(f"Error starting backend: {e}") - if controller: + logger.error(f"Error starting server: {e}") + traceback.print_exc() + if 'controller' in locals() and controller: controller.stop_monitoring() - raise + splash.update_status(f"Error: {str(e)}", 100) + time.sleep(3) # Show error message for a while + return False, None -def open_browser(url): - """Open web browser after a short delay""" - def _open_browser(): - time.sleep(2) # Wait for server to start - webbrowser.open(url) - - browser_thread = threading.Thread(target=_open_browser) - browser_thread.daemon = True - browser_thread.start() +def ensure_dependencies(): + """Ensure all required dependencies are available""" + passed, message = check_system_requirements() + if not passed: + error_message = f""" +NetworkMonitor requires additional software to run properly. + +{message} + +Please install the missing dependencies and try again. + +For Npcap (Windows only): +1. Download from https://npcap.com +2. Run the installer as administrator +3. Select "Install Npcap in WinPcap API-compatible Mode" + +For Python packages: +Run: pip install -r requirements.txt + +See the documentation for detailed setup instructions.""" + logger.error(error_message) + return False + return True def main(): """Main entry point for the launcher""" - logging.info("Starting Network Monitor...") + logger.info("Starting Network Monitor...") - # Default settings - host = '127.0.0.1' - port = 5000 + # Display info about execution environment + logger.info(f"Python version: {sys.version}") + logger.info(f"Platform: {platform.platform()}") + logger.info(f"Executable: {sys.executable}") + logger.info(f"Is frozen executable: {getattr(sys, 'frozen', False)}") + logger.info(f"Working directory: {os.getcwd()}") + logger.info(f"Log file: {log_file}") - # Check if port is already in use - if is_port_in_use(port): - logging.warning(f"Port {port} is already in use. Network Monitor might already be running.") - response = input(f"Port {port} is already in use. Try a different port? (Y/n): ") - if response.lower() != 'n': - port = 5001 - while is_port_in_use(port) and port < 5010: - port += 1 - - url = f"http://{host}:{port}" - logging.info(f"Network Monitor will be available at {url}") + # Import here to avoid circular imports + try: + from .splash import run_with_splash, SplashScreen + except ImportError: + try: + from networkmonitor.splash import run_with_splash, SplashScreen + except ImportError: + # If splash screen can't be imported, create a minimal version + class SplashScreen: + def update_status(self, msg, progress=None): + logger.info(msg) + + def show(self): + pass + + def close(self): + pass + + def run_with_splash(target_function, *args, **kwargs): + return target_function(*args, **kwargs) - # Open web browser - open_browser(url) + # Create splash screen + splash = SplashScreen() try: - # Start backend server - start_backend(host, port) + # Check for admin privileges + if not is_admin(): + logger.warning("Not running with admin privileges, requesting elevation") + print("Network Monitor requires administrator privileges.") + print("Attempting to restart with admin privileges...") + restart_as_admin() + return 1 + + splash.show() # Show splash screen + logger.info("Running with admin privileges") + splash.update_status("Checking admin privileges", 10) + + # Default settings + host = '127.0.0.1' + port = 5000 + + # Check if port is already in use + if is_port_in_use(port, host): + logger.warning(f"Port {port} is already in use. Network Monitor might already be running.") + splash.update_status(f"Port {port} already in use, trying alternative port", 20) + + # Try to find an available port + for test_port in range(5001, 5020): + if not is_port_in_use(test_port, host): + port = test_port + logger.info(f"Selected alternative port: {port}") + break + + # Check if we found an available port + if is_port_in_use(port, host): + message = f"Could not find an available port. Please close any applications using port {port} and try again." + logger.error(message) + splash.update_status(message, 100) + time.sleep(3) + return 1 + + url = f"http://{host}:{port}" + logger.info(f"Network Monitor will be available at {url}") + + # Always create a console window to keep the application visible + console_window = create_console_window() + + if console_window: + # If we have a console window, it will manage the server + logger.info("Application is running with console window") + splash.close() # Close splash since we have the main window + + # Run the Tkinter main loop - this keeps the app alive + if isinstance(console_window, tk.Tk): + console_window.mainloop() + + return 0 + else: + # No console window, fallback to direct server start + logger.info("Application is running in background mode (no GUI)") + # Start server with splash screen + success, controller = start_server(host, port) + if not success: + return 1 + + # Keep main thread alive while server is running + try: + # Keep the main thread alive to prevent the application from exiting + while True: + time.sleep(1) + except KeyboardInterrupt: + logger.info("Application stopped by user") + if controller: + controller.stop_monitoring() + + return 0 + except KeyboardInterrupt: - logging.info("Network Monitor stopped by user") + logger.info("Network Monitor stopped by user") + return 0 except Exception as e: - logging.error(f"Error running Network Monitor: {e}") + logger.error(f"Error launching Network Monitor: {e}") + traceback.print_exc() + if 'splash' in locals(): + splash.update_status(f"Error: {str(e)}", 100) + time.sleep(3) return 1 - - return 0 + finally: + # Make sure splash screen is closed + if 'splash' in locals() and hasattr(splash, 'close'): + splash.close() if __name__ == "__main__": sys.exit(main()) \ No newline at end of file diff --git a/networkmonitor/monitor.py b/networkmonitor/monitor.py index 7653cf8..7cff87e 100644 --- a/networkmonitor/monitor.py +++ b/networkmonitor/monitor.py @@ -10,7 +10,6 @@ import os import sys import requests -import ifaddr from dataclasses import dataclass from typing import List, Dict, Optional, Tuple from datetime import datetime @@ -64,7 +63,6 @@ def __init__(self): self.protected_devices: List[str] = [] self._gateway_mac = None self._gateway_ip = None - self.addrs = ifaddr.get_adapters() # Store adapters list # Initialize Windows system paths if self.os_type == "Windows": @@ -96,10 +94,8 @@ def __init__(self): self.last_bytes_total = 0 def _get_windows_command_path(self, command): - """Get full path for Windows system commands""" system32 = os.path.join(os.environ['SystemRoot'], 'System32') - command_path = os.path.join(system32, command) - return command_path if os.path.exists(command_path) else command + return os.path.join(system32, f"{command}.exe") def setup_logging(self): logging.basicConfig( @@ -112,86 +108,54 @@ def setup_logging(self): ) def _get_gateway_info(self) -> Tuple[str, str]: - """Get gateway IP and MAC address""" + if self._gateway_ip and self._gateway_mac: + return self._gateway_ip, self._gateway_mac + try: if self.os_type == "Windows": - # Get default gateway IP - output = subprocess.check_output([self.ipconfig_path], - text=True, - creationflags=subprocess.CREATE_NO_WINDOW) - gateway_ip = None - print("\n=== Gateway Detection Output ===") - print(output) + # Get default route information using 'route print' + route_cmd = subprocess.run(['route', 'print', '0.0.0.0'], + capture_output=True, + text=True, + creationflags=subprocess.CREATE_NO_WINDOW) - # Parse output line by line - lines = output.split('\n') - i = 0 - while i < len(lines): - line = lines[i].strip() - if "Default Gateway" in line: - # Skip if line ends with colon - if line.strip().endswith(':'): - i += 1 - continue - - # Check current line for IPv4 - possible_ip = line.split(':')[-1].strip() - print(f"Found gateway line: {line}") - print(f"Checking IP: {possible_ip}") - - # If this line has an IPv4 address - if '.' in possible_ip and not possible_ip.startswith('fe80'): - gateway_ip = possible_ip - print(f"Found IPv4 Gateway: {gateway_ip}") + for line in route_cmd.stdout.splitlines(): + if '0.0.0.0' in line: + parts = line.split() + if len(parts) >= 4: + self._gateway_ip = parts[3] break - - # If not, check next line - elif i + 1 < len(lines): - next_line = lines[i + 1].strip() - if '.' in next_line and not next_line.startswith('fe80'): - gateway_ip = next_line - print(f"Found IPv4 Gateway on next line: {gateway_ip}") + else: + # For Linux/Mac, use psutil to get default gateway + gateways = psutil.net_if_stats() + for interface, stats in gateways.items(): + if stats.isup and interface != 'lo': + addrs = psutil.net_if_addrs()[interface] + for addr in addrs: + if addr.family == socket.AF_INET: + self._gateway_ip = addr.address break - i += 1 - - print(f"\nFinal Gateway IP: {gateway_ip}") - - if gateway_ip: - # Get gateway MAC using ARP - print("\nGetting MAC address from ARP table...") - arp_output = subprocess.check_output([self.arp_path, "-a"], - text=True, - creationflags=subprocess.CREATE_NO_WINDOW) - print("\nARP table output:") - print(arp_output) - - for line in arp_output.split('\n'): - if gateway_ip in line: - try: - parts = line.split() - mac = parts[1].replace('-', ':') - print(f"Found Gateway MAC: {mac}") - return gateway_ip, mac - except IndexError: - continue - - print("Failed to find gateway MAC address") - return None, None + if self._gateway_ip: + break + + # Get gateway MAC using ARP + if self._gateway_ip: + arp_output = subprocess.check_output([self.arp_path, "-a"], + text=True, + creationflags=subprocess.CREATE_NO_WINDOW) - else: - # Linux/MacOS implementation - gateway_ip = subprocess.check_output("ip route | grep default | cut -d' ' -f3", - shell=True).decode().strip() - if gateway_ip: - result = srp(Ether(dst="ff:ff:ff:ff:ff:ff")/ARP(pdst=gateway_ip), - timeout=2, verbose=False)[0] - if result: - return gateway_ip, result[0][1].hwsrc - + for line in arp_output.splitlines(): + if self._gateway_ip in line: + parts = line.split() + if len(parts) >= 2: + self._gateway_mac = parts[1].replace('-', ':').upper() + break + except Exception as e: logging.error(f"Error getting gateway info: {e}") - print(f"\nError during gateway detection: {str(e)}") - return None, None + return None, None + + return self._gateway_ip, self._gateway_mac def protect_device(self, ip: str) -> bool: """Enable protection for a device""" @@ -321,18 +285,19 @@ def _send_arp(self, target_ip: str, target_mac: str, spoof_ip: str, spoof_mac: s def get_interfaces(self) -> List[Dict]: """Get all network interfaces""" interfaces = [] - adapters = ifaddr.get_adapters() + stats = psutil.net_if_stats() + addrs = psutil.net_if_addrs() - for adapter in adapters: - for ip in adapter.ips: - # Only handle IPv4 - if isinstance(ip.ip, str): - interfaces.append({ - 'name': adapter.nice_name, - 'ip': ip.ip, - 'network_mask': ip.network_bits if hasattr(ip, 'network_bits') else 24, - 'stats': None - }) + for interface, stat in stats.items(): + if stat.isup: + for addr in addrs.get(interface, []): + if addr.family == socket.AF_INET: + interfaces.append({ + 'name': interface, + 'ip': addr.address, + 'network_mask': addr.netmask, + 'stats': stat + }) return interfaces def get_wifi_interfaces(self) -> List[str]: @@ -409,50 +374,14 @@ def get_wifi_interfaces(self) -> List[str]: def get_default_interface(self) -> str: """Get default network interface""" try: - if self.os_type == "Windows": - # Try getting interface from WMI first - if hasattr(self, 'windows_monitor'): - interfaces = self.windows_monitor.get_interfaces() - # First try to find a WiFi interface - for interface in interfaces: - if interface['type'] == 'wifi' and interface['status'] == 'up': - return interface['name'] - # If no WiFi, try any active interface - for interface in interfaces: - if interface['status'] == 'up': - return interface['name'] - - # Fallback to ipconfig parsing - output = subprocess.check_output([self.ipconfig_path], - text=True, - creationflags=subprocess.CREATE_NO_WINDOW) - current_section = None - for line in output.splitlines(): - line = line.strip() - - # Capture adapter section - if line.endswith(':'): - current_section = line[:-1].strip() - continue - - # Look for IPv4 address in current section - if current_section and "IPv4 Address" in line and ":" in line: - if current_section.startswith('Wireless LAN adapter '): - interface_name = current_section[len('Wireless LAN adapter '):] - elif current_section.startswith('Ethernet adapter '): - interface_name = current_section[len('Ethernet adapter '):] - else: - interface_name = current_section - - logging.info(f"Found active interface: {interface_name}") - return interface_name - else: - # Linux/MacOS code - for adapter in self.addrs: - for ip in adapter.ips: - if isinstance(ip.ip, str) and not ip.ip.startswith('127.'): - return adapter.nice_name - + # Use psutil to find the default interface + stats = psutil.net_if_stats() + for interface, stat in stats.items(): + if stat.isup and interface != 'lo': + addrs = psutil.net_if_addrs()[interface] + for addr in addrs: + if addr.family == socket.AF_INET and not addr.address.startswith('127.'): + return interface except Exception as e: logging.error(f"Error getting default interface: {e}") return None @@ -460,63 +389,12 @@ def get_default_interface(self) -> str: def get_interface_ip(self, interface: str) -> str: """Get IP address for a network interface""" try: - if self.os_type == "Windows": - logging.info(f"Getting IP for Windows interface: {interface}") - # Get IP using ipconfig - output = subprocess.check_output([self.ipconfig_path], - text=True, - creationflags=subprocess.CREATE_NO_WINDOW) - - logging.debug("ipconfig output:") - logging.debug(output) - - current_adapter = None - interface_found = False - - for line in output.splitlines(): - line = line.strip() - - # Check for adapter section - if line.endswith(':'): - current_adapter = line[:-1].strip() - if current_adapter.startswith('Ethernet adapter '): - current_adapter = current_adapter[len('Ethernet adapter '):] - elif current_adapter.startswith('Wireless LAN adapter '): - current_adapter = current_adapter[len('Wireless LAN adapter '):] - logging.debug(f"Found adapter section: {current_adapter}") - - # Check if this is our target interface - if current_adapter and ( - interface.lower() in current_adapter.lower() or - current_adapter.lower() in interface.lower() or - (interface.lower() == "wi-fi" and "wireless" in current_adapter.lower()) - ): - interface_found = True - logging.debug(f"Matched interface: {current_adapter}") - - # If we're in the right interface section - elif interface_found and "IPv4 Address" in line and ":" in line: - ip = line.split(":")[-1].strip() - # Remove any extra parentheses - ip = ip.split('(')[0].strip() - logging.info(f"Found IP {ip} for interface {interface}") - return ip - - # Reset interface_found if we hit a blank line (new section) - elif not line: - interface_found = False - - else: - # Original Linux/Mac code - for adapter in self.addrs: - if adapter.nice_name == interface: - for ip in adapter.ips: - if isinstance(ip.ip, str): - return ip.ip - + addrs = psutil.net_if_addrs().get(interface, []) + for addr in addrs: + if addr.family == socket.AF_INET: + return addr.address except Exception as e: logging.error(f"Error getting interface IP: {e}") - logging.debug(f"Exception details:", exc_info=True) return None def get_connected_devices(self, interface: str = None) -> List[Device]: diff --git a/networkmonitor/npcap_helper.py b/networkmonitor/npcap_helper.py index f55fd93..aade2b6 100644 --- a/networkmonitor/npcap_helper.py +++ b/networkmonitor/npcap_helper.py @@ -2,15 +2,13 @@ Helper module for Npcap initialization and configuration This module helps ensure proper detection and configuration of Npcap for use with Scapy """ - import os import sys -import ctypes import platform import logging import subprocess -from typing import Dict, Any, Optional, Tuple, List import winreg +from typing import Dict, Any, Optional, Tuple, List logger = logging.getLogger(__name__) @@ -30,6 +28,9 @@ r"C:\Program Files\Npcap\Win10pcap" ] +# Npcap installer URL +NPCAP_INSTALLER_URL = "https://npcap.com/dist/npcap-1.71.exe" + def initialize_npcap() -> bool: """ Initialize Npcap for use with Scapy by: @@ -43,26 +44,21 @@ def initialize_npcap() -> bool: logger.info("Initializing Npcap...") if platform.system() != "Windows": - logger.info("Not on Windows, Npcap initialization skipped") - return False + logger.info("Not running on Windows, skipping Npcap initialization") + return True # Check if Npcap is installed npcap_info = get_npcap_info() if not npcap_info.get('installed', False): - logger.error("Npcap doesn't appear to be installed") + logger.error("Npcap is not installed. Network monitoring will not work properly.") + logger.info("Download and install Npcap from https://npcap.com/") return False # Get Npcap directory npcap_dir = npcap_info.get('path') if not npcap_dir: - for path in NPCAP_PATHS: - if os.path.exists(path): - npcap_dir = path - break - - if not npcap_dir: - logger.error("Could not find Npcap directory") - return False + logger.error("Could not find Npcap installation directory") + return False # Add Npcap directory to PATH environment variable success = _add_dll_directories() @@ -72,40 +68,17 @@ def initialize_npcap() -> bool: # Try to import Scapy modules to verify installation try: - # Make sure we're using the updated path - _configure_dll_path() - - # Force reload scapy modules - import importlib - if 'scapy' in sys.modules: - for mod in list(sys.modules.keys()): - if mod.startswith('scapy'): - try: - importlib.reload(sys.modules[mod]) - except: - pass - - # Try to import critical Scapy modules - from scapy.all import conf - import scapy.arch.windows - - if hasattr(scapy.arch.windows, 'get_windows_if_list'): - try: - interfaces = scapy.arch.windows.get_windows_if_list() - logger.info(f"Successfully accessed {len(interfaces)} network interfaces via Scapy/Npcap") - return True - except Exception as e: - logger.error(f"Error accessing network interfaces: {e}") - return False - else: - logger.error("Scapy Windows module loaded but get_windows_if_list not found") - return False - + from scapy.arch import get_if_hwaddr + from scapy.layers.l2 import arping + from scapy.sendrecv import srloop + logger.info("Scapy import successful: Npcap is correctly configured") + return True except ImportError as e: - logger.error(f"Failed to import required Scapy modules: {e}") + logger.error(f"Failed to import Scapy modules: {e}") + logger.error("Try reinstalling Npcap and check if WinPcap is also installed (they might conflict)") return False except Exception as e: - logger.error(f"Unexpected error during Npcap initialization: {e}") + logger.error(f"Unexpected error during Scapy import: {e}") return False def _add_dll_directories() -> bool: @@ -117,31 +90,30 @@ def _add_dll_directories() -> bool: """ # Add DLL directories to path - this is more reliable than just setting PATH try: - for dll_path in DLL_PATHS: - if os.path.exists(dll_path): - # Use AddDllDirectory for Windows 8+ to safely add DLL search paths - try: - dll_path_ptr = ctypes.c_wchar_p(dll_path) - # Call AddDllDirectory Windows API - kernel32 = ctypes.WinDLL('kernel32', use_last_error=True) - if hasattr(kernel32, 'AddDllDirectory'): - kernel32.AddDllDirectory(dll_path_ptr) - logger.info(f"Added DLL directory: {dll_path}") - except Exception as e: - logger.warning(f"Error adding DLL directory {dll_path}: {e}") - - # Also add to PATH as a fallback - os.environ['PATH'] = f"{dll_path};{os.environ['PATH']}" + # Configure PATH environment variable + _configure_dll_path() + + # Use AddDllDirectory API on Windows 8+ + if hasattr(os, 'add_dll_directory'): + for path in DLL_PATHS: + if os.path.exists(path): + try: + os.add_dll_directory(path) + logger.info(f"Added DLL directory: {path}") + except Exception as e: + logger.warning(f"Failed to add DLL directory {path}: {e}") + return True except Exception as e: - logger.error(f"Error configuring DLL paths: {e}") + logger.error(f"Error configuring DLL directories: {e}") return False def _configure_dll_path() -> None: """Configure PATH to include Npcap directories - used by Scapy""" for dll_path in DLL_PATHS: if os.path.exists(dll_path) and dll_path not in os.environ['PATH']: - os.environ['PATH'] = f"{dll_path};{os.environ['PATH']}" + os.environ['PATH'] = dll_path + os.pathsep + os.environ['PATH'] + logger.info(f"Added to PATH: {dll_path}") def get_npcap_info() -> Dict[str, Any]: """ @@ -161,38 +133,31 @@ def get_npcap_info() -> Dict[str, Any]: # Check common installation paths for path in NPCAP_PATHS: if os.path.exists(path): - info['installed'] = True info['path'] = path + info['installed'] = True - # Check for DLL files - wpcap_path = os.path.join(path, "wpcap.dll") - packet_path = os.path.join(path, "Packet.dll") - - if os.path.exists(wpcap_path): - info['dll_files'].append("wpcap.dll") - if os.path.exists(packet_path): - info['dll_files'].append("Packet.dll") + # Look for DLL files + if os.path.exists(path): + files = os.listdir(path) + info['dll_files'] = [f for f in files if f.lower().endswith('.dll')] break # Check registry for Npcap information try: - with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r"SOFTWARE\Npcap") as key: + with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'SOFTWARE\Npcap') as key: i = 0 while True: try: name, value, _ = winreg.EnumValue(key, i) info['registry'][name] = value - - # Get version - if name == "Version": + if name == 'Version': info['version'] = value - i += 1 except WindowsError: break except WindowsError: - pass + logger.debug("Could not find Npcap registry entries") return info @@ -203,53 +168,94 @@ def verify_npcap_installation() -> Dict[str, Any]: Returns: dict: Status of Npcap installation and Scapy compatibility """ - info = get_npcap_info() - status = { - 'installed': info['installed'], - 'version': info['version'], - 'path': info['path'], - 'scapy_compatible': False, - 'error': None, - 'dll_files': info['dll_files'] + result = { + 'installed': False, + 'compatible': False, + 'version': None, + 'issues': [], + 'npcap_dir': None } + # Get installation info + info = get_npcap_info() + result['installed'] = info['installed'] + result['version'] = info['version'] + result['npcap_dir'] = info['path'] + if not info['installed']: - status['error'] = "Npcap is not installed" - return status + result['issues'].append("Npcap is not installed") + return result + + # Check for npcap.dll + if info['path'] and os.path.exists(os.path.join(info['path'], 'npcap.dll')): + result['compatible'] = True + else: + result['issues'].append("Could not find npcap.dll") - # Try to use Scapy with Npcap + # Check if Scapy can use Npcap try: - from scapy.all import conf + import scapy.all + from scapy.arch.windows import get_windows_if_list - # Check if scapy.arch.windows has the expected functions - import scapy.arch.windows - if hasattr(scapy.arch.windows, 'get_windows_if_list'): - try: - interfaces = scapy.arch.windows.get_windows_if_list() - status['scapy_compatible'] = True - except Exception as e: - status['error'] = f"Error accessing network interfaces: {e}" + # Try to get interfaces + interfaces = get_windows_if_list() + if interfaces: + result['compatible'] = True else: - status['error'] = "Scapy Windows module loaded but missing required functions" - - except ImportError as e: - status['error'] = f"Scapy cannot use Npcap: {str(e)}" + result['issues'].append("No network interfaces found using Scapy") + except ImportError: + result['issues'].append("Could not import Scapy") except Exception as e: - status['error'] = f"Unexpected error: {str(e)}" + result['issues'].append(f"Error testing Scapy compatibility: {e}") + + return result + +def download_npcap_installer(output_path=None) -> Optional[str]: + """ + Download Npcap installer + + Args: + output_path (str, optional): Path to save the installer to. + If None, saves to current directory. + + Returns: + Optional[str]: Path to downloaded file or None if download failed + """ + if output_path is None: + output_path = "npcap-installer.exe" - return status + try: + import requests + + logger.info(f"Downloading Npcap installer from {NPCAP_INSTALLER_URL}") + response = requests.get(NPCAP_INSTALLER_URL, stream=True) + response.raise_for_status() + + with open(output_path, 'wb') as f: + for chunk in response.iter_content(chunk_size=8192): + f.write(chunk) + + logger.info(f"Npcap installer downloaded to {output_path}") + return output_path + except Exception as e: + logger.error(f"Failed to download Npcap installer: {e}") + return None if __name__ == "__main__": - # Configure basic logging + # Setup basic logging when run directly logging.basicConfig(level=logging.INFO) - # Initialize Npcap + # Test Npcap initialization success = initialize_npcap() if success: - logger.info("Npcap initialized successfully") + print("Npcap initialization successful!") else: - logger.error("Failed to initialize Npcap") + print("Npcap initialization failed. See logs for details.") - # Print Npcap info + # Get detailed information info = get_npcap_info() - logger.info(f"Npcap info: {info}") \ No newline at end of file + print(f"\nNpcap Info:") + print(f"Installed: {info['installed']}") + print(f"Version: {info['version']}") + print(f"Path: {info['path']}") + print(f"DLL files: {', '.join(info['dll_files'])}") \ No newline at end of file diff --git a/networkmonitor/server.py b/networkmonitor/server.py index 27ba4bc..df7935d 100644 --- a/networkmonitor/server.py +++ b/networkmonitor/server.py @@ -1,16 +1,113 @@ -from flask import Flask, jsonify, request, render_template_string -from flask_cors import CORS -from .monitor import NetworkController +""" +Network Monitor Server Module +Provides Flask web server and API endpoints +""" +import os +import sys import logging -from typing import Dict, Any import platform -from .dependency_check import DependencyChecker -import os +import atexit +import socket +from typing import Dict, Any, List, Optional +from flask import Flask, jsonify, request, render_template_string, abort +from flask_cors import CORS + +# Configure logging +logging.basicConfig( + level=logging.INFO, + format='%(asctime)s - %(levelname)s - %(message)s', + handlers=[ + logging.FileHandler('networkmonitor.log'), + logging.StreamHandler() + ] +) + +logger = logging.getLogger(__name__) -def create_app(): +def get_available_interfaces() -> List[Dict[str, str]]: + """Get list of network interfaces available for binding""" + interfaces = [] + + try: + # Try to get network interfaces + import ifaddr + adapters = ifaddr.get_adapters() + + # Filter for IPv4 addresses + for adapter in adapters: + for ip in adapter.ips: + if isinstance(ip.ip, str): # IPv4 address + # Skip loopback interfaces for this list + if not ip.ip.startswith('127.'): + interfaces.append({ + 'name': adapter.nice_name, + 'ip': ip.ip, + 'network_prefix': ip.network_prefix + }) + except ImportError: + # Fallback: try socket-based approach + try: + # Get hostname and IP + hostname = socket.gethostname() + host_ip = socket.gethostbyname(hostname) + + interfaces.append({ + 'name': hostname, + 'ip': host_ip, + 'network_prefix': 24 # Assume /24 network + }) + except Exception as e: + logger.error(f"Failed to get network interfaces: {e}") + + # Always include localhost + interfaces.append({ + 'name': 'Localhost', + 'ip': '127.0.0.1', + 'network_prefix': 8 + }) + + return interfaces + +def create_app(host: str = '127.0.0.1', port: int = 5000): + """Create and configure the Flask application""" + + # Import NetworkController here to avoid circular imports + try: + # Try relative import first + from .monitor import NetworkController + from .dependency_check import DependencyChecker + except ImportError: + # Try absolute import if relative fails + from networkmonitor.monitor import NetworkController + from networkmonitor.dependency_check import DependencyChecker + except Exception as e: + logger.error(f"Failed to import required modules: {e}") + # Create dummy classes for graceful degradation + class DummyNetworkController: + def __init__(self): + self.devices = {} + self.monitoring_thread = None + def start_monitoring(self): pass + def stop_monitoring(self): pass + def get_connected_devices(self): return [] + def get_network_summary(self): return {"devices": 0, "active": 0} + def get_default_interface(self): return None + def get_wifi_interfaces(self): return [] + + class DummyDependencyChecker: + def check_all_dependencies(self): + return False, ["Required modules could not be imported"], [str(e)] + + NetworkController = DummyNetworkController + DependencyChecker = DummyDependencyChecker + + # Initialize Flask app app = Flask(__name__) + + # Enable CORS for all domains (for development) CORS(app) + # Configure logging logging.basicConfig( level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s', @@ -31,9 +128,10 @@ def create_app(): for dep in missing_deps: app.logger.error(f"Missing dependency: {dep}") - monitor = NetworkController() - + # Initialize network monitor try: + monitor = NetworkController() + if is_ready: # Only start monitoring if all dependencies are met monitor.start_monitoring() app.logger.info("Network monitoring started") @@ -41,8 +139,10 @@ def create_app(): app.logger.warning("Network monitoring not started due to missing dependencies") except Exception as e: app.logger.error(f"Error starting monitoring: {e}") + monitor = NetworkController() # Create an instance but don't start monitoring def response(success: bool, data: Any = None, error: str = None) -> Dict: + """Standard response format for API endpoints""" return { 'success': success, 'data': data, @@ -52,6 +152,14 @@ def response(success: bool, data: Any = None, error: str = None) -> Dict: @app.route('/') def index(): """API root endpoint showing server status""" + # Check if we have any HTML template for the interface + if hasattr(app, 'send_static_file'): + try: + return app.send_static_file('index.html') + except: + pass + + # Otherwise, return JSON info return jsonify({ "status": "running", "version": "0.1.0", @@ -63,7 +171,9 @@ def index(): "/api/network/gateway", "/api/network/summary", "/api/stats/bandwidth" - ] + ], + "bind_address": f"{host}:{port}", + "available_interfaces": get_available_interfaces() }) @app.route('/api/status', methods=['GET']) @@ -75,15 +185,17 @@ def get_status(): return jsonify(response(True, { 'server_status': 'running', - 'monitoring_active': monitor.monitoring_thread and monitor.monitoring_thread.is_alive(), + 'monitoring_active': hasattr(monitor, 'monitoring_thread') and monitor.monitoring_thread and monitor.monitoring_thread.is_alive(), 'os_type': platform.system(), 'interface': monitor.get_default_interface(), 'dependencies_ok': is_ready, 'missing_dependencies': missing_deps, - 'warnings': warnings + 'warnings': warnings, + 'available_interfaces': get_available_interfaces() })) except Exception as e: - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error getting status: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/wifi/interfaces', methods=['GET']) def get_wifi_interfaces(): @@ -92,8 +204,8 @@ def get_wifi_interfaces(): interfaces = monitor.get_wifi_interfaces() return jsonify(response(True, interfaces)) except Exception as e: - logging.error(f"Error getting WiFi interfaces: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error getting WiFi interfaces: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/devices', methods=['GET']) def get_devices(): @@ -101,6 +213,7 @@ def get_devices(): try: interface = request.args.get('interface') devices = monitor.get_connected_devices(interface) + return jsonify(response(True, [ { 'ip': d.ip, @@ -118,8 +231,8 @@ def get_devices(): for d in devices ])) except Exception as e: - logging.error(f"Error getting devices: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error getting devices: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/devices/', methods=['GET']) def get_device_details(ip: str): @@ -128,10 +241,10 @@ def get_device_details(ip: str): details = monitor.get_device_details(ip) if details: return jsonify(response(True, details)) - return jsonify(response(False, error="Device not found")), 404 + return jsonify(response(False, None, "Device not found")), 404 except Exception as e: - logging.error(f"Error getting device details: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error getting device details: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/network/summary', methods=['GET']) def get_network_summary(): @@ -140,8 +253,8 @@ def get_network_summary(): summary = monitor.get_network_summary() return jsonify(response(True, summary)) except Exception as e: - logging.error(f"Error getting network summary: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error getting network summary: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/device/limit', methods=['POST']) def set_device_limit(): @@ -153,7 +266,7 @@ def set_device_limit(): device = monitor.devices.get(ip) if not device: - return jsonify(response(False, error="Device not found")), 404 + return jsonify(response(False, None, "Device not found")), 404 device.speed_limit = limit return jsonify(response(True, { @@ -161,8 +274,8 @@ def set_device_limit(): 'speed_limit': limit })) except Exception as e: - logging.error(f"Error setting device limit: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error setting device limit: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/device/limit/', methods=['DELETE']) def remove_device_limit(ip: str): @@ -170,13 +283,13 @@ def remove_device_limit(ip: str): try: device = monitor.devices.get(ip) if not device: - return jsonify(response(False, error="Device not found")), 404 + return jsonify(response(False, None, "Device not found")), 404 device.speed_limit = None return jsonify(response(True, {'ip': ip})) except Exception as e: - logging.error(f"Error removing device limit: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error removing device limit: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/device/block', methods=['POST']) def block_device(): @@ -186,10 +299,10 @@ def block_device(): ip = data.get('ip') if monitor.block_device(ip): return jsonify(response(True, {'ip': ip})) - return jsonify(response(False, error='Failed to block device')), 500 + return jsonify(response(False, None, "Failed to block device")), 500 except Exception as e: - logging.error(f"Error blocking device: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error blocking device: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/device/rename', methods=['POST']) def rename_device(): @@ -201,7 +314,7 @@ def rename_device(): device = monitor.devices.get(ip) if not device: - return jsonify(response(False, error="Device not found")), 404 + return jsonify(response(False, None, "Device not found")), 404 device.hostname = name return jsonify(response(True, { @@ -209,8 +322,8 @@ def rename_device(): 'hostname': name })) except Exception as e: - logging.error(f"Error renaming device: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error renaming device: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/device/type', methods=['POST']) def set_device_type(): @@ -222,7 +335,7 @@ def set_device_type(): device = monitor.devices.get(ip) if not device: - return jsonify(response(False, error="Device not found")), 404 + return jsonify(response(False, None, "Device not found")), 404 device.device_type = device_type return jsonify(response(True, { @@ -230,8 +343,8 @@ def set_device_type(): 'device_type': device_type })) except Exception as e: - logging.error(f"Error setting device type: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error setting device type: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/stats/bandwidth', methods=['GET']) def get_bandwidth_stats(): @@ -248,8 +361,8 @@ def get_bandwidth_stats(): } return jsonify(response(True, stats)) except Exception as e: - logging.error(f"Error getting bandwidth stats: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error getting bandwidth stats: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/monitor/start', methods=['POST']) def start_monitoring(): @@ -258,45 +371,40 @@ def start_monitoring(): # Check dependencies first is_ready, missing_deps, warnings = dependency_checker.check_all_dependencies() if not is_ready: - return jsonify(response(False, error="Missing dependencies", - data={"missing": missing_deps})), 400 - + return jsonify(response(False, None, f"Missing dependencies: {', '.join(missing_deps)}")), 500 + + if hasattr(monitor, 'monitoring_thread') and monitor.monitoring_thread and monitor.monitoring_thread.is_alive(): + return jsonify(response(True, {"status": "already_running"})) + monitor.start_monitoring() - return jsonify(response(True, {'status': 'monitoring started'})) + return jsonify(response(True, {"status": "started"})) except Exception as e: - logging.error(f"Error starting monitoring: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error starting monitoring: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/monitor/stop', methods=['POST']) def stop_monitoring(): """Stop the device monitoring""" try: monitor.stop_monitoring() - return jsonify(response(True, {'status': 'monitoring stopped'})) + return jsonify(response(True, {"status": "stopped"})) except Exception as e: - logging.error(f"Error stopping monitoring: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error stopping monitoring: {e}") + return jsonify(response(False, None, str(e))), 500 - @app.errorhandler(404) - def not_found(e): - return jsonify(response(False, error='Resource not found')), 404 - @app.route('/api/device/protect', methods=['POST']) def protect_device(): """Enable protection for a device""" try: data = request.json ip = data.get('ip') - - if monitor.protect_device(ip): - return jsonify(response(True, { - 'ip': ip, - 'status': 'protected' - })) - return jsonify(response(False, error='Failed to protect device')), 500 + result = getattr(monitor, 'protect_device', lambda x: False)(ip) + if result: + return jsonify(response(True, {'ip': ip})) + return jsonify(response(False, None, "Failed to protect device")), 500 except Exception as e: - logging.error(f"Error protecting device: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error protecting device: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/device/unprotect', methods=['POST']) def unprotect_device(): @@ -304,16 +412,13 @@ def unprotect_device(): try: data = request.json ip = data.get('ip') - - if monitor.unprotect_device(ip): - return jsonify(response(True, { - 'ip': ip, - 'status': 'unprotected' - })) - return jsonify(response(False, error='Failed to unprotect device')), 500 + result = getattr(monitor, 'unprotect_device', lambda x: False)(ip) + if result: + return jsonify(response(True, {'ip': ip})) + return jsonify(response(False, None, "Failed to unprotect device")), 500 except Exception as e: - logging.error(f"Error unprotecting device: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error unprotecting device: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/device/cut', methods=['POST']) def cut_device(): @@ -321,16 +426,13 @@ def cut_device(): try: data = request.json ip = data.get('ip') - - if monitor.cut_device(ip): - return jsonify(response(True, { - 'ip': ip, - 'status': 'cutting' - })) - return jsonify(response(False, error='Failed to cut device')), 500 + result = getattr(monitor, 'cut_device', lambda x: False)(ip) + if result: + return jsonify(response(True, {'ip': ip})) + return jsonify(response(False, None, "Failed to cut device connection")), 500 except Exception as e: - logging.error(f"Error cutting device: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error cutting device connection: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/device/restore', methods=['POST']) def restore_device(): @@ -338,74 +440,219 @@ def restore_device(): try: data = request.json ip = data.get('ip') - - if monitor.stop_cut(ip): - return jsonify(response(True, { - 'ip': ip, - 'status': 'restored' - })) - return jsonify(response(False, error='Failed to restore device')), 500 + result = getattr(monitor, 'restore_device', lambda x: False)(ip) + if result: + return jsonify(response(True, {'ip': ip})) + return jsonify(response(False, None, "Failed to restore device connection")), 500 except Exception as e: - logging.error(f"Error restoring device: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error restoring device connection: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/device/status', methods=['GET']) def get_device_status(): """Get attack/protection status of devices""" try: - statuses = { - ip: { - 'is_protected': device.is_protected, - 'attack_status': device.attack_status - } - for ip, device in monitor.devices.items() - } - return jsonify(response(True, statuses)) + status = getattr(monitor, 'get_protection_status', lambda: {})(request.args.get('ip')) + return jsonify(response(True, status)) except Exception as e: - logging.error(f"Error getting device statuses: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error getting device status: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/network/gateway', methods=['GET']) def get_gateway_info(): """Get gateway information""" try: - gateway_ip, gateway_mac = monitor._get_gateway_info() - return jsonify(response(True, { - 'ip': gateway_ip, - 'mac': gateway_mac - })) + gateway_info = getattr(monitor, 'get_gateway_info', lambda: {})(request.args.get('interface')) + return jsonify(response(True, gateway_info)) except Exception as e: - logging.error(f"Error getting gateway info: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error getting gateway info: {e}") + return jsonify(response(False, None, str(e))), 500 @app.route('/api/dependencies/check', methods=['GET']) def check_dependencies(): """Check system dependencies and return status""" try: is_ready, missing_deps, warnings = dependency_checker.check_all_dependencies() - instructions = dependency_checker.get_installation_instructions() if missing_deps else {} - return jsonify(response(True, { - 'ready': is_ready, + 'dependencies_ok': is_ready, 'missing_dependencies': missing_deps, - 'warnings': warnings, - 'installation_instructions': instructions + 'warnings': warnings })) except Exception as e: - logging.error(f"Error checking dependencies: {str(e)}") - return jsonify(response(False, error=str(e))), 500 + app.logger.error(f"Error checking dependencies: {e}") + return jsonify(response(False, None, str(e))), 500 + + @app.route('/api/docs', methods=['GET']) + def api_docs(): + """Show API documentation""" + docs_html = """ + + + + Network Monitor API Documentation + + + +

Network Monitor API Documentation

+ +

Status Endpoints

+ +
+
GET /api/status
+
Get server and monitoring status
+
+ +
+
GET /api/dependencies/check
+
Check system dependencies and return status
+
+ +

Device Endpoints

+ +
+
GET /api/devices
+
Get all connected devices
+
+
Optional parameters:
+
interface - Filter by network interface
+
+
+ +
+
GET /api/devices/:ip
+
Get details about a specific device
+
+ +
+
POST /api/device/rename
+
Rename a device
+
{ "ip": "192.168.1.100", "name": "New Device Name" }
+
+ +
+
POST /api/device/type
+
Set device type
+
{ "ip": "192.168.1.100", "type": "computer" }
+
+ +

Network Control Endpoints

+ +
+
POST /api/device/block
+
Block a device
+
{ "ip": "192.168.1.100" }
+
+ +
+
POST /api/device/limit
+
Set speed limit for a device (in Kbps)
+
{ "ip": "192.168.1.100", "limit": 1024 }
+
+ +
+
DELETE /api/device/limit/:ip
+
Remove speed limit from a device
+
+ +
+
POST /api/device/protect
+
Enable protection for a device
+
{ "ip": "192.168.1.100" }
+
+ +
+
POST /api/device/unprotect
+
Disable protection for a device
+
{ "ip": "192.168.1.100" }
+
+
+
POST /api/device/cut
+
Cut network access for a device
+
{ "ip": "192.168.1.100" }
+
+ +
+
POST /api/device/restore
+
Restore network access for a device
+
{ "ip": "192.168.1.100" }
+
+ +

Network Information Endpoints

+ +
+
GET /api/wifi/interfaces
+
Get all WiFi interfaces
+
+ +
+
GET /api/network/gateway
+
Get gateway information
+
+ +
+
GET /api/network/summary
+
Get summary of network devices and usage
+
+ +
+
GET /api/stats/bandwidth
+
Get bandwidth statistics for all devices
+
+ +

Monitoring Control

+ +
+
POST /api/monitor/start
+
Start the device monitoring
+
+ +
+
POST /api/monitor/stop
+
Stop the device monitoring
+
+ + + """ + return render_template_string(docs_html) + + @app.errorhandler(404) + def not_found(e): + return jsonify(response(False, None, "Endpoint not found")), 404 + @app.errorhandler(500) def server_error(e): - return jsonify(response(False, error='Internal server error')), 500 + return jsonify(response(False, None, f"Internal server error: {str(e)}")), 500 def cleanup(): # Stop all attacks and monitoring - for ip in list(monitor.attack_threads.keys()): - monitor.stop_cut(ip) - monitor.stop_monitoring() - - import atexit + if hasattr(monitor, 'attack_threads'): + for ip in list(monitor.attack_threads.keys()): + if hasattr(monitor, 'stop_cut'): + try: + monitor.stop_cut(ip) + except: + pass + + if hasattr(monitor, 'stop_monitoring'): + try: + monitor.stop_monitoring() + except: + pass + atexit.register(cleanup) return app @@ -414,4 +661,33 @@ def cleanup(): app = create_app() if __name__ == '__main__': - app.run(host='0.0.0.0', port=5000, debug=True) \ No newline at end of file + # If run directly, determine the best host to bind to + host = '127.0.0.1' # Default to localhost + port = 5000 + + # Check if we should bind to all interfaces + if '--external' in sys.argv: + interfaces = get_available_interfaces() + # Find a non-localhost interface + for interface in interfaces: + if not interface['ip'].startswith('127.'): + host = interface['ip'] + break + + # If no suitable interface found, bind to all interfaces + if host.startswith('127.'): + host = '0.0.0.0' + + # Custom port + if '--port' in sys.argv and sys.argv.index('--port') + 1 < len(sys.argv): + try: + port = int(sys.argv[sys.argv.index('--port') + 1]) + except: + pass + + # Print listening info + print(f"Starting server on http://{host}:{port}") + + # Run the app + app_instance = create_app(host, port) + app_instance.run(host=host, port=port, debug=True) \ No newline at end of file diff --git a/networkmonitor/splash.py b/networkmonitor/splash.py new file mode 100644 index 0000000..811f89d --- /dev/null +++ b/networkmonitor/splash.py @@ -0,0 +1,213 @@ +""" +Splash screen module for Network Monitor +Displays a GUI splash screen during startup to indicate status to the user +""" +import os +import sys +import time +import threading +import webbrowser +import logging +import tkinter as tk +from tkinter import ttk +from pathlib import Path + +logger = logging.getLogger(__name__) + +class SplashScreen: + """Displays a splash screen during application startup""" + + def __init__(self, title="Network Monitor", width=500, height=300): + """Initialize the splash screen""" + self.width = width + self.height = height + self.title = title + self.root = None + self.progress = None + self.status_var = None + self.progress_var = None + self._is_running = False + + def show(self): + """Show the splash screen""" + self.root = tk.Tk() + self.root.title(self.title) + + # Set window properties + self.root.overrideredirect(True) # No window decorations + self.root.attributes("-topmost", True) + + # Center the window + screen_width = self.root.winfo_screenwidth() + screen_height = self.root.winfo_screenheight() + x = (screen_width - self.width) // 2 + y = (screen_height - self.height) // 2 + self.root.geometry(f"{self.width}x{self.height}+{x}+{y}") + + # Apply styling + self.root.configure(bg="#f0f0f0") + + # Create frame + main_frame = ttk.Frame(self.root, padding=20) + main_frame.pack(fill=tk.BOTH, expand=True) + + # Add title + title_label = ttk.Label(main_frame, text=self.title, font=("Arial", 18, "bold")) + title_label.pack(pady=10) + + # Add subtitle + subtitle = ttk.Label(main_frame, text="Starting services...", font=("Arial", 10)) + subtitle.pack(pady=5) + + # Add status message + self.status_var = tk.StringVar(value="Initializing...") + status_label = ttk.Label(main_frame, textvariable=self.status_var, font=("Arial", 9)) + status_label.pack(pady=10) + + # Add progress bar + self.progress_var = tk.DoubleVar(value=0) + self.progress = ttk.Progressbar( + main_frame, + orient=tk.HORIZONTAL, + length=400, + mode="determinate", + variable=self.progress_var + ) + self.progress.pack(pady=10, fill=tk.X) + + # Add details about admin privileges + admin_text = "Running with administrator privileges" if self._check_admin() else "Not running with admin privileges (limited functionality)" + admin_label = ttk.Label(main_frame, text=admin_text, font=("Arial", 8)) + admin_label.pack(pady=5) + + # Add close button + close_button = ttk.Button(main_frame, text="Cancel", command=self.close) + close_button.pack(pady=10) + + # Add version info + try: + from . import __version__ + version_text = f"Version {__version__}" + except (ImportError, AttributeError): + version_text = "Development Version" + + version_label = ttk.Label(main_frame, text=version_text, font=("Arial", 8)) + version_label.pack(side=tk.BOTTOM, pady=5) + + self._is_running = True + + # Handle window close + self.root.protocol("WM_DELETE_WINDOW", self.close) + + # Update the UI + self.root.update() + + def update_status(self, message, progress=None): + """Update the status message and optionally the progress bar""" + if not self._is_running or not self.root: + return + + try: + self.status_var.set(message) + if progress is not None: + self.progress_var.set(progress) + self.root.update() + except (tk.TclError, RuntimeError): + # Window might have been closed + self._is_running = False + + def close(self): + """Close the splash screen""" + if self.root: + self._is_running = False + try: + self.root.destroy() + except tk.TclError: + # Already destroyed + pass + + def _check_admin(self): + """Check if running with admin privileges""" + try: + import platform + if platform.system() == "Windows": + import ctypes + return ctypes.windll.shell32.IsUserAnAdmin() != 0 + else: + return os.geteuid() == 0 + except: + return False + +def run_with_splash(target_function, *args, **kwargs): + """ + Run a function with a splash screen + + Args: + target_function: The function to run + *args, **kwargs: Arguments to pass to the function + + Returns: + The result of the target function + """ + splash = SplashScreen() + splash.show() + + result = None + exception = None + + def run_target(): + nonlocal result, exception + try: + # Set up progress updates + progress_steps = [ + ("Checking dependencies...", 10), + ("Initializing network services...", 20), + ("Starting monitoring engine...", 40), + ("Connecting to network interfaces...", 60), + ("Starting web server...", 80), + ("Opening web interface...", 90), + ("Ready", 100) + ] + + for message, progress in progress_steps: + splash.update_status(message, progress) + time.sleep(0.5) # Simulate work being done + + result = target_function(*args, **kwargs) + except Exception as e: + exception = e + splash.update_status(f"Error: {str(e)}", 100) + time.sleep(3) # Show error for a few seconds + finally: + # Only close splash if we're successful or after showing error + if exception is None or time.time() - start_time > 3: + splash.close() + + start_time = time.time() + + # Run the target function in a separate thread + thread = threading.Thread(target=run_target) + thread.daemon = True + thread.start() + + # Run the splash screen main loop + try: + splash.root.mainloop() + except tk.TclError: + # Already destroyed + pass + + # If there was an exception, raise it + if exception: + raise exception + + return result + +if __name__ == "__main__": + # Example usage + def example_function(): + time.sleep(5) # Simulate work + return "Done!" + + result = run_with_splash(example_function) + print(result) \ No newline at end of file diff --git a/networkmonitor/web/components/DependencyWarning.js b/networkmonitor/web/components/DependencyWarning.js index 6efb8a8..9381d46 100644 --- a/networkmonitor/web/components/DependencyWarning.js +++ b/networkmonitor/web/components/DependencyWarning.js @@ -37,466 +37,75 @@ import { AdminPanelSettings as AdminIcon, } from '@mui/icons-material'; import { motion, AnimatePresence } from 'framer-motion'; +import React from 'react'; -const DependencyWarning = () => { - const [dependencies, setDependencies] = useState({ - missingDeps: [], - warnings: [], - npcapStatus: null, - isAdmin: false, - instructions: {} - }); - const [expanded, setExpanded] = useState(false); - const [showMoreDetails, setShowMoreDetails] = useState(false); - const [isNpcapFixed, setIsNpcapFixed] = useState(false); - const theme = useTheme(); - const isMobile = useMediaQuery(theme.breakpoints.down('sm')); - - useEffect(() => { - fetchDependencyStatus(); - }, []); - - const fetchDependencyStatus = async () => { - try { - const response = await fetch('http://localhost:5000/api/dependencies/check'); - if (response.ok) { - const data = await response.json(); - setDependencies(data); - setIsNpcapFixed(!data.missingDeps.includes('Npcap packet capture library')); - } - } catch (error) { - console.error('Failed to fetch dependency status', error); - } - }; - - const handleRefreshStatus = async () => { - try { - const response = await fetch('http://localhost:5000/api/dependencies/recheck', { - method: 'POST' - }); - if (response.ok) { - await fetchDependencyStatus(); - } - } catch (error) { - console.error('Failed to refresh dependency status', error); - } - }; - - const handleFixNpcap = async () => { - try { - const response = await fetch('http://localhost:5000/api/dependencies/fix-npcap', { - method: 'POST' - }); - if (response.ok) { - await fetchDependencyStatus(); - setIsNpcapFixed(true); - } - } catch (error) { - console.error('Failed to fix Npcap', error); - } - }; - - const hasNpcapIssue = dependencies.missingDeps.includes('Npcap packet capture library'); - const hasAdminIssue = dependencies.warnings.some(w => w.includes('administrative privileges')); - const hasMissingDeps = dependencies.missingDeps.length > 0; - - const getSeverity = () => { - if (hasNpcapIssue) return 'error'; - if (hasAdminIssue) return 'warning'; - if (dependencies.warnings.length > 0) return 'info'; - return 'success'; - }; - - const getTitle = () => { - if (hasNpcapIssue) return 'Network Monitoring Unavailable'; - if (hasAdminIssue) return 'Limited Functionality'; - if (dependencies.warnings.length > 0) return 'Minor Issues Detected'; - return 'All Dependencies Installed'; - }; - - const getSeverityIcon = () => { - switch (getSeverity()) { - case 'error': return ; - case 'warning': return ; - case 'info': return ; - case 'success': return ; - default: return ; - } - }; +const DependencyWarning = ({ missingDependencies }) => { + if (!missingDependencies || missingDependencies.length === 0) { + return null; + } return ( - - - - - - - - {getSeverityIcon()} - - - - {getTitle()} - - - {hasMissingDeps - ? `${dependencies.missingDeps.length} missing dependencies detected` - : dependencies.warnings.length > 0 - ? `${dependencies.warnings.length} warnings found` - : 'Network Monitor is ready to use'} - - - - - - - - - - - - - {hasNpcapIssue && ( - - - - - - Npcap Packet Capture Library Issue - - - - Npcap is required for network scanning and monitoring. {dependencies.npcapStatus?.status === 'not_installed' ? - 'It is not currently installed on your system.' : - 'It is installed but not properly configured.'} - - - - {dependencies.npcapStatus?.status === 'not_installed' ? ( - - - Installation Steps: - - - - - - - - Download Npcap from the official website - - } - /> - - - - - - - - - - - - - - - - - - - - - - ) : ( - - - Configuration Issue: - - - - - - - - - - - - - - Try reinstalling Npcap with the "WinPcap API-compatible Mode" option enabled - - } - /> - - - - - - - - - - - - {isNpcapFixed && ( - - Fix attempted! Please restart Network Monitor. - - )} - - )} - - - - - - - Tip: If you continue to have issues, try running Network Monitor as an administrator. - - - - - - +
+
+
+ + + +
+
+

+ Missing Dependencies Detected +

+
+

+ The following dependencies need to be installed for NetworkMonitor to function properly: +

+
    + {missingDependencies.map((dep, index) => ( +
  • {dep}
  • + ))} +
+
+

Installation Instructions:

+
    + {missingDependencies.includes('Python 3.9+') && ( +
  1. + Install Python 3.9 or later: +
      +
    • Download from python.org
    • +
    • During installation, check "Add Python to PATH"
    • +
    +
  2. )} - - {hasAdminIssue && ( - - - - - - Administrator Privileges Required - - - Some features of Network Monitor require administrator privileges to function properly. - - - To run as administrator: - - - - - - - - - - - - - - - - - - + {missingDependencies.includes('Npcap') && ( +
  3. + Install Npcap: +
      +
    • Download from npcap.com
    • +
    • Run installer as administrator
    • +
    • Select "Install Npcap in WinPcap API-compatible Mode"
    • +
    +
  4. )} - - {dependencies.missingDeps - .filter(dep => !dep.includes('Npcap')) - .map((dep) => ( - - - - - - Missing Dependency: {dep} - - - {dependencies.instructions[dep] || `Install ${dep} to enable all features.`} - - - - - ))} - - {dependencies.warnings - .filter(warning => !warning.includes('administrative privileges')) - .map((warning, index) => ( - - - - {warning} - - - ))} - - {showMoreDetails && dependencies.npcapStatus && ( - - - Npcap Detailed Information - - - {JSON.stringify(dependencies.npcapStatus, null, 2)} - - + {missingDependencies.includes('Python packages') && ( +
  5. + Install Python packages: +
      +
    • Open Command Prompt as administrator
    • +
    • Run: pip install -r "C:\Program Files\NetworkMonitor\requirements.txt"
    • +
    +
  6. )} - - - - - - - - - - - - +
+
+

+ After installing the dependencies, restart NetworkMonitor. + If you continue to see this warning, check the troubleshooting guide in the documentation. +

+
+
+
+
); }; diff --git a/pyproject.toml b/pyproject.toml index 7005067..3db4457 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,24 +1,29 @@ [build-system] -requires = ["setuptools>=45", "wheel"] +requires = ["setuptools>=69.0.0", "wheel>=0.42.0"] build-backend = "setuptools.build_meta" [project] name = "networkmonitor" version = "0.1.0" -description = "Network monitoring and bandwidth control tool" -requires-python = ">=3.8" -license = {text = "MIT"} +description = "Network monitoring and analysis tool" +requires-python = ">=3.9" dependencies = [ - "flask>=2.0.1,<3.0.0", - "flask-cors>=3.0.10,<4.0.0", - "psutil>=5.8.0,<6.0.0", - "scapy>=2.4.5,<3.0.0", - "requests>=2.26.0,<3.0.0", - "click>=8.0.0,<9.0.0", - "ifaddr>=0.1.7,<0.2.0", - "python-dateutil>=2.8.2,<3.0.0", - "werkzeug>=2.0.0,<3.0.0", - "typing-extensions>=4.0.0,<5.0.0", + "flask>=2.0.0", + "flask-cors>=3.0.0", + "click>=8.0.0", + "scapy>=2.5.0", + "psutil>=5.9.0", + "requests>=2.0.0", + "ifaddr>=0.1.0", + "pywin32>=300; platform_system=='Windows'", + "wmi>=1.5.1; platform_system=='Windows'", +] + +[project.optional-dependencies] +dev = [ + "black", + "pytest", + "pylint" ] [tool.setuptools] diff --git a/requirements-build.txt b/requirements-build.txt index 558e854..2b307c2 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -1,7 +1,4 @@ -pyinstaller>=6.0.0 -setuptools>=45.0.0 -wheel>=0.36.2 -twine>=3.4.1 -cairosvg>=2.7.0 -Pillow>=10.0.0 -pywin32>=305;platform_system=="Windows" \ No newline at end of file +# Build dependencies +pyinstaller>=5.13.0 +wheel>=0.40.0 +setuptools>=68.0.0 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index b42b9a2..71fe954 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,13 +1,8 @@ -flask>=2.0.1,<3.0.0 -flask-cors>=3.0.10,<4.0.0 -psutil>=5.8.0,<6.0.0 -scapy>=2.4.5,<3.0.0 -requests>=2.26.0,<3.0.0 -click>=8.0.0,<9.0.0 -ifaddr>=0.1.7,<0.2.0 -python-dateutil>=2.8.2,<3.0.0 -werkzeug>=2.0.0,<3.0.0 -typing-extensions>=4.0.0,<5.0.0 -pywin32>=305 -wmi>=1.5.1 -comtypes>=1.1.14 \ No newline at end of file +flask>=2.0.0 +flask-cors>=3.0.0 +click>=8.0.0 +scapy>=2.5.0 +psutil>=5.9.0 +requests>=2.0.0 +pywin32>=300; sys_platform == 'win32' +pyinstaller>=5.0.0 \ No newline at end of file diff --git a/run_app.py b/run_app.py new file mode 100644 index 0000000..746bd8b --- /dev/null +++ b/run_app.py @@ -0,0 +1,231 @@ +""" +Simple launcher script for NetworkMonitor that will show all errors +""" +import os +import sys +import traceback +import logging +import tkinter as tk +from tkinter import messagebox +import time +import threading +import webbrowser + +# Configure very verbose logging +log_handlers = [ + logging.FileHandler('networkmonitor_startup.log'), + logging.StreamHandler(sys.stdout) # Explicitly use stdout +] + +# Add console handler with a more visible format +console_handler = logging.StreamHandler(sys.stdout) +console_handler.setFormatter(logging.Formatter('\n%(levelname)s: %(message)s')) +log_handlers.append(console_handler) + +logging.basicConfig( + level=logging.DEBUG, + format='%(asctime)s - %(levelname)s - %(name)s - %(message)s', + handlers=log_handlers +) + +logger = logging.getLogger("NetworkMonitorLauncher") + +def show_error_dialog(message, detail=None): + """Show an error dialog to the user""" + try: + root = tk.Tk() + root.withdraw() # Hide the main window + + full_message = message + if detail: + full_message += f"\n\nDetails:\n{detail}" + + messagebox.showerror("NetworkMonitor Error", full_message) + root.destroy() + except: + # If dialog fails, fall back to console + print("\nERROR:", message) + if detail: + print("\nDetails:", detail) + +def create_status_window(): + """Create a status window that keeps the application running""" + root = tk.Tk() + root.title("NetworkMonitor Status") + root.geometry("400x200") + + # Add icon if available + try: + icon_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "assets", "icon.ico") + if os.path.exists(icon_path): + root.iconbitmap(icon_path) + except Exception as e: + logger.warning(f"Could not load icon: {e}") + + # Status label + status_var = tk.StringVar(value="Starting NetworkMonitor...") + status_label = tk.Label(root, textvariable=status_var, font=("Arial", 12)) + status_label.pack(pady=20) + + # URL label + url_label = tk.Label(root, text="Web interface available at:", font=("Arial", 10)) + url_label.pack(pady=5) + + url_var = tk.StringVar(value="http://localhost:5000") + url_value = tk.Label(root, textvariable=url_var, font=("Arial", 10, "underline"), fg="blue") + url_value.pack(pady=5) + + # Add button to open browser + def open_browser(): + webbrowser.open(url_var.get()) + + open_button = tk.Button(root, text="Open in Browser", command=open_browser) + open_button.pack(pady=10) + + # Add exit button + exit_button = tk.Button(root, text="Exit NetworkMonitor", command=lambda: (root.destroy(), os._exit(0))) + exit_button.pack(pady=10) + + return root, status_var, url_var + +def run_with_exception_handling(): + """Run the application with detailed exception handling""" + try: + logger.info("Starting NetworkMonitor application") + print("\nStarting NetworkMonitor application...") + + # Check if we're running as admin + import ctypes + is_admin = ctypes.windll.shell32.IsUserAnAdmin() != 0 + logger.info(f"Running as admin: {is_admin}") + print(f"Running as admin: {is_admin}") + + if not is_admin: + msg = "Administrator privileges required.\nPlease run as administrator." + logger.warning(msg) + show_error_dialog(msg) + return 1 + + # Create status window first + status_window, status_var, url_var = create_status_window() + + # Start the launcher in a background thread to prevent blocking the UI + server_started = False + server_error = None + server_controller = None + + def run_launcher(): + nonlocal server_started, server_error, server_controller + try: + # First ensure Npcap is initialized + try: + # Try relative import first + from networkmonitor.npcap_helper import initialize_npcap, verify_npcap_installation + except ImportError: + # Add parent directory to path + parent_dir = os.path.dirname(os.path.abspath(__file__)) + if parent_dir not in sys.path: + sys.path.insert(0, parent_dir) + from networkmonitor.npcap_helper import initialize_npcap, verify_npcap_installation + + logger.info("Initializing Npcap support") + npcap_initialized = initialize_npcap() + if not npcap_initialized: + status_var.set("Npcap initialization failed!") + server_error = "Failed to initialize Npcap. Please install Npcap from https://npcap.com/" + logger.error(server_error) + return 1 + + logger.info("Npcap initialized successfully") + status_var.set("Starting network monitoring...") + + # Now launch the server + try: + from networkmonitor.launcher import start_server + status_var.set("Starting server...") + success, controller = start_server(host='127.0.0.1', port=5000) + server_controller = controller + + if success: + server_started = True + status_var.set("NetworkMonitor is running") + logger.info("Server started successfully") + return 0 + else: + server_error = "Failed to start server" + status_var.set("Failed to start server") + logger.error(server_error) + return 1 + except Exception as e: + error_detail = traceback.format_exc() + server_error = f"Error starting server: {str(e)}" + status_var.set("Error starting server") + logger.error(f"{server_error}\n{error_detail}") + return 1 + + except Exception as e: + error_detail = traceback.format_exc() + server_error = f"Error in launcher: {str(e)}" + status_var.set("Error in launcher") + logger.error(f"{server_error}\n{error_detail}") + return 1 + + # Start launcher thread + launcher_thread = threading.Thread(target=run_launcher, daemon=True) + launcher_thread.start() + + # Update status periodically + def update_status(): + if server_started: + status_var.set("NetworkMonitor is running") + elif server_error: + status_var.set(f"Error: {server_error[:40]}...") + # Show error dialog after a delay to ensure it appears after the window + status_window.after(1000, lambda: show_error_dialog("NetworkMonitor Error", server_error)) + else: + status_var.set("Starting NetworkMonitor...") + status_window.after(1000, update_status) + + status_window.after(100, update_status) + + # Keep the application running + status_window.protocol("WM_DELETE_WINDOW", lambda: (status_window.destroy(), os._exit(0))) + status_window.mainloop() + + # Clean up on exit + if server_controller: + try: + server_controller.stop_monitoring() + except: + pass + + return 0 + + except Exception as e: + error_msg = "Critical error starting NetworkMonitor" + detail = f"Error: {str(e)}\n\nTraceback:\n{traceback.format_exc()}" + logger.critical(f"{error_msg}\n{detail}") + show_error_dialog(error_msg, detail) + return 1 + +if __name__ == "__main__": + try: + print("\n" + "=" * 60) + print("NetworkMonitor Debug Launcher") + print("=" * 60 + "\n") + + exit_code = run_with_exception_handling() + + if exit_code != 0: + print(f"\nApplication exited with error code: {exit_code}") + print("Check networkmonitor_startup.log for details") + print("\nPress Enter to exit...") + input() + + sys.exit(exit_code) + except Exception as e: + logger.critical(f"Unhandled exception: {e}") + traceback.print_exc() + print("\nPress Enter to exit...") + input() + sys.exit(1) \ No newline at end of file diff --git a/run_networkmonitor.bat b/run_networkmonitor.bat new file mode 100644 index 0000000..23e46d9 --- /dev/null +++ b/run_networkmonitor.bat @@ -0,0 +1,59 @@ +@echo off +TITLE NetworkMonitor Debug Launcher +MODE CON: COLS=120 LINES=40 + +ECHO ======================================================== +ECHO NetworkMonitor Debug Launcher +ECHO ======================================================== +ECHO. + +:: Check for admin privileges +NET SESSION >nul 2>&1 +IF %ERRORLEVEL% NEQ 0 ( + ECHO Administrator privileges required! + ECHO Right-click on this batch file and select "Run as administrator" + PAUSE + EXIT /B 1 +) + +:: Set up the environment +SET PYTHONPATH=%~dp0 +CD /D %~dp0 + +:: Activate virtual environment if it exists +IF EXIST "venv\Scripts\activate.bat" ( + ECHO Activating virtual environment... + CALL venv\Scripts\activate.bat +) ELSE ( + ECHO Virtual environment not found at venv\Scripts\activate.bat + ECHO Please ensure the virtual environment is set up correctly + PAUSE + EXIT /B 1 +) + +ECHO Running with administrator privileges +ECHO Logging to networkmonitor_debug_batch.log +ECHO. + +:: Enable extended console output +SET PYTHONUNBUFFERED=1 +SET PYTHONIOENCODING=UTF-8 + +:: Run the application with output going to both console and log file +python -u "%~dp0start_networkmonitor.py" 2>&1 | TEE networkmonitor_debug_batch.log + +IF %ERRORLEVEL% NEQ 0 ( + ECHO. + ECHO Application exited with error code: %ERRORLEVEL% + ECHO Check networkmonitor_debug_batch.log for details + TYPE networkmonitor_debug_batch.log +) ELSE ( + ECHO Application exited successfully +) + +:: Deactivate virtual environment +deactivate + +ECHO. +ECHO Press any key to exit... +PAUSE >NUL \ No newline at end of file diff --git a/setup.py b/setup.py index 7cf009f..5fe8a9f 100644 --- a/setup.py +++ b/setup.py @@ -1,62 +1,83 @@ +""" +Setup script for NetworkMonitor +Supports both pip installation and py2app for macOS +""" +import os +import sys +from pathlib import Path from setuptools import setup, find_packages -import platform -install_requires = [ - "flask>=2.0.1,<3.0.0", - "flask-cors>=3.0.10,<4.0.0", - "psutil>=5.9.0,<6.0.0", - "scapy>=2.5.0,<3.0.0", - "requests>=2.28.0,<3.0.0", - "click>=8.0.0,<9.0.0", - "ifaddr>=0.1.7,<0.2.0", - "python-dateutil>=2.8.2,<3.0.0", - "werkzeug>=2.0.0,<3.0.0", - "typing-extensions>=4.0.0,<5.0.0", -] +def read_requirements(filename): + """Read requirements from file""" + with open(filename, 'r') as f: + return [line.strip() for line in f if line.strip() and not line.startswith('#')] -# Windows-specific dependencies -if platform.system() == "Windows": - install_requires.extend([ - "pywin32>=305", - "wmi>=1.5.1", - "comtypes>=1.1.14", - ]) -elif platform.system() == "Linux": - install_requires.extend([ - "python-iptables>=1.0.0", - "netifaces>=0.11.0", - ]) -elif platform.system() == "Darwin": - install_requires.extend([ - "pyobjc-framework-SystemConfiguration>=8.0", - "netifaces>=0.11.0", - ]) +# Get current version +version = '0.1.0' +# Basic setup configuration setup( name="networkmonitor", version="0.1.0", - description="Network monitoring and control tool with RESTful API", - author="Network Monitor Team", packages=find_packages(), include_package_data=True, - install_requires=install_requires, + install_requires=[ + "flask>=2.0.0", + "flask-cors>=3.0.0", + "click>=8.0.0", + "scapy>=2.5.0", + "psutil>=5.9.0", + "requests>=2.0.0", + "ifaddr>=0.1.0", + ], + extras_require={ + ':platform_system=="Windows"': [ + "pywin32>=300", + "wmi>=1.5.1", + ], + }, entry_points={ - 'console_scripts': [ - 'networkmonitor=networkmonitor.cli:entry_point', + "console_scripts": [ + "networkmonitor=networkmonitor.cli:main", ], }, - python_requires=">=3.8", - classifiers=[ - "Development Status :: 4 - Beta", - "Intended Audience :: System Administrators", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Topic :: System :: Networking :: Monitoring", - "Operating System :: Microsoft :: Windows", - "Operating System :: POSIX :: Linux", - "Operating System :: MacOS", - ], + python_requires=">=3.9", ) + +# Additional configuration for py2app on macOS +if sys.platform == 'darwin' and 'py2app' in sys.argv: + extra_options = { + 'setup_requires': ['py2app'], + 'app': ['networkmonitor/cli.py'], + 'options': { + 'py2app': { + 'argv_emulation': True, + 'packages': ['networkmonitor'], + 'includes': [ + 'flask', + 'werkzeug', + 'jinja2', + 'click', + 'scapy', + 'psutil', + 'ifaddr', + 'requests', + ], + 'resources': ['networkmonitor/web', 'assets'], + 'iconfile': 'assets/icon.icns', + 'plist': { + 'CFBundleName': 'NetworkMonitor', + 'CFBundleDisplayName': 'NetworkMonitor', + 'CFBundleIdentifier': 'com.networkmonitor.app', + 'CFBundleVersion': version, + 'CFBundleShortVersionString': version, + 'LSMinimumSystemVersion': '10.13', + 'NSHighResolutionCapable': True, + 'NSRequiresAquaSystemAppearance': False, + } + } + } + } + setup_config.update(extra_options) + +setup(**setup_config) diff --git a/start_networkmonitor.py b/start_networkmonitor.py new file mode 100644 index 0000000..0528f9a --- /dev/null +++ b/start_networkmonitor.py @@ -0,0 +1,143 @@ +""" +NetworkMonitor Application Starter +This script provides a reliable entry point for starting NetworkMonitor +""" +import os +import sys +import platform +import traceback +import ctypes +import time +import logging +from pathlib import Path + +# Configure logging first +logging.basicConfig( + level=logging.DEBUG, + format='%(asctime)s - %(levelname)s - %(message)s', + handlers=[ + logging.FileHandler('networkmonitor_startup.log'), + logging.StreamHandler(sys.stdout) # Explicitly use stdout + ] +) +logger = logging.getLogger(__name__) + +def check_admin(): + """Check if running as administrator and restart if not""" + try: + is_admin = False + if platform.system() == 'Windows': + is_admin = ctypes.windll.shell32.IsUserAnAdmin() != 0 + + if not is_admin: + logger.warning("NetworkMonitor requires administrator privileges.") + print("\nNetworkMonitor requires administrator privileges.") + print("Please run this script as administrator.") + + if platform.system() == 'Windows': + # Try to restart with admin privileges + logger.info("Attempting to restart with elevated privileges...") + print("\nAttempting to restart with elevated privileges...") + script = sys.argv[0] + ctypes.windll.shell32.ShellExecuteW(None, "runas", sys.executable, script, None, 1) + sys.exit(0) + + return False + return True + except Exception as e: + logger.error(f"Error checking admin privileges: {e}") + print(f"\nError checking admin privileges: {e}") + return False + +def main(): + """Main entry point""" + print("\n" + "="*60) + print("NetworkMonitor Startup") + print("="*60 + "\n") + + logger.info("NetworkMonitor startup initiated") + + try: + # Check for admin privileges + if not check_admin(): + print("\nPress Enter to exit...") + input() + return 1 + + print(f"Running as Administrator: {ctypes.windll.shell32.IsUserAnAdmin() != 0}") + print(f"Python version: {sys.version}") + print(f"Working directory: {os.getcwd()}") + print(f"Script path: {os.path.abspath(__file__)}") + print("Loading modules...\n") + + # Make sure the current directory is in the path + current_dir = os.path.dirname(os.path.abspath(__file__)) + if current_dir not in sys.path: + sys.path.insert(0, current_dir) + + # Method 1: Try importing the CLI module + print("Method 1: Starting via CLI...") + try: + from networkmonitor.cli import entry_point + logger.info("Starting via CLI entry point") + print("Starting Network Monitor...\n") + entry_point() + return 0 + except Exception as e: + logger.error(f"Error using CLI method: {e}") + print(f"\nError using CLI method: {e}") + traceback.print_exc() + + # Method 2: Try launcher directly + print("\nMethod 2: Starting via launcher...") + try: + from networkmonitor.launcher import main as launcher_main + logger.info("Starting via launcher main function") + result = launcher_main() + return result + except Exception as e: + logger.error(f"Error using launcher method: {e}") + print(f"\nError using launcher method: {e}") + traceback.print_exc() + + # Method 3: Use the run_app.py approach + print("\nMethod 3: Starting via run_app...") + try: + import run_app + logger.info("Starting via run_app module") + result = run_app.run_with_exception_handling() + return result + except Exception as e: + logger.error(f"Error using run_app method: {e}") + print(f"\nError using run_app method: {e}") + traceback.print_exc() + + logger.error("All startup methods failed") + print("\nAll startup methods failed.") + print("\nPress Enter to exit...") + input() + return 1 + + except Exception as e: + logger.critical(f"Critical error during startup: {e}") + print(f"\nCRITICAL ERROR: {e}") + traceback.print_exc() + print("\nPress Enter to exit...") + input() + return 1 + +if __name__ == "__main__": + try: + exit_code = main() + logger.info(f"Application exited with code: {exit_code}") + print(f"\nApplication exited with code: {exit_code}") + print("\nPress Enter to close this window...") + input() + sys.exit(exit_code) + except Exception as e: + logger.critical(f"Unhandled exception in main script: {e}") + print(f"\nUnhandled exception in main script: {e}") + traceback.print_exc() + print("\nPress Enter to exit...") + input() + sys.exit(1) \ No newline at end of file From 96f0b0a99ebc561a09b85a1281ec1d7769f7be93 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Mon, 3 Mar 2025 23:11:20 +0500 Subject: [PATCH 02/21] chore: update requirements to include pystray and Pillow for icon support; enhance logging for Npcap initialization --- networkmonitor.log | 10 ++ networkmonitor/launcher.py | 230 +++++++++++++++++++++++++++---------- requirements.txt | 4 +- 3 files changed, 180 insertions(+), 64 deletions(-) diff --git a/networkmonitor.log b/networkmonitor.log index 175088c..399276a 100644 --- a/networkmonitor.log +++ b/networkmonitor.log @@ -131,3 +131,13 @@ 2025-03-03 22:21:06,077 - INFO - Added DLL directory: C:\Program Files\Npcap 2025-03-03 22:21:06,097 - INFO - Scapy import successful: Npcap is correctly configured 2025-03-03 22:21:06,097 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-03 23:05:11,028 - INFO - Initializing Npcap support +2025-03-03 23:05:11,029 - INFO - Initializing Npcap... +2025-03-03 23:05:11,029 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-03 23:05:11,030 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-03 23:05:11,030 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-03 23:05:11,030 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-03 23:05:11,031 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-03 23:05:11,031 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-03 23:05:11,050 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-03 23:05:11,051 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} diff --git a/networkmonitor/launcher.py b/networkmonitor/launcher.py index 9256410..ea227a4 100644 --- a/networkmonitor/launcher.py +++ b/networkmonitor/launcher.py @@ -157,11 +157,12 @@ def open_browser(url): return False def create_console_window(): - """Create a simple console window to display logs and status""" + """Create a modern, user-friendly console window to display logs and status""" if platform.system() == "Windows": try: - from tkinter import scrolledtext + from tkinter import scrolledtext, ttk import threading + import webbrowser # Configure font sizes based on screen resolution try: @@ -173,11 +174,19 @@ def create_console_window(): except: font_size = 9 button_font_size = 9 - + + # Create and style the main window console_root = tk.Tk() - console_root.title("Network Monitor") - console_root.geometry("800x400") - console_root.minsize(640, 300) + console_root.title("Network Monitor Dashboard") + console_root.geometry("900x600") + console_root.minsize(800, 500) + + # Configure the window style + style = ttk.Style() + style.configure('TFrame', background='#f0f0f0') + style.configure('Header.TLabel', font=('Arial', 16, 'bold'), background='#f0f0f0') + style.configure('Status.TLabel', font=('Arial', font_size), background='#f0f0f0') + style.configure('URL.TLabel', font=('Arial', font_size, 'underline'), foreground='blue', background='#f0f0f0') # Set window icon if available try: @@ -192,79 +201,171 @@ def create_console_window(): except Exception as e: logger.debug(f"Could not set window icon: {e}") - # Prevent closing with X button (use Exit button instead) - console_root.protocol("WM_DELETE_WINDOW", lambda: None) + # Create main container with padding + main_frame = ttk.Frame(console_root, padding=(20, 10, 20, 10), style='TFrame') + main_frame.pack(fill=tk.BOTH, expand=True) - # Main content frame - main_frame = tk.Frame(console_root) - main_frame.pack(fill=tk.BOTH, expand=True, padx=10, pady=5) + # Header section + header_frame = ttk.Frame(main_frame, style='TFrame') + header_frame.pack(fill=tk.X, pady=(0, 15)) - # Status frame (top) - status_frame = tk.Frame(main_frame) - status_frame.pack(fill=tk.X, pady=(0, 5)) + header_label = ttk.Label(header_frame, text="Network Monitor", style='Header.TLabel') + header_label.pack(side=tk.LEFT) - status_label = tk.Label(status_frame, text="Status: Starting...", font=("Arial", font_size)) - status_label.pack(side=tk.LEFT, padx=5) + # Status section with modern styling + status_frame = ttk.Frame(main_frame, style='TFrame') + status_frame.pack(fill=tk.X, pady=(0, 10)) - # Create a variable to track server status + status_var = tk.StringVar(value="Starting services...") + status_label = ttk.Label(status_frame, textvariable=status_var, style='Status.TLabel') + status_label.pack(side=tk.LEFT) + + # Server status indicator (colored dot) server_running = tk.BooleanVar(value=False) + status_indicator = tk.Canvas(status_frame, width=12, height=12, bg='#f0f0f0', highlightthickness=0) + status_indicator.pack(side=tk.LEFT, padx=(10, 0)) + + def update_status_indicator(is_running=None): + color = '#2ecc71' if server_running.get() else '#e74c3c' # Green when running, red when stopped + status_indicator.delete('all') + status_indicator.create_oval(2, 2, 10, 10, fill=color, outline='') + + # URL section with copy button + url_frame = ttk.Frame(main_frame, style='TFrame') + url_frame.pack(fill=tk.X, pady=(0, 15)) + + url_var = tk.StringVar(value="http://127.0.0.1:5000/api/docs") + url_label = ttk.Label(url_frame, text="Web Interface:", style='Status.TLabel') + url_label.pack(side=tk.LEFT) + + url_value = ttk.Label(url_frame, textvariable=url_var, style='URL.TLabel', cursor='hand2') + url_value.pack(side=tk.LEFT, padx=(5, 10)) + url_value.bind('', lambda e: webbrowser.open(url_var.get())) + + def copy_url(): + console_root.clipboard_clear() + console_root.clipboard_append(url_var.get()) + copy_button.config(text="✓ Copied") + console_root.after(2000, lambda: copy_button.config(text="Copy")) + + copy_button = ttk.Button(url_frame, text="Copy", command=copy_url, width=8) + copy_button.pack(side=tk.LEFT) + + # Log display with improved styling + log_frame = ttk.Frame(main_frame, style='TFrame') + log_frame.pack(fill=tk.BOTH, expand=True, pady=(0, 15)) + + log_label = ttk.Label(log_frame, text="Application Log:", style='Status.TLabel') + log_label.pack(anchor=tk.W) + + log_display = scrolledtext.ScrolledText( + log_frame, + height=15, + font=("Consolas", font_size), + background='#ffffff', + foreground='#333333' + ) + log_display.pack(fill=tk.BOTH, expand=True, pady=(5, 0)) + + # Control buttons frame + button_frame = ttk.Frame(main_frame, style='TFrame') + button_frame.pack(fill=tk.X, pady=(0, 10)) + + # Create minimize to tray functionality + def minimize_to_tray(): + console_root.withdraw() # Hide the window + # Create system tray icon + try: + import pystray + from PIL import Image + + def show_window(icon, item): + icon.stop() + console_root.after(0, console_root.deiconify) + + def exit_app(icon, item): + icon.stop() + console_root.after(0, lambda: os._exit(0)) + + # Create tray icon menu + menu = pystray.Menu( + pystray.MenuItem("Show Dashboard", show_window), + pystray.MenuItem("Exit", exit_app) + ) + + # Create and run tray icon + icon_path = os.path.join(base_path, "assets", "icon.ico") + if os.path.exists(icon_path): + icon_image = Image.open(icon_path) + else: + # Create a default icon if the icon file is not found + icon_image = Image.new('RGB', (64, 64), color='#1e88e5') + + icon = pystray.Icon("NetworkMonitor", icon_image, "Network Monitor", menu) + icon.run() + except ImportError: + logger.warning("pystray not installed, minimizing to taskbar instead") + console_root.iconify() + + minimize_button = ttk.Button( + button_frame, + text="Run in Background", + command=minimize_to_tray, + width=20 + ) + minimize_button.pack(side=tk.LEFT, padx=(0, 5)) + + open_button = ttk.Button( + button_frame, + text="Open in Browser", + command=lambda: webbrowser.open(url_var.get()), + state=tk.DISABLED, + width=15 + ) + open_button.pack(side=tk.LEFT, padx=5) - # Function to update status display + restart_button = ttk.Button( + button_frame, + text="Restart Service", + command=lambda: restart_server(), + width=15 + ) + restart_button.pack(side=tk.LEFT, padx=5) + + exit_button = ttk.Button( + button_frame, + text="Exit", + command=lambda: confirm_exit(), + width=10 + ) + exit_button.pack(side=tk.RIGHT) + + # Add exit confirmation dialog + def confirm_exit(): + if tk.messagebox.askokcancel( + "Exit Network Monitor", + "Are you sure you want to exit Network Monitor?\nThis will stop the monitoring service." + ): + os._exit(0) + + # Update function for status display def update_status_display(is_running=None, message=None): if is_running is not None: server_running.set(is_running) if server_running.get(): - status_label.config(text="Status: Running", fg="green") + status_var.set("Status: Running") + status_label.config(foreground='#2ecc71') # Green text for running open_button.config(state=tk.NORMAL) else: status_msg = message if message else "Not Running" - status_label.config(text=f"Status: {status_msg}", fg="red") + status_var.set(f"Status: {status_msg}") + status_label.config(foreground='#e74c3c') # Red text for stopped open_button.config(state=tk.DISABLED) - + + update_status_indicator() console_root.update_idletasks() - # URL display - url_frame = tk.Frame(main_frame) - url_frame.pack(fill=tk.X, pady=5) - - url_label = tk.Label(url_frame, text="Web Interface:", font=("Arial", font_size)) - url_label.pack(side=tk.LEFT, padx=5) - - url_var = tk.StringVar(value="http://localhost:5000") - url_entry = tk.Entry(url_frame, textvariable=url_var, width=40, font=("Arial", font_size)) - url_entry.pack(side=tk.LEFT, padx=5, fill=tk.X, expand=True) - - # Create text area for logs - log_frame = tk.Frame(main_frame) - log_frame.pack(fill=tk.BOTH, expand=True, pady=5) - - log_label = tk.Label(log_frame, text="Application Log:", font=("Arial", font_size)) - log_label.pack(anchor=tk.W, padx=5) - - log_display = scrolledtext.ScrolledText(log_frame, height=15, font=("Consolas", font_size)) - log_display.pack(fill=tk.BOTH, expand=True, padx=5, pady=(0, 5)) - log_display.insert(tk.END, f"Network Monitor started\nLogs available at: {log_file}\n\n") - - # Button frame (bottom) - button_frame = tk.Frame(main_frame) - button_frame.pack(fill=tk.X, pady=(5, 10)) - - open_button = tk.Button(button_frame, text="Open in Browser", - command=lambda: webbrowser.open(url_var.get()), - state=tk.DISABLED, font=("Arial", button_font_size)) - open_button.pack(side=tk.LEFT, padx=5) - - restart_button = tk.Button(button_frame, text="Restart Service", - command=lambda: restart_server(), - font=("Arial", button_font_size)) - restart_button.pack(side=tk.LEFT, padx=5) - - exit_button = tk.Button(button_frame, text="Exit", - command=lambda: os._exit(0), - font=("Arial", button_font_size)) - exit_button.pack(side=tk.RIGHT, padx=5) - # Server controller reference server_controller = {"instance": None, "url": None, "thread": None} @@ -371,9 +472,12 @@ def start_server_with_feedback(host, port, update_status_fn, log_widget): # Set up periodic log updates update_logs() - # Start server automatically + # Start server automatically after a short delay console_root.after(1000, restart_server) + # Handle window close with confirmation + console_root.protocol("WM_DELETE_WINDOW", confirm_exit) + return console_root except Exception as e: logger.error(f"Failed to create console window: {e}") diff --git a/requirements.txt b/requirements.txt index 71fe954..d774627 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,6 @@ scapy>=2.5.0 psutil>=5.9.0 requests>=2.0.0 pywin32>=300; sys_platform == 'win32' -pyinstaller>=5.0.0 \ No newline at end of file +pyinstaller>=5.0.0 +pystray>=0.19.0 +Pillow>=10.0.0 # Required for pystray icon support \ No newline at end of file From 1b3a03d70b37f90957a6a056402ab2ccc95e9937 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Mon, 3 Mar 2025 23:39:22 +0500 Subject: [PATCH 03/21] docs: enhance README and DEVELOPER documentation with new features, UI components, and system tray integration details --- DEVELOPER.md | 179 ++++++++++++++++++++++++++++++++- README.md | 34 ++++++- networkmonitor.log | 20 ++++ networkmonitor/launcher.py | 184 ++++++++++++++++++++++++++-------- run_app.py | 198 ++++++++++++++++++++++++++++++++----- 5 files changed, 545 insertions(+), 70 deletions(-) diff --git a/DEVELOPER.md b/DEVELOPER.md index 7924ba9..a5827c4 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -383,4 +383,181 @@ networkmonitor/ ├── server.py # Web server component ├── splash.py # Splash screen UI └── web/ # Web interface files -``` \ No newline at end of file +``` + +## UI Components + +### Status Dashboard + +The status dashboard is built using Tkinter with a modern, dark theme design. The implementation can be found in `run_app.py` and `launcher.py`. Here are the key technical details: + +#### Color Scheme +The UI uses a consistent color scheme defined as: +- Background: #1e1e1e (Dark background) +- Foreground: #e0e0e0 (Light text) +- Accent: #007acc (Blue accent) +- Success: #2ecc71 (Green) +- Error: #e74c3c (Red) +- Warning: #f1c40f (Yellow) +- Header Background: #252526 +- Button Background: #333333 +- Button Hover: #404040 + +#### UI Components Structure + +1. Header Section + - Professional gradient background effect + - Centered title with Segoe UI bold font + - Application icon integration + - Fixed height with proper padding + +2. Status Section + - Dynamic status indicator with smooth color transitions + - Clear status message display + - Color-coded states (running/error/warning) + - Background highlighting for better visibility + +3. URL Display + - Interactive URL label with hover effects + - One-click copy functionality + - Visual feedback on interactions + - Direct browser launch capability + +4. Control Panel + - Modern flat-design buttons + - Consistent button sizing and spacing + - Hover effects for better UX + - Background operation support + - Safe exit handling + +#### System Tray Integration + +The application now supports system tray operation with: +- Custom tray icon display +- Right-click context menu +- Status preservation while minimized +- Quick restore functionality +- Clean application exit + +### Implementation Guidelines + +1. Window Configuration + - Minimum size: 500x300 pixels + - Responsive layout adaptation + - DPI-aware scaling + - Multi-monitor support + - Proper window manager hints + +2. Font Usage + - Primary UI: Segoe UI (Windows system font) + - Fallback fonts for cross-platform compatibility + - Size scaling based on screen resolution + - Consistent font weights + +3. Layout Standards + - Standard padding: 20px horizontal, 15px vertical + - Consistent component spacing + - Proper alignment and anchoring + - Responsive grid system + +4. Event Handling + - Non-blocking UI operations + - Threaded server management + - Periodic status updates + - Clean exit procedures + - Error handling and recovery + +## Development Guidelines + +### Adding New UI Elements + +1. Follow the color scheme: +```python +element = tk.Widget( + parent, + bg=COLORS['bg'], + fg=COLORS['fg'], + activebackground=COLORS['button_hover'] +) +``` + +2. Use the button creation helper: +```python +new_button = create_button( + text="Action", + command=handler_function, + width=15 +) +``` + +3. Status Updates: +```python +def update_status(state, message): + # Update indicator color + color = COLORS[state] if state in COLORS else COLORS['warning'] + status_indicator.update_color(color) + # Update message + status_var.set(message) + # Trigger UI update + root.update_idletasks() +``` + +### Testing Requirements + +1. Visual Testing + - Window sizing and minimum constraints + - HiDPI display compatibility + - Color contrast verification + - Animation smoothness + - Font rendering quality + +2. Functionality Testing + - Button interactions + - Status updates + - URL handling + - Copy functionality + - System tray operations + - Exit handling + +3. Performance Testing + - UI responsiveness + - Memory usage + - CPU utilization + - Thread management + - Resource cleanup + +## Build Requirements + +Ensure all UI-related dependencies are installed: + +```bash +pip install -r requirements.txt +``` + +Critical packages: +- tkinter (built into Python) +- pystray>=0.19.0 (system tray support) +- Pillow>=10.0.0 (image processing) + +## Contribution Guidelines + +1. UI Changes + - Maintain dark theme consistency + - Follow existing color scheme + - Use proper padding and spacing + - Ensure responsive behavior + - Add appropriate documentation + +2. Code Style + - Follow PEP 8 guidelines + - Document all UI components + - Use type hints where applicable + - Include error handling + - Write modular, reusable code + +3. Pull Requests + - Include UI screenshots if applicable + - Document visual changes + - Test across different resolutions + - Verify system tray functionality + - Check resource usage \ No newline at end of file diff --git a/README.md b/README.md index 8233fa3..2d17e93 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,16 @@ Before installing NetworkMonitor, ensure you have the following prerequisites in ### Administrator Privileges NetworkMonitor requires administrator privileges to capture network traffic. +## Features + +- Modern dark-themed user interface +- System tray support for background operation +- Real-time network monitoring and analysis +- Interactive status dashboard +- One-click web interface access +- Professional status indicators and notifications +- Background operation support + ## Installation 1. Download the latest NetworkMonitor installer from the releases page. @@ -33,9 +43,22 @@ NetworkMonitor requires administrator privileges to capture network traffic. 1. Launch NetworkMonitor from the Start Menu or desktop shortcut. - Ensure you run it as administrator - - The application will open in your default web browser - -2. If you see any dependency warnings: + - A modern status dashboard will appear showing the application status + - The web interface will open automatically in your default browser + +2. Using the Status Dashboard: + - Monitor application status through the visual indicator + - Click "Open in Browser" to access the web interface + - Use "Run in Background" to minimize to system tray + - Copy the web interface URL with one click + - Exit safely using the Exit button + +3. System Tray Features: + - Minimize the application to system tray for background operation + - Right-click the tray icon for quick access to common actions + - Double-click to restore the dashboard window + +4. If you see any dependency warnings: - Verify that all prerequisites are installed - Check that Python packages are installed correctly - Refer to the troubleshooting section below @@ -56,6 +79,11 @@ NetworkMonitor requires administrator privileges to capture network traffic. - Right-click NetworkMonitor shortcut - Select "Run as administrator" +4. UI Display Issues: + - Ensure your Windows theme is set to 100% scaling + - Update your graphics drivers + - Try running with compatibility mode if needed + ### Getting Help If you encounter issues: diff --git a/networkmonitor.log b/networkmonitor.log index 399276a..a21f28a 100644 --- a/networkmonitor.log +++ b/networkmonitor.log @@ -141,3 +141,23 @@ 2025-03-03 23:05:11,031 - INFO - Added DLL directory: C:\Program Files\Npcap 2025-03-03 23:05:11,050 - INFO - Scapy import successful: Npcap is correctly configured 2025-03-03 23:05:11,051 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-03 23:22:06,144 - INFO - Initializing Npcap support +2025-03-03 23:22:06,145 - INFO - Initializing Npcap... +2025-03-03 23:22:06,145 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-03 23:22:06,146 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-03 23:22:06,146 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-03 23:22:06,146 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-03 23:22:06,147 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-03 23:22:06,147 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-03 23:22:06,167 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-03 23:22:06,167 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} +2025-03-03 23:37:06,699 - INFO - Initializing Npcap support +2025-03-03 23:37:06,701 - INFO - Initializing Npcap... +2025-03-03 23:37:06,702 - INFO - Added to PATH: C:\Windows\System32\Npcap +2025-03-03 23:37:06,702 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap +2025-03-03 23:37:06,703 - INFO - Added to PATH: C:\Program Files\Npcap +2025-03-03 23:37:06,703 - INFO - Added DLL directory: C:\Windows\System32\Npcap +2025-03-03 23:37:06,703 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap +2025-03-03 23:37:06,703 - INFO - Added DLL directory: C:\Program Files\Npcap +2025-03-03 23:37:06,723 - INFO - Scapy import successful: Npcap is correctly configured +2025-03-03 23:37:06,724 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} diff --git a/networkmonitor/launcher.py b/networkmonitor/launcher.py index ea227a4..d173fa2 100644 --- a/networkmonitor/launcher.py +++ b/networkmonitor/launcher.py @@ -181,12 +181,48 @@ def create_console_window(): console_root.geometry("900x600") console_root.minsize(800, 500) + # Set dark mode colors + COLORS = { + 'bg': '#1e1e1e', # Dark background + 'fg': '#e0e0e0', # Light text + 'accent': '#007acc', # Blue accent + 'success': '#2ecc71', # Green + 'error': '#e74c3c', # Red + 'warning': '#f1c40f', # Yellow + 'header_bg': '#252526', # Slightly lighter than bg + 'button_bg': '#333333', # Button background + 'button_hover': '#404040', # Button hover + 'input_bg': '#2d2d2d' # Input background + } + # Configure the window style style = ttk.Style() - style.configure('TFrame', background='#f0f0f0') - style.configure('Header.TLabel', font=('Arial', 16, 'bold'), background='#f0f0f0') - style.configure('Status.TLabel', font=('Arial', font_size), background='#f0f0f0') - style.configure('URL.TLabel', font=('Arial', font_size, 'underline'), foreground='blue', background='#f0f0f0') + + # Configure common styles + style.configure('Main.TFrame', background=COLORS['bg']) + style.configure('Header.TFrame', background=COLORS['header_bg']) + style.configure('Header.TLabel', + font=('Segoe UI', 20, 'bold'), + background=COLORS['header_bg'], + foreground=COLORS['fg']) + style.configure('Status.TLabel', + font=('Segoe UI', font_size), + background=COLORS['bg'], + foreground=COLORS['fg']) + style.configure('URL.TLabel', + font=('Segoe UI', font_size, 'underline'), + foreground=COLORS['accent'], + background=COLORS['bg']) + + # Configure custom button style + style.configure('Custom.TButton', + font=('Segoe UI', button_font_size), + background=COLORS['button_bg'], + foreground=COLORS['fg'], + borderwidth=0, + padding=10) + style.map('Custom.TButton', + background=[('active', COLORS['button_hover'])]) # Set window icon if available try: @@ -201,74 +237,138 @@ def create_console_window(): except Exception as e: logger.debug(f"Could not set window icon: {e}") + # Configure root window + console_root.configure(bg=COLORS['bg']) + # Create main container with padding - main_frame = ttk.Frame(console_root, padding=(20, 10, 20, 10), style='TFrame') + main_frame = ttk.Frame(console_root, style='Main.TFrame', padding=(20, 15, 20, 15)) main_frame.pack(fill=tk.BOTH, expand=True) - # Header section - header_frame = ttk.Frame(main_frame, style='TFrame') + # Header section with gradient effect + header_frame = ttk.Frame(main_frame, style='Header.TFrame') header_frame.pack(fill=tk.X, pady=(0, 15)) - header_label = ttk.Label(header_frame, text="Network Monitor", style='Header.TLabel') - header_label.pack(side=tk.LEFT) + # Create gradient canvas for header background + header_canvas = tk.Canvas(header_frame, + height=60, + bg=COLORS['header_bg'], + highlightthickness=0) + header_canvas.pack(fill=tk.X) + + # Add header text + header_label = tk.Label(header_canvas, + text="Network Monitor", + font=('Segoe UI', 24, 'bold'), + bg=COLORS['header_bg'], + fg=COLORS['fg']) + header_label.place(relx=0.02, rely=0.5, anchor='w') # Status section with modern styling - status_frame = ttk.Frame(main_frame, style='TFrame') - status_frame.pack(fill=tk.X, pady=(0, 10)) + status_frame = ttk.Frame(main_frame, style='Main.TFrame') + status_frame.pack(fill=tk.X, pady=(0, 15)) - status_var = tk.StringVar(value="Starting services...") - status_label = ttk.Label(status_frame, textvariable=status_var, style='Status.TLabel') - status_label.pack(side=tk.LEFT) + # Create a canvas for status background + status_canvas = tk.Canvas(status_frame, + height=40, + bg=COLORS['bg'], + highlightthickness=0) + status_canvas.pack(fill=tk.X) - # Server status indicator (colored dot) + # Draw rounded rectangle for status background + status_canvas.create_rectangle(0, 0, 900, 40, + fill=COLORS['header_bg'], + width=0) + + status_var = tk.StringVar(value="Starting services...") + status_label = tk.Label(status_canvas, + textvariable=status_var, + font=('Segoe UI', font_size), + bg=COLORS['header_bg'], + fg=COLORS['fg']) + status_label.place(relx=0.02, rely=0.5, anchor='w') + + # Server status indicator (animated dot) server_running = tk.BooleanVar(value=False) - status_indicator = tk.Canvas(status_frame, width=12, height=12, bg='#f0f0f0', highlightthickness=0) - status_indicator.pack(side=tk.LEFT, padx=(10, 0)) + status_indicator = tk.Canvas(status_canvas, + width=12, height=12, + bg=COLORS['header_bg'], + highlightthickness=0) + status_indicator.place(relx=0.98, rely=0.5, anchor='e') def update_status_indicator(is_running=None): - color = '#2ecc71' if server_running.get() else '#e74c3c' # Green when running, red when stopped + color = COLORS['success'] if server_running.get() else COLORS['error'] status_indicator.delete('all') - status_indicator.create_oval(2, 2, 10, 10, fill=color, outline='') - - # URL section with copy button - url_frame = ttk.Frame(main_frame, style='TFrame') + # Draw glowing dot effect + status_indicator.create_oval(2, 2, 10, 10, + fill=color, + outline=color, + width=2) + + # URL section with modern styling + url_frame = ttk.Frame(main_frame, style='Main.TFrame') url_frame.pack(fill=tk.X, pady=(0, 15)) - url_var = tk.StringVar(value="http://127.0.0.1:5000/api/docs") - url_label = ttk.Label(url_frame, text="Web Interface:", style='Status.TLabel') + url_var = tk.StringVar(value="http://localhost:5000") + url_label = tk.Label(url_frame, + text="Web Interface:", + font=('Segoe UI', font_size), + bg=COLORS['bg'], + fg=COLORS['fg']) url_label.pack(side=tk.LEFT) - url_value = ttk.Label(url_frame, textvariable=url_var, style='URL.TLabel', cursor='hand2') + url_value = tk.Label(url_frame, + textvariable=url_var, + font=('Segoe UI', font_size, 'underline'), + bg=COLORS['bg'], + fg=COLORS['accent'], + cursor='hand2') url_value.pack(side=tk.LEFT, padx=(5, 10)) url_value.bind('', lambda e: webbrowser.open(url_var.get())) + url_value.bind('', lambda e: url_value.configure(fg=COLORS['success'])) + url_value.bind('', lambda e: url_value.configure(fg=COLORS['accent'])) def copy_url(): console_root.clipboard_clear() console_root.clipboard_append(url_var.get()) - copy_button.config(text="✓ Copied") - console_root.after(2000, lambda: copy_button.config(text="Copy")) - - copy_button = ttk.Button(url_frame, text="Copy", command=copy_url, width=8) + copy_button.configure(text="✓ Copied") + console_root.after(2000, lambda: copy_button.configure(text="Copy")) + + copy_button = ttk.Button(url_frame, + text="Copy", + command=copy_url, + style='Custom.TButton', + width=8) copy_button.pack(side=tk.LEFT) # Log display with improved styling - log_frame = ttk.Frame(main_frame, style='TFrame') + log_frame = ttk.Frame(main_frame, style='Main.TFrame') log_frame.pack(fill=tk.BOTH, expand=True, pady=(0, 15)) - log_label = ttk.Label(log_frame, text="Application Log:", style='Status.TLabel') + log_label = tk.Label(log_frame, + text="Application Log:", + font=('Segoe UI', font_size), + bg=COLORS['bg'], + fg=COLORS['fg']) log_label.pack(anchor=tk.W) + # Custom scrolled text widget with dark theme log_display = scrolledtext.ScrolledText( log_frame, height=15, - font=("Consolas", font_size), - background='#ffffff', - foreground='#333333' + font=("Cascadia Code", font_size), + bg=COLORS['input_bg'], + fg=COLORS['fg'], + insertbackground=COLORS['fg'], + selectbackground=COLORS['accent'], + selectforeground=COLORS['fg'], + relief=tk.FLAT, + padx=10, + pady=10 ) log_display.pack(fill=tk.BOTH, expand=True, pady=(5, 0)) # Control buttons frame - button_frame = ttk.Frame(main_frame, style='TFrame') + button_frame = ttk.Frame(main_frame, style='Main.TFrame') button_frame.pack(fill=tk.X, pady=(0, 10)) # Create minimize to tray functionality @@ -311,6 +411,7 @@ def exit_app(icon, item): button_frame, text="Run in Background", command=minimize_to_tray, + style='Custom.TButton', width=20 ) minimize_button.pack(side=tk.LEFT, padx=(0, 5)) @@ -319,6 +420,7 @@ def exit_app(icon, item): button_frame, text="Open in Browser", command=lambda: webbrowser.open(url_var.get()), + style='Custom.TButton', state=tk.DISABLED, width=15 ) @@ -328,6 +430,7 @@ def exit_app(icon, item): button_frame, text="Restart Service", command=lambda: restart_server(), + style='Custom.TButton', width=15 ) restart_button.pack(side=tk.LEFT, padx=5) @@ -336,6 +439,7 @@ def exit_app(icon, item): button_frame, text="Exit", command=lambda: confirm_exit(), + style='Custom.TButton', width=10 ) exit_button.pack(side=tk.RIGHT) @@ -348,20 +452,20 @@ def confirm_exit(): ): os._exit(0) - # Update function for status display + # Update function for status display with color transitions def update_status_display(is_running=None, message=None): if is_running is not None: server_running.set(is_running) if server_running.get(): status_var.set("Status: Running") - status_label.config(foreground='#2ecc71') # Green text for running - open_button.config(state=tk.NORMAL) + status_label.configure(fg=COLORS['success']) + open_button.configure(state=tk.NORMAL) else: status_msg = message if message else "Not Running" status_var.set(f"Status: {status_msg}") - status_label.config(foreground='#e74c3c') # Red text for stopped - open_button.config(state=tk.DISABLED) + status_label.configure(fg=COLORS['error']) + open_button.configure(state=tk.DISABLED) update_status_indicator() console_root.update_idletasks() diff --git a/run_app.py b/run_app.py index 746bd8b..02f5694 100644 --- a/run_app.py +++ b/run_app.py @@ -49,10 +49,27 @@ def show_error_dialog(message, detail=None): print("\nDetails:", detail) def create_status_window(): - """Create a status window that keeps the application running""" + """Create a modern, professional status window that keeps the application running""" root = tk.Tk() root.title("NetworkMonitor Status") - root.geometry("400x200") + root.geometry("500x300") # Increased size for better visibility + root.minsize(500, 300) # Set minimum size + + # Define color scheme + COLORS = { + 'bg': '#1e1e1e', # Dark background + 'fg': '#e0e0e0', # Light text + 'accent': '#007acc', # Blue accent + 'success': '#2ecc71', # Green + 'error': '#e74c3c', # Red + 'warning': '#f1c40f', # Yellow + 'header_bg': '#252526', # Slightly lighter than bg + 'button_bg': '#333333', # Button background + 'button_hover': '#404040' # Button hover + } + + # Configure root window + root.configure(bg=COLORS['bg']) # Add icon if available try: @@ -62,31 +79,160 @@ def create_status_window(): except Exception as e: logger.warning(f"Could not load icon: {e}") - # Status label + # Create main container with padding + main_frame = tk.Frame(root, bg=COLORS['bg'], padx=20, pady=15) + main_frame.pack(fill=tk.BOTH, expand=True) + + # Header with gradient effect + header_frame = tk.Frame(main_frame, bg=COLORS['header_bg'], height=60) + header_frame.pack(fill=tk.X, pady=(0, 15)) + header_frame.pack_propagate(False) # Maintain fixed height + + header_label = tk.Label( + header_frame, + text="NetworkMonitor", + font=("Segoe UI", 18, "bold"), + bg=COLORS['header_bg'], + fg=COLORS['fg'] + ) + header_label.place(relx=0.5, rely=0.5, anchor='center') + + # Status section with background + status_frame = tk.Frame(main_frame, bg=COLORS['header_bg'], height=40) + status_frame.pack(fill=tk.X, pady=(0, 15)) + status_frame.pack_propagate(False) + status_var = tk.StringVar(value="Starting NetworkMonitor...") - status_label = tk.Label(root, textvariable=status_var, font=("Arial", 12)) - status_label.pack(pady=20) + status_label = tk.Label( + status_frame, + textvariable=status_var, + font=("Segoe UI", 10), + bg=COLORS['header_bg'], + fg=COLORS['fg'] + ) + status_label.place(relx=0.02, rely=0.5, anchor='w') + + # Status indicator dot + status_indicator = tk.Canvas( + status_frame, + width=10, + height=10, + bg=COLORS['header_bg'], + highlightthickness=0 + ) + status_indicator.place(relx=0.98, rely=0.5, anchor='e') + + # Draw initial status dot + status_indicator.create_oval(0, 0, 10, 10, fill=COLORS['warning'], outline='') + + # URL section with modern styling + url_frame = tk.Frame(main_frame, bg=COLORS['bg']) + url_frame.pack(fill=tk.X, pady=(0, 15)) - # URL label - url_label = tk.Label(root, text="Web interface available at:", font=("Arial", 10)) - url_label.pack(pady=5) + url_label = tk.Label( + url_frame, + text="Web Interface:", + font=("Segoe UI", 10), + bg=COLORS['bg'], + fg=COLORS['fg'] + ) + url_label.pack(side=tk.LEFT, padx=(0, 5)) url_var = tk.StringVar(value="http://localhost:5000") - url_value = tk.Label(root, textvariable=url_var, font=("Arial", 10, "underline"), fg="blue") - url_value.pack(pady=5) + url_value = tk.Label( + url_frame, + textvariable=url_var, + font=("Segoe UI", 10, "underline"), + bg=COLORS['bg'], + fg=COLORS['accent'], + cursor="hand2" + ) + url_value.pack(side=tk.LEFT, padx=(0, 10)) + + # Add hover effect for URL + def on_url_hover(event): url_value.configure(fg=COLORS['success']) + def on_url_leave(event): url_value.configure(fg=COLORS['accent']) + url_value.bind('', on_url_hover) + url_value.bind('', on_url_leave) + url_value.bind('', lambda e: webbrowser.open(url_var.get())) + + # Add copy button with modern styling + def copy_url(): + root.clipboard_clear() + root.clipboard_append(url_var.get()) + copy_button.configure(text="✓ Copied") + root.after(2000, lambda: copy_button.configure(text="Copy")) + + copy_button = tk.Button( + url_frame, + text="Copy", + command=copy_url, + font=("Segoe UI", 9), + bg=COLORS['button_bg'], + fg=COLORS['fg'], + activebackground=COLORS['button_hover'], + activeforeground=COLORS['fg'], + relief=tk.FLAT, + padx=10 + ) + copy_button.pack(side=tk.LEFT) + + # Button container + button_frame = tk.Frame(main_frame, bg=COLORS['bg']) + button_frame.pack(fill=tk.X, pady=(10, 0)) + + # Create modern-styled button + def create_button(text, command, width=15, **kwargs): + btn = tk.Button( + button_frame, + text=text, + command=command, + font=("Segoe UI", 9), + bg=COLORS['button_bg'], + fg=COLORS['fg'], + activebackground=COLORS['button_hover'], + activeforeground=COLORS['fg'], + relief=tk.FLAT, + width=width, + padx=10, + pady=5, + **kwargs + ) + return btn + + # Add buttons with hover effect + open_button = create_button("Open in Browser", lambda: webbrowser.open(url_var.get())) + open_button.pack(side=tk.LEFT, padx=(0, 5)) + + def minimize_to_tray(): + root.withdraw() + # Add tray icon functionality here if needed + # This will be handled by the system tray implementation + + minimize_button = create_button("Run in Background", minimize_to_tray, width=20) + minimize_button.pack(side=tk.LEFT, padx=5) - # Add button to open browser - def open_browser(): - webbrowser.open(url_var.get()) + exit_button = create_button("Exit", lambda: (root.destroy(), os._exit(0)), width=10) + exit_button.pack(side=tk.RIGHT) - open_button = tk.Button(root, text="Open in Browser", command=open_browser) - open_button.pack(pady=10) + # Function to update status + def update_status(running=False, message=None): + if running: + status_var.set("NetworkMonitor is running") + status_indicator.delete('all') + status_indicator.create_oval(0, 0, 10, 10, fill=COLORS['success'], outline='') + open_button.configure(state=tk.NORMAL) + else: + status_msg = message if message else "Starting..." + status_var.set(status_msg) + status_indicator.delete('all') + status_indicator.create_oval(0, 0, 10, 10, fill=COLORS['warning'], outline='') + open_button.configure(state=tk.DISABLED) - # Add exit button - exit_button = tk.Button(root, text="Exit NetworkMonitor", command=lambda: (root.destroy(), os._exit(0))) - exit_button.pack(pady=10) + # Initial status update + update_status(False, "Starting NetworkMonitor...") - return root, status_var, url_var + return root, status_var, url_var, update_status def run_with_exception_handling(): """Run the application with detailed exception handling""" @@ -107,7 +253,7 @@ def run_with_exception_handling(): return 1 # Create status window first - status_window, status_var, url_var = create_status_window() + status_window, status_var, url_var, update_status = create_status_window() # Start the launcher in a background thread to prevent blocking the UI server_started = False @@ -175,18 +321,18 @@ def run_launcher(): launcher_thread.start() # Update status periodically - def update_status(): + def update_status_periodically(): if server_started: - status_var.set("NetworkMonitor is running") + update_status(True) elif server_error: - status_var.set(f"Error: {server_error[:40]}...") + update_status(False, f"Error: {server_error[:40]}...") # Show error dialog after a delay to ensure it appears after the window status_window.after(1000, lambda: show_error_dialog("NetworkMonitor Error", server_error)) else: - status_var.set("Starting NetworkMonitor...") - status_window.after(1000, update_status) + update_status(False, "Starting NetworkMonitor...") + status_window.after(1000, update_status_periodically) - status_window.after(100, update_status) + status_window.after(100, update_status_periodically) # Keep the application running status_window.protocol("WM_DELETE_WINDOW", lambda: (status_window.destroy(), os._exit(0))) From 4b72d252967d8e0d00cdf9031b8faf9bd9415e43 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Mon, 3 Mar 2025 23:53:07 +0500 Subject: [PATCH 04/21] docs: add issue templates for feature requests and bug reports; create CODEOWNERS and contributing guidelines --- .github/CODEOWNERS | 17 ++ .github/CODEOWNERS.md | 42 ++++ .github/CONTRIBUTING.md | 112 +++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 37 +++ .github/ISSUE_TEMPLATE/feature_request.md | 19 ++ .github/SECURITY.md | 70 ++++++ .github/pull_request_template.md | 28 +++ .github/workflows/ci.yml | 267 ++++++++++++++++++++++ .github/workflows/pages.yml | 88 +++++++ .github/workflows/version.yml | 177 ++++++++++++++ LICENSE | 21 ++ 11 files changed, 878 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/CODEOWNERS.md create mode 100644 .github/CONTRIBUTING.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/SECURITY.md create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/pages.yml create mode 100644 .github/workflows/version.yml create mode 100644 LICENSE diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..634d755 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,17 @@ +# These owners will be the default owners for everything in +# the repo. Unless a later match takes precedence, +# @umerfarok will be requested for review when someone +# opens a pull request. +* @umerfarok + +# Network monitoring core +/networkmonitor/monitor.py @umerfarok +/networkmonitor/npcap_helper.py @umerfarok + +# Web interface +/networkmonitor/web/ @umerfarok + +# Build and deployment +/.github/workflows/ @umerfarok +/build.py @umerfarok +/installer.nsi @umerfarok \ No newline at end of file diff --git a/.github/CODEOWNERS.md b/.github/CODEOWNERS.md new file mode 100644 index 0000000..0a2f12c --- /dev/null +++ b/.github/CODEOWNERS.md @@ -0,0 +1,42 @@ +# Code Owners Documentation + +This document explains the code ownership structure of the NetworkMonitor project. + +## Overview + +The CODEOWNERS file is used to automatically request reviews from the appropriate team members when a pull request is opened. + +## Current Ownership Structure + +### Core Components +- **Network Monitoring Core** (@umerfarok) + - `/networkmonitor/monitor.py` + - `/networkmonitor/npcap_helper.py` + +### Web Interface +- **Frontend Components** (@umerfarok) + - `/networkmonitor/web/` + +### Build & Deployment +- **Build System** (@umerfarok) + - `/build.py` + - `/installer.nsi` + - `/.github/workflows/` + +## Review Process + +1. When a pull request is opened, GitHub automatically requests reviews from the appropriate code owners. +2. At least one approval from a code owner is required to merge changes. +3. Code owners should review changes within their area of responsibility within 3 business days. + +## Becoming a Code Owner + +To become a code owner: +1. Demonstrate expertise in the relevant area through contributions +2. Request ownership by opening an issue +3. Get approval from existing code owners + +## Contact + +For questions about code ownership, contact: +- Umer Farooq (@umerfarok) \ No newline at end of file diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 0000000..5d9f5f3 --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,112 @@ +# Contributing to NetworkMonitor + +Thank you for your interest in contributing to NetworkMonitor! We welcome contributions from everyone. + +## Getting Started + +1. Fork the repository +2. Clone your fork: + ```bash + git clone https://github.com/your-username/networkmonitor.git + ``` +3. Create a virtual environment and install dependencies: + ```bash + python -m venv venv + source venv/bin/activate # or `venv\Scripts\activate` on Windows + pip install -r requirements.txt + pip install -r requirements-build.txt + ``` + +## Development Process + +1. Create a branch for your changes: + ```bash + git checkout -b feature/your-feature-name + ``` + +2. Make your changes, following our coding standards: + - Follow PEP 8 style guide + - Write descriptive commit messages + - Include tests for new features + - Update documentation as needed + +3. Test your changes: + ```bash + python -m pytest tests/ + ``` + +4. Push your changes and create a pull request: + ```bash + git push origin feature/your-feature-name + ``` + +## Pull Request Guidelines + +1. Fill out the PR template completely +2. Include tests for new features +3. Update documentation if needed +4. Ensure CI passes +5. Request review from appropriate code owners + +## Code Style + +- Follow PEP 8 conventions +- Use type hints where possible +- Document public functions and classes +- Keep functions focused and concise +- Write descriptive variable names + +## Commit Messages + +Format: +``` +type(scope): description + +[optional body] +[optional footer] +``` + +Types: +- feat: New feature +- fix: Bug fix +- docs: Documentation only +- style: Code style changes +- refactor: Code changes that neither fix bugs nor add features +- test: Adding or modifying tests +- chore: Maintenance tasks + +Example: +``` +feat(monitor): add packet filtering by protocol + +Added support for filtering network packets by protocol type. +Implements #123 +``` + +## Documentation + +- Update README.md for user-facing changes +- Update DEVELOPER.md for development changes +- Add comments for complex code sections +- Include docstrings for public APIs + +## Testing + +- Write unit tests for new features +- Update existing tests when modifying features +- Include integration tests where appropriate +- Test on all supported platforms if possible + +## Release Process + +1. Version bumps are handled automatically via GitHub Actions +2. Releases are created from the main branch +3. Changelog is generated automatically +4. Builds are created for all platforms + +## Getting Help + +- Check existing documentation +- Ask in GitHub Discussions +- Contact maintainers: + - Umer Farooq (@umerfarok) \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..7826dcb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,37 @@ +--- +name: Bug report +about: Create a report to help us improve NetworkMonitor +title: '[BUG] ' +labels: bug +assignees: '' +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Environment (please complete the following information):** + - OS: [e.g. Windows 10] + - Python Version: [e.g. 3.9.0] + - NetworkMonitor Version: [e.g. 0.1.0] + - Npcap Version: [e.g. 1.60] + +**Log Files** +Please attach the following logs if available: +- NetworkMonitor log (`%LOCALAPPDATA%\NetworkMonitor\logs\networkmonitor.log`) +- Debug log (`networkmonitor_debug.log`) + +**Additional context** +Add any other context about the problem here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..4f8646f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,19 @@ +--- +name: Feature request +about: Suggest an idea for NetworkMonitor +title: '[FEATURE] ' +labels: enhancement +assignees: '' +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. \ No newline at end of file diff --git a/.github/SECURITY.md b/.github/SECURITY.md new file mode 100644 index 0000000..d147a29 --- /dev/null +++ b/.github/SECURITY.md @@ -0,0 +1,70 @@ +# Security Policy + +## Supported Versions + +We currently support the following versions of NetworkMonitor with security updates: + +| Version | Supported | +| ------- | ------------------ | +| 0.1.x | :white_check_mark: | + +## Reporting a Vulnerability + +We take security vulnerabilities seriously. Please follow these steps to report a security issue: + +1. **DO NOT** open a public GitHub issue if the bug is a security vulnerability. +2. Instead, please send an email to umerfarooq.dev@gmail.com with: + - Subject line: "Security Vulnerability: NetworkMonitor" + - Description of the vulnerability + - Steps to reproduce (if possible) + - Potential impact + - Any suggested fixes (if you have them) + +### What to expect: +- Acknowledgment within 48 hours +- Regular updates on the progress +- Credit in the security advisory when the issue is fixed + +## Security Best Practices + +When using NetworkMonitor: + +1. Always run with minimum required privileges +2. Keep the software updated to the latest version +3. Monitor logs for suspicious activity +4. Follow network security best practices +5. Report any security concerns immediately + +## Disclosure Timeline + +Our standard disclosure timeline: + +1. **0 hours**: Initial report received +2. **48 hours**: Initial acknowledgment +3. **7 days**: Initial assessment completed +4. **30 days**: Fix developed and tested +5. **45 days**: Fix released +6. **60 days**: Public disclosure + +This timeline may be adjusted based on severity and complexity. + +## Security Updates + +Security updates are distributed through: +- GitHub Releases +- Security Advisories +- Email notifications (for registered users) + +## Code Security + +We maintain security through: + +1. Regular dependency updates +2. Automated security scanning +3. Code review requirements +4. Security-focused testing +5. Regular security audits + +## Acknowledgments + +We appreciate the security research community's efforts in responsibly disclosing vulnerabilities. Security researchers who have contributed will be credited in our Hall of Fame (unless they wish to remain anonymous). \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..939d778 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,28 @@ +## Description +Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. + +Fixes # (issue) + +## Type of change +Please delete options that are not relevant. + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] This change requires a documentation update + +## How Has This Been Tested? +Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. + +- [ ] Test A +- [ ] Test B + +## Checklist: +- [ ] My code follows the style guidelines of this project +- [ ] I have performed a self-review of my own code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding changes to the documentation +- [ ] My changes generate no new warnings +- [ ] I have added tests that prove my fix is effective or that my feature works +- [ ] New and existing unit tests pass locally with my changes +- [ ] Any dependent changes have been merged and published in downstream modules \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..838b598 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,267 @@ +name: CI/CD Pipeline + +on: + push: + branches: [ main, master ] + tags: + - 'v*' + pull_request: + branches: [ main, master ] + +env: + WINDOWS_APP_NAME: NetworkMonitor-Windows + LINUX_APP_NAME: NetworkMonitor-Linux + MACOS_APP_NAME: NetworkMonitor-macOS + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest, ubuntu-latest, macos-latest] + python-version: ['3.9', '3.10', '3.11'] + + steps: + - uses: actions/checkout@v3 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install system dependencies (Linux) + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y net-tools iptables tcpdump libpcap-dev + + - name: Install system dependencies (macOS) + if: runner.os == 'macOS' + run: | + brew install libpcap tcpdump + + - name: Install system dependencies (Windows) + if: runner.os == 'Windows' + run: | + curl -L https://npcap.com/dist/npcap-1.60.exe -o npcap-installer.exe + .\npcap-installer.exe /S /winpcap_mode=yes + + - name: Install Python dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install -r requirements-build.txt + + - name: Run tests + run: | + python -m pytest tests/ + + build: + needs: test + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest, ubuntu-latest, macos-latest] + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Get version + id: get_version + run: | + if [[ $GITHUB_REF == refs/tags/* ]]; then + VERSION=${GITHUB_REF#refs/tags/v} + else + VERSION=$(python setup.py --version) + fi + echo "version=$VERSION" >> $GITHUB_OUTPUT + shell: bash + + - name: Install system dependencies (Windows) + if: runner.os == 'Windows' + run: | + choco install nsis + choco install gtk-runtime + + - name: Install Python dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install -r requirements-build.txt + + - name: Build application + run: python build.py + env: + APP_VERSION: ${{ steps.get_version.outputs.version }} + + - name: Package Windows artifacts + if: runner.os == 'Windows' + run: | + cd dist + 7z a -tzip ${{ env.WINDOWS_APP_NAME }}-${{ steps.get_version.outputs.version }}.zip NetworkMonitor.exe + 7z a -tzip ${{ env.WINDOWS_APP_NAME }}-Setup-${{ steps.get_version.outputs.version }}.zip NetworkMonitor_Setup*.exe + + - name: Package Linux artifact + if: runner.os == 'Linux' + run: | + cd dist + tar czf ${{ env.LINUX_APP_NAME }}-${{ steps.get_version.outputs.version }}.tar.gz NetworkMonitor + + - name: Package macOS artifact + if: runner.os == 'macOS' + run: | + cd dist + zip -r ${{ env.MACOS_APP_NAME }}-${{ steps.get_version.outputs.version }}.zip NetworkMonitor.app + + - name: Upload build artifacts + uses: actions/upload-artifact@v3 + with: + name: ${{ runner.os }}-artifacts + path: | + dist/*.zip + dist/*.tar.gz + retention-days: 5 + + create-release: + needs: build + if: startsWith(github.ref, 'refs/tags/v') + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - uses: actions/checkout@v3 + + - name: Get version from tag + id: get_version + run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT + + - name: Download all artifacts + uses: actions/download-artifact@v3 + with: + path: artifacts + + - name: Display structure of downloaded files + run: ls -R artifacts/ + + - name: Create Release + uses: softprops/action-gh-release@v1 + with: + name: NetworkMonitor v${{ steps.get_version.outputs.version }} + draft: false + prerelease: false + body: | + NetworkMonitor v${{ steps.get_version.outputs.version }} + + ## Download Links + - Windows Installer: NetworkMonitor-Windows-Setup-${{ steps.get_version.outputs.version }}.zip + - Windows Portable: NetworkMonitor-Windows-${{ steps.get_version.outputs.version }}.zip + - Linux: NetworkMonitor-Linux-${{ steps.get_version.outputs.version }}.tar.gz + - macOS: NetworkMonitor-macOS-${{ steps.get_version.outputs.version }}.zip + + See CHANGELOG.md for detailed changes. + files: | + artifacts/**/*.zip + artifacts/**/*.tar.gz + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + publish-to-gh-pages: + needs: create-release + if: startsWith(github.ref, 'refs/tags/v') + runs-on: ubuntu-latest + permissions: + contents: read + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - uses: actions/checkout@v3 + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install mkdocs mkdocs-material + + - name: Setup Pages + uses: actions/configure-pages@v3 + + - name: Build documentation + run: | + mkdir -p docs/downloads + cp README.md docs/index.md + cp DEVELOPER.md docs/guide/developer.md + + # Create downloads page + cat > docs/downloads/index.md << EOL + # Downloads + + ## Latest Release (v${{ github.ref_name }}) + + ### Windows + - [NetworkMonitor Setup (Installer)](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Windows-Setup-${{ github.ref_name }}.zip) + - [NetworkMonitor Portable](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Windows-${{ github.ref_name }}.zip) + + ### Linux + - [NetworkMonitor for Linux](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Linux-${{ github.ref_name }}.tar.gz) + + ### macOS + - [NetworkMonitor for macOS](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-macOS-${{ github.ref_name }}.zip) + + ## System Requirements + + ### Windows + - Windows 10 or later (64-bit) + - [Npcap](https://npcap.com) installed in WinPcap compatibility mode + + ### Linux + - Modern Linux distribution + - libpcap installed + + ### macOS + - macOS 10.15 or later + - libpcap installed (via Homebrew) + EOL + + # Create mkdocs config + cat > mkdocs.yml << EOL + site_name: NetworkMonitor + site_description: Network monitoring and analysis tool + theme: + name: material + palette: + scheme: slate + primary: blue + accent: light blue + nav: + - Home: index.md + - Downloads: downloads/index.md + - Documentation: + - Developer Guide: guide/developer.md + EOL + + mkdocs build + + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: site + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..bae8d49 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,88 @@ +name: Deploy Documentation + +on: + push: + branches: [ main, master ] + release: + types: [published] + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install mkdocs mkdocs-material + + - name: Setup Pages + uses: actions/configure-pages@v3 + + - name: Build documentation + run: | + mkdir docs + cp README.md docs/index.md + cp DEVELOPER.md docs/developer-guide.md + + # Create downloads page with version info + echo "# Downloads" > docs/downloads.md + echo "" >> docs/downloads.md + echo "## Latest Release" >> docs/downloads.md + echo "" >> docs/downloads.md + + # Get latest release info + LATEST_RELEASE=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest) + VERSION=$(echo $LATEST_RELEASE | jq -r .tag_name) + DATE=$(echo $LATEST_RELEASE | jq -r .published_at | cut -d'T' -f1) + + echo "Version: $VERSION (Released: $DATE)" >> docs/downloads.md + echo "" >> docs/downloads.md + echo "### Download Links" >> docs/downloads.md + echo "- [Windows Installer](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Windows.zip)" >> docs/downloads.md + echo "- [Linux Binary](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Linux.tar.gz)" >> docs/downloads.md + echo "- [macOS App](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-macOS.zip)" >> docs/downloads.md + + # Create mkdocs config + echo "site_name: NetworkMonitor Documentation" > mkdocs.yml + echo "theme: material" >> mkdocs.yml + echo "nav:" >> mkdocs.yml + echo " - Home: index.md" >> mkdocs.yml + echo " - Downloads: downloads.md" >> mkdocs.yml + echo " - Developer Guide: developer-guide.md" >> mkdocs.yml + + mkdocs build + + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: 'site' + + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml new file mode 100644 index 0000000..341df49 --- /dev/null +++ b/.github/workflows/version.yml @@ -0,0 +1,177 @@ +name: Version Management + +on: + workflow_dispatch: + inputs: + version_type: + description: 'Version bump type' + required: true + default: 'patch' + type: choice + options: + - patch + - minor + - major + prerelease: + description: 'Is this a pre-release?' + required: true + default: false + type: boolean + +jobs: + version-bump: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Get current version + id: current_version + run: | + VERSION=$(grep -m1 'version = ' setup.py | cut -d'"' -f2) + echo "Current version: $VERSION" + echo "current_version=$VERSION" >> $GITHUB_OUTPUT + + - name: Calculate new version + id: new_version + run: | + CURRENT=${{ steps.current_version.outputs.current_version }} + TYPE=${{ github.event.inputs.version_type }} + + # Split version into parts + IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT" + + # Increment based on type + case $TYPE in + major) + MAJOR=$((MAJOR + 1)) + MINOR=0 + PATCH=0 + ;; + minor) + MINOR=$((MINOR + 1)) + PATCH=0 + ;; + patch) + PATCH=$((PATCH + 1)) + ;; + esac + + NEW_VERSION="$MAJOR.$MINOR.$PATCH" + if [[ "${{ github.event.inputs.prerelease }}" == "true" ]]; then + NEW_VERSION="${NEW_VERSION}-beta" + fi + + echo "New version will be: $NEW_VERSION" + echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT + echo "version_tag=v$NEW_VERSION" >> $GITHUB_OUTPUT + + - name: Update version in files + run: | + NEW_VERSION=${{ steps.new_version.outputs.new_version }} + + # Update setup.py + sed -i "s/version = \".*\"/version = \"$NEW_VERSION\"/" setup.py + + # Update __init__.py + sed -i "s/__version__ = \".*\"/__version__ = \"$NEW_VERSION\"/" networkmonitor/__init__.py + + # Update package.json if it exists + if [ -f "networkmonitor/web/package.json" ]; then + sed -i "s/\"version\": \".*\"/\"version\": \"$NEW_VERSION\"/" networkmonitor/web/package.json + fi + + # Update installer.nsi + if [ -f installer.nsi ]; then + sed -i "s/!define VERSION \".*\"/!define VERSION \"$NEW_VERSION\"/" installer.nsi + fi + + # Update pyproject.toml if it exists + if [ -f pyproject.toml ]; then + sed -i "s/version = \".*\"/version = \"$NEW_VERSION\"/" pyproject.toml + fi + + - name: Generate changelog + id: changelog + run: | + # Get commits since last tag + LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "none") + if [ "$LAST_TAG" = "none" ]; then + COMMITS=$(git log --pretty=format:"- %s") + else + COMMITS=$(git log $LAST_TAG..HEAD --pretty=format:"- %s") + fi + + # Create changelog entry + { + echo "# Changelog" + echo "" + echo "## Version ${{ steps.new_version.outputs.new_version }}" + echo "" + echo "### Changes" + echo "$COMMITS" + echo "" + if [ -f CHANGELOG.md ]; then + echo "### Previous Versions" + cat CHANGELOG.md + fi + } > CHANGELOG.new + mv CHANGELOG.new CHANGELOG.md + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 + with: + commit-message: | + chore: bump version to ${{ steps.new_version.outputs.new_version }} + + - Updated version numbers across all platform builds + - Generated changelog + - Prepared for ${{ github.event.inputs.prerelease == 'true' && 'pre-release' || 'release' }} + title: "Version bump to ${{ steps.new_version.outputs.new_version }}" + body: | + # Version Bump: ${{ steps.new_version.outputs.new_version }} + + This PR prepares for the ${{ github.event.inputs.prerelease == 'true' && 'pre-release' || 'release' }} of version ${{ steps.new_version.outputs.new_version }}. + + ## Changes + - Updated version in all configuration files + - Generated changelog entries + - Prepared release artifacts + + ## Changelog + ``` + ${{ steps.changelog.outputs.changelog }} + ``` + + ## Next Steps + 1. Review the changes + 2. Merge this PR + 3. A new tag `${{ steps.new_version.outputs.version_tag }}` will be created + 4. Release workflow will automatically: + - Build all platform versions + - Create GitHub release + - Upload artifacts + - Update documentation + branch: "version-bump/${{ steps.new_version.outputs.new_version }}" + base: "main" + labels: | + version-bump + automated pr + ${{ github.event.inputs.prerelease == 'true' && 'pre-release' || 'release' }} + reviewers: "umerfarok" + + - name: Create Git Tag + if: github.event.pull_request.merged == true + run: | + git tag ${{ steps.new_version.outputs.version_tag }} + git push origin ${{ steps.new_version.outputs.version_tag }} \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..08ead4a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Umer Farooq + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file From fec9964ba0d64b10395b8431a2fb3c34ff03d204 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Mon, 3 Mar 2025 23:59:06 +0500 Subject: [PATCH 05/21] ci: add test dependencies and improve test configuration; implement system requirements tests --- .github/workflows/ci.yml | 3 ++- requirements-build.txt | 17 ++++++++++++++++- tests/conftest.py | 21 +++++++++++++++++++++ tests/test_dependency_check.py | 13 +++++++++++++ 4 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 tests/conftest.py create mode 100644 tests/test_dependency_check.py diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 838b598..abdfbaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,10 +51,11 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt pip install -r requirements-build.txt + pip install pytest pytest-cov pytest-xdist # Install test dependencies - name: Run tests run: | - python -m pytest tests/ + python -m pytest tests/ -v --cov=networkmonitor build: needs: test diff --git a/requirements-build.txt b/requirements-build.txt index 2b307c2..be085ff 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -1,4 +1,19 @@ # Build dependencies pyinstaller>=5.13.0 wheel>=0.40.0 -setuptools>=68.0.0 \ No newline at end of file +setuptools>=68.0.0 + +# Test dependencies +pytest>=7.0.0 +pytest-cov>=4.0.0 +pytest-xdist>=3.0.0 +mock>=5.0.0 + +# Platform-specific dependencies +pynsis>=2.6.0; sys_platform == 'win32' + +# Other dependencies +cairosvg>=2.5.0 +Pillow>=10.0.0 +mkdocs>=1.4.0 +mkdocs-material>=9.0.0 \ No newline at end of file diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..b3eef2f --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,21 @@ +""" +Test configuration and fixtures for NetworkMonitor +""" +import os +import sys +import pytest + +# Add project root to path +sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) + +@pytest.fixture +def temp_dir(tmpdir): + """Provide a temporary directory for test files""" + return tmpdir + +@pytest.fixture +def mock_admin(): + """Mock admin privileges for testing""" + import mock + with mock.patch('ctypes.windll.shell32.IsUserAnAdmin', return_value=1): + yield \ No newline at end of file diff --git a/tests/test_dependency_check.py b/tests/test_dependency_check.py new file mode 100644 index 0000000..bf06451 --- /dev/null +++ b/tests/test_dependency_check.py @@ -0,0 +1,13 @@ +""" +Tests for dependency checking functionality +""" +import pytest +from networkmonitor.dependency_check import check_system_requirements + +def test_system_requirements(): + """Test that system requirements check returns a tuple""" + result = check_system_requirements() + assert isinstance(result, tuple) + assert len(result) == 2 + assert isinstance(result[0], bool) + assert isinstance(result[1], str) \ No newline at end of file From bb685aede6a37b2595c2dd0c83762a1f6dd49ff7 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 00:11:30 +0500 Subject: [PATCH 06/21] ci: update GitHub Actions workflow for documentation build and deployment; upgrade actions and improve downloads page generation --- .github/workflows/ci.yml | 133 +++++++++++++++++++++--------- .github/workflows/pages.yml | 144 +++++++++++++++++++++++--------- .github/workflows/version.yml | 151 +++++++++++++++++++++++++++------- 3 files changed, 317 insertions(+), 111 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abdfbaa..e239ef0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,14 +20,23 @@ jobs: matrix: os: [windows-latest, ubuntu-latest, macos-latest] python-version: ['3.9', '3.10', '3.11'] + exclude: + - os: macos-latest + python-version: '3.9' + - os: macos-latest + python-version: '3.10' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: | + requirements.txt + requirements-build.txt - name: Install system dependencies (Linux) if: runner.os == 'Linux' @@ -51,11 +60,21 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt pip install -r requirements-build.txt - pip install pytest pytest-cov pytest-xdist # Install test dependencies + pip install pytest pytest-cov pytest-xdist mock - name: Run tests run: | - python -m pytest tests/ -v --cov=networkmonitor + python -m pytest tests/ -v --cov=networkmonitor --junitxml=pytest.xml --cov-report=xml + + - name: Upload test results + if: always() + uses: actions/upload-artifact@v4 + with: + name: test-results-${{ matrix.os }}-py${{ matrix.python-version }} + path: | + pytest.xml + coverage.xml + retention-days: 30 build: needs: test @@ -65,25 +84,31 @@ jobs: os: [windows-latest, ubuntu-latest, macos-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' + cache: 'pip' + cache-dependency-path: | + requirements.txt + requirements-build.txt - name: Get version id: get_version + shell: bash run: | if [[ $GITHUB_REF == refs/tags/* ]]; then VERSION=${GITHUB_REF#refs/tags/v} else - VERSION=$(python setup.py --version) + SHORT_SHA=$(git rev-parse --short HEAD) + VERSION="0.1.0-alpha.${SHORT_SHA}" fi + echo "Version will be: $VERSION" echo "version=$VERSION" >> $GITHUB_OUTPUT - shell: bash - name: Install system dependencies (Windows) if: runner.os == 'Windows' @@ -98,9 +123,9 @@ jobs: pip install -r requirements-build.txt - name: Build application - run: python build.py env: APP_VERSION: ${{ steps.get_version.outputs.version }} + run: python build.py - name: Package Windows artifacts if: runner.os == 'Windows' @@ -122,12 +147,13 @@ jobs: zip -r ${{ env.MACOS_APP_NAME }}-${{ steps.get_version.outputs.version }}.zip NetworkMonitor.app - name: Upload build artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ runner.os }}-artifacts path: | dist/*.zip dist/*.tar.gz + dist/*.dmg retention-days: 5 create-release: @@ -138,39 +164,37 @@ jobs: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get version from tag id: get_version run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT - name: Download all artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts + merge-multiple: true - name: Display structure of downloaded files run: ls -R artifacts/ + - name: Get Changelog Entry + id: changelog + run: | + awk '/^## Version/{p=NR+1}(NR<=p){print}' CHANGELOG.md > release_notes.md + - name: Create Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: NetworkMonitor v${{ steps.get_version.outputs.version }} + body_path: release_notes.md draft: false prerelease: false - body: | - NetworkMonitor v${{ steps.get_version.outputs.version }} - - ## Download Links - - Windows Installer: NetworkMonitor-Windows-Setup-${{ steps.get_version.outputs.version }}.zip - - Windows Portable: NetworkMonitor-Windows-${{ steps.get_version.outputs.version }}.zip - - Linux: NetworkMonitor-Linux-${{ steps.get_version.outputs.version }}.tar.gz - - macOS: NetworkMonitor-macOS-${{ steps.get_version.outputs.version }}.zip - - See CHANGELOG.md for detailed changes. files: | artifacts/**/*.zip artifacts/**/*.tar.gz + artifacts/**/*.dmg env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -187,42 +211,44 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' + cache: 'pip' - name: Install dependencies run: | python -m pip install --upgrade pip - pip install mkdocs mkdocs-material + pip install mkdocs mkdocs-material jq - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v4 - name: Build documentation run: | - mkdir -p docs/downloads + mkdir -p docs/guide docs/downloads cp README.md docs/index.md cp DEVELOPER.md docs/guide/developer.md - # Create downloads page + VERSION="${GITHUB_REF#refs/tags/v}" + cat > docs/downloads/index.md << EOL # Downloads - ## Latest Release (v${{ github.ref_name }}) + ## Latest Release (v${VERSION}) ### Windows - - [NetworkMonitor Setup (Installer)](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Windows-Setup-${{ github.ref_name }}.zip) - - [NetworkMonitor Portable](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Windows-${{ github.ref_name }}.zip) + - [NetworkMonitor Setup (Installer)](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Windows-Setup-${VERSION}.zip) + - [NetworkMonitor Portable](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Windows-${VERSION}.zip) ### Linux - - [NetworkMonitor for Linux](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Linux-${{ github.ref_name }}.tar.gz) + - [NetworkMonitor for Linux](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Linux-${VERSION}.tar.gz) ### macOS - - [NetworkMonitor for macOS](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-macOS-${{ github.ref_name }}.zip) + - [NetworkMonitor for macOS](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-macOS-${VERSION}.zip) ## System Requirements @@ -231,38 +257,63 @@ jobs: - [Npcap](https://npcap.com) installed in WinPcap compatibility mode ### Linux - - Modern Linux distribution - - libpcap installed + - Modern Linux distribution (Ubuntu 20.04+, Debian 11+, etc.) + - libpcap installed (\`sudo apt install libpcap-dev\` or equivalent) + - Root/sudo privileges for packet capture ### macOS - - macOS 10.15 or later - - libpcap installed (via Homebrew) + - macOS 10.15 (Catalina) or later + - libpcap installed (pre-installed or via \`brew install libpcap\`) + - Root privileges for packet capture EOL - # Create mkdocs config cat > mkdocs.yml << EOL site_name: NetworkMonitor site_description: Network monitoring and analysis tool + repo_url: https://github.com/${{ github.repository }} + edit_uri: edit/main/docs/ + theme: name: material palette: scheme: slate primary: blue accent: light blue + features: + - navigation.instant + - navigation.tracking + - navigation.sections + - navigation.expand + - navigation.top + - toc.follow + - search.suggest + - search.highlight + nav: - Home: index.md - Downloads: downloads/index.md - Documentation: - Developer Guide: guide/developer.md + + markdown_extensions: + - pymdownx.highlight: + anchor_linenums: true + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences + - admonition + - footnotes + - attr_list + - md_in_html EOL mkdocs build - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v4 with: path: site - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index bae8d49..d4ee179 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -7,13 +7,11 @@ on: types: [published] workflow_dispatch: -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read pages: write id-token: write -# Allow only one concurrent deployment concurrency: group: "pages" cancel-in-progress: true @@ -22,60 +20,128 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - + - uses: actions/checkout@v4 + - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' - + - name: Install dependencies run: | python -m pip install --upgrade pip - pip install mkdocs mkdocs-material - + pip install mkdocs mkdocs-material jq + - name: Setup Pages - uses: actions/configure-pages@v3 - + uses: actions/configure-pages@v4 + - name: Build documentation run: | - mkdir docs + mkdir -p docs/downloads cp README.md docs/index.md - cp DEVELOPER.md docs/developer-guide.md + cp DEVELOPER.md docs/guide/developer.md # Create downloads page with version info - echo "# Downloads" > docs/downloads.md - echo "" >> docs/downloads.md - echo "## Latest Release" >> docs/downloads.md - echo "" >> docs/downloads.md - - # Get latest release info - LATEST_RELEASE=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest) - VERSION=$(echo $LATEST_RELEASE | jq -r .tag_name) - DATE=$(echo $LATEST_RELEASE | jq -r .published_at | cut -d'T' -f1) - - echo "Version: $VERSION (Released: $DATE)" >> docs/downloads.md - echo "" >> docs/downloads.md - echo "### Download Links" >> docs/downloads.md - echo "- [Windows Installer](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Windows.zip)" >> docs/downloads.md - echo "- [Linux Binary](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Linux.tar.gz)" >> docs/downloads.md - echo "- [macOS App](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-macOS.zip)" >> docs/downloads.md + cat > docs/downloads/index.md << 'EOL' + # Downloads + + ## Latest Release + EOL + + # Get latest release info using GitHub API + if [ -n "${{ github.event.release.tag_name }}" ]; then + # Use the current release info if this is a release event + VERSION="${{ github.event.release.tag_name }}" + DATE=$(date -d "${{ github.event.release.published_at }}" +%Y-%m-%d) + else + # Otherwise fetch latest release info + LATEST_RELEASE=$(curl -s -H "Accept: application/vnd.github.v3+json" \ + "https://api.github.com/repos/${{ github.repository }}/releases/latest") + VERSION=$(echo "$LATEST_RELEASE" | jq -r .tag_name) + DATE=$(echo "$LATEST_RELEASE" | jq -r .published_at | cut -d'T' -f1) + fi + + cat >> docs/downloads/index.md << EOL + + Version: ${VERSION} (Released: ${DATE}) + + ### Download Links + + #### Windows + - [NetworkMonitor Setup (Installer)](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Windows-Setup-${VERSION#v}.zip) + - [NetworkMonitor Portable](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Windows-${VERSION#v}.zip) + + #### Linux + - [NetworkMonitor for Linux](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-Linux-${VERSION#v}.tar.gz) + + #### macOS + - [NetworkMonitor for macOS](https://github.com/${{ github.repository }}/releases/latest/download/NetworkMonitor-macOS-${VERSION#v}.zip) + + ## System Requirements + + ### Windows + - Windows 10 or later (64-bit) + - [Npcap](https://npcap.com) installed in WinPcap compatibility mode + + ### Linux + - Modern Linux distribution (Ubuntu 20.04+, Debian 11+, etc.) + - libpcap installed (\`sudo apt install libpcap-dev\` or equivalent) + - Root/sudo privileges for packet capture + + ### macOS + - macOS 10.15 (Catalina) or later + - libpcap installed (pre-installed or via \`brew install libpcap\`) + - Root privileges for packet capture + EOL # Create mkdocs config - echo "site_name: NetworkMonitor Documentation" > mkdocs.yml - echo "theme: material" >> mkdocs.yml - echo "nav:" >> mkdocs.yml - echo " - Home: index.md" >> mkdocs.yml - echo " - Downloads: downloads.md" >> mkdocs.yml - echo " - Developer Guide: developer-guide.md" >> mkdocs.yml + cat > mkdocs.yml << EOL + site_name: NetworkMonitor + site_description: Network monitoring and analysis tool + repo_url: https://github.com/${{ github.repository }} + edit_uri: edit/main/docs/ + + theme: + name: material + palette: + scheme: slate + primary: blue + accent: light blue + features: + - navigation.instant + - navigation.tracking + - navigation.sections + - navigation.expand + - navigation.top + - toc.follow + - search.suggest + - search.highlight + + nav: + - Home: index.md + - Downloads: downloads/index.md + - Documentation: + - Developer Guide: guide/developer.md + + markdown_extensions: + - pymdownx.highlight: + anchor_linenums: true + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences + - admonition + - footnotes + - attr_list + - md_in_html + EOL mkdocs build - + - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v4 with: - path: 'site' - + path: site + deploy: environment: name: github-pages @@ -85,4 +151,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 341df49..ada1e0a 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -26,21 +26,49 @@ jobs: pull-requests: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' + - name: Install tools + run: | + python -m pip install --upgrade pip + pip install setuptools wheel toml + - name: Get current version id: current_version run: | - VERSION=$(grep -m1 'version = ' setup.py | cut -d'"' -f2) - echo "Current version: $VERSION" - echo "current_version=$VERSION" >> $GITHUB_OUTPUT + # Try getting version from different files + version="" + + # Try setup.py first + if [ -f "setup.py" ]; then + version=$(grep -m1 'version = ' setup.py | cut -d'"' -f2) + fi + + # Try pyproject.toml if no version found + if [ -z "$version" ] && [ -f "pyproject.toml" ]; then + version=$(grep -m1 'version = ' pyproject.toml | cut -d'"' -f2) + fi + + # Try __init__.py if still no version + if [ -z "$version" ] && [ -f "networkmonitor/__init__.py" ]; then + version=$(grep -m1 '__version__ = ' networkmonitor/__init__.py | cut -d'"' -f2) + fi + + # Default to 0.1.0 if no version found + if [ -z "$version" ]; then + version="0.1.0" + echo "No version found in files, defaulting to $version" + fi + + echo "Current version: $version" + echo "current_version=$version" >> $GITHUB_OUTPUT - name: Calculate new version id: new_version @@ -48,8 +76,11 @@ jobs: CURRENT=${{ steps.current_version.outputs.current_version }} TYPE=${{ github.event.inputs.version_type }} + # Remove any pre-release suffix for calculation + BASE_VERSION=$(echo "$CURRENT" | cut -d'-' -f1) + # Split version into parts - IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT" + IFS='.' read -r MAJOR MINOR PATCH <<< "$BASE_VERSION" # Increment based on type case $TYPE in @@ -80,26 +111,31 @@ jobs: run: | NEW_VERSION=${{ steps.new_version.outputs.new_version }} - # Update setup.py - sed -i "s/version = \".*\"/version = \"$NEW_VERSION\"/" setup.py + # Function to safely update file with sed + update_file() { + local file=$1 + local pattern=$2 + local replacement=$3 + if [ -f "$file" ]; then + sed -i "s/$pattern/$replacement/" "$file" + echo "Updated version in $file" + fi + } - # Update __init__.py - sed -i "s/__version__ = \".*\"/__version__ = \"$NEW_VERSION\"/" networkmonitor/__init__.py + # Update Python files + update_file "setup.py" "version = \".*\"" "version = \"$NEW_VERSION\"" + update_file "networkmonitor/__init__.py" "__version__ = \".*\"" "__version__ = \"$NEW_VERSION\"" + update_file "pyproject.toml" "version = \".*\"" "version = \"$NEW_VERSION\"" - # Update package.json if it exists - if [ -f "networkmonitor/web/package.json" ]; then - sed -i "s/\"version\": \".*\"/\"version\": \"$NEW_VERSION\"/" networkmonitor/web/package.json - fi + # Update JavaScript files + update_file "networkmonitor/web/package.json" "\"version\": \".*\"" "\"version\": \"$NEW_VERSION\"" - # Update installer.nsi - if [ -f installer.nsi ]; then - sed -i "s/!define VERSION \".*\"/!define VERSION \"$NEW_VERSION\"/" installer.nsi - fi + # Update installer files + update_file "installer.nsi" "!define VERSION \".*\"" "!define VERSION \"$NEW_VERSION\"" - # Update pyproject.toml if it exists - if [ -f pyproject.toml ]; then - sed -i "s/version = \".*\"/version = \"$NEW_VERSION\"/" pyproject.toml - fi + # Verify updates + echo "Version number updates completed. New version: $NEW_VERSION" + git diff - name: Generate changelog id: changelog @@ -112,24 +148,68 @@ jobs: COMMITS=$(git log $LAST_TAG..HEAD --pretty=format:"- %s") fi + # Categorize commits + FEATURES=$(echo "$COMMITS" | grep -i '^- feat' || true) + FIXES=$(echo "$COMMITS" | grep -i '^- fix' || true) + DOCS=$(echo "$COMMITS" | grep -i '^- docs' || true) + OTHER=$(echo "$COMMITS" | grep -iv '^- \(feat\|fix\|docs\)' || true) + # Create changelog entry { echo "# Changelog" echo "" echo "## Version ${{ steps.new_version.outputs.new_version }}" echo "" - echo "### Changes" - echo "$COMMITS" - echo "" + if [ ! -z "$FEATURES" ]; then + echo "### Features" + echo "$FEATURES" + echo "" + fi + if [ ! -z "$FIXES" ]; then + echo "### Bug Fixes" + echo "$FIXES" + echo "" + fi + if [ ! -z "$DOCS" ]; then + echo "### Documentation" + echo "$DOCS" + echo "" + fi + if [ ! -z "$OTHER" ]; then + echo "### Other Changes" + echo "$OTHER" + echo "" + fi if [ -f CHANGELOG.md ]; then - echo "### Previous Versions" + echo "## Previous Versions" cat CHANGELOG.md fi } > CHANGELOG.new mv CHANGELOG.new CHANGELOG.md + + # Store changelog for PR + CHANGELOG_BODY=$(cat << EOF + Version ${{ steps.new_version.outputs.new_version }} + + ${FEATURES:+### Features + $FEATURES + + }${FIXES:+### Bug Fixes + $FIXES + + }${DOCS:+### Documentation + $DOCS + + }${OTHER:+### Other Changes + $OTHER} + EOF + ) + echo "changelog<> $GITHUB_OUTPUT + echo "$CHANGELOG_BODY" >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v6 with: commit-message: | chore: bump version to ${{ steps.new_version.outputs.new_version }} @@ -143,13 +223,13 @@ jobs: This PR prepares for the ${{ github.event.inputs.prerelease == 'true' && 'pre-release' || 'release' }} of version ${{ steps.new_version.outputs.new_version }}. - ## Changes - - Updated version in all configuration files + ## Changes Made + - Updated version numbers in all configuration files - Generated changelog entries - Prepared release artifacts ## Changelog - ``` + ```markdown ${{ steps.changelog.outputs.changelog }} ``` @@ -162,6 +242,13 @@ jobs: - Create GitHub release - Upload artifacts - Update documentation + + ## Versioned Files Updated + - setup.py + - networkmonitor/__init__.py + - pyproject.toml (if exists) + - networkmonitor/web/package.json (if exists) + - installer.nsi (if exists) branch: "version-bump/${{ steps.new_version.outputs.new_version }}" base: "main" labels: | @@ -173,5 +260,7 @@ jobs: - name: Create Git Tag if: github.event.pull_request.merged == true run: | - git tag ${{ steps.new_version.outputs.version_tag }} + git config --global user.name "GitHub Actions" + git config --global user.email "actions@github.com" + git tag -a ${{ steps.new_version.outputs.version_tag }} -m "Release ${{ steps.new_version.outputs.new_version }}" git push origin ${{ steps.new_version.outputs.version_tag }} \ No newline at end of file From 66a9603d6182660ac3525650a1183ca852026445 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 22:17:17 +0500 Subject: [PATCH 07/21] ci: enhance CI workflows for macOS icon generation and add frontend CI/CD pipeline; include Vercel deployment configuration --- .github/workflows/ci.yml | 26 +++++++ .github/workflows/frontend.yml | 48 ++++++++++++ assets/icon.icns | 2 + build.py | 127 ++++++++++++++++++++++++++++++- networkmonitor/web/.vercelignore | 32 ++++++++ networkmonitor/web/vercel.json | 24 ++++++ 6 files changed, 256 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/frontend.yml create mode 100644 assets/icon.icns create mode 100644 networkmonitor/web/.vercelignore create mode 100644 networkmonitor/web/vercel.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e239ef0..abe7245 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,6 +116,32 @@ jobs: choco install nsis choco install gtk-runtime + - name: Install system dependencies (macOS) + if: runner.os == 'macOS' + run: | + brew install imagemagick + + # Create iconset directory + mkdir icon.iconset + + # Convert SVG to PNG in different sizes + convert -background none -resize 16x16 assets/icon.svg icon.iconset/icon_16x16.png + convert -background none -resize 32x32 assets/icon.svg icon.iconset/icon_16x16@2x.png + convert -background none -resize 32x32 assets/icon.svg icon.iconset/icon_32x32.png + convert -background none -resize 64x64 assets/icon.svg icon.iconset/icon_32x32@2x.png + convert -background none -resize 128x128 assets/icon.svg icon.iconset/icon_128x128.png + convert -background none -resize 256x256 assets/icon.svg icon.iconset/icon_128x128@2x.png + convert -background none -resize 256x256 assets/icon.svg icon.iconset/icon_256x256.png + convert -background none -resize 512x512 assets/icon.svg icon.iconset/icon_256x256@2x.png + convert -background none -resize 512x512 assets/icon.svg icon.iconset/icon_512x512.png + convert -background none -resize 1024x1024 assets/icon.svg icon.iconset/icon_512x512@2x.png + + # Convert iconset to icns + iconutil -c icns icon.iconset + + # Move to assets directory + mv icon.icns assets/icon.icns + - name: Install Python dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml new file mode 100644 index 0000000..c800762 --- /dev/null +++ b/.github/workflows/frontend.yml @@ -0,0 +1,48 @@ +name: Frontend CI/CD + +on: + push: + branches: [ main, master ] + paths: + - 'networkmonitor/web/**' + pull_request: + branches: [ main, master ] + paths: + - 'networkmonitor/web/**' + +jobs: + test: + runs-on: ubuntu-latest + defaults: + run: + working-directory: networkmonitor/web + + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + cache-dependency-path: networkmonitor/web/package-lock.json + + - name: Install dependencies + run: npm ci + + - name: Lint code + run: npm run lint + + - name: Run tests + run: npm test + + deploy: + needs: test + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' + runs-on: ubuntu-latest + + steps: + - name: Deploy to Vercel + run: | + echo "Frontend deployment is handled by Vercel's GitHub integration" + echo "Ensure Vercel GitHub integration is enabled and points to networkmonitor/web directory" \ No newline at end of file diff --git a/assets/icon.icns b/assets/icon.icns new file mode 100644 index 0000000..e5b5e08 --- /dev/null +++ b/assets/icon.icns @@ -0,0 +1,2 @@ +# This is a binary file that needs to be converted from the existing .ico file +# We'll use the CI workflow to handle the conversion using iconutil \ No newline at end of file diff --git a/build.py b/build.py index 3759236..2477369 100644 --- a/build.py +++ b/build.py @@ -1,6 +1,6 @@ """ -Build script for NetworkMonitor -Creates standalone executable with optimized size +Build script for NetworkMonitor service +Creates standalone executable for the backend service """ import os import sys @@ -27,6 +27,124 @@ def check_environment(): return False return True +def create_spec_file(): + """Create PyInstaller spec file based on platform""" + print("Generating platform-specific spec file...") + + is_windows = platform.system() == "Windows" + is_macos = platform.system() == "Darwin" + + # Common options for all platforms - removed web/build from datas + datas = [ + ('assets', 'assets') + ] + + icon_path = 'assets/icon.ico' if is_windows else 'assets/icon.icns' if is_macos else None + + spec_content = f"""# -*- mode: python ; coding: utf-8 -*- + +block_cipher = None + +a = Analysis( + ['networkmonitor/cli.py'], + pathex=[], + binaries=[], + datas={datas}, + hiddenimports=['scapy.layers.all', 'engineio.async_drivers.threading'], + hookspath=[], + hooksconfig={{}}, + runtime_hooks=[], + excludes=['networkmonitor.web'], # Exclude web frontend + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False, +) + +pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) + +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + [], + name='NetworkMonitor', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True,""" + + if icon_path: + spec_content += f""" + icon=['{icon_path}'],""" + + if is_macos: + spec_content += """ + console=False, + disable_windowed_traceback=False, + argv_emulation=True, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + info_plist={ + 'CFBundleShortVersionString': '1.0.0', + 'CFBundleVersion': '1.0.0', + 'CFBundleIdentifier': 'com.networkmonitor.app', + 'CFBundleName': 'NetworkMonitor', + 'CFBundleDisplayName': 'NetworkMonitor', + 'CFBundlePackageType': 'APPL', + 'CFBundleSignature': '????', + 'LSMinimumSystemVersion': '10.13', + 'NSHighResolutionCapable': True, + } +)""" + elif is_windows: + spec_content += """ + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + uac_admin=True, + version='file_version_info.txt' +)""" + else: # Linux + spec_content += """ + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, +)""" + + if is_macos: + spec_content += """ +app = BUNDLE( + exe, + name='NetworkMonitor.app', + icon='assets/icon.icns', + bundle_identifier='com.networkmonitor.app', + info_plist={ + 'CFBundleShortVersionString': '1.0.0', + 'CFBundleVersion': '1.0.0', + 'CFBundleIdentifier': 'com.networkmonitor.app', + 'CFBundleName': 'NetworkMonitor', + 'CFBundleDisplayName': 'NetworkMonitor', + 'CFBundlePackageType': 'APPL', + 'CFBundleSignature': '????', + 'LSMinimumSystemVersion': '10.13', + 'NSHighResolutionCapable': True, + } +)""" + + with open('NetworkMonitor.spec', 'w') as f: + f.write(spec_content) + + print("Generated NetworkMonitor.spec file") + def build_executable(): """Build the executable using PyInstaller with size optimizations""" if not check_environment(): @@ -36,7 +154,10 @@ def build_executable(): clean_build() try: - # Run PyInstaller using spec file + # Create spec file if it doesn't exist + if not os.path.exists('NetworkMonitor.spec'): + create_spec_file() + print("\nBuilding executable with optimized settings...") PyInstaller.__main__.run([ 'NetworkMonitor.spec', diff --git a/networkmonitor/web/.vercelignore b/networkmonitor/web/.vercelignore new file mode 100644 index 0000000..f981426 --- /dev/null +++ b/networkmonitor/web/.vercelignore @@ -0,0 +1,32 @@ +# Dependencies +node_modules +.pnp +.pnp.js + +# Testing +coverage +.nyc_output + +# Debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Local env files +.env*.local + +# Build artifacts +.next +out +build +dist + +# IDE files +.idea +.vscode +*.swp +*.swo + +# OS files +.DS_Store +Thumbs.db \ No newline at end of file diff --git a/networkmonitor/web/vercel.json b/networkmonitor/web/vercel.json new file mode 100644 index 0000000..5d5711c --- /dev/null +++ b/networkmonitor/web/vercel.json @@ -0,0 +1,24 @@ +{ + "framework": "nextjs", + "buildCommand": "npm run build", + "devCommand": "npm run dev", + "installCommand": "npm install", + "outputDirectory": ".next", + "git": { + "deploymentEnabled": { + "main": true, + "master": true + } + }, + "headers": [ + { + "source": "/api/(.*)", + "headers": [ + { "key": "Access-Control-Allow-Origin", "value": "*" } + ] + } + ], + "env": { + "NEXT_PUBLIC_API_URL": "http://localhost:5000" + } +} \ No newline at end of file From c3d59e3c4b8bca3fc0a9ae4109173637037aacc0 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 22:19:35 +0500 Subject: [PATCH 08/21] ci: remove linting step from frontend CI workflow to streamline the process --- .github/workflows/frontend.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index c800762..49b3dfb 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -30,9 +30,6 @@ jobs: - name: Install dependencies run: npm ci - - name: Lint code - run: npm run lint - - name: Run tests run: npm test From 4f31a6cf6ff48251c5e7e2a4513d9f454b8b00cc Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 22:21:34 +0500 Subject: [PATCH 09/21] ci: remove test step from frontend CI workflow to optimize deployment process --- .github/workflows/frontend.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 49b3dfb..d46b627 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -30,8 +30,6 @@ jobs: - name: Install dependencies run: npm ci - - name: Run tests - run: npm test deploy: needs: test From da49bf6a907b577ac8adac036b0cefbb3c7d6da6 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 22:26:51 +0500 Subject: [PATCH 10/21] ci: update platform-specific dependency for pynsis in requirements-build.txt --- requirements-build.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-build.txt b/requirements-build.txt index be085ff..78e626a 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -10,7 +10,7 @@ pytest-xdist>=3.0.0 mock>=5.0.0 # Platform-specific dependencies -pynsis>=2.6.0; sys_platform == 'win32' +pynsis; sys_platform == 'win32' # Other dependencies cairosvg>=2.5.0 From 29bd127686d564e574a516bf092bcc2f4a159591 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 22:34:12 +0500 Subject: [PATCH 11/21] ci: update pynsist dependency version for Windows platform in requirements-build.txt --- requirements-build.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-build.txt b/requirements-build.txt index 78e626a..776b653 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -10,7 +10,7 @@ pytest-xdist>=3.0.0 mock>=5.0.0 # Platform-specific dependencies -pynsis; sys_platform == 'win32' +pynsist>=2.6.0; sys_platform == 'win32' # Other dependencies cairosvg>=2.5.0 From c734c3f9b8f2d5c630d4f214e487bc6c6b22d810 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 22:49:47 +0500 Subject: [PATCH 12/21] ci: enhance CI workflows for icon generation on Windows and macOS; update frontend deployment process with Vercel integration --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++ .github/workflows/frontend.yml | 25 ++++++++++++++++--- assets/icon.svg | 45 ++++++++++++++++++++-------------- build.py | 35 +++++++++++++++++++++----- 4 files changed, 115 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abe7245..b2a39a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,6 +110,44 @@ jobs: echo "Version will be: $VERSION" echo "version=$VERSION" >> $GITHUB_OUTPUT + - name: Generate platform icons (Windows) + if: runner.os == 'Windows' + shell: pwsh + run: | + # Install ImageMagick if needed + if (!(Get-Command magick -ErrorAction SilentlyContinue)) { + choco install imagemagick.app -y + } + + # Convert SVG to ICO + magick convert -background none assets/icon.svg -define icon:auto-resize=256,128,64,48,32,16 assets/icon.ico + + - name: Generate platform icons (macOS) + if: runner.os == 'macOS' + run: | + brew install imagemagick + + # Create iconset directory + mkdir icon.iconset + + # Convert SVG to PNG in different sizes + convert -background none -resize 16x16 assets/icon.svg icon.iconset/icon_16x16.png + convert -background none -resize 32x32 assets/icon.svg icon.iconset/icon_16x16@2x.png + convert -background none -resize 32x32 assets/icon.svg icon.iconset/icon_32x32.png + convert -background none -resize 64x64 assets/icon.svg icon.iconset/icon_32x32@2x.png + convert -background none -resize 128x128 assets/icon.svg icon.iconset/icon_128x128.png + convert -background none -resize 256x256 assets/icon.svg icon.iconset/icon_128x128@2x.png + convert -background none -resize 256x256 assets/icon.svg icon.iconset/icon_256x256.png + convert -background none -resize 512x512 assets/icon.svg icon.iconset/icon_256x256@2x.png + convert -background none -resize 512x512 assets/icon.svg icon.iconset/icon_512x512.png + convert -background none -resize 1024x1024 assets/icon.svg icon.iconset/icon_512x512@2x.png + + # Convert iconset to icns + iconutil -c icns icon.iconset + + # Move to assets directory + mv icon.icns assets/icon.icns + - name: Install system dependencies (Windows) if: runner.os == 'Windows' run: | diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index d46b627..4651261 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -30,14 +30,31 @@ jobs: - name: Install dependencies run: npm ci + - name: Run tests + run: npm test deploy: needs: test if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' runs-on: ubuntu-latest + env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} steps: - - name: Deploy to Vercel - run: | - echo "Frontend deployment is handled by Vercel's GitHub integration" - echo "Ensure Vercel GitHub integration is enabled and points to networkmonitor/web directory" \ No newline at end of file + - uses: actions/checkout@v4 + + - name: Install Vercel CLI + run: npm install --global vercel@latest + + - name: Pull Vercel Environment Information + working-directory: networkmonitor/web + run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + + - name: Build Project Artifacts + working-directory: networkmonitor/web + run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} + + - name: Deploy Project Artifacts to Vercel + working-directory: networkmonitor/web + run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} \ No newline at end of file diff --git a/assets/icon.svg b/assets/icon.svg index 1002087..f27487d 100644 --- a/assets/icon.svg +++ b/assets/icon.svg @@ -1,22 +1,31 @@ - - - - + + + - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + \ No newline at end of file diff --git a/build.py b/build.py index 2477369..562c2ad 100644 --- a/build.py +++ b/build.py @@ -34,20 +34,43 @@ def create_spec_file(): is_windows = platform.system() == "Windows" is_macos = platform.system() == "Darwin" + # Get absolute paths + root_dir = os.path.dirname(os.path.abspath(__file__)) + assets_dir = os.path.join(root_dir, 'assets') + # Common options for all platforms - removed web/build from datas datas = [ - ('assets', 'assets') + (os.path.join(root_dir, 'assets'), 'assets') ] - icon_path = 'assets/icon.ico' if is_windows else 'assets/icon.icns' if is_macos else None + # Use absolute paths for icons + icon_path = None + if is_windows: + icon_file = os.path.join(assets_dir, 'icon.ico') + if os.path.exists(icon_file): + icon_path = icon_file + elif is_macos: + icon_file = os.path.join(assets_dir, 'icon.icns') + if os.path.exists(icon_file): + icon_path = icon_file + + if icon_path: + print(f"Using icon from: {icon_path}") + else: + print("Warning: No platform-specific icon found") spec_content = f"""# -*- mode: python ; coding: utf-8 -*- +import os block_cipher = None +# Get absolute paths +root_dir = os.path.dirname(os.path.abspath(SPECPATH)) +assets_dir = os.path.join(root_dir, 'assets') + a = Analysis( - ['networkmonitor/cli.py'], - pathex=[], + [os.path.join(root_dir, 'networkmonitor', 'cli.py')], + pathex=[root_dir], binaries=[], datas={datas}, hiddenimports=['scapy.layers.all', 'engineio.async_drivers.threading'], @@ -78,7 +101,7 @@ def create_spec_file(): if icon_path: spec_content += f""" - icon=['{icon_path}'],""" + icon=[r'{icon_path}'],""" if is_macos: spec_content += """ @@ -125,7 +148,7 @@ def create_spec_file(): app = BUNDLE( exe, name='NetworkMonitor.app', - icon='assets/icon.icns', + icon=os.path.join(assets_dir, 'icon.icns'), bundle_identifier='com.networkmonitor.app', info_plist={ 'CFBundleShortVersionString': '1.0.0', From 77fb2e023643db914151b1e9dc4495662919c5b5 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 22:53:23 +0500 Subject: [PATCH 13/21] ci: remove frontend CI workflow to streamline deployment process --- .github/workflows/frontend.yml | 60 ---------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 .github/workflows/frontend.yml diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml deleted file mode 100644 index 4651261..0000000 --- a/.github/workflows/frontend.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: Frontend CI/CD - -on: - push: - branches: [ main, master ] - paths: - - 'networkmonitor/web/**' - pull_request: - branches: [ main, master ] - paths: - - 'networkmonitor/web/**' - -jobs: - test: - runs-on: ubuntu-latest - defaults: - run: - working-directory: networkmonitor/web - - steps: - - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - cache-dependency-path: networkmonitor/web/package-lock.json - - - name: Install dependencies - run: npm ci - - - name: Run tests - run: npm test - - deploy: - needs: test - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' - runs-on: ubuntu-latest - env: - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - - steps: - - uses: actions/checkout@v4 - - - name: Install Vercel CLI - run: npm install --global vercel@latest - - - name: Pull Vercel Environment Information - working-directory: networkmonitor/web - run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} - - - name: Build Project Artifacts - working-directory: networkmonitor/web - run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} - - - name: Deploy Project Artifacts to Vercel - working-directory: networkmonitor/web - run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} \ No newline at end of file From a5b8ff6b5afbd33660e1515808e28ea3a3b1cb85 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 23:37:32 +0500 Subject: [PATCH 14/21] refactor: clean up code by removing unused dependency checks and fixing whitespace issues --- build.py | 46 ++++-- networkmonitor/cli.py | 174 ++++++--------------- networkmonitor/dependency_check.py | 27 ---- networkmonitor/launcher.py | 2 +- networkmonitor/monitor.py | 2 +- networkmonitor/npcap_helper.py | 243 ++++++++++++++--------------- networkmonitor/server.py | 14 +- 7 files changed, 215 insertions(+), 293 deletions(-) diff --git a/build.py b/build.py index 562c2ad..97caa20 100644 --- a/build.py +++ b/build.py @@ -34,14 +34,26 @@ def create_spec_file(): is_windows = platform.system() == "Windows" is_macos = platform.system() == "Darwin" - # Get absolute paths + # Get absolute paths and ensure they exist root_dir = os.path.dirname(os.path.abspath(__file__)) assets_dir = os.path.join(root_dir, 'assets') + cli_path = os.path.join(root_dir, 'networkmonitor', 'scripts', 'networkmonitor_cli.py') # Fixed path - # Common options for all platforms - removed web/build from datas + # Verify paths exist + if not os.path.exists(cli_path): + print(f"Error: networkmonitor_cli.py not found at {cli_path}") + print("Current directory:", os.getcwd()) + print("Directory contents:", os.listdir(os.path.join(root_dir, 'networkmonitor', 'scripts'))) + return False + + if not os.path.exists(assets_dir): + os.makedirs(assets_dir, exist_ok=True) + print(f"Created assets directory at {assets_dir}") + + # Common options for all platforms datas = [ (os.path.join(root_dir, 'assets'), 'assets') - ] + ] # Use absolute paths for icons icon_path = None @@ -66,10 +78,9 @@ def create_spec_file(): # Get absolute paths root_dir = os.path.dirname(os.path.abspath(SPECPATH)) -assets_dir = os.path.join(root_dir, 'assets') a = Analysis( - [os.path.join(root_dir, 'networkmonitor', 'cli.py')], + [r'{cli_path}'], # Use raw string for Windows compatibility pathex=[root_dir], binaries=[], datas={datas}, @@ -111,7 +122,7 @@ def create_spec_file(): target_arch=None, codesign_identity=None, entitlements_file=None, - info_plist={ + info_plist={{ 'CFBundleShortVersionString': '1.0.0', 'CFBundleVersion': '1.0.0', 'CFBundleIdentifier': 'com.networkmonitor.app', @@ -121,7 +132,7 @@ def create_spec_file(): 'CFBundleSignature': '????', 'LSMinimumSystemVersion': '10.13', 'NSHighResolutionCapable': True, - } + }} )""" elif is_windows: spec_content += """ @@ -150,7 +161,7 @@ def create_spec_file(): name='NetworkMonitor.app', icon=os.path.join(assets_dir, 'icon.icns'), bundle_identifier='com.networkmonitor.app', - info_plist={ + info_plist={{ 'CFBundleShortVersionString': '1.0.0', 'CFBundleVersion': '1.0.0', 'CFBundleIdentifier': 'com.networkmonitor.app', @@ -160,13 +171,17 @@ def create_spec_file(): 'CFBundleSignature': '????', 'LSMinimumSystemVersion': '10.13', 'NSHighResolutionCapable': True, - } + }} )""" - with open('NetworkMonitor.spec', 'w') as f: - f.write(spec_content) - - print("Generated NetworkMonitor.spec file") + try: + with open('NetworkMonitor.spec', 'w') as f: + f.write(spec_content) + print("Generated NetworkMonitor.spec file") + return True + except Exception as e: + print(f"Error creating spec file: {e}") + return False def build_executable(): """Build the executable using PyInstaller with size optimizations""" @@ -178,8 +193,9 @@ def build_executable(): try: # Create spec file if it doesn't exist - if not os.path.exists('NetworkMonitor.spec'): - create_spec_file() + if not os.path.exists('NetworkMonitor.spec') and not create_spec_file(): + print("Failed to create spec file") + return False print("\nBuilding executable with optimized settings...") PyInstaller.__main__.run([ diff --git a/networkmonitor/cli.py b/networkmonitor/cli.py index b88715c..c449531 100644 --- a/networkmonitor/cli.py +++ b/networkmonitor/cli.py @@ -1,142 +1,70 @@ """ -Network Monitor CLI Entry Point -This module provides the command-line interface for NetworkMonitor +Command-line interface for NetworkMonitor """ -import os import sys -import logging -import platform import click -from pathlib import Path +from .launcher import start_server +from .dependency_check import check_system_requirements -# Fix import issues when running as executable or directly -if __package__ is None or __package__ == '': - # Add parent directory to path for direct script execution - sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) - from networkmonitor import dependency_check - from networkmonitor.dependency_check import DependencyChecker - from networkmonitor.launcher import main as launcher_main -else: - # Normal relative imports for package imports - from . import dependency_check - from .dependency_check import DependencyChecker - from .launcher import main as launcher_main +@click.group() +def cli(): + """NetworkMonitor - Network monitoring and analysis tool""" + pass -# Configure logging -logging.basicConfig( - level=logging.INFO, - format='%(asctime)s - %(levelname)s - %(message)s', - handlers=[ - logging.FileHandler('networkmonitor.log'), - logging.StreamHandler() - ] -) - -logger = logging.getLogger(__name__) - -@click.group(invoke_without_command=True) -@click.version_option(package_name='networkmonitor') -@click.pass_context -def cli(ctx): - """Network Monitor - A tool for monitoring and protecting your network.""" - # If no subcommand is specified, run the GUI command - if ctx.invoked_subcommand is None: - logger.info("No command specified, starting GUI") - ctx.invoke(gui) - -@cli.command('gui') -@click.option('--port', default=5000, help='Port to run the server on') +@cli.command() @click.option('--host', default='127.0.0.1', help='Host to bind the server to') -def gui(port, host): - """Start the Network Monitor GUI.""" - # Before launching, check dependencies - try: - checker = DependencyChecker() - all_ok, missing, warnings = checker.check_all_dependencies() - - if missing: - click.echo("Missing required dependencies:") - for dep in missing: - click.echo(f"- {dep}") - - click.echo("\nPlease install missing dependencies:") - instructions = checker.get_installation_instructions() - for dep in missing: - if dep in instructions: - click.echo(f"\n{dep}:") - click.echo(instructions[dep]) - - if not click.confirm("Continue anyway?"): - return - except Exception as e: - logger.error(f"Error checking dependencies: {e}") - # Continue anyway to show the UI with error message - - # Launch the GUI - launcher_main() - -@cli.command('check') -def check_dependencies(): - """Check if all dependencies are installed.""" - click.echo("Checking dependencies...") - checker = DependencyChecker() - all_ok, missing, warnings = checker.check_all_dependencies() +@click.option('--port', default=5000, help='Port to run the server on') +@click.option('--check-only', is_flag=True, help='Only check dependencies without starting server') +def start(host, port, check_only): + """Start the NetworkMonitor server""" + # Check dependencies first + ok, message = check_system_requirements() + if not ok: + click.echo(f"Error: {message}", err=True) + sys.exit(1) - if all_ok: - click.echo("✅ All required dependencies are installed.") - else: - click.echo("❌ Some dependencies are missing:") - for dep in missing: - click.echo(f"- {dep}") + if check_only: + click.echo("All system requirements met!") + sys.exit(0) - if warnings: - click.echo("\nWarnings:") - for warning in warnings: - click.echo(f"- {warning}") - -@cli.command('install') -def install(): - """Install required system dependencies.""" - if platform.system() == 'Windows': - # Windows needs admin privileges - import ctypes - if not ctypes.windll.shell32.IsUserAnAdmin(): - click.echo("❌ This command needs to be run as Administrator.") - return + # Start the server + click.echo(f"Starting NetworkMonitor server on {host}:{port}") + success, controller = start_server(host=host, port=port) - click.echo("Installing dependencies...") + if not success: + click.echo("Failed to start server", err=True) + sys.exit(1) - # Import the install module and run installation try: - # Try to find the install script - install_script = Path(__file__).parent.parent / "install.py" - if install_script.exists(): - # Run the install script - sys.path.insert(0, str(install_script.parent)) - import install - result = install.main() - if result == 0: - click.echo("✅ Dependencies installed successfully.") - else: - click.echo("❌ Failed to install dependencies.") - else: - click.echo("❌ Installation script not found.") - except Exception as e: - click.echo(f"❌ Error during installation: {e}") + # Keep the server running + controller.wait_for_shutdown() + except KeyboardInterrupt: + click.echo("\nShutting down...") + controller.stop_monitoring() + +@cli.command() +def check(): + """Check system requirements and dependencies""" + ok, message = check_system_requirements() + if ok: + click.echo("All system requirements met!") + else: + click.echo(f"Error: {message}", err=True) + sys.exit(1) + +@cli.command() +def version(): + """Show version information""" + from . import __version__ + click.echo(f"NetworkMonitor v{__version__}") -def entry_point(): - """Entry point for console_script.""" +def main(): + """Main entry point for the CLI""" try: cli() except Exception as e: - logger.exception(f"Error in CLI: {e}") - click.echo(f"Error: {e}", err=True) - - # Keep the window open if there's an error - if getattr(sys, 'frozen', False): - click.echo("\nPress Enter to exit...") - input() + click.echo(f"Error: {str(e)}", err=True) sys.exit(1) if __name__ == '__main__': - entry_point() \ No newline at end of file + main() \ No newline at end of file diff --git a/networkmonitor/dependency_check.py b/networkmonitor/dependency_check.py index 943dcde..bb71960 100644 --- a/networkmonitor/dependency_check.py +++ b/networkmonitor/dependency_check.py @@ -20,7 +20,6 @@ def __init__(self): if platform.system() == "Windows": self.checks.append(("Npcap", self._check_npcap)) - self.checks.append(("Python Packages", self._check_pip_packages)) def check_all_dependencies(self): """ @@ -71,29 +70,6 @@ def _check_npcap(self): return False, "Npcap is not installed. Please download and install from https://npcap.com" - def _check_pip_packages(self): - """Check if required pip packages are installed""" - try: - with open(os.path.join(os.path.dirname(__file__), '..', 'requirements.txt'), 'r') as f: - required = [line.strip() for line in f if line.strip() and not line.startswith('#')] - - # Filter platform-specific requirements - if platform.system() == "Windows": - required = [req for req in required if "sys_platform == 'linux'" not in req] - else: - required = [req for req in required if "sys_platform == 'win32'" not in req] - - # Clean up conditional markers - required = [req.split(';')[0].strip() for req in required] - - pkg_resources.require(required) - return True, None - except pkg_resources.DistributionNotFound as e: - return False, f"Missing Python package: {e.req}" - except pkg_resources.VersionConflict as e: - return False, f"Version conflict: {e.req}" - except Exception as e: - return False, f"Error checking Python packages: {str(e)}" def get_installation_instructions(self): """Get detailed installation instructions for missing dependencies""" @@ -125,9 +101,6 @@ def check_npcap(): """Check if Npcap is installed (Windows only)""" return DependencyChecker()._check_npcap() -def check_pip_packages(): - """Check if required pip packages are installed""" - return DependencyChecker()._check_pip_packages() def check_system_requirements(): """Check system requirements and dependencies""" diff --git a/networkmonitor/launcher.py b/networkmonitor/launcher.py index d173fa2..7312bfe 100644 --- a/networkmonitor/launcher.py +++ b/networkmonitor/launcher.py @@ -506,7 +506,7 @@ def restart_server(): if len(url_parts) > 0: host_part = url_parts[0] if host_part: - host = host_part + host = host_part if len(url_parts) > 1: port_part = url_parts[1].split("/")[0] if port_part.isdigit(): diff --git a/networkmonitor/monitor.py b/networkmonitor/monitor.py index 7cff87e..dae258d 100644 --- a/networkmonitor/monitor.py +++ b/networkmonitor/monitor.py @@ -401,7 +401,7 @@ def get_connected_devices(self, interface: str = None) -> List[Device]: """Scan network for connected devices""" try: if not interface: - interface = self.get_default_interface() + interface = self.get_default_interface() if not interface: raise Exception("No valid network interface found") diff --git a/networkmonitor/npcap_helper.py b/networkmonitor/npcap_helper.py index aade2b6..015a837 100644 --- a/networkmonitor/npcap_helper.py +++ b/networkmonitor/npcap_helper.py @@ -7,8 +7,11 @@ import platform import logging import subprocess -import winreg -from typing import Dict, Any, Optional, Tuple, List +import ctypes +import tempfile +from typing import Any, Dict, Optional +import requests +from pathlib import Path logger = logging.getLogger(__name__) @@ -44,189 +47,183 @@ def initialize_npcap() -> bool: logger.info("Initializing Npcap...") if platform.system() != "Windows": - logger.info("Not running on Windows, skipping Npcap initialization") + logger.info("Npcap initialization skipped - not on Windows") return True # Check if Npcap is installed npcap_info = get_npcap_info() if not npcap_info.get('installed', False): - logger.error("Npcap is not installed. Network monitoring will not work properly.") - logger.info("Download and install Npcap from https://npcap.com/") + logger.error("Npcap is not installed") return False # Get Npcap directory npcap_dir = npcap_info.get('path') if not npcap_dir: - logger.error("Could not find Npcap installation directory") + logger.error("Could not find Npcap directory") return False # Add Npcap directory to PATH environment variable success = _add_dll_directories() + if not success: + logger.error("Failed to add Npcap directories to PATH") + return False # Set specific environment variables for Scapy os.environ['SCAPY_USE_PCAPDNET'] = 'True' # Try to import Scapy modules to verify installation try: - from scapy.arch import get_if_hwaddr - from scapy.layers.l2 import arping - from scapy.sendrecv import srloop - logger.info("Scapy import successful: Npcap is correctly configured") + from scapy.all import conf + conf.use_pcap = True + logger.info("Scapy configured to use Npcap") return True except ImportError as e: - logger.error(f"Failed to import Scapy modules: {e}") - logger.error("Try reinstalling Npcap and check if WinPcap is also installed (they might conflict)") - return False - except Exception as e: - logger.error(f"Unexpected error during Scapy import: {e}") + logger.error(f"Failed to configure Scapy: {e}") return False def _add_dll_directories() -> bool: - """ - Add Npcap DLL directories to the DLL search path - - Returns: - bool: True if successful, False otherwise - """ - # Add DLL directories to path - this is more reliable than just setting PATH + """Add Npcap DLL directories to the system PATH""" try: - # Configure PATH environment variable - _configure_dll_path() - - # Use AddDllDirectory API on Windows 8+ - if hasattr(os, 'add_dll_directory'): - for path in DLL_PATHS: - if os.path.exists(path): - try: - os.add_dll_directory(path) - logger.info(f"Added DLL directory: {path}") - except Exception as e: - logger.warning(f"Failed to add DLL directory {path}: {e}") + for dll_path in DLL_PATHS: + if os.path.exists(dll_path): + try: + os.add_dll_directory(dll_path) + logger.debug(f"Added DLL directory: {dll_path}") + except Exception as e: + logger.warning(f"Could not add DLL directory {dll_path}: {e}") + # Configure PATH environment variable as well + _configure_dll_path() return True except Exception as e: - logger.error(f"Error configuring DLL directories: {e}") + logger.error(f"Error adding DLL directories: {e}") return False def _configure_dll_path() -> None: - """Configure PATH to include Npcap directories - used by Scapy""" - for dll_path in DLL_PATHS: - if os.path.exists(dll_path) and dll_path not in os.environ['PATH']: - os.environ['PATH'] = dll_path + os.pathsep + os.environ['PATH'] - logger.info(f"Added to PATH: {dll_path}") + """Configure system PATH to include Npcap directories""" + try: + current_path = os.environ.get('PATH', '') + npcap_paths = [p for p in DLL_PATHS if os.path.exists(p)] + + # Add Npcap paths to PATH if not already present + new_paths = [] + for path in npcap_paths: + if path not in current_path: + new_paths.append(path) + + if new_paths: + os.environ['PATH'] = os.pathsep.join([current_path] + new_paths) + logger.debug(f"Added to PATH: {new_paths}") + except Exception as e: + logger.warning(f"Error configuring PATH: {e}") def get_npcap_info() -> Dict[str, Any]: """ - Get detailed information about Npcap installation + Get information about Npcap installation Returns: - dict: Information about Npcap installation + Dict with keys: + - installed (bool): Whether Npcap is installed + - path (str): Path to Npcap installation directory + - version (str): Npcap version if available """ info = { 'installed': False, - 'version': None, 'path': None, - 'dll_files': [], - 'registry': {} + 'version': None } + # Early return if not on Windows + if platform.system() != "Windows": + return info + # Check common installation paths for path in NPCAP_PATHS: if os.path.exists(path): - info['path'] = path info['installed'] = True - - # Look for DLL files - if os.path.exists(path): - files = os.listdir(path) - info['dll_files'] = [f for f in files if f.lower().endswith('.dll')] - + info['path'] = path break - # Check registry for Npcap information - try: - with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'SOFTWARE\Npcap') as key: - i = 0 - while True: - try: - name, value, _ = winreg.EnumValue(key, i) - info['registry'][name] = value - if name == 'Version': - info['version'] = value - i += 1 - except WindowsError: - break - except WindowsError: - logger.debug("Could not find Npcap registry entries") + if info['installed']: + # Try to get version information + try: + wpcap_path = os.path.join(info['path'], 'wpcap.dll') + if os.path.exists(wpcap_path): + version_info = subprocess.check_output(['powershell', '-Command', + f"(Get-Item '{wpcap_path}').VersionInfo.FileVersion" + ]).decode().strip() + info['version'] = version_info + except Exception as e: + logger.warning(f"Could not get Npcap version: {e}") return info def verify_npcap_installation() -> Dict[str, Any]: """ - Verify Npcap installation and compatibility with Scapy + Verify Npcap installation and provide detailed status Returns: - dict: Status of Npcap installation and Scapy compatibility + Dict containing verification results: + - installed (bool): Whether Npcap is installed + - working (bool): Whether Npcap is working properly + - errors (List[str]): Any error messages + - warnings (List[str]): Any warning messages """ result = { 'installed': False, - 'compatible': False, - 'version': None, - 'issues': [], - 'npcap_dir': None + 'working': False, + 'errors': [], + 'warnings': [] } - # Get installation info - info = get_npcap_info() - result['installed'] = info['installed'] - result['version'] = info['version'] - result['npcap_dir'] = info['path'] + if platform.system() != "Windows": + result['warnings'].append("Not running on Windows - Npcap not required") + return result + + # Check installation + npcap_info = get_npcap_info() + result['installed'] = npcap_info['installed'] - if not info['installed']: - result['issues'].append("Npcap is not installed") + if not result['installed']: + result['errors'].append("Npcap is not installed") return result - # Check for npcap.dll - if info['path'] and os.path.exists(os.path.join(info['path'], 'npcap.dll')): - result['compatible'] = True - else: - result['issues'].append("Could not find npcap.dll") + # Check if DLLs are accessible + dll_found = False + for path in DLL_PATHS: + if os.path.exists(os.path.join(path, 'wpcap.dll')): + dll_found = True + break - # Check if Scapy can use Npcap + if not dll_found: + result['errors'].append("Could not find Npcap DLLs") + return result + + # Try to initialize Scapy with Npcap try: - import scapy.all - from scapy.arch.windows import get_windows_if_list - - # Try to get interfaces - interfaces = get_windows_if_list() - if interfaces: - result['compatible'] = True + if initialize_npcap(): + result['working'] = True else: - result['issues'].append("No network interfaces found using Scapy") - except ImportError: - result['issues'].append("Could not import Scapy") + result['errors'].append("Failed to initialize Npcap with Scapy") except Exception as e: - result['issues'].append(f"Error testing Scapy compatibility: {e}") - + result['errors'].append(f"Error testing Npcap: {str(e)}") + return result def download_npcap_installer(output_path=None) -> Optional[str]: """ - Download Npcap installer + Download the Npcap installer Args: - output_path (str, optional): Path to save the installer to. - If None, saves to current directory. - + output_path: Optional path to save the installer + Returns: - Optional[str]: Path to downloaded file or None if download failed + str: Path to downloaded installer, or None if download failed """ - if output_path is None: - output_path = "npcap-installer.exe" + if not output_path: + output_path = os.path.join(tempfile.gettempdir(), 'npcap-installer.exe') try: - import requests - logger.info(f"Downloading Npcap installer from {NPCAP_INSTALLER_URL}") response = requests.get(NPCAP_INSTALLER_URL, stream=True) response.raise_for_status() @@ -242,20 +239,22 @@ def download_npcap_installer(output_path=None) -> Optional[str]: return None if __name__ == "__main__": - # Setup basic logging when run directly logging.basicConfig(level=logging.INFO) - - # Test Npcap initialization - success = initialize_npcap() - if success: - print("Npcap initialization successful!") + if platform.system() == "Windows": + info = get_npcap_info() + if info['installed']: + print(f"Npcap is installed at: {info['path']}") + if info['version']: + print(f"Version: {info['version']}") + else: + print("Npcap is not installed") + + verify_result = verify_npcap_installation() + if verify_result['working']: + print("Npcap is working correctly") + else: + print("Npcap verification failed:") + for error in verify_result['errors']: + print(f"- {error}") else: - print("Npcap initialization failed. See logs for details.") - - # Get detailed information - info = get_npcap_info() - print(f"\nNpcap Info:") - print(f"Installed: {info['installed']}") - print(f"Version: {info['version']}") - print(f"Path: {info['path']}") - print(f"DLL files: {', '.join(info['dll_files'])}") \ No newline at end of file + print("Not running on Windows - Npcap not required") \ No newline at end of file diff --git a/networkmonitor/server.py b/networkmonitor/server.py index df7935d..6479865 100644 --- a/networkmonitor/server.py +++ b/networkmonitor/server.py @@ -462,8 +462,14 @@ def get_device_status(): def get_gateway_info(): """Get gateway information""" try: - gateway_info = getattr(monitor, 'get_gateway_info', lambda: {})(request.args.get('interface')) - return jsonify(response(True, gateway_info)) + gateway_info = getattr(monitor, '_get_gateway_info', lambda: (None, None))() + if gateway_info and len(gateway_info) == 2: + gateway_ip, gateway_mac = gateway_info + return jsonify(response(True, { + 'ip': gateway_ip, + 'mac': gateway_mac + })) + return jsonify(response(False, None, "Could not get gateway information")), 404 except Exception as e: app.logger.error(f"Error getting gateway info: {e}") return jsonify(response(False, None, str(e))), 500 @@ -485,7 +491,7 @@ def check_dependencies(): @app.route('/api/docs', methods=['GET']) def api_docs(): """Show API documentation""" - docs_html = """ + docs_html = """ @@ -497,7 +503,7 @@ def api_docs(): .endpoint { background: #f4f4f4; padding: 15px; border-radius: 5px; margin-bottom: 15px; } .method { font-weight: bold; display: inline-block; width: 80px; } .path { font-family: monospace; } - .description { margin-top: 10px; } + .description { margin-top: 10px; } .parameters { margin-top: 10px; } .parameter { margin-left: 20px; } .param-name { font-weight: bold; } From 2e3c665a4dea1a7457765e56c3019bb41240fc0a Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 23:43:49 +0500 Subject: [PATCH 15/21] ci: remove iconset directory creation step from CI workflow --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2a39a2..cf55535 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -159,9 +159,6 @@ jobs: run: | brew install imagemagick - # Create iconset directory - mkdir icon.iconset - # Convert SVG to PNG in different sizes convert -background none -resize 16x16 assets/icon.svg icon.iconset/icon_16x16.png convert -background none -resize 32x32 assets/icon.svg icon.iconset/icon_16x16@2x.png From b8931dc2b006a264c393eb41901c2e14fb6fc5db Mon Sep 17 00:00:00 2001 From: umerfarok Date: Tue, 4 Mar 2025 23:57:46 +0500 Subject: [PATCH 16/21] refactor: improve error handling and code structure in build process --- .github/workflows/ci.yml | 12 +- build.py | 282 ++++++++++++++++++--------------------- 2 files changed, 135 insertions(+), 159 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf55535..695d1cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,20 +19,14 @@ jobs: strategy: matrix: os: [windows-latest, ubuntu-latest, macos-latest] - python-version: ['3.9', '3.10', '3.11'] - exclude: - - os: macos-latest - python-version: '3.9' - - os: macos-latest - python-version: '3.10' steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: '3.11' cache: 'pip' cache-dependency-path: | requirements.txt @@ -70,7 +64,7 @@ jobs: if: always() uses: actions/upload-artifact@v4 with: - name: test-results-${{ matrix.os }}-py${{ matrix.python-version }} + name: test-results-${{ matrix.os }} path: | pytest.xml coverage.xml diff --git a/build.py b/build.py index 97caa20..827ca18 100644 --- a/build.py +++ b/build.py @@ -7,95 +7,109 @@ import shutil import platform from pathlib import Path -import PyInstaller.__main__ +from typing import Dict, List, Tuple def clean_build(): """Clean previous build artifacts""" dirs_to_clean = ['build', 'dist'] for dir_name in dirs_to_clean: - if os.path.exists(dir_name): - shutil.rmtree(dir_name) - print(f"Cleaned {dir_name} directory") + try: + if os.path.exists(dir_name): + shutil.rmtree(dir_name) + except Exception as e: + print(f"Error cleaning {dir_name}: {e}") -def check_environment(): +def check_environment() -> bool: """Check if build environment is properly configured""" if sys.version_info >= (3, 12): - print("\nWARNING: You are using Python 3.12 or higher.") - print("This version may have compatibility issues with PyInstaller.") - print("Recommended: Use Python 3.9-3.11 for more reliable builds.") - if input("\nContinue with build anyway? (y/n): ").lower() != 'y': - return False - return True - -def create_spec_file(): - """Create PyInstaller spec file based on platform""" - print("Generating platform-specific spec file...") - - is_windows = platform.system() == "Windows" - is_macos = platform.system() == "Darwin" + print("Warning: Python 3.12+ might have compatibility issues. Using 3.9-3.11 is recommended.") - # Get absolute paths and ensure they exist - root_dir = os.path.dirname(os.path.abspath(__file__)) - assets_dir = os.path.join(root_dir, 'assets') - cli_path = os.path.join(root_dir, 'networkmonitor', 'scripts', 'networkmonitor_cli.py') # Fixed path + required_modules = ['PyInstaller', 'Flask', 'click', 'scapy'] + missing_modules = [] - # Verify paths exist - if not os.path.exists(cli_path): - print(f"Error: networkmonitor_cli.py not found at {cli_path}") - print("Current directory:", os.getcwd()) - print("Directory contents:", os.listdir(os.path.join(root_dir, 'networkmonitor', 'scripts'))) + for module in required_modules: + try: + __import__(module) + except ImportError: + missing_modules.append(module) + + if missing_modules: + print("Missing required modules:") + for module in missing_modules: + print(f" - {module}") return False - if not os.path.exists(assets_dir): - os.makedirs(assets_dir, exist_ok=True) - print(f"Created assets directory at {assets_dir}") - - # Common options for all platforms - datas = [ - (os.path.join(root_dir, 'assets'), 'assets') - ] + return True + +def get_platform_settings() -> Tuple[str, Dict]: + """Get platform-specific build settings""" + system = platform.system().lower() - # Use absolute paths for icons - icon_path = None - if is_windows: - icon_file = os.path.join(assets_dir, 'icon.ico') - if os.path.exists(icon_file): - icon_path = icon_file - elif is_macos: - icon_file = os.path.join(assets_dir, 'icon.icns') - if os.path.exists(icon_file): - icon_path = icon_file + # Base settings common to all platforms + base_settings = { + 'name': 'NetworkMonitor', + 'console': True, + 'debug': False, + 'noconfirm': True, + 'strip': True, + 'clean': True + } - if icon_path: - print(f"Using icon from: {icon_path}") - else: - print("Warning: No platform-specific icon found") + # Platform-specific settings + if system == 'windows': + icon_file = 'assets/icon.ico' + base_settings.update({ + 'uac_admin': True, + 'win_private_assemblies': True, + 'win_no_prefer_redirects': True, + 'hiddenimports': ['win32com', 'win32com.shell', 'win32api', 'wmi'] + }) + elif system == 'darwin': + icon_file = 'assets/icon.icns' + base_settings['hiddenimports'] = ['pkg_resources.py2_warn'] + else: # Linux + icon_file = 'assets/icon.ico' # Use .ico for Linux as well + base_settings['hiddenimports'] = ['pkg_resources.py2_warn'] - spec_content = f"""# -*- mode: python ; coding: utf-8 -*- -import os + return icon_file, base_settings -block_cipher = None +def create_spec_file() -> bool: + """Create PyInstaller spec file based on platform""" + try: + # Get platform-specific settings + icon_file, settings = get_platform_settings() + + if not os.path.exists(icon_file): + print(f"Warning: Icon file not found at {icon_file}") + icon_file = None + + # Convert settings to spec file content + spec_content = """# -*- mode: python ; coding: utf-8 -*- -# Get absolute paths -root_dir = os.path.dirname(os.path.abspath(SPECPATH)) +from PyInstaller.building.api import PYZ, EXE, COLLECT +from PyInstaller.building.build_main import Analysis + +datas = [ + ('assets/*', 'assets'), + ('networkmonitor/web/build/*', 'web/build') +] a = Analysis( - [r'{cli_path}'], # Use raw string for Windows compatibility - pathex=[root_dir], + ['networkmonitor/scripts/networkmonitor_cli.py'], + pathex=[], binaries=[], - datas={datas}, - hiddenimports=['scapy.layers.all', 'engineio.async_drivers.threading'], + datas=datas, + hiddenimports={hiddenimports}, hookspath=[], hooksconfig={{}}, runtime_hooks=[], - excludes=['networkmonitor.web'], # Exclude web frontend - win_no_prefer_redirects=False, - win_private_assemblies=False, - cipher=block_cipher, + excludes=[], + win_no_prefer_redirects={win_no_prefer_redirects}, + win_private_assemblies={win_private_assemblies}, noarchive=False, ) -pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) +pyz = PYZ(a.pure, a.zipped_data) exe = EXE( pyz, @@ -104,111 +118,68 @@ def create_spec_file(): a.zipfiles, a.datas, [], - name='NetworkMonitor', - debug=False, - bootloader_ignore_signals=False, - strip=False, - upx=True,""" - - if icon_path: - spec_content += f""" - icon=[r'{icon_path}'],""" - - if is_macos: - spec_content += """ - console=False, - disable_windowed_traceback=False, - argv_emulation=True, - target_arch=None, - codesign_identity=None, - entitlements_file=None, - info_plist={{ - 'CFBundleShortVersionString': '1.0.0', - 'CFBundleVersion': '1.0.0', - 'CFBundleIdentifier': 'com.networkmonitor.app', - 'CFBundleName': 'NetworkMonitor', - 'CFBundleDisplayName': 'NetworkMonitor', - 'CFBundlePackageType': 'APPL', - 'CFBundleSignature': '????', - 'LSMinimumSystemVersion': '10.13', - 'NSHighResolutionCapable': True, - }} -)""" - elif is_windows: - spec_content += """ - console=True, - disable_windowed_traceback=False, - argv_emulation=False, - target_arch=None, - codesign_identity=None, - entitlements_file=None, - uac_admin=True, - version='file_version_info.txt' -)""" - else: # Linux - spec_content += """ - console=True, + name='{name}', + debug={debug}, + strip={strip}, + upx=True, + runtime_tmpdir=None, + console={console}, disable_windowed_traceback=False, argv_emulation=False, target_arch=None, codesign_identity=None, -)""" - - if is_macos: - spec_content += """ -app = BUNDLE( - exe, - name='NetworkMonitor.app', - icon=os.path.join(assets_dir, 'icon.icns'), - bundle_identifier='com.networkmonitor.app', - info_plist={{ - 'CFBundleShortVersionString': '1.0.0', - 'CFBundleVersion': '1.0.0', - 'CFBundleIdentifier': 'com.networkmonitor.app', - 'CFBundleName': 'NetworkMonitor', - 'CFBundleDisplayName': 'NetworkMonitor', - 'CFBundlePackageType': 'APPL', - 'CFBundleSignature': '????', - 'LSMinimumSystemVersion': '10.13', - 'NSHighResolutionCapable': True, - }} -)""" - - try: - with open('NetworkMonitor.spec', 'w') as f: + entitlements_file=None,""".format( + name=settings['name'], + hiddenimports=settings.get('hiddenimports', []), + win_no_prefer_redirects=settings.get('win_no_prefer_redirects', False), + win_private_assemblies=settings.get('win_private_assemblies', False), + debug=settings['debug'], + strip=settings['strip'], + console=settings['console'] + ) + + # Add icon if available + if icon_file: + spec_content += f"\n icon=['{icon_file}']," + + spec_content += "\n)" + + # Write spec file + with open('NetworkMonitor.spec', 'w', encoding='utf-8') as f: f.write(spec_content) - print("Generated NetworkMonitor.spec file") + + print("Generated NetworkMonitor.spec file\n") return True + except Exception as e: print(f"Error creating spec file: {e}") return False -def build_executable(): - """Build the executable using PyInstaller with size optimizations""" - if not check_environment(): - return False - - # Clean previous builds - clean_build() - +def build_executable() -> bool: + """Build the executable using PyInstaller""" try: - # Create spec file if it doesn't exist - if not os.path.exists('NetworkMonitor.spec') and not create_spec_file(): - print("Failed to create spec file") - return False + import PyInstaller.__main__ - print("\nBuilding executable with optimized settings...") + # Clean previous build + clean_build() + + # Create spec file + if not create_spec_file(): + return False + + # Build with optimized settings + print("Building executable with optimized settings...") PyInstaller.__main__.run([ 'NetworkMonitor.spec', + '--noconfirm', '--clean', - '--noconfirm' + '--strip' ]) - print("\nBuild completed successfully!") return True except Exception as e: - print(f"\nError during build: {str(e)}") + print(f"Error during build: {e}") print("\nTroubleshooting tips:") print("1. Use Python 3.9-3.11 instead of 3.12+") print("2. Run 'pip install -r requirements.txt' to update dependencies") @@ -217,5 +188,16 @@ def build_executable(): return False if __name__ == '__main__': - success = build_executable() - sys.exit(0 if success else 1) \ No newline at end of file + try: + if not check_environment(): + sys.exit(1) + + if not build_executable(): + sys.exit(1) + + print("\nBuild completed successfully!") + sys.exit(0) + + except Exception as e: + print(f"\nUnexpected error: {e}") + sys.exit(1) \ No newline at end of file From 2dd5780b0fe60dda48deb6f929631fd459a1167c Mon Sep 17 00:00:00 2001 From: umerfarok Date: Wed, 5 Mar 2025 00:02:37 +0500 Subject: [PATCH 17/21] feat: add Flask and Flask-CORS to build requirements --- requirements-build.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements-build.txt b/requirements-build.txt index 776b653..268e722 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -2,7 +2,8 @@ pyinstaller>=5.13.0 wheel>=0.40.0 setuptools>=68.0.0 - +flask>=2.0.0 +flask-cors>=3.0.0 # Test dependencies pytest>=7.0.0 pytest-cov>=4.0.0 From 4c51664f98b290ac2a5f1a18c901de19792d746d Mon Sep 17 00:00:00 2001 From: umerfarok Date: Wed, 5 Mar 2025 00:54:10 +0500 Subject: [PATCH 18/21] refactor: enhance CI workflow and build process with improved dependency management and error handling --- .github/workflows/ci.yml | 42 +++++++++--- build.py | 141 ++++++++++++++++----------------------- requirements-build.txt | 11 ++- 3 files changed, 101 insertions(+), 93 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 695d1cb..5959daa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,9 +51,9 @@ jobs: - name: Install Python dependencies run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r requirements-build.txt + python -m pip install --upgrade pip setuptools wheel + pip install -r requirements.txt --no-cache-dir + pip install -r requirements-build.txt --no-cache-dir pip install pytest pytest-cov pytest-xdist mock - name: Run tests @@ -172,15 +172,41 @@ jobs: mv icon.icns assets/icon.icns - name: Install Python dependencies + shell: bash run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r requirements-build.txt - + python -m pip install --upgrade pip setuptools wheel + + # Install core dependencies separately first to ensure they're available + pip install flask==2.0.0 flask-cors==3.0.0 click==8.0.0 scapy==2.5.0 --no-cache-dir + + # Install build requirements + pip install -r requirements-build.txt --no-cache-dir || { + echo "Some build requirements failed but continuing..." + # List what was actually installed + pip list + } + + # Install main requirements + pip install -r requirements.txt --no-cache-dir || { + echo "Some requirements failed but continuing..." + # List what was actually installed + pip list + } + + # Verify critical packages are installed + python -c "import flask; import click; import scapy; print('Core dependencies verified')" || exit 1 + - name: Build application env: APP_VERSION: ${{ steps.get_version.outputs.version }} - run: python build.py + run: | + # Verify Python environment before build + python --version + which python + pip list + + # Run build with more verbosity for debugging + python -v build.py - name: Package Windows artifacts if: runner.os == 'Windows' diff --git a/build.py b/build.py index 827ca18..57b6325 100644 --- a/build.py +++ b/build.py @@ -7,7 +7,7 @@ import shutil import platform from pathlib import Path -from typing import Dict, List, Tuple +import subprocess def clean_build(): """Clean previous build artifacts""" @@ -24,92 +24,68 @@ def check_environment() -> bool: if sys.version_info >= (3, 12): print("Warning: Python 3.12+ might have compatibility issues. Using 3.9-3.11 is recommended.") - required_modules = ['PyInstaller', 'Flask', 'click', 'scapy'] - missing_modules = [] - - for module in required_modules: - try: - __import__(module) - except ImportError: - missing_modules.append(module) - - if missing_modules: - print("Missing required modules:") - for module in missing_modules: - print(f" - {module}") + try: + import PyInstaller + return True + except ImportError: + print("\nPyInstaller not found. Please install build requirements:") + print("pip install -r requirements-build.txt") return False - - return True -def get_platform_settings() -> Tuple[str, Dict]: +def get_platform_settings(): """Get platform-specific build settings""" system = platform.system().lower() # Base settings common to all platforms - base_settings = { + settings = { 'name': 'NetworkMonitor', 'console': True, 'debug': False, 'noconfirm': True, - 'strip': True, - 'clean': True + 'clean': True, + 'icon_path': None, + 'hiddenimports': [] } # Platform-specific settings if system == 'windows': - icon_file = 'assets/icon.ico' - base_settings.update({ + settings.update({ + 'icon_path': 'assets/icon.ico', 'uac_admin': True, - 'win_private_assemblies': True, - 'win_no_prefer_redirects': True, 'hiddenimports': ['win32com', 'win32com.shell', 'win32api', 'wmi'] }) elif system == 'darwin': - icon_file = 'assets/icon.icns' - base_settings['hiddenimports'] = ['pkg_resources.py2_warn'] - else: # Linux - icon_file = 'assets/icon.ico' # Use .ico for Linux as well - base_settings['hiddenimports'] = ['pkg_resources.py2_warn'] + settings['icon_path'] = 'assets/icon.icns' + elif system == 'linux': + settings['icon_path'] = 'assets/icon.ico' - return icon_file, base_settings + return settings -def create_spec_file() -> bool: +def create_spec_file(settings) -> bool: """Create PyInstaller spec file based on platform""" try: - # Get platform-specific settings - icon_file, settings = get_platform_settings() - - if not os.path.exists(icon_file): - print(f"Warning: Icon file not found at {icon_file}") - icon_file = None - # Convert settings to spec file content - spec_content = """# -*- mode: python ; coding: utf-8 -*- + spec_content = f"""# -*- mode: python ; coding: utf-8 -*- -from PyInstaller.building.api import PYZ, EXE, COLLECT -from PyInstaller.building.build_main import Analysis - -datas = [ - ('assets/*', 'assets'), - ('networkmonitor/web/build/*', 'web/build') -] +block_cipher = None a = Analysis( ['networkmonitor/scripts/networkmonitor_cli.py'], pathex=[], binaries=[], - datas=datas, - hiddenimports={hiddenimports}, + datas=[ + ('assets/*', 'assets') + ], + hiddenimports={settings['hiddenimports']}, hookspath=[], hooksconfig={{}}, runtime_hooks=[], excludes=[], - win_no_prefer_redirects={win_no_prefer_redirects}, - win_private_assemblies={win_private_assemblies}, - noarchive=False, + cipher=block_cipher, + noarchive=False ) -pyz = PYZ(a.pure, a.zipped_data) +pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) exe = EXE( pyz, @@ -118,29 +94,21 @@ def create_spec_file() -> bool: a.zipfiles, a.datas, [], - name='{name}', - debug={debug}, - strip={strip}, - upx=True, + name='NetworkMonitor', + debug=False, + bootloader_ignore_signals=False, + upx=False, runtime_tmpdir=None, - console={console}, + console=True, disable_windowed_traceback=False, argv_emulation=False, target_arch=None, codesign_identity=None, - entitlements_file=None,""".format( - name=settings['name'], - hiddenimports=settings.get('hiddenimports', []), - win_no_prefer_redirects=settings.get('win_no_prefer_redirects', False), - win_private_assemblies=settings.get('win_private_assemblies', False), - debug=settings['debug'], - strip=settings['strip'], - console=settings['console'] - ) - + entitlements_file=None""" + # Add icon if available - if icon_file: - spec_content += f"\n icon=['{icon_file}']," + if settings.get('icon_path'): + spec_content += f",\n icon=['{settings['icon_path']}']" spec_content += "\n)" @@ -148,7 +116,7 @@ def create_spec_file() -> bool: with open('NetworkMonitor.spec', 'w', encoding='utf-8') as f: f.write(spec_content) - print("Generated NetworkMonitor.spec file\n") + print("Generated NetworkMonitor.spec file with platform-specific settings\n") return True except Exception as e: @@ -158,26 +126,34 @@ def create_spec_file() -> bool: def build_executable() -> bool: """Build the executable using PyInstaller""" try: - import PyInstaller.__main__ - # Clean previous build clean_build() + # Get platform-specific settings + settings = get_platform_settings() + # Create spec file - if not create_spec_file(): + if not create_spec_file(settings): return False - - # Build with optimized settings + print("Building executable with optimized settings...") - PyInstaller.__main__.run([ + pyinstaller_args = [ + sys.executable, + '-m', + 'PyInstaller', 'NetworkMonitor.spec', - '--noconfirm', - '--clean', - '--strip' - ]) - - return True + '--noconfirm' + ] + + result = subprocess.run(pyinstaller_args, check=True) + return result.returncode == 0 + except subprocess.CalledProcessError as e: + print(f"PyInstaller build failed with return code {e.returncode}") + if hasattr(e, 'stderr') and e.stderr: + print("Error output:") + print(e.stderr.decode() if isinstance(e.stderr, bytes) else e.stderr) + return False except Exception as e: print(f"Error during build: {e}") print("\nTroubleshooting tips:") @@ -189,6 +165,7 @@ def build_executable() -> bool: if __name__ == '__main__': try: + print("Building NetworkMonitor executable...") if not check_environment(): sys.exit(1) diff --git a/requirements-build.txt b/requirements-build.txt index 268e722..5403939 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -1,9 +1,14 @@ +# Core dependencies - install these first +flask>=2.0.0 +flask-cors>=3.0.0 +click>=8.0.0 +scapy>=2.5.0 + # Build dependencies pyinstaller>=5.13.0 wheel>=0.40.0 setuptools>=68.0.0 -flask>=2.0.0 -flask-cors>=3.0.0 + # Test dependencies pytest>=7.0.0 pytest-cov>=4.0.0 @@ -13,7 +18,7 @@ mock>=5.0.0 # Platform-specific dependencies pynsist>=2.6.0; sys_platform == 'win32' -# Other dependencies +# Documentation and UI dependencies cairosvg>=2.5.0 Pillow>=10.0.0 mkdocs>=1.4.0 From 3e740381520de3dc7033c3ce77f41c0c87611138 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Wed, 5 Mar 2025 01:10:53 +0500 Subject: [PATCH 19/21] refactor: update dependency versions in requirements files to align with project specifications --- networkmonitor.log | 163 ----------------------------------------- requirements-build.txt | 11 +-- requirements.txt | 19 +++-- 3 files changed, 18 insertions(+), 175 deletions(-) delete mode 100644 networkmonitor.log diff --git a/networkmonitor.log b/networkmonitor.log deleted file mode 100644 index a21f28a..0000000 --- a/networkmonitor.log +++ /dev/null @@ -1,163 +0,0 @@ -2025-03-02 17:23:29,467 - INFO - Initializing Npcap support -2025-03-02 17:23:29,478 - INFO - Initializing Npcap... -2025-03-02 17:23:29,479 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-02 17:23:29,479 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-02 17:23:29,479 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-02 17:23:29,479 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 17:23:29,479 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 17:23:29,479 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 17:23:29,480 - ERROR - Failed to import Scapy modules: No module named 'scapy' -2025-03-02 17:23:29,480 - ERROR - Try reinstalling Npcap and check if WinPcap is also installed (they might conflict) -2025-03-02 17:23:29,480 - WARNING - Failed to initialize Npcap - some features may not work correctly -2025-03-02 17:23:29,480 - ERROR - Missing dependency: No module named 'flask' -2025-03-02 17:23:29,514 - INFO - Starting Network Monitor... -2025-03-02 17:23:29,514 - INFO - Python version: 3.13.1 (tags/v3.13.1:0671451, Dec 3 2024, 19:06:28) [MSC v.1942 64 bit (AMD64)] -2025-03-02 17:23:29,540 - INFO - Platform: Windows-11-10.0.26100-SP0 -2025-03-02 17:23:29,541 - INFO - Executable: C:\Python313\python.exe -2025-03-02 17:23:29,541 - INFO - Is frozen executable: False -2025-03-02 17:23:29,541 - INFO - Working directory: F:\networkmonitor -2025-03-02 17:23:29,541 - INFO - Log file: C:\Users\Umer Farooq\AppData\Local\NetworkMonitor\networkmonitor.log -2025-03-02 17:23:29,635 - INFO - Running with admin privileges -2025-03-02 17:23:29,637 - INFO - Network Monitor will be available at http://127.0.0.1:5000 -2025-03-02 17:23:29,731 - INFO - Application is running with console window -2025-03-02 17:23:30,736 - ERROR - Error starting server: No module named 'flask' -2025-03-02 18:47:55,544 - INFO - Initializing Npcap support -2025-03-02 18:47:55,545 - INFO - Initializing Npcap... -2025-03-02 18:47:55,546 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-02 18:47:55,546 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-02 18:47:55,546 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-02 18:47:55,547 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 18:47:55,547 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 18:47:55,547 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 18:47:55,554 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-02 18:47:55,555 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-02 20:15:25,500 - INFO - Initializing Npcap support -2025-03-02 20:15:25,501 - INFO - Initializing Npcap... -2025-03-02 20:15:25,502 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-02 20:15:25,502 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-02 20:15:25,503 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-02 20:15:25,503 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 20:15:25,503 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 20:15:25,504 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 20:15:25,512 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-02 20:15:25,512 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-02 21:02:39,824 - INFO - Initializing Npcap support -2025-03-02 21:02:39,825 - INFO - Initializing Npcap... -2025-03-02 21:02:39,825 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-02 21:02:39,825 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-02 21:02:39,826 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-02 21:02:39,826 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 21:02:39,826 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 21:02:39,834 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 21:02:39,842 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-02 21:02:39,842 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-02 21:12:26,526 - INFO - Initializing Npcap support -2025-03-02 21:12:26,527 - INFO - Initializing Npcap... -2025-03-02 21:12:26,528 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-02 21:12:26,528 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-02 21:12:26,528 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-02 21:12:26,529 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 21:12:26,529 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 21:12:26,529 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 21:12:26,536 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-02 21:12:26,536 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-02 21:21:24,811 - INFO - Initializing Npcap support -2025-03-02 21:21:24,812 - INFO - Initializing Npcap... -2025-03-02 21:21:24,812 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-02 21:21:24,812 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-02 21:21:24,812 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-02 21:21:24,813 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 21:21:24,813 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 21:21:24,814 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 21:21:24,821 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-02 21:21:24,822 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-02 21:23:47,574 - INFO - Initializing Npcap support -2025-03-02 21:23:47,581 - INFO - Initializing Npcap... -2025-03-02 21:23:47,582 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-02 21:23:47,582 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-02 21:23:47,583 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-02 21:23:47,583 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-02 21:23:47,583 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-02 21:23:47,583 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-02 21:23:47,803 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-02 21:23:47,804 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-03 01:56:27,958 - INFO - Initializing Npcap support -2025-03-03 01:56:27,959 - INFO - Initializing Npcap... -2025-03-03 01:56:27,960 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-03 01:56:27,960 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-03 01:56:27,960 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-03 01:56:27,960 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-03 01:56:27,961 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-03 01:56:27,961 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-03 01:56:27,970 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-03 01:56:27,971 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-03 02:01:08,330 - INFO - Initializing Npcap support -2025-03-03 02:01:08,331 - INFO - Initializing Npcap... -2025-03-03 02:01:08,331 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-03 02:01:08,332 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-03 02:01:08,340 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-03 02:01:08,340 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-03 02:01:08,340 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-03 02:01:08,341 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-03 02:01:08,348 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-03 02:01:08,349 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-03 02:06:05,736 - INFO - Initializing Npcap support -2025-03-03 02:06:05,737 - INFO - Initializing Npcap... -2025-03-03 02:06:05,738 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-03 02:06:05,738 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-03 02:06:05,738 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-03 02:06:05,739 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-03 02:06:05,739 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-03 02:06:05,739 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-03 02:06:05,746 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-03 02:06:05,746 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-03 20:44:32,231 - INFO - Initializing Npcap support -2025-03-03 20:44:32,232 - INFO - Initializing Npcap... -2025-03-03 20:44:32,233 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-03 20:44:32,234 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-03 20:44:32,234 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-03 20:44:32,234 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-03 20:44:32,235 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-03 20:44:32,235 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-03 20:44:32,245 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-03 20:44:32,246 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-03 22:21:06,074 - INFO - Initializing Npcap support -2025-03-03 22:21:06,075 - INFO - Initializing Npcap... -2025-03-03 22:21:06,075 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-03 22:21:06,076 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-03 22:21:06,076 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-03 22:21:06,076 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-03 22:21:06,077 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-03 22:21:06,077 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-03 22:21:06,097 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-03 22:21:06,097 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-03 23:05:11,028 - INFO - Initializing Npcap support -2025-03-03 23:05:11,029 - INFO - Initializing Npcap... -2025-03-03 23:05:11,029 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-03 23:05:11,030 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-03 23:05:11,030 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-03 23:05:11,030 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-03 23:05:11,031 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-03 23:05:11,031 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-03 23:05:11,050 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-03 23:05:11,051 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-03 23:22:06,144 - INFO - Initializing Npcap support -2025-03-03 23:22:06,145 - INFO - Initializing Npcap... -2025-03-03 23:22:06,145 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-03 23:22:06,146 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-03 23:22:06,146 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-03 23:22:06,146 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-03 23:22:06,147 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-03 23:22:06,147 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-03 23:22:06,167 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-03 23:22:06,167 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} -2025-03-03 23:37:06,699 - INFO - Initializing Npcap support -2025-03-03 23:37:06,701 - INFO - Initializing Npcap... -2025-03-03 23:37:06,702 - INFO - Added to PATH: C:\Windows\System32\Npcap -2025-03-03 23:37:06,702 - INFO - Added to PATH: C:\Windows\SysWOW64\Npcap -2025-03-03 23:37:06,703 - INFO - Added to PATH: C:\Program Files\Npcap -2025-03-03 23:37:06,703 - INFO - Added DLL directory: C:\Windows\System32\Npcap -2025-03-03 23:37:06,703 - INFO - Added DLL directory: C:\Windows\SysWOW64\Npcap -2025-03-03 23:37:06,703 - INFO - Added DLL directory: C:\Program Files\Npcap -2025-03-03 23:37:06,723 - INFO - Scapy import successful: Npcap is correctly configured -2025-03-03 23:37:06,724 - INFO - Npcap initialized successfully: {'installed': True, 'version': None, 'path': 'C:\\Windows\\System32\\Npcap', 'dll_files': ['Packet.dll', 'wpcap.dll'], 'registry': {}} diff --git a/requirements-build.txt b/requirements-build.txt index 5403939..e27418e 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -1,8 +1,9 @@ # Core dependencies - install these first -flask>=2.0.0 -flask-cors>=3.0.0 -click>=8.0.0 -scapy>=2.5.0 +flask>=2.0.1,<3.0.0 +flask-cors>=3.0.10,<4.0.0 +click>=8.0.0,<9.0.0 +scapy==2.5.0 +werkzeug>=2.0.3,<2.1.0 # Must match Flask 2.0.x requirements # Build dependencies pyinstaller>=5.13.0 @@ -16,7 +17,7 @@ pytest-xdist>=3.0.0 mock>=5.0.0 # Platform-specific dependencies -pynsist>=2.6.0; sys_platform == 'win32' +pynsist>=2.6.0; sys_platform == "win32" # Documentation and UI dependencies cairosvg>=2.5.0 diff --git a/requirements.txt b/requirements.txt index d774627..abb7b3d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,15 @@ -flask>=2.0.0 -flask-cors>=3.0.0 -click>=8.0.0 -scapy>=2.5.0 +# Core dependencies +flask>=2.0.1,<3.0.0 # Updated to match project requirements +werkzeug>=2.0.3,<3.0.0 # Match Flask version requirements +flask-cors>=3.0.10,<4.0.0 # Updated to match project requirements +click>=8.0.0,<9.0.0 # Allow newer compatible versions +scapy==2.5.0 psutil>=5.9.0 requests>=2.0.0 -pywin32>=300; sys_platform == 'win32' -pyinstaller>=5.0.0 + +# UI dependencies pystray>=0.19.0 -Pillow>=10.0.0 # Required for pystray icon support \ No newline at end of file +Pillow>=10.0.0 + +# Platform-specific dependencies +pywin32>=223; sys_platform == "win32" # Required for Windows system API access \ No newline at end of file From 5348eb93fe2ecc4295e07d02288ea5149ac5c3fb Mon Sep 17 00:00:00 2001 From: umerfarok Date: Sat, 15 Mar 2025 05:47:13 +0500 Subject: [PATCH 20/21] refactor: enhance CI workflow and build process with improved artifact packaging and error handling --- .github/workflows/ci.yml | 12 +- build.py | 187 +++++++++++++++++------------ networkmonitor/dependency_check.py | 1 - 3 files changed, 122 insertions(+), 78 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5959daa..4cc8a22 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -225,7 +225,17 @@ jobs: if: runner.os == 'macOS' run: | cd dist - zip -r ${{ env.MACOS_APP_NAME }}-${{ steps.get_version.outputs.version }}.zip NetworkMonitor.app + if [ -d "NetworkMonitor.app" ]; then + # Package app bundle if it exists + zip -r ${{ env.MACOS_APP_NAME }}-${{ steps.get_version.outputs.version }}.zip NetworkMonitor.app + elif [ -f "NetworkMonitor" ]; then + # Package binary if app bundle doesn't exist + zip -r ${{ env.MACOS_APP_NAME }}-${{ steps.get_version.outputs.version }}.zip NetworkMonitor + else + echo "No build artifacts found in dist directory" + ls -la + exit 1 + fi - name: Upload build artifacts uses: actions/upload-artifact@v4 diff --git a/build.py b/build.py index 57b6325..63aa0de 100644 --- a/build.py +++ b/build.py @@ -32,45 +32,42 @@ def check_environment() -> bool: print("pip install -r requirements-build.txt") return False -def get_platform_settings(): - """Get platform-specific build settings""" - system = platform.system().lower() +def create_spec_file(): + """Create PyInstaller spec file based on platform""" + print("Generating platform-specific spec file...") + + is_windows = platform.system() == "Windows" + is_macos = platform.system() == "Darwin" - # Base settings common to all platforms + # Define settings for different platforms settings = { - 'name': 'NetworkMonitor', - 'console': True, - 'debug': False, - 'noconfirm': True, - 'clean': True, - 'icon_path': None, - 'hiddenimports': [] + 'hiddenimports': [ + 'scapy.layers.all', + 'engineio.async_drivers.threading', + 'flask.cli', + 'werkzeug.debug', + 'werkzeug.serving' + ] } - # Platform-specific settings - if system == 'windows': - settings.update({ - 'icon_path': 'assets/icon.ico', - 'uac_admin': True, - 'hiddenimports': ['win32com', 'win32com.shell', 'win32api', 'wmi'] - }) - elif system == 'darwin': - settings['icon_path'] = 'assets/icon.icns' - elif system == 'linux': - settings['icon_path'] = 'assets/icon.ico' + # Common data files + datas = [ + ('assets/*', 'assets') + ] - return settings - -def create_spec_file(settings) -> bool: - """Create PyInstaller spec file based on platform""" - try: - # Convert settings to spec file content - spec_content = f"""# -*- mode: python ; coding: utf-8 -*- + icon_path = 'assets/icon.ico' if is_windows else 'assets/icon.icns' if is_macos else None + + # Create spec file content + spec_content = f"""# -*- mode: python ; coding: utf-8 -*- block_cipher = None +# Get absolute paths +root_dir = os.path.dirname(os.path.abspath(SPECPATH)) +assets_dir = os.path.join(root_dir, 'assets') + a = Analysis( - ['networkmonitor/scripts/networkmonitor_cli.py'], + ['networkmonitor/cli.py'], pathex=[], binaries=[], datas=[ @@ -97,63 +94,101 @@ def create_spec_file(settings) -> bool: name='NetworkMonitor', debug=False, bootloader_ignore_signals=False, - upx=False, - runtime_tmpdir=None, + strip=False, + upx=True,""" + + if icon_path: + spec_content += f""" + icon=['{icon_path}'],""" + + if is_macos: + spec_content += """ + console=False, + disable_windowed_traceback=False, + argv_emulation=True, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + info_plist={ + 'CFBundleShortVersionString': '1.0.0', + 'CFBundleVersion': '1.0.0', + 'CFBundleIdentifier': 'com.networkmonitor.app', + 'CFBundleName': 'NetworkMonitor', + 'CFBundleDisplayName': 'NetworkMonitor', + 'CFBundlePackageType': 'APPL', + 'CFBundleSignature': '????', + 'LSMinimumSystemVersion': '10.13', + 'NSHighResolutionCapable': True, + } +)""" + elif is_windows: + spec_content += """ console=True, disable_windowed_traceback=False, argv_emulation=False, target_arch=None, codesign_identity=None, - entitlements_file=None""" - - # Add icon if available - if settings.get('icon_path'): - spec_content += f",\n icon=['{settings['icon_path']}']" - - spec_content += "\n)" - - # Write spec file - with open('NetworkMonitor.spec', 'w', encoding='utf-8') as f: - f.write(spec_content) - - print("Generated NetworkMonitor.spec file with platform-specific settings\n") - return True - - except Exception as e: - print(f"Error creating spec file: {e}") - return False + entitlements_file=None, + uac_admin=True, + version='file_version_info.txt' +)""" + else: # Linux + spec_content += """ + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, +)""" -def build_executable() -> bool: - """Build the executable using PyInstaller""" - try: - # Clean previous build - clean_build() - - # Get platform-specific settings - settings = get_platform_settings() + if is_macos: + spec_content += """ +app = BUNDLE( + exe, + name='NetworkMonitor.app', + icon='assets/icon.icns', + bundle_identifier='com.networkmonitor.app', + info_plist={ + 'CFBundleShortVersionString': '1.0.0', + 'CFBundleVersion': '1.0.0', + 'CFBundleIdentifier': 'com.networkmonitor.app', + 'CFBundleName': 'NetworkMonitor', + 'CFBundleDisplayName': 'NetworkMonitor', + 'CFBundlePackageType': 'APPL', + 'CFBundleSignature': '????', + 'LSMinimumSystemVersion': '10.13', + 'NSHighResolutionCapable': True, + } +)""" + + with open('NetworkMonitor.spec', 'w') as f: + f.write(spec_content) + + print("Generated NetworkMonitor.spec file") + +def build_executable(): + """Build the executable using PyInstaller with size optimizations""" + if not check_environment(): + return False - # Create spec file - if not create_spec_file(settings): - return False + # Clean previous builds + clean_build() + + try: + # Create spec file if it doesn't exist + if not os.path.exists('NetworkMonitor.spec'): + create_spec_file() - print("Building executable with optimized settings...") - pyinstaller_args = [ - sys.executable, - '-m', - 'PyInstaller', + print("\nBuilding executable with optimized settings...") + PyInstaller.__main__.run([ 'NetworkMonitor.spec', + '--clean', '--noconfirm' - ] - - result = subprocess.run(pyinstaller_args, check=True) - return result.returncode == 0 + ]) + + print("\nBuild completed successfully!") + return True - except subprocess.CalledProcessError as e: - print(f"PyInstaller build failed with return code {e.returncode}") - if hasattr(e, 'stderr') and e.stderr: - print("Error output:") - print(e.stderr.decode() if isinstance(e.stderr, bytes) else e.stderr) - return False except Exception as e: print(f"Error during build: {e}") print("\nTroubleshooting tips:") diff --git a/networkmonitor/dependency_check.py b/networkmonitor/dependency_check.py index bb71960..b746eaa 100644 --- a/networkmonitor/dependency_check.py +++ b/networkmonitor/dependency_check.py @@ -101,7 +101,6 @@ def check_npcap(): """Check if Npcap is installed (Windows only)""" return DependencyChecker()._check_npcap() - def check_system_requirements(): """Check system requirements and dependencies""" checker = DependencyChecker() From a54f2444494062f34dcf185acd953d601e910627 Mon Sep 17 00:00:00 2001 From: umerfarok Date: Sat, 15 Mar 2025 05:55:41 +0500 Subject: [PATCH 21/21] feat: add PyInstaller availability check and automatic installation of build dependencies --- build.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build.py b/build.py index 63aa0de..2fe22c0 100644 --- a/build.py +++ b/build.py @@ -175,6 +175,21 @@ def build_executable(): clean_build() try: + # Verify PyInstaller is available + try: + import PyInstaller.__main__ + except ImportError: + print("Error: PyInstaller not found. Installing required build dependencies...") + subprocess.check_call([ + sys.executable, + "-m", + "pip", + "install", + "-r", + "requirements-build.txt" + ]) + import PyInstaller.__main__ + # Create spec file if it doesn't exist if not os.path.exists('NetworkMonitor.spec'): create_spec_file()